1 2015-07-10 Torvald Riegel <triegel@redhat.com>
3 * sysdeps/nptl/futex-internal.h: New file.
4 * sysdeps/nacl/futex-internal.h: New file.
5 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
6 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
8 (setxid_unmark_thread): Likewise.
9 (__nptl_setxid): Likewise.
10 (__wait_lookup_done): Likewise.
11 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
12 * nptl/nptl-init.c (sighandler_setxid): Likewise.
13 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
14 * nptl/pthread_once.c (clear_once_control): Likewise.
15 (__pthread_once_slow): Likewise.
16 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
19 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
21 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23 (__pthread_rwlock_rdlock): Likewise.
24 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
31 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
33 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34 __ASSUME_PRIVATE_FUTEX check.
35 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
36 Check that shared futexes are supported.
37 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
38 wrappers with error checking.
39 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
40 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
41 * nptl/pthread_barrierattr_setpshared.c
42 (pthread_barrierattr_setpshared): Check that shared futexes are
44 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
46 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
48 * nptl/sem_init.c (futex_private_if_supported): Remove.
49 (__new_sem_init): Adapt and check that shared futexes are supported.
50 * nptl/sem_open.c (sem_open): Likewise.
51 * nptl/sem_post.c (futex_wake): Remove.
52 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
53 (do_futex_wait): Use futex wrappers with error checking.
54 * nptl/sem_wait.c: Include lowlevellock.h.
55 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
56 Use futex_supports_pshared.
57 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
58 Use futex wrappers with error checking.
59 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
61 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
62 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
63 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
64 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
65 (futex_wake): Likewise.
66 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
67 (do_futex_wait): Use futex wrappers with error checking.
68 (__new_sem_wait_slow): Update EINTR handling.
69 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
71 2015-07-09 Martin Sebor <msebor@redhat.com>
74 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
75 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
76 * nptl/Makefile (test-xfail-tst-once5): Define.
78 2015-07-09 Roland McGrath <roland@hack.frob.com>
80 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
81 * elf/dl-minimal.c: For readability, reorder some definitions and
82 introduce more page breaks. Include <stdio.h>.
83 (__libc_fatal): New function.
85 * include/unistd.h: Add rtld_hidden_proto for _exit.
86 * posix/_exit.c: Add rtld_hidden_def.
87 * sysdeps/mach/hurd/_exit.c: Likewise.
88 * sysdeps/nacl/_exit.c: Likewise.
89 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
90 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
92 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
94 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
95 bndmov encoding with zero displacement.
97 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
98 H.J. Lu <hongjiu.lu@intel.com>
101 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
102 * sysdeps/i386/configure: Regenerated.
103 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
104 (_dl_runtime_profile): Save and restore Intel MPX return bound
105 registers when calling _dl_call_pltexit. Add
106 PRESERVE_BND_REGS_PREFIX before return.
107 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
108 (LRV_BND1_OFFSET): Likewise.
109 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
111 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
112 typo in bndmov encoding.
113 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
114 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
115 branch instructions to preserve bounds.
117 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
120 [GLIBC_2.22]: Add fmemopen.
122 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
124 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
125 returns an error, also try to use host port from __mach_host_self for
127 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
129 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
133 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
134 Fix pr_uid and pr_gid members.
135 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
136 definition to elf_greg_t.
138 2015-07-08 Roland McGrath <roland@hack.frob.com>
141 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
142 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
143 * sysdeps/arm/configure: Regenerated.
144 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
145 (test-xfail-tst-tlsalign-static): Variable removed.
147 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
148 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
149 rather than explicit 'ln -s'.
151 * resolv/rpc/netdb.h: New file.
152 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
154 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
156 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
158 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
167 * include/stdio.h (fmemopen): Remove hidden prototype.
168 (__fmemopen): Add new hidden prototype.
169 * libio/Makefile: Add oldfmemopen object.
170 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
171 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
173 * libio/oldfmemopen.c: New file: old fmemopen implementation for
174 symbol compatibility.
175 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
176 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
178 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
179 on append and read mode.
180 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
182 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
183 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
184 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
185 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
187 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
188 [GLIBC_2.22]: Likewise.
189 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
191 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
193 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
194 [GLIBC_2.22]: Likewise.
195 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
196 [GLIBC_2.22]: Likewise.
197 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
198 [GLIBC_2.22]: Likewise.
199 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
200 [GLIBC_2.22]: Likewise.
201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
202 [GLIBC_2.22]: Likewise.
203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
204 [GLIBC_2.22]: Likewise.
205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
206 [GLIBC_2.22]: Likewise.
207 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
209 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
211 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
212 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
213 [GLIBC_2.22]: Likewise.
214 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
215 [GLIBC_2.22]: Likewise.
216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
217 [GLIBC_2.22]: Likewise.
218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
219 [GLIBC_2.22]: Likewise.
220 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
222 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
224 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
226 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
227 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
229 2015-07-08 Carlos O'Donell <carlos@redhat.com>
232 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
233 IPV6_PATHMTU, and IPV6_DONTFRAG.
235 2015-07-08 Feng Gao <gfree.wind@gmail.com>
237 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
239 * libio/oldfileops.c: Likewise.
240 * libio/wfileops.c: Likewise.
242 2015-07-08 Mike Frysinger <vapier@gentoo.org>
244 * nscd/selinux.c: Delete selinux/flask.h include.
246 2015-07-08 Mike Frysinger <vapier@gentoo.org>
249 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
250 (putpwent): Likewise.
251 (getpwnam): Likewise.
252 (getpwent_r): Likewise.
253 (getpwuid_r): Likewise.
254 (getpwnam_r): Likewise.
255 (fgetpwent_r): Likewise.
257 2015-07-08 Carlos O'Donell <carlos@redhat.com>
260 * inet/rcmd.c (__validuser2_sa): Check user first to
261 short-circuit host check.
263 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
264 Mikhail Ilin <m.ilin@samsung.com>
267 * elf/Makefile (tests): Add tst-nodelete.
268 (modules-names): Add tst-nodelete-uniquemod.
269 (tst-nodelete-uniquemod.so-no-z-defs): New.
270 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
271 (tst-nodelete-zmod.so-no-z-defs): Likewise.
272 ($(objpfx)tst-nodelete): Likewise.
273 ($(objpfx)tst-nodelete.out): Likewise.
274 (LDFLAGS-tst-nodelete): Likewise.
275 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
276 * elf/dl-close.c (_dl_close_worker): Add a parameter to
277 implement forced object deletion.
278 (_dl_close): Pass false to _dl_close_worker.
279 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
280 * elf/tst-nodelete.cc: New file.
281 * elf/tst-nodeletelib.cc: Likewise.
282 * elf/tst-znodeletelib.cc: Likewise.
283 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
285 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
288 * stdlib/Makefile ($(objpfx)tst-makecontext3):
290 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
291 is not called infinitely times.
292 (backtrace_helper): New function.
293 (trace_arg): New struct.
294 (st1): Enlarge stack size.
295 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
296 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
297 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
300 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
302 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
304 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
306 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
307 Include sys/types.h instead of bits/types.h.
308 Remove inclusion of bits/wordsize.h.
310 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
312 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
313 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
314 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
315 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
316 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
317 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
319 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
321 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
323 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
324 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
325 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
327 * sysdeps/i386/link-defines.sym: New file.
329 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
331 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
332 (modules-names): Add tst-auditmod3a tst-auditmod3b.
333 ($(objpfx)tst-audit3): New rule.
334 ($(objpfx)tst-audit3.out): Likewise.
335 * sysdeps/i386/tst-audit3.c: New file.
336 * sysdeps/i386/tst-audit3.h: Likewise.
337 * sysdeps/i386/tst-auditmod3a.c: Likewise.
338 * sysdeps/i386/tst-auditmod3b.c: Likewise.
340 2015-07-07 Torvald Riegel <triegel@redhat.com>
343 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
345 (__strcat_c): Likewise.
346 (__strcat_g): Likewise.
348 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
351 * misc/sbrk.c: Set errno to ENOMEM on overflow.
353 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
355 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
356 New function. (__ieee754_sqrtf): New function.
357 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
359 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
362 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
364 * sysdeps/ieee754/support.c: Remove unused file.
366 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
368 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
369 registers instead of d ones so the layout is kernel abi compatible.
370 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
371 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
374 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
376 * sysdeps/aarch64/libm-test-ulps: Regenerated.
378 2015-07-01 Joseph Myers <joseph@codesourcery.com>
381 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
382 and return argument in case of subnormal argument.
384 2015-07-01 Martin Sebor <msebor@redhat.com>
387 * nptl/Makefile: Add tst-once5.cc.
388 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
389 Remove macro redefinitions.
390 * nptl/tst-once5.cc: New test.
392 2015-07-01 Joseph Myers <joseph@codesourcery.com>
394 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
396 * sysdeps/arm/libm-test-ulps: Regenerated.
398 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
399 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
401 2015-06-30 Torvald Riegel <triegel@redhat.com>
403 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
404 lll_lock_wait_private and lll_futex_wake probes.
406 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
407 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
409 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
411 * sysdeps/x86_64/bits/atomic.h: Likewise.
412 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
413 to atomic_spin_nop and move ...
414 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
416 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
417 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
418 atomic_spin_nop instead of BUSY_WAIT_NOP.
419 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
421 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
422 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
423 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
424 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
425 instead of atomic_delay.
427 2015-06-29 Joseph Myers <joseph@codesourcery.com>
430 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
431 X_ADJ not X when adjusting exponent.
432 (__ieee754_gamma_r): Do intermediate computations in
433 round-to-nearest then adjust overflowing and underflowing results
435 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
436 of X_ADJ not X when adjusting exponent.
437 (__ieee754_gammaf_r): Do intermediate computations in
438 round-to-nearest then adjust overflowing and underflowing results
440 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
441 log of X_ADJ not X when adjusting exponent.
442 (__ieee754_gammal_r): Do intermediate computations in
443 round-to-nearest then adjust overflowing and underflowing results
444 as needed. Use 1.0L not 1.0f as numerator of division.
445 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
446 log of X_ADJ not X when adjusting exponent.
447 (__ieee754_gammal_r): Do intermediate computations in
448 round-to-nearest then adjust overflowing and underflowing results
449 as needed. Use 1.0L not 1.0f as numerator of division.
450 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
451 of X_ADJ not X when adjusting exponent.
452 (__ieee754_gammal_r): Do intermediate computations in
453 round-to-nearest then adjust overflowing and underflowing results
454 as needed. Use 1.0L not 1.0f as numerator of division.
455 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
456 to auto-libm-test-in.
457 (tgamma_test): Use ALL_RM_TEST.
458 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
459 tests of tgamma with spurious-overflow.
460 * math/auto-libm-test-out: Regenerated.
461 * math/gen-libm-have-vector-test.sh: Do not check for START.
462 * sysdeps/i386/fpu/libm-test-ulps: Update.
463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
466 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
467 arguments, just return 0.5 times the argument, with underflow
469 * math/auto-libm-test-in: Add more tests of j1.
470 * math/auto-libm-test-out: Regenerated.
473 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
474 (__ieee754_j1): Force underflow exception for small results.
475 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
476 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
477 (__ieee754_j1f): Force underflow exception for small results.
478 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
479 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
480 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
481 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
482 (__ieee754_j1l): Force underflow exception for small results.
483 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
484 * math/auto-libm-test-in: Add more tests of j1 and jn.
485 * math/auto-libm-test-out: Regenerated.
487 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
488 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
492 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
494 (MS_RMT_MASK): Include MS_LAZYTIME.
496 2015-06-26 Mel Gorman <mgorman@suse.de>
499 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
502 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
504 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
505 (DT_MIPS_NUM): Update.
506 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
509 2015-06-25 Joseph Myers <joseph@codesourcery.com>
513 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
514 round-to-nearest internally then recompute results that
515 underflowed to zero in the original rounding mode.
516 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
517 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
518 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
519 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
520 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
521 * sysdeps/i386/fpu/libm-test-ulps: Update.
522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
524 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
526 * NEWS: Fixed description of link with vector math library.
528 2015-06-25 Andreas Schwab <schwab@suse.de>
531 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
532 * libio/test-fmemopen.c (do_test): Add test for it.
534 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
537 * Makeconfig (no-pie-ldflag): New.
538 (+link): Set to $(+link-pie) if default to PIE.
539 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
540 * config.make.in (build-pie-default): New.
541 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
542 is default. AC_SUBST.
543 * configure: Regenerated.
544 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
546 2015-06-24 Roland McGrath <roland@hack.frob.com>
548 * nptl/descr.h (struct pthread): Change type of field setxid_futex
551 * resolv/gai_misc.h (struct waitlist): Change type of field
552 counterp to 'volatile unsigned int *'.
553 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
554 FUTEXADDR and OLDVAL.
555 * resolv/getaddrinfo_a.c (getaddrinfo_a):
556 Give local variable TOTAL type 'volatile unsigned int'.
557 (struct async_waitlist): Change type of field counter to 'unsigned int'.
558 * resolv/gai_suspend.c (gai_suspend):
559 Give local variable CNTR type 'unsigned int'.
561 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
562 counterp to 'volatile unsigned int *'.
563 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
564 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
565 (aio_suspend): Give local variable CNTR type 'unsigned int'.
566 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
567 Give local variable TOTAL type 'volatile unsigned int'.
568 (struct async_waitlist): Change type of field counter to 'unsigned int'.
570 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
573 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
574 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
575 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
576 comment for i386/x86-64.
577 (test-xfail-tst-tlsalign-extern-static): Removed.
579 2015-06-24 Joseph Myers <joseph@codesourcery.com>
581 * math/test-double.h: New file.
582 * math/test-float.h: Likewise.
583 * math/test-ldouble.h: Likewise.
584 * math/test-math-inline.h: Likewise.
585 * math/test-math-no-inline.h: Likewise.
586 * math/test-math-scalar.h: Likewise.
587 * math/test-math-vector.h: Likewise.
588 * math/test-vec-loop.h: Remove file. Contents moved into
590 * math/libm-test.inc (MATHCONST): Do not document macro.
591 * math/test-double.c: Include test-double.h, test-math-no-inline.h
592 and test-math-scalar.h.
593 (FUNC): Remove macro.
594 (FUNC_TEST): Likewise.
596 (MATHCONST): Likewise.
597 (PRINTF_EXPR): Likewise.
598 (PRINTF_XEXPR): Likewise.
599 (PRINTF_NEXPR): Likewise.
600 (TEST_DOUBLE): Likewise.
601 (TEST_MATHVEC): Likewise.
602 (__NO_MATH_INLINES): Likewise.
603 * math/test-float.c: Include test-float.h, test-math-no-inline.h
604 and test-math-scalar.h.
605 (FUNC): Remove macro.
606 (FUNC_TEST): Likewise.
608 (MATHCONST): Likewise.
609 (PRINTF_EXPR): Likewise.
610 (PRINTF_XEXPR): Likewise.
611 (PRINTF_NEXPR): Likewise.
612 (TEST_FLOAT): Likewise.
613 (TEST_MATHVEC): Likewise.
614 (__NO_MATH_INLINES): Likewise.
615 * math/test-idouble.c: Include test-double.h, test-math-inline.h
616 and test-math-scalar.h.
617 (FUNC): Remove macro.
618 (FUNC_TEST): Likewise.
620 (MATHCONST): Likewise.
621 (PRINTF_EXPR): Likewise.
622 (PRINTF_XEXPR): Likewise.
623 (PRINTF_NEXPR): Likewise.
624 (TEST_DOUBLE): Likewise.
625 (TEST_MATHVEC): Likewise.
626 (TEST_INLINE): Likewise.
627 (__NO_MATH_INLINES): Likewise.
628 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
630 (FUNC): Remove macro.
631 (FUNC_TEST): Likewise.
633 (MATHCONST): Likewise.
634 (PRINTF_EXPR): Likewise.
635 (PRINTF_XEXPR): Likewise.
636 (PRINTF_NEXPR): Likewise.
637 (TEST_FLOAT): Likewise.
638 (TEST_MATHVEC): Likewise.
639 (TEST_INLINE): Likewise.
640 (__NO_MATH_INLINES): Likewise.
641 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
642 and test-math-scalar.h.
643 (FUNC): Remove macro.
644 (FUNC_TEST): Likewise.
646 (MATHCONST): Likewise.
647 (PRINTF_EXPR): Likewise.
648 (PRINTF_XEXPR): Likewise.
649 (PRINTF_NEXPR): Likewise.
650 (TEST_LDOUBLE): Likewise.
651 (TEST_MATHVEC): Likewise.
652 (TEST_INLINE): Likewise.
653 (__NO_MATH_INLINES): Likewise.
654 * math/test-ldouble.c: Include test-ldouble.h,
655 test-math-no-inline.h and test-math-scalar.h.
656 (FUNC): Remove macro.
657 (FUNC_TEST): Likewise.
659 (MATHCONST): Likewise.
660 (PRINTF_EXPR): Likewise.
661 (PRINTF_XEXPR): Likewise.
662 (PRINTF_NEXPR): Likewise.
663 (TEST_LDOUBLE): Likewise.
664 (TEST_MATHVEC): Likewise.
665 (__NO_MATH_INLINES): Likewise.
666 * math/test-double-vlen2.h: Include test-double.h,
667 test-math-no-inline.h and test-math-vector.h.
668 (FLOAT): Remove macro.
670 (MATHCONST): Likewise.
671 (PRINTF_EXPR): Likewise.
672 (PRINTF_XEXPR): Likewise.
673 (PRINTF_NEXPR): Likewise.
674 (TEST_DOUBLE): Likewise.
675 (TEST_MATHVEC): Likewise.
676 (__NO_MATH_INLINES): Likewise.
679 (WRAPPER_NAME): Likewise.
680 (WRAPPER_DECL): Likewise.
681 (WRAPPER_DECL_ff): Likewise.
682 (WRAPPER_DECL_fFF): Likewise.
683 (VECTOR_WRAPPER): Likewise.
684 (VECTOR_WRAPPER_ff): Likewise.
685 (VECTOR_WRAPPER_fFF): Likewise.
686 (VEC_LEN): New macro.
687 * math/test-double-vlen4.h: Include test-double.h,
688 test-math-no-inline.h and test-math-vector.h.
689 (FLOAT): Remove macro.
691 (MATHCONST): Likewise.
692 (PRINTF_EXPR): Likewise.
693 (PRINTF_XEXPR): Likewise.
694 (PRINTF_NEXPR): Likewise.
695 (TEST_DOUBLE): Likewise.
696 (TEST_MATHVEC): Likewise.
697 (__NO_MATH_INLINES): Likewise.
700 (WRAPPER_NAME): Likewise.
701 (WRAPPER_DECL): Likewise.
702 (WRAPPER_DECL_ff): Likewise.
703 (WRAPPER_DECL_fFF): Likewise.
704 (VECTOR_WRAPPER): Likewise.
705 (VECTOR_WRAPPER_ff): Likewise.
706 (VECTOR_WRAPPER_fFF): Likewise.
707 (VEC_LEN): New macro.
708 * math/test-double-vlen8.h: Include test-double.h,
709 test-math-no-inline.h and test-math-vector.h.
710 (FLOAT): Remove macro.
712 (MATHCONST): Likewise.
713 (PRINTF_EXPR): Likewise.
714 (PRINTF_XEXPR): Likewise.
715 (PRINTF_NEXPR): Likewise.
716 (TEST_DOUBLE): Likewise.
717 (TEST_MATHVEC): Likewise.
718 (__NO_MATH_INLINES): Likewise.
721 (WRAPPER_NAME): Likewise.
722 (WRAPPER_DECL): Likewise.
723 (WRAPPER_DECL_ff): Likewise.
724 (WRAPPER_DECL_fFF): Likewise.
725 (VECTOR_WRAPPER): Likewise.
726 (VECTOR_WRAPPER_ff): Likewise.
727 (VECTOR_WRAPPER_fFF): Likewise.
728 (VEC_LEN): New macro.
729 * math/test-float-vlen4.h: Include test-float.h,
730 test-math-no-inline.h and test-math-vector.h.
731 (FLOAT): Remove macro.
733 (MATHCONST): Likewise.
734 (PRINTF_EXPR): Likewise.
735 (PRINTF_XEXPR): Likewise.
736 (PRINTF_NEXPR): Likewise.
737 (TEST_FLOAT): Likewise.
738 (TEST_MATHVEC): Likewise.
739 (__NO_MATH_INLINES): Likewise.
742 (WRAPPER_NAME): Likewise.
743 (WRAPPER_DECL): Likewise.
744 (WRAPPER_DECL_ff): Likewise.
745 (WRAPPER_DECL_fFF): Likewise.
746 (VECTOR_WRAPPER): Likewise.
747 (VECTOR_WRAPPER_ff): Likewise.
748 (VECTOR_WRAPPER_fFF): Likewise.
749 (VEC_LEN): New macro.
750 * math/test-float-vlen8.h: Include test-float.h,
751 test-math-no-inline.h and test-math-vector.h.
752 (FLOAT): Remove macro.
754 (MATHCONST): Likewise.
755 (PRINTF_EXPR): Likewise.
756 (PRINTF_XEXPR): Likewise.
757 (PRINTF_NEXPR): Likewise.
758 (TEST_FLOAT): Likewise.
759 (TEST_MATHVEC): Likewise.
760 (__NO_MATH_INLINES): Likewise.
763 (WRAPPER_NAME): Likewise.
764 (WRAPPER_DECL): Likewise.
765 (WRAPPER_DECL_ff): Likewise.
766 (WRAPPER_DECL_fFF): Likewise.
767 (VECTOR_WRAPPER): Likewise.
768 (VECTOR_WRAPPER_ff): Likewise.
769 (VECTOR_WRAPPER_fFF): Likewise.
770 (VEC_LEN): New macro.
771 * math/test-float-vlen16.h: Include test-float.h,
772 test-math-no-inline.h and test-math-vector.h.
773 (FLOAT): Remove macro.
775 (MATHCONST): Likewise.
776 (PRINTF_EXPR): Likewise.
777 (PRINTF_XEXPR): Likewise.
778 (PRINTF_NEXPR): Likewise.
779 (TEST_FLOAT): Likewise.
780 (TEST_MATHVEC): Likewise.
781 (__NO_MATH_INLINES): Likewise.
784 (WRAPPER_NAME): Likewise.
785 (WRAPPER_DECL): Likewise.
786 (WRAPPER_DECL_ff): Likewise.
787 (WRAPPER_DECL_fFF): Likewise.
788 (VECTOR_WRAPPER): Likewise.
789 (VECTOR_WRAPPER_ff): Likewise.
790 (VECTOR_WRAPPER_fFF): Likewise.
791 (VEC_LEN): New macro.
792 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
794 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
795 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
796 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
797 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
798 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
799 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
800 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
802 2015-06-24 Roland McGrath <roland@hack.frob.com>
804 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
805 (__getlogin_r): ... this.
807 2015-06-24 Joseph Myers <joseph@codesourcery.com>
810 * math/s_ccosh.c (__ccosh): Compare with least normal value
811 instead of comparing class with FP_SUBNORMAL.
812 * math/s_ccoshf.c (__ccoshf): Likewise.
813 * math/s_ccoshl.c (__ccoshl): Likewise.
814 * math/s_cexp.c (__cexp): Likewise.
815 * math/s_cexpf.c (__cexpf): Likewise.
816 * math/s_cexpl.c (__cexpl): Likewise.
817 * math/s_csin.c (__csin): Likewise.
818 * math/s_csinf.c (__csinf): Likewise.
819 * math/s_csinh.c (__csinh): Likewise.
820 * math/s_csinhf.c (__csinhf): Likewise.
821 * math/s_csinhl.c (__csinhl): Likewise.
822 * math/s_csinl.c (__csinl): Likewise.
823 * math/s_ctan.c (__ctan): Likewise.
824 * math/s_ctanf.c (__ctanf): Likewise.
825 * math/s_ctanh.c (__ctanh): Likewise.
826 * math/s_ctanhf.c (__ctanhf): Likewise.
827 * math/s_ctanhl.c (__ctanhl): Likewise.
828 * math/s_ctanl.c (__ctanl): Likewise.
829 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
830 csin, csinh, ctan and ctanh.
831 * math/auto-libm-test-out: Regenerated.
832 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
833 * sysdeps/i386/fpu/libm-test-ulps: Update.
834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
836 2015-06-24 Roland McGrath <roland@hack.frob.com>
838 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
839 return value is wrong, print the expected value too.
841 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
844 * elf/readlib.c (is_gdb_python_file): New.
845 (process_file): Don't issue errors on filenames with -gdb.py
848 2015-06-24 Joseph Myers <joseph@codesourcery.com>
850 * math/auto-libm-test-in: Add more tests of csin and csinh.
851 * math/auto-libm-test-out: Regenerated.
852 * math/libm-test.inc (csin_test_data): Remove tests moved to
854 (csinh_test_data): Likewise.
857 * math/s_csin.c (__csin): Negate before rather than after possibly
858 overflowing multiplication.
859 * math/s_csinf.c (__csinf): Likewise.
860 * math/s_csinh.c (__csinh): Likewise.
861 * math/s_csinhf.c (__csinhf): Likewise.
862 * math/s_csinhl.c (__csinhl): Likewise.
863 * math/s_csinl.c (__csinl): Likewise.
864 * math/auto-libm-test-in: Add some tests of csin and csinh.
865 * math/auto-libm-test-out: Regenerated.
866 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
867 (csinh_test_data): Likewise.
868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
871 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
872 underflow exception for small results.
874 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
876 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
877 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
878 variable and included header.
879 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
880 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
881 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
882 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
883 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
884 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
885 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
886 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
887 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
888 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
889 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
890 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
891 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
892 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
893 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
894 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
896 2015-06-23 Joseph Myers <joseph@codesourcery.com>
900 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
901 (__sin): Force underflow exception for arguments with small
903 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
904 (__kernel_sinf): Force underflow exception for arguments with
905 small absolute value.
906 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
907 (__kernel_sincosl): Force underflow exception for arguments with
908 small absolute value.
909 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
910 (__kernel_sinl): Force underflow exception for arguments with
911 small absolute value.
912 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
913 (__kernel_sincosl): Force underflow exception for arguments with
914 small absolute value.
915 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
916 (__kernel_sinl): Force underflow exception for arguments with
917 small absolute value.
918 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
919 (__kernel_sinl): Force underflow exception for arguments with
920 small absolute value.
921 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
922 (__kernel_sinf): Force underflow exception for arguments with
923 small absolute value.
924 * math/auto-libm-test-in: Add more tests of sin and sincos.
925 * math/auto-libm-test-out: Regenerated.
929 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
930 (__kernel_standard_l): Use feholdexcept and fesetenv around
931 conversion to double instead of special-casing overflow and
933 * math/libm-test.inc (fmod_test_data): Add more tests.
934 (remainder_test_data): Likewise.
935 (sqrt_test_data): Likewise.
937 2015-06-23 Torvald Riegel <triegel@redhat.com>
940 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
941 atomic_read_barrier, atomic_write_barrier): Define.
942 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
943 atomic_read_barrier, atomic_write_barrier): Define.
945 2015-06-23 Joseph Myers <joseph@codesourcery.com>
947 * math/Makefile [$(PERL) != no]
948 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
949 dependency on libm-test.stmp below the inclusion of Rules.
951 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
953 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
954 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
956 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
957 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
958 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
959 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
960 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
961 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
962 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
963 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
964 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
965 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
966 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
967 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
968 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
969 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
970 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
971 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
972 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
973 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
974 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
976 2015-06-23 Joseph Myers <joseph@codesourcery.com>
979 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
980 intermediate but not final result might underflow.
981 * math/s_csqrtf.c (__csqrtf): Likewise.
982 * math/s_csqrtl.c (__csqrtl): Likewise.
983 * math/auto-libm-test-in: Add more tests of csqrt.
984 * math/auto-libm-test-out: Regenerated.
985 * sysdeps/i386/fpu/libm-test-ulps: Update.
988 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
989 threshold on absolute value of exponent for which scaling is used.
990 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
991 * math/auto-libm-test-in: Add more tests of exp2.
992 * math/auto-libm-test-out: Regenerated.
994 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
997 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
998 when initializing interface list, based on the bug analysis
999 and the patch proposed by Eric Newton.
1000 * resolv/tst-res_hconf_reorder.c: New test.
1001 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1002 tst-res_hconf_reorder.
1003 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1004 and $(shared-thread-library).
1005 (tst-res_hconf_reorder-ENV): New variable.
1007 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1010 2015-06-22 Joseph Myers <joseph@codesourcery.com>
1013 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1014 (__expm1): Force underflow exception for arguments with small
1016 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1017 (__expm1f): Force underflow exception for arguments with small
1019 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1020 (__expm1): Force underflow exception for arguments with small
1022 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1023 (__expm1f): Force underflow exception for arguments with small
1025 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1026 Check for small arguments before calling __expm1.
1027 * math/auto-libm-test-in: Do not mark underflow exceptions as
1028 possibly missing for bug 16353.
1029 * math/auto-libm-test-out: Regenerated.
1031 2015-06-22 Andreas Schwab <schwab@suse.de>
1034 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1037 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
1039 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1041 * string/strcoll_l.c: Remove unused struct element idxnow.
1043 2015-06-21 Joseph Myers <joseph@codesourcery.com>
1046 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1047 underflow and return argument in case of subnormal argument.
1048 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1050 * math/auto-libm-test-in: Add more tests of expm1.
1051 * math/auto-libm-test-out: Regenerated.
1054 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1055 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1057 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1058 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1060 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
1061 mark underflow exceptions as possibly missing for bug 16361.
1062 * math/auto-libm-test-out: Regenerated.
1064 2015-06-19 Joseph Myers <joseph@codesourcery.com>
1066 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1067 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1069 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1070 (test-xfail-XOPEN2K8/utmpx.h/conform).
1072 * conform/conformtest.pl ($xerrors): New variable.
1073 (note_error): New function.
1074 (compiletest): New argument $xfail. Use not_error.
1075 (runtest): Likewise.
1076 (top level): Handle xfail- lines. Update calls to compiletest and
1077 runtest. Handle xfail- and optional- in headers listed with
1079 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1081 (O_SEARCH): Likewise.
1082 * conform/data/stropts.h-data (ioctl): Likewise.
1083 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1084 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1085 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1086 (msghdr.msg_controllen): Likewise.
1087 (cmsghdr.cmsg_len): Likewise.
1088 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1089 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1091 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1092 (test-xfail-XPG4/stropts.h/conform): Likewise.
1093 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1094 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1095 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1096 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1097 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1098 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1099 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1100 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1101 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1102 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1103 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1104 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1105 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1106 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1107 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1108 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1109 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1110 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1111 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1113 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
1115 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1116 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1117 definitions for proper unfolding of __MATHDECL_VEC.
1119 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1121 * benchtests/bench-strcoll.c:
1123 (main): Remove unused variable res.
1125 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1127 * timezone/Makefile (%/UTC %/Universal):
1128 Generate test-result files for UTC and Universal.
1130 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1132 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1134 2015-06-18 Joseph Myers <joseph@codesourcery.com>
1137 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1138 for arguments with small absolute value.
1139 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1140 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1141 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1142 (__asinh): Force underflow exception for arguments with small
1144 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1145 (__asinhf): Force underflow exception for arguments with small
1147 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1148 (__asinhl): Force underflow exception for arguments with small
1150 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1151 (__asinhl): Force underflow exception for arguments with small
1153 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1154 (__asinhl): Force underflow exception for arguments with small
1156 * math/auto-libm-test-in: Do not mark underflow exceptions as
1157 possibly missing for bug 16350.
1158 * math/auto-libm-test-out: Regenerated.
1160 * include/bits/ipc.h: Remove file.
1161 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1163 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1164 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1165 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1166 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1167 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1168 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1169 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1170 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1171 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1173 * math/auto-libm-test-in: Remove spurious underflow allowance for
1175 * math/auto-libm-test-out: Regenerated.
1178 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1179 unconditional definition.
1180 (MCAST_BLOCK_SOURCE): Likewise.
1181 (MCAST_UNBLOCK_SOURCE): Likewise.
1182 (MCAST_LEAVE_GROUP): Likewise.
1183 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1184 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1185 (MCAST_MSFILTER): Likewise.
1186 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1188 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1189 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1190 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1191 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1192 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1194 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
1196 * NEWS: Mention addition of x86_64 vector sincosf.
1197 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1198 * math/test-float-vlen4.h: Likewise.
1199 * math/test-float-vlen8.h: Likewise.
1200 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1201 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1202 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1203 * sysdeps/x86_64/fpu/Versions: New versions added.
1204 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1205 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1206 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1207 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1208 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1209 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1210 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1211 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1212 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1213 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1214 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1215 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1216 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1217 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1218 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1219 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1220 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1221 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1222 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1223 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1224 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1225 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1226 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1227 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1229 * NEWS: Mention addition of x86_64 vector sincos.
1230 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1231 * math/math.h (__MATHDECL_VEC): New macro.
1232 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1233 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1234 declaration under condition.
1235 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1236 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1237 TEST_VEC_LOOP change.
1238 * math/test-double-vlen4.h: Likewise.
1239 * math/test-double-vlen8.h: Likewise.
1240 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1241 * math/test-float-vlen4.h: Likewise.
1242 * math/test-float-vlen8.h: Likewise.
1243 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1244 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1245 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1246 * sysdeps/x86_64/fpu/Versions: New versions added.
1247 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1248 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1249 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1250 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1251 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1252 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1253 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1254 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1255 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1256 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1257 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1258 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1259 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1260 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1261 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1262 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1263 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1264 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1265 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1266 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1267 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1268 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1269 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1270 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1272 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1273 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1274 redirections for powf.
1275 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1276 * sysdeps/x86_64/fpu/Versions: New versions added.
1277 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1278 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1279 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1280 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1281 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1282 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1283 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1284 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1285 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1286 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1287 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1288 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1289 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1290 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1291 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1292 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1293 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1294 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1295 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1296 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1297 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1298 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1299 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1300 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1301 * math/test-float-vlen16.h: Fixed 2 argument macro.
1302 * math/test-float-vlen4.h: Likewise.
1303 * math/test-float-vlen8.h: Likewise.
1304 * NEWS: Mention addition of x86_64 vector powf.
1306 2015-06-17 Joseph Myers <joseph@codesourcery.com>
1308 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1310 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1312 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1313 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1314 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1317 * resource/getpriority.c (getpriority): Rename to __getpriority
1318 and define as weak alias of __getpriority.
1319 * resource/setpriority.c (setpriority): Rename to __setpriority
1320 and define as weak alias of __setpriority.
1321 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1322 __getpriority and define as weak alias of __getpriority.
1323 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1324 __setpriority and define as weak alias of __setpriority.
1325 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1327 (setpriority): Use __setpriority as strong name.
1328 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1329 __getpriority and define as weak alias of __getpriority.
1330 * include/sys/resource.h (__getpriority): Declare. Use
1332 (__setpriority): Likewise.
1333 (getpriority): Don't use libc_hidden_proto.
1334 (setpriority): Likewise.
1335 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1336 getpriority. Call __setpriority instead of setpriority.
1337 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1341 * misc/getttyent.c (getttynam): Rename to __getttynam and define
1342 as weak alias of __getttynam. Use prototype function definition.
1343 Call __setttyent, __getttyent and __endttyent instead of
1344 setttyent, getttyent and endttyent.
1345 (getttyent): Rename to __getttyent and define as weak alias of
1346 __getttyent. Call __setttyent instead of setttyent. Call
1347 __fgets_unlocked instead of fgets_unlocked.
1348 (setttyent): Rename to __setttyent and define as weak alias of
1350 (endttyent): Rename to __endttyent and define as weak alias of
1352 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
1353 (__setttyent): Likewise.
1354 (__endttyent): Likewise.
1355 (getttyent): Don't use libc_hidden_proto.
1356 (setttyent): Likewise.
1357 (endttyent): Likewise.
1358 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1359 __endttyent instead of setttyent, getttyent and endttyent.
1360 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1364 * socket/recv.c (__recv): Use libc_hidden_def.
1365 * socket/socket.c (__socket): Likewise.
1366 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1367 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1368 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1369 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1370 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1372 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1374 * include/sys/socket.h (__socket): Do not use attribute_hidden.
1375 Use libc_hidden_proto.
1377 * socket/Versions (libc): Export __recv and __socket at version
1379 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1381 (init_mq_netlink): Call __socket instead of socket.
1382 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1386 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1387 __mq_timedreceive and define as alias of __mq_timedreceive. Use
1389 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1390 define as alias of __mq_timedsend. Use hidden_weak.
1391 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1392 __mq_timedsend as strong name.
1393 (mq_timedreceive): Use __mq_timedreceive as strong name.
1394 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
1395 (__mq_timedreceive): Likewise.
1396 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1397 __mq_timedreceive instead of mq_timedreceive.
1398 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1399 instead of mq_timedsend.
1400 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1403 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1404 hidden_def and hidden_weak instead of libc_hidden_def and
1406 (top level): Refer to hidden_def in comment.
1407 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1408 macro. Use it instead of libc_hidden_def.
1409 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1410 specify __GI_* name explicitly.
1411 (mq_timedreceive): Likewise.
1412 (mq_setattr): Likewise.
1415 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1416 __pthread_barrier_init and define as weak alias of
1417 __pthread_barrier_init.
1418 * sysdeps/sparc/nptl/pthread_barrier_init.c
1419 (pthread_barrier_init): Likewise.
1420 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1421 __pthread_barrier_wait and define as weak alias of
1422 __pthread_barrier_wait.
1423 * sysdeps/sparc/nptl/pthread_barrier_wait.c
1424 (pthread_barrier_wait): Likewise.
1425 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1426 (pthread_barrier_wait): Likewise.
1427 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1428 (pthread_barrier_wait): Likewise.
1429 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1430 (pthread_barrier_wait): Likewise.
1431 * nptl/Versions (libpthread): Export __pthread_barrier_init and
1432 __pthread_barrier_wait at version GLIBC_PRIVATE.
1433 * include/pthread.h (__pthread_barrier_init): Declare.
1434 (__pthread_barrier_wait): Likewise.
1435 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1436 Call __pthread_barrier_wait instead of pthread_barrier_wait.
1437 (helper_thread): Likewise.
1438 (init_mq_netlink): Call __pthread_barrier_init instead of
1439 pthread_barrier_init.
1442 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1443 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1444 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
1445 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1447 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1451 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1452 strong alias of _IO_fflush. Use libc_hidden_def.
1453 * libio/iofflush_u.c (fflush_unlocked): Rename to
1454 __fflush_unlocked and define as weak alias of __fflush_unlocked.
1455 Use libc_hidden_weak.
1456 * include/stdio.h (__fflush_unlocked): Declare. Use
1458 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1460 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1464 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1465 define as weak alias of __addseverity.
1466 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1468 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1469 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1470 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1473 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1474 (__tfind): Likewise.
1475 (__tdelete): Likewise.
1476 (__twalk): Likewise.
1477 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1478 __twalk to GLIBC_PRIVATE.
1479 * include/search.h (__tsearch): Use libc_hidden_proto.
1480 (__tfind): Likewise.
1481 (__tdelete): Likewise.
1482 (__twalk): Likewise.
1483 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1484 Call __tdelete instead of tdelete.
1485 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1486 tfind. Call __tsearch instead of tsearch.
1487 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1488 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1490 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1493 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1494 (dprintf): Define as a weak alias of __dprintf, not a strong
1496 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
1497 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1499 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1501 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1502 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1505 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1507 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1511 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1512 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
1513 (in6addr_loopback): Rename to __in6addr_loopback and define as
1514 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
1515 * include/netinet/in.h (__in6addr_loopback): Declare. Use
1517 (__in6addr_any): Likewise.
1518 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1520 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1522 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1524 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
1526 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1527 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1528 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1529 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1530 redirections for pow.
1531 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1532 * sysdeps/x86_64/fpu/Versions: New versions added.
1533 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1534 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1535 build of SSE, AVX2 and AVX512 IFUNC versions.
1536 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1537 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1538 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1539 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1540 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1541 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1542 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1543 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1544 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1545 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1546 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1547 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1548 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1549 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1550 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1551 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1552 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1553 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1554 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1555 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1556 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1557 * NEWS: Mention addition of x86_64 vector pow.
1559 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1560 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1561 redirections for expf.
1562 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1563 * sysdeps/x86_64/fpu/Versions: New versions added.
1564 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1565 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1566 build of SSE, AVX2 and AVX512 IFUNC versions.
1567 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1568 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1569 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1570 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1571 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1572 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1573 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1574 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1575 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1576 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1577 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1578 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1579 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1580 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1581 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1582 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1583 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1584 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1585 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1586 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1587 * NEWS: Mention addition of x86_64 vector expf.
1589 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1590 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1591 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1592 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1593 redirections for exp.
1594 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1595 * sysdeps/x86_64/fpu/Versions: New versions added.
1596 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1597 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1598 build of SSE, AVX2 and AVX512 IFUNC versions.
1599 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1600 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1601 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1602 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1603 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1604 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1605 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1606 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1607 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1608 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1609 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1610 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1611 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1612 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1613 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1614 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1615 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1616 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1617 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1618 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1619 * NEWS: Mention addition of x86_64 vector exp.
1621 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1622 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1623 redirections for logf.
1624 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1625 * sysdeps/x86_64/fpu/Versions: New versions added.
1626 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1627 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1628 build of SSE, AVX2 and AVX512 IFUNC versions.
1629 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1630 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1631 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1632 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1633 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1634 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1635 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1636 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1637 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1638 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1639 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1640 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1641 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1642 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1643 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1644 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1645 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1646 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1647 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1648 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1649 * NEWS: Mention addition of x86_64 vector logf.
1651 * bits/libm-simd-decl-stubs.h: Added stubs for log.
1652 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1653 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1654 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1655 redirections for log.
1656 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1657 * sysdeps/x86_64/fpu/Versions: New versions added.
1658 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1659 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1660 build of SSE, AVX2 and AVX512 IFUNC versions.
1661 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1662 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1663 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1664 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1665 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1666 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1667 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1668 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1669 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1670 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1671 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1672 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1673 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1675 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1676 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1677 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1678 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1679 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1680 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1681 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1682 * NEWS: Mention addition of x86_64 vector log.
1684 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
1686 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1687 cfi_adjust_cfa_offset argument.
1688 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1689 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1692 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1693 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1694 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1695 ordering using ldar.
1696 (_dl_tlsdesc_dynamic): Likewise.
1697 (_dl_tlsdesc_return_lazy): Likewise.
1698 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1699 relaxed atomics instead of volatile and synchronize with release store.
1700 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1702 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1704 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
1706 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1707 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1708 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1709 * sysdeps/x86_64/fpu/Versions: New versions added.
1710 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1711 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1712 build of SSE, AVX2 and AVX512 IFUNC versions.
1713 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1714 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1715 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1716 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1717 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1718 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1719 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1720 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1721 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1722 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1723 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1724 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1725 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1726 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1727 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1728 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1729 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1730 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1731 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1732 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1733 * NEWS: Mention addition of x86_64 vector sinf.
1735 2015-06-14 Joseph Myers <joseph@codesourcery.com>
1737 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1738 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1739 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1741 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1742 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1744 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1747 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1748 strong alias of _IO_fputs. Use libc_hidden_def.
1749 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1750 and define as weak alias of __fputs_unlocked. Use
1752 * include/stdio.h (__fputs_unlocked): Declare. Use
1754 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1758 * resolv/netdb.h [__USE_POSIX]: Change condition to
1760 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1762 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1763 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1764 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1765 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1766 [XPG4 || UNIX98] (AI_ALL): Likewise.
1767 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1768 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1769 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1770 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1771 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1772 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1773 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1774 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1775 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1776 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1777 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1778 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1779 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1780 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1781 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1782 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1783 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1784 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1785 [XPG4 || UNIX98] (gai_strerror): Likewise.
1786 [XPG4 || UNIX98] (getaddrinfo): Likewise.
1787 [XPG4 || UNIX98] (getnameinfo): Likewise.
1790 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1791 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1793 (getgrent): Likewise.
1794 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1796 [XPG3 || POSIX2008] (endgrent): Likewise.
1797 [XPG3] (setgrent): Likewise.
1798 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1800 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1803 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1804 define as weak alias of __getlogin_r. Use libc_hidden_weak.
1805 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1806 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1807 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1808 * include/unistd.h (__getlogin_r): Declare. Use
1810 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1811 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1813 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1814 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1815 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1817 2015-06-12 Martin Sebor <msebor@redhat.com>
1820 * Makerules (check-install-supported): New target.
1821 (install): Add check-install-supported as a dependency.
1822 * manual/install.texi (Installing the C Library): Document
1823 that overriding prefix and exec_prefix is not supported.
1825 * INSTALL: Regenerate from the above.
1827 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1830 * posix/Versions (libc): Export __libc_pread at version
1832 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1834 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1839 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1840 (cvt_symbol): Use weak_alias instead of strong_alias.
1841 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1842 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1844 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1845 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1848 * inet/herrno.c (h_errno): Rename to __h_errno.
1849 (__libc_h_errno): Define as alias of __h_errno not h_errno.
1850 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1851 to __h_errno instead of h_errno.
1852 * nptl/herrno.c (h_errno): Rename to __h_errno.
1853 (__h_errno_location): Refer to __h_errno not h_errno.
1854 * resolv/Versions (h_errno): Rename to __h_errno.
1855 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1857 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1859 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
1861 * configure.ac: More strict check for AVX512 assembler support.
1862 * configure: Regenerated.
1864 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1865 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1866 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1867 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1868 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1869 * sysdeps/x86_64/fpu/Versions: New versions added.
1870 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1871 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1872 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1873 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1874 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1875 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1876 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1877 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1878 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1879 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1880 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1881 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1882 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1883 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1884 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1885 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1887 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1888 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1889 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1890 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1891 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1892 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1893 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1894 * NEWS: Mention addition of x86_64 vector sin.
1896 2015-06-11 Florian Weimer <fweimer@redhat.com>
1898 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1901 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1904 * nptl/pt-interp.c: New file.
1905 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1907 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1908 $(common-objpfx)runtime-linker.h.
1910 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
1912 * Makeconfig (+interp): Remove unused variable.
1913 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1914 only. Depend on $(common-objpfx)runtime-linker.h instead of
1915 $(elf-objpfx)runtime-linker.h.
1916 ($(elf-objpfx)runtime-linker.h): Rename to
1917 $(common-objpfx)runtime-linker.h and move ...
1918 * Makerules [$(build-shared) = yes]: ... here.
1919 * elf/interp.c: Include <runtime-linker.h> instead of
1920 <elf/runtime-linker.h>.
1922 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1924 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1925 (__gettimeofday_syscall): Remove vsyscall fallback.
1926 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1927 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1928 Add syscall fallback function.
1929 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1930 if vDSO is not present.
1931 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1933 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1935 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1936 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1938 2015-06-09 Joseph Myers <joseph@codesourcery.com>
1941 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1943 (wcscmp): Define as weak alias of WCSCMP.
1944 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1946 (USE_HIDDEN_DEF): Define.
1947 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1948 __wcscoll. Don't use libc_hidden_weak.
1949 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1951 * sysdeps/i386/i686/multiarch/wcscmp-c.c
1952 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1954 (weak_alias): Undefine and redefine.
1955 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1956 __wcscmp and define as weak alias of __wcscmp.
1957 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1958 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
1959 (__wcscoll): Likewise.
1960 (wcscmp): Don't use libc_hidden_proto.
1961 (wcscoll): Likewise.
1962 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1964 * posix/regexec.c (check_node_accept_bytes): Likewise.
1965 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1967 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1968 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1971 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1972 __fstatvfs and define as weak alias of __fstatvfs. Use
1974 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1975 and define as weak alias of __statvfs. Use libc_hidden_weak.
1976 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1977 Define as alias of __fstatvfs, not fstatvfs.
1978 (fstatvfs64): Likewise.
1979 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1980 Define as alias of __statvfs, not statvfs.
1981 (statvfs64): Likewise.
1982 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1985 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1988 (HAVE_GETCPU_VSYSCALL): Define.
1989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1990 (HAVE_GETCPU_VSYSCALL): Likewise.
1991 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1992 * sysdeps/unix/sysv/linux/sched_getcpu.c
1993 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1994 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1995 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1997 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1998 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1999 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2000 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2002 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2003 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2004 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2005 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2007 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
2009 * sysdeps/x86_64/fpu/Makefile: New file.
2010 * sysdeps/x86_64/fpu/Versions: New file.
2011 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2012 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2013 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2014 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2015 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2016 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2017 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2018 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2019 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2020 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2021 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2022 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2023 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2024 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2025 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2026 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2027 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2028 * sysdeps/x86_64/configure.ac: Options for libmvec build.
2029 * sysdeps/x86_64/configure: Regenerated.
2030 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2031 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2032 * manual/install.texi (Configuring and compiling): Document
2034 * INSTALL: Regenerated.
2035 * NEWS: Mention addition of libmvec and x86_64 vector cos.
2037 * math/Makefile: Added rules for vector tests.
2038 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2039 declaration under condition.
2040 * math/test-double-vlen2.h: New file.
2041 * math/test-double-vlen4.h: New file.
2042 * math/test-double-vlen8.h: New file.
2043 * math/test-vec-loop.h: Added initialization macro.
2044 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2045 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2046 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2047 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2048 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2049 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2050 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2051 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2052 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2053 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2054 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2056 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2057 * sysdeps/x86_64/fpu/Versions: New versions added.
2058 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2059 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2060 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2061 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2062 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2063 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2064 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2065 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2066 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2067 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2068 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2069 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2070 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2071 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2072 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2073 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2074 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2075 * NEWS: Mention addition of x86_64 vector cosf.
2077 * math/Makefile: Added CFLAGS for new tests.
2078 * math/test-float-vlen16.h: New file.
2079 * math/test-float-vlen4.h: New file.
2080 * math/test-float-vlen8.h: New file.
2081 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2082 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2083 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2084 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2085 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2086 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2087 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2088 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2089 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2090 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2091 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2093 2015-06-09 Marko Myllynen <myllynen@redhat.com>
2095 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2096 * locale/programs/ld-ctype.c: Likewise.
2098 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
2100 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2101 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2102 bit_ZMM16_31_state): New macro.
2103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2104 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2106 2015-06-08 Joseph Myers <joseph@codesourcery.com>
2108 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2110 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
2112 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2114 2015-06-05 Joseph Myers <joseph@codesourcery.com>
2117 * libio/memstream.c (open_memstream): Rename to __open_memstream
2118 and define as weak alias of __open_memstream.
2119 * include/stdio.h (__open_memstream): Declare. Use
2121 (open_memstream): Don't use libc_hidden_proto.
2122 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2124 * posix/getopt.c (_getopt_internal_r): Likewise.
2125 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2127 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2128 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2129 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2132 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2136 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2137 [__USE_XOPEN2K8]. Remove redundant #endif.
2138 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2139 Remove redundant #if.
2140 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2142 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2143 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2146 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2147 (__iswlower): Likewise.
2148 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
2149 (__iswlower): Likewise.
2150 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2151 instead of towlower.
2152 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2153 instead of iswlower. Call __towupper instead of towupper.
2154 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2155 instead of iswalnum.
2157 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2159 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2162 2015-06-05 Florian Weimer <fweimer@redhat.com>
2166 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2167 Check for overflow properly. Check for O_APPEND. Ignore large
2168 file system block sizes. Add comments about problems.
2169 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2170 * manual/filesys.texi (Storage Allocation): New node.
2172 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2174 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2175 cancellable syscalls.
2176 (SYS_ify): Add guard to no redefine it.
2177 (INLINE_SYSCALL): Likewise.
2178 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2179 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2180 SYSCALL_CANCEL instead.
2181 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2182 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2183 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2184 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2185 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2186 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2187 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2188 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2189 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2190 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2191 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2192 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2193 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2194 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2195 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2196 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2198 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2199 (__libc_pread64): Likewise.
2200 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2201 (__libc_preadv): Likewise.
2202 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2203 (__libc_readv64): Likewise.
2204 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2205 (__libc_pwrite): Likewise.
2206 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2207 (__libc_pwrite64): Likewise.
2208 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2209 (__libc_pwritev): Likewise.
2210 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2211 (__libc_pwritev64): Likewise.
2212 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2213 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2214 (sync_file_range): Likewise.
2215 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2217 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2219 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2220 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2221 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2222 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2223 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2224 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2225 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2226 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2230 (__libc_read64): Likewise.
2231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2240 (__libc_pread64): Likewise.
2241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2244 (__libc_pwrite64): Likewise.
2245 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2246 (sync_file_range): Likewise.
2247 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2248 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2249 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2250 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2251 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2252 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2253 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2254 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2255 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2256 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2257 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2258 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2259 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2260 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2261 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2262 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2263 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2264 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2265 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2267 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2269 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2270 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2272 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2273 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2274 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2275 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2277 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2278 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2279 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2280 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2281 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2283 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
2285 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2287 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2288 Use VDSO routines for gettimeofday, clock_gettime if
2290 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2291 Declare VDSO symbols.
2292 * sysdeps/unix/sysv/linux/arm/sysdep.h:
2293 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2294 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2295 * sysdeps/unix/sysv/linux/arm/Versions: Add
2296 __vdso_clock_gettime.
2298 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2300 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2301 be an inline implementation regardless of library is built within.
2302 (open_not_cancel_2): Likewise.
2303 (__read_nocancel): Likewise.
2304 (__write_nocancel): Likewise.
2305 (openat_not_cancel): Likewise.
2306 (openat_not_cancel_3): Likewise.
2307 (openat64_not_cancel): Likewise.
2308 (openat64_not_cancel_3): Likewise.
2309 (__close_nocancel): Likewise.
2310 (pause_not_cancel): Likewise.
2311 (nanosleep_not_cancel): Likewise.
2312 (sigsuspend_not_cancel): Likewise.
2314 2015-06-04 Torvald Riegel <triegel@redhat.com>
2317 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2319 (__pthread_rwlock_rdlock_slow): Likewise.
2320 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2322 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2324 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2325 * nptl/tst-rwlock16.c: New file.
2326 * nptl/Makefile (tests): Add new test.
2328 2015-06-04 Torvald Riegel <triegel@redhat.com>
2331 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2332 missing wake-up of readers.
2333 * nptl/tst-rwlock15.c: New file.
2334 * nptl/Makefile (tests): Add new test.
2336 2015-06-03 Roland McGrath <roland@hack.frob.com>
2338 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2339 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2340 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2341 and __nacl_supply_interface_rtld.
2342 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2343 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2344 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2345 Add __nacl_supply_interface_rtld.
2346 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2348 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2350 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2352 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2353 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2355 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2357 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2358 __signbit* with standard C99 macros.
2359 * math/e_exp10l.c: Likewise.
2360 * math/e_exp2l.c: Likewise.
2361 * math/e_scalb.c: Likewise.
2362 * math/e_scalbf.c: Likewise.
2363 * math/e_scalbl.c: Likewise.
2364 * math/s_ldexp.c: Likewise.
2365 * math/s_ldexpf.c: Likewise.
2366 * math/s_ldexpl.c: Likewise.
2367 * math/w_atan2.c: Likewise.
2368 * math/w_atan2f.c: Likewise.
2369 * math/w_atan2l.c: Likewise.
2370 * math/w_cosh.c: Likewise.
2371 * math/w_coshf.c: Likewise.
2372 * math/w_coshl.c: Likewise.
2373 * math/w_exp10.c: Likewise.
2374 * math/w_exp10f.c: Likewise.
2375 * math/w_exp10l.c: Likewise.
2376 * math/w_exp2.c: Likewise.
2377 * math/w_exp2f.c: Likewise.
2378 * math/w_exp2l.c: Likewise.
2379 * math/w_fmod.c: Likewise.
2380 * math/w_fmodf.c: Likewise.
2381 * math/w_fmodl.c: Likewise.
2382 * math/w_hypot.c: Likewise.
2383 * math/w_hypotf.c: Likewise.
2384 * math/w_hypotl.c: Likewise.
2385 * math/w_jnl.c: Likewise.
2386 * math/w_lgamma.c: Likewise.
2387 * math/w_lgamma_r.c: Likewise.
2388 * math/w_lgammaf.c: Likewise.
2389 * math/w_lgammaf_r.c: Likewise.
2390 * math/w_lgammal.c: Likewise.
2391 * math/w_lgammal_r.c: Likewise.
2392 * math/w_pow.c: Likewise.
2393 * math/w_powf.c: Likewise.
2394 * math/w_powl.c: Likewise.
2395 * math/w_remainder.c: Likewise.
2396 * math/w_remainderf.c: Likewise.
2397 * math/w_remainderl.c: Likewise.
2398 * math/w_scalb.c: Likewise.
2399 * math/w_scalbf.c: Likewise.
2400 * math/w_scalbl.c: Likewise.
2401 * math/w_scalbln.c: Likewise.
2402 * math/w_scalblnf.c: Likewise.
2403 * math/w_scalblnl.c: Likewise.
2404 * math/w_sinh.c: Likewise.
2405 * math/w_sinhf.c: Likewise.
2406 * math/w_sinhl.c: Likewise.
2407 * math/w_tgamma.c: Likewise.
2408 * math/w_tgammaf.c: Likewise.
2409 * math/w_tgammal.c: Likewise.
2410 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2411 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2412 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2413 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2414 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2415 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2416 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2417 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2418 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2419 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2420 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2421 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2422 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2423 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2424 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2425 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2426 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2427 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2428 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2429 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2430 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2431 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2432 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2433 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2434 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2435 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2436 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2437 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2438 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2439 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2440 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2441 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2442 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2443 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2444 * stdio-common/printf_fp.c: Likewise.
2445 * stdio-common/printf_fphex.c: Likewise.
2446 * stdio-common/printf_size.c: Likewise.
2448 2015-06-03 Joseph Myers <joseph@codesourcery.com>
2451 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2453 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2455 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2456 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2457 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2458 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2459 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2460 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2461 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2462 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2463 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2464 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2467 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2468 weak alias of __wmemchr. Use libc_hidden_weak.
2469 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
2470 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2473 2015-06-02 Roland McGrath <roland@hack.frob.com>
2476 * elf/tst-tlsalign-extern.c: New file.
2477 * elf/tst-tlsalign-extern-static.c: New file.
2478 * elf/tst-tlsalign-vars.c: New file.
2479 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2480 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2481 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2482 ($(objpfx)tst-tlsalign-extern-static): Likewise.
2483 (test-xfail-tst-tlsalign-extern-static): New variable.
2485 2015-06-02 Joseph Myers <joseph@codesourcery.com>
2487 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2488 Use variable name _sc_err instead of err.
2489 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2491 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2492 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2493 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2494 (INLINE_SYSCALL): Likewise.
2496 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2497 * include/string.h (__strnlen): Use libc_hidden_proto.
2498 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2499 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2500 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2501 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2502 (libc_hidden_def): Undefine and redefine.
2503 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2504 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2506 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2508 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2511 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2512 weak alias of __towlower. Use libc_hidden_weak.
2513 (towupper): Rename to __towupper and define as weak alias of
2514 __towupper. Use libc_hidden_weak.
2515 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
2516 (__towupper): Likewise.
2517 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2518 __towlower instead of towlower.
2520 2015-06-02 Roland McGrath <roland@hack.frob.com>
2522 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2523 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2525 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2527 * sysdeps/aarch64/libm-test-ulps: Update.
2529 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2531 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2533 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2534 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2535 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2536 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2537 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2538 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2539 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2541 2015-06-01 Martin Sebor <msebor@redhat.com>
2544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2545 (__setcontext): Use extended four-operand version of mtsf whenever
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2548 (__novec_swapcontext): Likewise.
2550 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2552 * benchtests/scripts/compare_bench.py: New file.
2553 * benchtests/scripts/import_bench.py (mean): New function.
2554 (split_list): Likewise.
2555 (do_for_all_timings): Likewise.
2556 (compress_timings): Likewise.
2558 * benchtests/scripts/import_bench.py: New file.
2559 * benchtests/scripts/validate_benchout.py: Import import_bench
2560 instead of jsonschema.
2561 (validate_bench): Remove function.
2562 (main): Use import_bench.
2564 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
2566 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2567 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2569 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2573 2015-05-28 Roland McGrath <roland@hack.frob.com>
2575 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2576 set THREAD_SELF->tid to a magic value and futex-wake it.
2577 Pass its address to the thread_exit system call.
2578 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2580 * sysdeps/nacl/lowlevellock.h: New file.
2581 * sysdeps/nacl/lll_timedwait_tid.c: New file.
2583 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2584 Add TIMEOUT to current time, don't subtract it.
2586 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
2589 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2590 ($(objpfx)tst-audit2.out): Also depend on
2591 $(objpfx)tst-auditmod9b.so.
2592 * elf/tst-audit2.c: Include <dlfcn.h>.
2593 (calloc_called): New.
2594 (calloc): Allow to be called more than once.
2595 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2597 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
2599 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2600 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2602 2015-05-27 Marko Myllynen <myllynen@redhat.com>
2604 * stdlib/monetary.h: Fix comment.
2606 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
2608 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2609 Avoid using variables in #defines that might cause shadowing.
2610 (INTERNAL_VSYSCALL_CALL): Likewise.
2612 2015-05-26 Roland McGrath <roland@hack.frob.com>
2614 * sysdeps/nacl/lll_timedlock_wait.c: New file.
2616 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2617 * nptl/lll_timedlock_wait.c: ... to this new file.
2618 * nptl/Makefile (libpthread-routines): Add it.
2619 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2620 * nptl/lll_timedwait_tid.c: ... to this new file.
2621 * nptl/Makefile (libpthread-routines): Add it.
2622 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2623 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2624 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2625 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2626 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2627 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2628 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2629 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2630 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2631 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2633 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2635 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2636 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2637 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2638 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2639 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2640 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2641 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2642 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2643 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2644 * sysdeps/unix/sysv/linux/tile/sysdep.h
2645 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2646 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2647 using vDSO syscall macro.
2649 2015-05-26 Andriy Rysin <arysin@gmail.com>
2652 * uk_UA: Fix sorting order for Ukrainian locale
2654 2015-05-26 Marko Myllynen <myllynen@redhat.com>
2656 * stdlib/monetary.h: Fix comment.
2658 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
2661 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2662 st_mtim and st_ctim members.
2663 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2664 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2665 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2666 (struct stat64): Likewise.
2667 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2668 (struct stat64): Likewise.
2669 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2670 (struct stat64): Likewise.
2672 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2674 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2675 Define and include sysdep-vdso.h.
2676 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2678 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2680 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2681 Define with VDSO_SYMBOL and use PTR_MANGLE.
2682 (__vdso_clock_gettime): Likewise.
2683 (__vdso_clock_getres): Likewise.
2684 (_libc_vdso_platform_setup): Likewise.
2685 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2687 (_libc_vdso_platform_setup): Likewise.
2688 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2690 (__vdso_clock_gettime): Likewise.
2691 (__vdso_clock_getres): Likewise.
2692 (__vdso_get_tbfreq): Likewise.
2693 (__vdso_getcpu): Likewise.
2694 (__vdso_time): Likewise.
2695 (__vdso_sigtramp_rt64): Likewise.
2696 (__vdso_signtramp32): Likewise.
2697 (__vdso_sigtramp_rt32): Likewise.
2698 (_libc_vdso_platform_setup): Likewise.
2699 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2701 (__vdso_clock_gettime): Likewise.
2702 (__vdso_clock_getres): Likewise.
2703 (_libc_vdso_platform_setup): Likewise.
2704 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2706 (__vdso_clock_gettime): Likewise.
2707 (_libc_vdso_platform_setup): Likewise.
2708 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2710 (__vdso_getcpu): Likewise.
2711 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2712 Use VDSO_SYMBOL macro to define.
2713 (__vdso_clock_gettime): Likewise.
2714 (__vdso_clock_getres): Likewise.
2715 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2717 (__vdso_clock_gettime): Likewise.
2718 (__vdso_clock_getres): Likewise.
2719 (__vdso_get_tbfreq): Likewise.
2720 (__vdso_getcpu): Likewise.
2721 (__vdso_time): Likewise.
2722 (__vdso_sigtramp_rt64): Likewise.
2723 (__vdso_signtramp32): Likewise.
2724 (__vdso_sigtramp_rt32): Likewise.
2725 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2727 (__vdso_clock_gettime): Likewise.
2728 (__vdso_clock_getres): Likewise.
2729 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2731 (__vdso_clock_gettime): Likewise.
2732 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2734 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
2736 (INTERNAL_VSYSCALL): Likewise.
2737 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2739 (INTERNAL_VSYSCALL): Likewise.
2740 (INTERNAL_VSYSCALL_NCS): Likewise.
2741 (INTERNAL_VSYSCALL_CALL): New macro.
2742 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2743 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2745 (INTERNAL_VSYSCALL): Likewise.
2746 (INTERNAL_VSYSCALL_NCS): Likewise.
2747 (INTERNAL_VSYSCALL_CALL): New macro.
2748 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2750 (INLINE_VSYSCALL): Remove macro.
2751 (INTERNAL_VSYSCALL): Remove macro.
2752 (INTERNAL_VSYSCALL_NCS): Remove macro.
2753 (INTERNAL_VSYSCALL_CALL): New macro.
2754 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2755 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2756 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2757 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2758 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2760 (INLINE_VSYSCALL): Remove macro.
2761 (INTERNAL_VSYSCALL): Likewise.
2762 (INTERNAL_VSYSCALL_NCS): Likewise.
2763 (INTERNAL_VSYSCALL_CALL): New macro.
2764 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2765 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2766 PTR_DEMANGLE on vDSO pointer.
2767 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2768 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2770 (INTERNAL_SYSCALL): Likewise.
2771 (INTERNAL_VSYSCALL_NCS): Remove macro.
2772 (INTERNAL_VSYSCALL_CALL): New macro.
2773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2775 (INTERNAL_VSYSCALL): Likewise.
2776 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2777 sysdep-vdso.h instead of libc-vdso.h.
2778 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2780 (INLINE_VSYSCALL): Likewise.
2781 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2782 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2784 (INLINE_VSYSCALL): Likewise.
2785 (INTERNAL_VSYSCALL): Likewise.
2786 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2787 * sysdeps/unix/sysv/linux/timespec_get.c
2788 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2789 (timespec_get): Use ANSI prototype.
2790 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2791 and definition for Linux.
2793 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
2795 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2796 * include/libc-symbols.h: libmvec_hidden_* macro series added.
2798 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
2801 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2802 for missing DT_PLTRELSZ.
2804 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
2806 Remove obsolete aliases that broke 'locale -a'
2808 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2809 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2810 breaking some applications that use 'locale -a' output.
2811 Change the encoding of this file from Latin-1 to ASCII to avoid
2812 other potential problems with people grepping this file.
2814 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2816 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2817 -fasynchronous-unwind-tables.
2818 (CFLAGS-sendto.c): Likewise.
2819 (CFLAGS-sendmsg.c): Likewise.
2820 (CFLAGS-connect.c): Likewise.
2821 (CFLAGS-recvmsg.c): Likewise.
2822 (CFLAGS-recvfrom.c): Likewise.
2823 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2824 (SOCKETCALL): New macro: non-cancellable socketcall.
2825 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2826 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2827 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2828 * sysdeps/unix/sysv/linux/accept.c: New file.
2829 * sysdeps/unix/sysv/linux/bind.c: Likewise.
2830 * sysdeps/unix/sysv/linux/connect.c: Likewise.
2831 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2832 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2833 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2834 * sysdeps/unix/sysv/linux/listen.c: Likewise.
2835 * sysdeps/unix/sysv/linux/recv.c: Likewise.
2836 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2837 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2838 * sysdeps/unix/sysv/linux/send.c: Likewise.
2839 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2840 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2841 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2842 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2843 * sysdeps/unix/sysv/linux/socket.c: Likewise.
2844 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2845 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2847 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2848 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2849 instead of __internal_xxx function.
2850 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2852 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2853 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2854 instead of __internal_xxx function.
2855 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2857 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2858 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2859 instead of __internal_xxx function.
2860 * sysdeps/unix/sysv/linux/accept.S: Remove file.
2861 * sysdeps/unix/sysv/linux/bind.S: Likewise.
2862 * sysdeps/unix/sysv/linux/connect.S: Likewise.
2863 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2864 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2865 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2866 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2867 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2868 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2869 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2870 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2871 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2872 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2873 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2874 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2875 * sysdeps/unix/sysv/linux/listen.S: Likewise.
2876 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2877 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2878 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2879 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2882 * sysdeps/unix/sysv/linux/recv.S: Likewise.
2883 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2884 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2885 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2886 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2887 * sysdeps/unix/sysv/linux/send.S: Likewise.
2888 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2889 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2890 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2891 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2892 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2893 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2894 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2895 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2896 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2897 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2898 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2899 socketcall is implemented in GLIBC.
2901 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2903 * soft-fp/fmadf4.c: Include <libc-internal.h>.
2904 (__fma): Ignore uninitialized warnings around packing.
2905 * soft-fp/fmasf4.c: Include <libc-internal.h>.
2906 (__fmaf): Ignore uninitialized warnings around packing.
2907 * soft-fp/fmatf4.c: Include <libc-internal.h>.
2908 (__fmal): Ignore uninitialized warnings around packing.
2910 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2911 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2912 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2913 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2915 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2916 switch statement into default case.
2917 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2919 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2920 a conditional in forcing "inexact".
2921 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2924 2015-05-22 Roland McGrath <roland@hack.frob.com>
2926 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2927 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2928 for each INTERNAL_SYSCALL use.
2930 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2933 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2934 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2938 * string/basename.c (basename): Rename to __basename and define as
2939 weak alias of __basename. Use libc_hidden_weak.
2940 * include/string.h (__basename): Declare. Use libc_hidden_proto.
2941 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2942 __basename instead of basename.
2943 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2945 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2947 2015-05-18 Florian Weimer <fweimer@redhat.com>
2949 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2950 (_IO_JUMPS_FILE_plus): New.
2951 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2952 _IO_CAST_FIELD_ACCESS.
2953 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2954 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2955 * libio/freopen.c (freopen): Likewise.
2956 * libio/freopen64.c (freopen64): Likewise.
2957 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2958 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2959 * libio/iofwide.c (_IO_fwide): Likewise.
2960 * libio/memstream.c (open_memstream): Likewise.
2961 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2962 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2963 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2965 2015-05-21 Joseph Myers <joseph@codesourcery.com>
2967 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2968 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2970 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2971 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2973 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2974 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2977 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2980 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2981 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2983 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2984 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2985 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2987 2015-05-21 Florian Weimer <fweimer@redhat.com>
2989 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2990 Adjust jump table label generation macros.
2992 2015-05-21 Florian Weimer <fweimer@redhat.com>
2994 * stdio-common/vfprintf.c (vfprintf): Move local variables
2995 args_malloced, specs, specs_malloced, and the code after
2996 do_positional to the printf_positional function.
2997 (printf_positional): New function.
2999 2015-05-21 Florian Weimer <fweimer@redhat.com>
3001 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3003 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3004 STEP4_TABLE, process_arg): Move macro definitions
3005 out of the vfprintf function. (Cosmetic change only.)
3007 2015-05-21 Carlos O'Donell <carlos@redhat.com>
3009 * benchtests/Makefile (stdio-common-bench): Define.
3010 (benchset): Add stdio-common-bench.
3011 * sprintf-inputs: New file.
3012 * sprintf-source.c: New file.
3014 2015-05-21 Andreas Schwab <schwab@suse.de>
3018 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3019 of struct __res_state.
3020 * resolv/res_send.c (__libc_res_nsend): Likewise.
3021 (get_nsaddr): New function.
3022 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3025 2015-05-20 Joseph Myers <joseph@codesourcery.com>
3027 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3028 -D_POSIX_C_SOURCE=199506L.
3030 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3032 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3033 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3034 Do not mention otherwise.
3035 [POSIX] (_XOPEN_VERSION): Do not expect.
3036 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3037 [POSIX] (_POSIX2_C_BIND): Likewise.
3038 [POSIX] (_POSIX2_VERSION): Likewise.
3039 [POSIX] (_XOPEN_XPG2): Likewise.
3040 [POSIX] (_XOPEN_XPG3): Likewise.
3041 [POSIX] (_XOPEN_XPG4): Likewise.
3042 [POSIX] (_XOPEN_UNIX): Likewise.
3043 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3044 [POSIX] (_POSIX_BARRIERS): Likewise.
3045 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3046 [POSIX] (_POSIX_CPUTIME): Likewise.
3047 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3048 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3049 [POSIX] (_POSIX_SHELL): Likewise.
3050 [POSIX] (_POSIX_SPAWN): Likewise.
3051 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3052 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3053 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3054 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3055 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3056 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3057 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3058 [POSIX] (_XBS5_LP64_OFF64): Likewise.
3059 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3060 [POSIX] (_POSIX_TIMEOUTS): Likewise.
3061 [POSIX] (_POSIX2_PBS): Likewise.
3062 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3063 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3064 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3065 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3066 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3067 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3068 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3069 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3070 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3071 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3072 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3073 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3074 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3075 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3076 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3077 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3078 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3079 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3080 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3081 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3082 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3083 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3084 [POSIX] (_SC_2_C_BIND): Likewise.
3085 [POSIX] (_SC_2_C_VERSION): Likewise.
3086 [POSIX] (_SC_2_PBS): Likewise.
3087 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3088 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3089 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3090 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3091 [POSIX] (_SC_2_PBS_TRACK): Likewise.
3092 [POSIX] (_SC_ATEXIT_MAX): Likewise.
3093 [POSIX] (_SC_BARRIERS): Likewise.
3094 [POSIX] (_SC_BASE): Likewise.
3095 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3096 [POSIX] (_SC_DEVICE_IO): Likewise.
3097 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3098 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3099 [POSIX] (_SC_FD_MGMT): Likewise.
3100 [POSIX] (_SC_FIFO): Likewise.
3101 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3102 [POSIX] (_SC_FILE_LOCKING): Likewise.
3103 [POSIX] (_SC_FILE_SYSTEM): Likewise.
3104 [POSIX] (_SC_IOV_MAX): Likewise.
3105 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3106 [POSIX] (_SC_NETWORKING): Likewise.
3107 [POSIX] (_SC_PAGE_SIZE): Likewise.
3108 [POSIX] (_SC_PASS_MAX): Likewise.
3109 [POSIX] (_SC_PIPE): Likewise.
3110 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3111 [POSIX] (_SC_REGEXP): Likewise.
3112 [POSIX] (_SC_SHELL): Likewise.
3113 [POSIX] (_SC_SIGNALS): Likewise.
3114 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3115 [POSIX] (_SC_SPIN_LOCKS): Likewise.
3116 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3117 [POSIX] (_SC_USER_GROUPS): Likewise.
3118 [POSIX] (_SC_USER_GROUPS_R): Likewise.
3119 [POSIX] (_SC_STREAMS): Likewise.
3120 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3121 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3122 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3123 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3124 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3125 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3126 [POSIX] (_PC_FILESIZEBITS): Likewise.
3127 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3128 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3129 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3130 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3131 [POSIX] (uid_t): Likewise.
3132 [POSIX] (gid_t): Likewise.
3133 [POSIX] (off_t): Likewise.
3134 [POSIX] (pid_t): Likewise.
3135 [POSIX] (cuserid): Allow.
3136 (_SC_2_CHAR_TERM): Require constant.
3137 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3138 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3141 2015-05-20 Roland McGrath <roland@hack.frob.com>
3143 * sysdeps/nacl/pthread-pids.h: New file.
3144 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3145 (create_thread): Use __nacl_get_tid to initialize PD->tid.
3147 * nptl/pthread-pids.h: New file.
3148 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3149 * nptl/nptl-init.c: Include <pthread-pids.h>.
3150 (__pthread_initialize_minimal_internal):
3151 Call __pthread_initialize_pids instead of set_tid_address syscall.
3153 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3154 * sysdeps/posix/usleep.c: ... here.
3156 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3158 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3159 call_pselect6 object.
3160 [$(subdir) = io]: Remove call_sync_file_range object.
3161 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3162 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3163 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3164 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3166 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
3168 * math/s_cproj.c: Add include "math_private.h".
3169 * math/s_cprojf.c: Likewise.
3170 * math/s_cprojl.c: Likewise.
3172 2015-05-19 Joseph Myers <joseph@codesourcery.com>
3175 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3176 high mantissa bit when testing whether P is a NaN.
3177 * math/libm-test.inc (remainder_test_data): Add more tests.
3178 (remquo_test_data): Likewise.
3181 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3182 below -32, return the argument, with underflow if subnormal.
3183 * math/auto-libm-test-in: Add more tests of atanh.
3184 * math/auto-libm-test-out: Regenerated.
3186 2015-05-19 Roland McGrath <roland@hack.frob.com>
3189 * nptl/tst-sem15.c: New file.
3190 * nptl/Makefile (tests): Add it.
3191 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3192 s/<</>>/ to fix typo in EOVERFLOW check.
3193 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3195 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3197 * manual/strings.texi (envz_remove): Fix typo in safety
3200 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
3201 Steve Ellcey <sellcey@imgtec.com>
3203 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3204 in order to avoid strict alias warnings.
3205 (iruserok_af): Ditto for ra.
3207 2015-05-19 James Lemke <jwlemke@codesourcery.com>
3211 (magicbyte): Convert to a function and avoid returning 0x01.
3212 (mem2mem_check): Avoid using a length byte equal to the magic byte.
3213 (mem2chunk_check): Fix unsigned comparisons to zero.
3214 Hoist defs of sz and magic.
3216 2015-05-19 Richard Henderson <rth@redhat.com>
3218 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3220 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3222 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3225 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3226 * malloc/arena.c (arena_lock): Check if arena is corrupt.
3227 (reused_arena): Find a non-corrupt arena.
3228 (heap_trim): Pass arena to unlink.
3229 * malloc/hooks.c (malloc_check_get_size): Pass arena to
3231 (top_check): Likewise.
3232 (free_check): Likewise.
3233 (realloc_check): Likewise.
3234 * malloc/malloc.c (malloc_printerr): Add arena argument.
3236 (munmap_chunk): Adjust.
3237 (ARENA_CORRUPTION_BIT): New macro.
3238 (arena_is_corrupt): Likewise.
3239 (set_arena_corrupt): Likewise.
3240 (sysmalloc): Use mmap if there are no usable arenas.
3241 (_int_malloc): Likewise.
3242 (__libc_malloc): Don't fail if arena_get returns NULL.
3243 (_mid_memalign): Likewise.
3244 (__libc_calloc): Likewise.
3245 (__libc_realloc): Adjust for additional argument to
3247 (_int_free): Likewise.
3248 (malloc_consolidate): Likewise.
3249 (_int_realloc): Likewise.
3250 (_int_memalign): Don't touch corrupt arenas.
3251 * malloc/tst-malloc-backtrace.c: New test case.
3253 * Makefile (summarize-tests): Fix return value on success.
3255 * manual/string.texi (Envz Functions): Add envz_remove.
3257 2015-05-18 Roland McGrath <roland@hack.frob.com>
3259 * sysdeps/posix/opendir.c: Include <stdbool.h>.
3260 (invalid_name): New function, broken out of ...
3261 (__opendirat): ... here. Call it.
3262 (need_isdir_precheck): New function, broken out of ...
3263 (__opendirat): ... here. Call it.
3264 Use __fxstatat64, not __xstatat64.
3265 (opendir_oflags): New function, broken out of ...
3266 (__opendirat): ... here. Call it.
3267 (opendir_tail): New function, broken out of ...
3268 (__opendirat): ... here. Call it.
3269 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3270 opendir_tail, rather than punting to __opendirat.
3271 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3273 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3275 * .gitignore: Ignore generated *.pyc.
3277 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
3279 * include/stdio.h: Define __need_wint_t.
3280 * test-skeleton.c: Avoid `for' loop initial declaration.
3281 * nptl/tst-initializers1.c: Use test-skeleton.c.
3283 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3286 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3288 2015-05-15 Joseph Myers <joseph@codesourcery.com>
3291 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3292 (__ieee754_atanh): Force underflow exception for results with
3293 small absolute value.
3294 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3295 (__ieee754_atanhf): Force underflow exception for results with
3296 small absolute value.
3297 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3298 (__ieee754_atanh): Force underflow exception for results with
3299 small absolute value.
3300 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3301 (__ieee754_atanhf): Force underflow exception for results with
3302 small absolute value.
3303 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3304 (__ieee754_atanhl): Force underflow exception for results with
3305 small absolute value.
3306 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3307 (__ieee754_atanhl): Force underflow exception for results with
3308 small absolute value.
3309 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3310 (__ieee754_atanhl): Force underflow exception for results with
3311 small absolute value.
3312 * math/auto-libm-test-in: Do not allow missing underflow
3313 exceptions from atanh.
3314 * math/auto-libm-test-out: Regenerated.
3317 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3318 2**-28 as threshold for returning x or +/- 1/x.
3319 * math/auto-libm-test-in: Add more tests of tan.
3320 * math/auto-libm-test-out: Regenerated.
3323 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3324 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3325 * math/auto-libm-test-in: Add another test of lgamma.
3326 * math/auto-libm-test-out: Regenerated.
3328 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
3330 * stdio-common/printf_fp.c (___printf_fp): Use abs.
3331 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
3332 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3333 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3334 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
3335 (ADD2A): Use fabs. (SUB2A): Use fabs.
3336 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3337 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3338 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3339 (log1): Use fabs. (my_log2): Use fabs.
3340 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3341 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3342 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3343 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3344 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3345 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
3346 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
3347 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
3348 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
3349 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3350 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3352 2015-05-15 Joseph Myers <joseph@codesourcery.com>
3355 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3356 as threshold for returning 1 - x.
3357 * math/auto-libm-test-in: Add more tests of erfc.
3358 * math/auto-libm-test-out: Regenerated.
3360 2015-05-14 Joseph Myers <joseph@codesourcery.com>
3363 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3364 threshold for large arguments.
3365 * math/auto-libm-test-in: Add another test of atan.
3366 * math/auto-libm-test-out: Regenerated.
3369 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3370 (__log1p): Force underflow exception for results with small
3372 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3373 (__log1pf): Force underflow exception for results with small
3375 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3376 (__log1p): Force underflow exception for results with small
3378 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3379 (__log1pf): Force underflow exception for results with small
3381 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3382 (__log1pl): Force underflow exception for results with small
3384 * math/auto-libm-test-in: Do not allow missing underflow
3385 exceptions from log1p.
3386 * math/auto-libm-test-out: Regenerated.
3388 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
3389 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3392 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3394 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
3396 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3397 (libmvec): New variable.
3398 * configure.ac: Added option for mathvec build.
3399 * configure: Regenerated.
3400 * mathvec/Depend: New file.
3401 * mathvec/Makefile: New file.
3402 * shlib-versions: Added libmvec.
3403 * math/Makefile: Added rule for libm.so installation.
3405 * bits/math-vector.h: New file.
3406 * bits/libm-simd-decl-stubs.h: New header.
3407 * math/Makefile (headers): Added new header
3408 libm-simd-decl-stubs.h.
3409 * math/math.h (__MATHCALL_VEC): New macro.
3411 * math/gen-libm-have-vector-test.sh: Script generates series of macros
3412 for conditions in testing functions.
3413 * math/Makefile: Added call of libm-have-vector-test.sh.
3414 * math/libm-test.inc (HAVE_VECTOR): New macros.
3416 * math/libm-test.inc: START refactored.
3417 * math/test-double.c (TEST_MATHVEC): Add define.
3418 * math/test-float.c: Likewise.
3419 * math/test-idouble.c: Likewise.
3420 * math/test-ifloat.c: Likewise.
3421 * math/test-ildoubl.c: Likewise.
3422 * math/test-ldouble.c: Likewise.
3423 * sysdeps/generic/math-tests-arch.h
3424 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3427 * math/test-double.c (FUNC_TEST): New macro.
3428 * math/test-float.c: Likewise.
3429 * math/test-idouble.c: Likewise.
3430 * math/test-ifloat.c: Likewise.
3431 * math/test-ildoubl.c: Likewise.
3432 * math/test-ldouble.c: Likewise.
3433 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3435 2015-05-13 Roland McGrath <roland@hack.frob.com>
3437 * sysdeps/nacl/fdopendir.c: New file.
3439 * dirent/scandir-tail.c: New file.
3440 * dirent/scandir64-tail.c: New file.
3441 * dirent/Makefile (routines): Add them.
3442 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3443 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3444 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3445 [!SCANDIR] (SCANDIR_TAIL): New macro.
3446 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3447 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3448 (SCANDIRAT): Macro removed.
3449 (SCANDIR_TAIL): New macro.
3450 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3451 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3452 (SCANDIRAT): Just call __opendirat and __scandir_tail.
3453 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3454 (READDIR): Macro removed.
3455 (SCANDIR_TAIL): New macro.
3456 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3457 (SCANDIR_TAIL): New macro.
3459 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3460 * dirent/scandir-cancel.c: ... to this new file.
3461 * dirent/Makefile (routines): Add it.
3462 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3463 * sysdeps/unix/sysv/linux/i386/scandir64.c
3464 (SKIP_SCANDIR_CANCEL): Macro removed.
3465 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3467 * dirent/tst-scandir.c: New file.
3468 * dirent/tst-scandir64.c: New file.
3469 * dirent/Makefile (tests): Add them.
3471 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
3474 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3476 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3478 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3481 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
3483 * benchtests/bench-strcoll.c: New benchmark.
3484 * benchtests/Makefile: Generate locales and run benchmark.
3485 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3486 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3487 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3488 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3489 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3490 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3491 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3492 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3493 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3494 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3495 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3496 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3497 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3498 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3499 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3500 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3501 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3502 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3503 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3504 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3505 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3506 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3507 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3508 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3510 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
3512 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3513 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3515 2015-05-12 Roland McGrath <roland@hack.frob.com>
3517 * posix/uname-values.h: New file.
3518 * posix/uname.c: Include that instead of <config-name.h>.
3519 * sysdeps/nacl/uname-values.h: New file.
3520 * sysdeps/arm/nacl/uname-values.h: New file.
3522 2015-05-12 Joseph Myers <joseph@codesourcery.com>
3524 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3525 splitting into fields.
3527 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
3529 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3530 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3531 * locale/localeinfo.h: Add enum collation_encoding_type.
3532 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3533 * programs/ld-collate.c (collate_output): Add encoding type info.
3534 * string/strcoll_l.c (STRDIFF): New function.
3535 * (STRCOLL): Use STRDIFF to skip over equal prefix.
3536 * wcsmbs/wcscoll_l.c: Define STRDIFF.
3538 2015-05-11 Joseph Myers <joseph@codesourcery.com>
3541 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3542 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
3543 <fpu_control.h> instead of <math/fpu_control.c>.
3544 * sysdeps/mips/mips32/fpu/Makefile: New file.
3546 2015-05-11 Andreas Schwab <schwab@suse.de>
3549 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3551 (_nss_compat_endgrent): Call nss_endgrent.
3552 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3554 (_nss_compat_endpwent): Call nss_endpwent.
3555 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3556 needent, call nss_setspent only if non-zero.
3557 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3558 (internal_endspent): Don't call nss_endspent.
3559 (_nss_compat_endspent): Call nss_endspent.
3560 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3561 Remove. All uses removed.
3562 (internal_setent): Remove parameter stayopen, add parameter
3563 stream. Use it instead of global variable.
3564 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3565 (internal_endent, internal_getent): Add parameter stream. Use it
3566 instead of global variable.
3567 (CONCAT(_nss_files_end,ENTNAME))
3568 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3569 (_nss_files_get##name##_r): Pass local stream. Remove locking.
3570 * nss/nss_files/files-alias.c (position, last_use): Remove. All
3572 (internal_setent, internal_endent): Add parameter stream. Use it
3573 instead of global variable.
3574 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3576 (get_next_alias): Add parameter stream.
3577 (_nss_files_getaliasent_r): Pass global stream.
3578 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
3579 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3580 (_nss_files_gethostbyname4_r): Pass local stream to
3581 internal_setent, internal_getent and internal_endent. Remove
3584 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3586 * tst-strfmon1.c (tests): Update expected currency symbol.
3588 2015-05-08 Roland McGrath <roland@hack.frob.com>
3590 * sysdeps/nacl/gethostname.c: New file.
3592 2015-05-08 Joseph Myers <joseph@codesourcery.com>
3594 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3596 * math/auto-libm-test-out: Regenerated.
3597 * sysdeps/i386/fpu/libm-test-ulps: Update.
3598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3600 2015-05-08 Carlos O'Donell <carlos@redhat.com>
3603 * stdlib/tst-setcontext3.c: New file.
3604 * stdlib/tst-setcontext3.sh: New file.
3605 * stdlib/Makefile (tests): Add tst-setcontext3.
3606 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3607 to verify test program created output file.
3608 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3609 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3610 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3611 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3613 2015-05-06 Roland McGrath <roland@hack.frob.com>
3616 * elf/tst-tlsalign.c: New file.
3617 * elf/tst-tlsalign-static.c: New file.
3618 * elf/tst-tlsalign-lib.c: New file.
3619 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3620 (tests-static): Add tst-tlsalign-static.
3621 (modules-names): Add tst-tlsalign-lib.
3622 (test-xfail-tst-tlsalign): New variable.
3623 (test-xfail-tst-tlsalign-static): New variable.
3625 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3626 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3628 2015-05-06 Joseph Myers <joseph@codesourcery.com>
3630 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3631 csqrt, erfc, sin and sincos.
3632 * math/auto-libm-test-out: Regenerated.
3633 * sysdeps/i386/fpu/libm-test-ulps: Update.
3634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3636 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3638 * sysdeps/aarch64/libm-test-ulps: Update.
3640 2015-05-05 Joseph Myers <joseph@codesourcery.com>
3642 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3643 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3644 * math/auto-libm-test-out: Regenerated.
3645 * sysdeps/i386/fpu/libm-test-ulps: Update.
3646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3648 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3651 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3652 (wcsncpy): Likewise.
3654 2015-05-05 Florian Weimer <fweimer@redhat.com>
3656 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3657 Assume __ASSUME_FALLOCATE is always true.
3658 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3659 (__posix_fallocate64_l64): Likweise.
3660 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3661 (posix_fallocate): Likewise.
3662 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3663 (__posix_fallocate64_l64): Likewise.
3664 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3665 [!__ASSUME_FALLOCATE]: Add comment.
3667 2015-05-05 Florian Weimer <fweimer@redhat.com>
3669 * sysdeps/unix/sysv/linux/i386/Makefile
3670 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3671 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3672 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3673 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3674 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3675 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3676 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3678 2015-05-02 Joseph Myers <joseph@codesourcery.com>
3680 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3681 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3683 * math/auto-libm-test-out: Regenerated.
3684 * sysdeps/i386/fpu/libm-test-ulps: Update.
3685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3687 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3689 * math/auto-libm-test-in: Add more tests of tgamma.
3690 * math/auto-libm-test-out: Regenerated.
3691 * sysdeps/i386/fpu/libm-test-ulps: Update.
3692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3694 * math/auto-libm-test-in: Add more tests of tanh.
3695 * math/auto-libm-test-out: Regenerated.
3696 * sysdeps/i386/fpu/libm-test-ulps: Update.
3697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3699 * math/auto-libm-test-in: Add more tests of tan.
3700 * math/auto-libm-test-out: Regenerated.
3701 * sysdeps/i386/fpu/libm-test-ulps: Update.
3702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3704 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3705 * math/auto-libm-test-out: Regenerated.
3706 * sysdeps/i386/fpu/libm-test-ulps: Update.
3707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3709 * math/auto-libm-test-in: Add another test of pow.
3710 * math/auto-libm-test-out: Regenerated.
3711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3713 * math/auto-libm-test-in: Add more tests of lgamma.
3714 * math/auto-libm-test-out: Regenerated.
3715 * sysdeps/i386/fpu/libm-test-ulps: Update.
3716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3718 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3720 * math/auto-libm-test-out: Regenerated.
3721 * sysdeps/i386/fpu/libm-test-ulps: Update.
3722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3724 2015-05-01 Mark Wielaard <mjw@redhat.com>
3726 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3727 Elf64_Chdr structs and ELFCOMPRESS constants.
3729 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3731 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3733 * math/auto-libm-test-out: Regenerated.
3734 * sysdeps/i386/fpu/libm-test-ulps: Update.
3735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3737 * math/auto-libm-test-in: Add more tests of erf and erfc.
3738 * math/auto-libm-test-out: Regenerated.
3739 * sysdeps/i386/fpu/libm-test-ulps: Update.
3740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3742 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
3744 * config.h.in (HAVE_AARCH64_BE): Add.
3746 2015-04-30 Joseph Myers <joseph@codesourcery.com>
3748 * math/auto-libm-test-in: Add more tests of csqrt.
3749 * math/auto-libm-test-out: Regenerated.
3750 * sysdeps/i386/fpu/libm-test-ulps: Update.
3751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3753 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3754 * math/auto-libm-test-out: Regenerated.
3755 * sysdeps/i386/fpu/libm-test-ulps: Update.
3756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3758 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3760 2015-04-29 Roland McGrath <roland@hack.frob.com>
3762 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3763 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3765 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3766 (euidaccess, eaccess): Define as weak aliases.
3768 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3769 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
3770 but __suseconds_t is often 'long int' so some sources assume that
3771 type is being used (e.g. they use %ld to print tv_usec).
3773 2015-04-29 Florian Weimer <fweimer@redhat.com>
3776 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3778 * nss/tst-nss-getpwent.c: New file.
3779 * nss/Makefile (tests): Add new test.
3781 2015-04-28 Joseph Myers <joseph@codesourcery.com>
3784 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3785 exponents less than 48 as cases where high part of mantissa needs
3786 examining to determine whether argument is integral.
3787 * math/libm-test.inc (round_test_data): Add more tests.
3789 2015-04-28 Mark Wielaard <mjw@redhat.com>
3791 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3793 2015-04-27 David S. Miller <davem@davemloft.net>
3795 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3797 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3799 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
3802 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3804 2015-04-27 Florian Weimer <fweimer@redhat.com>
3807 * time/tzset.c (parse_tzname): Return error on memory allocation
3809 * test-skeleton.c (struct temp_name_list): Change type of name
3810 member to non-const.
3811 (add_temp_file): Create a copy of the file name.
3812 (delete_temp_files): Deallocate memory.
3813 (create_temp_file): Add comment.
3815 2015-04-24 Florian Weimer <fweimer@redhat.com>
3817 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3818 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3820 2015-04-24 Roland McGrath <roland@hack.frob.com>
3822 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3823 * sysdeps/arm/configure: Regenerated.
3825 2015-04-24 Florian Weimer <fweimer@redhat.com>
3828 * time/tzfile.c (__tzfile_read): Check for large values of
3829 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
3830 * time/tzset.c (__tzstring_len): New function, based on the old
3831 __tzstring function.
3832 (__tzstring): Call __tzstring_len.
3833 (parse_tzname): New helper function extracted from
3834 __tzset_parse_tz. Call __tzstring_len, without making a copy of
3836 (parse_offset): New helper function extracted from
3837 __tzset_parse_tz. Replace switch with fallthrough with
3838 initialization before sscanf.
3839 (parse_rule): Likewise.
3840 (__tzset_parse_tz): Rewrite using the new helper functions. Use
3841 new-style function definition.
3842 * timezone/Makefile (tests): Add tst-tzset.
3843 (tst-tzset.out): Dependencies on time zone files.
3844 (tst-tzset-ENV): Set TZDIR.
3845 (testdata/XT%): Copy crafted time zone files.
3846 * timezone/README: Mention crafted time zone files.
3847 * timezone/testdata/XT1, timezone/testdata/XT2,
3848 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3850 * timezone/tst-tzset.c: New test.
3852 2015-04-24 Florian Weimer <fweimer@redhat.com>
3854 * Makeconfig (+gccwarn): Remove -Winline.
3856 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3858 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3860 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3862 * NEWS: Mention sysconf() cache information support for s390.
3863 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3865 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
3867 * math/k_casinh.c (__kernel_casinh): Use __copysign.
3868 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3869 (__nearbyint): Likewise.
3870 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3871 (copysignl): Likewise.
3873 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
3876 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3877 based on padding. (CVE-2015-1781)
3879 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3881 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3883 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3884 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3885 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3886 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3887 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3888 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3889 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3890 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3891 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3892 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3893 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3894 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3895 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3896 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3897 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3898 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3899 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3900 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3901 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3902 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3903 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3904 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3905 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3907 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
3909 * stdlib/setenv.c (__add_to_environ):
3910 Dump core quickly if setenv (..., NULL, ...) is called.
3911 This time, do it the right way, and pacify GCC with a pragma.
3913 2015-04-17 Roland McGrath <roland@hack.frob.com>
3915 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3916 IMAP->l_prev cannot be null, and #if out the code for the contrary
3917 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3918 believe that NS (&_dl_ns[NSID]) could point outside the array.
3920 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3921 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3922 before using NSID as an index.
3924 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
3927 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3928 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3929 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3931 2015-04-17 Roland McGrath <roland@hack.frob.com>
3933 Add preliminary port to Google Native Client on ARM.
3934 * abi-tags (.*-.*-nacl.*): New entry.
3935 * sysdeps/arm/nacl: New directory.
3936 * sysdeps/nacl: New directory.
3938 2015-04-16 David S. Miller <davem@davemloft.net>
3940 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3941 lowlevellock-futex.h
3943 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
3945 * sysdeps/tile/configure.ac: New file.
3946 * sysdeps/tile/configure: Regenerated.
3948 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3950 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
3951 conditionals for weak_alias and libc_hidden_weak.
3952 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3953 libc_hidden_weak and weak_alias.
3954 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3955 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3956 and weak_alias for static one.
3958 2015-04-15 David S. Miller <davem@davemloft.net>
3960 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3962 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3965 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3966 Use signed comparision instead of substraction to avoid
3968 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3969 Take the sign of ret.
3970 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3971 Do not expect precise return values. Only the sign matters.
3972 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3973 * wcsmbs/test-wcsncmp.c: New File.
3974 * string/test-strncmp.c: Add wcsncmp support.
3976 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3979 * math/w_log1p.c: New file.
3980 * math/w_log1pf.c: Likewise.
3981 * math/w_log1pl.c: Likewise.
3982 * math/Makefile (libm-calls): Add w_log1p.
3983 * math/s_log1pl.c (log1pl): Remove weak_alias.
3984 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3985 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3986 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3987 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3988 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3989 [NO_LONG_DOUBLE] (log1pl): Likewise.
3990 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3991 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3992 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3993 (log1p): Remove long_double_symbol.
3994 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3995 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3996 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3997 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3998 remove weak_alias for corresponding log1p function.
3999 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4000 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4001 * sysdeps/ia64/fpu/w_log1p.c: New file.
4002 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4003 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4004 * math/libm-test.inc (log1p_test_data): Add errno expectations.
4006 2015-04-10 Joseph Myers <joseph@codesourcery.com>
4009 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4010 decimal exponent by 1.
4011 * stdlib/tst-strtod-round-data: Add more tests.
4012 * stdlib/tst-strtod-round.c (tests): Regenerated.
4014 2015-04-09 Joseph Myers <joseph@codesourcery.com>
4016 * math/auto-libm-test-in: Add more tests of clog and clog10.
4017 * math/auto-libm-test-out: Regenerated.
4018 * sysdeps/i386/fpu/libm-test-ulps: Update.
4019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4021 2015-04-09 Roland McGrath <roland@hack.frob.com>
4023 * Makeconfig (module-cppflags): Exclude all .v.i files.
4024 (skip-module-cppflags): Variable removed.
4026 * configure.ac (libc_config_ok): Initialize before reading
4027 preconfigure scripts, not after.
4028 * configure: Regenerated.
4030 * test-skeleton.c (TIMEOUT): Move #define to top level.
4031 (main): Grok environment variable TEST_DIRECT. If set, print
4032 test expectation details into that file and then behave as if
4035 2015-04-09 Florian Weimer <fweimer@redhat.com>
4037 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4040 2015-04-08 David S. Miller <davem@davemloft.net>
4042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4044 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4046 * math/auto-libm-test-in: Add more tests of atanh.
4047 * math/auto-libm-test-out: Regenerated.
4048 * sysdeps/i386/fpu/libm-test-ulps: Update.
4049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4051 * math/auto-libm-test-in: Add more tests of atan.
4052 * math/auto-libm-test-out: Regenerated.
4053 * sysdeps/i386/fpu/libm-test-ulps: Update.
4054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4056 2015-04-08 Florian Weimer <fweimer@redhat.com>
4058 * elf/pldd.c (main): Rewrite to use struct
4059 scratch_buffer instead of extend_alloca.
4060 * elf/pldd-xx.c (find_maps): Likewise.
4061 * grp/initgroups.c: Include <scratch_buffer.h> instead of
4063 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4064 scratch_buffer instead of extend_alloca.
4065 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4066 grp/compat-initgroups.c.
4067 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4068 Rewrite to use struct scratch_buffer instead of extend_alloca.
4069 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4070 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4072 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4074 * math/auto-libm-test-in: Add more tests of cbrt.
4075 * math/auto-libm-test-out: Regenerated.
4076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4078 * math/auto-libm-test-in: Add more tests of cabs.
4079 * math/auto-libm-test-out: Regenerated.
4080 * sysdeps/i386/fpu/libm-test-ulps: Update.
4081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4085 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4086 (__ieee754_atan2): Set FE_TONEAREST mode for internal
4088 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4090 * math/auto-libm-test-out: Regenerated.
4091 * sysdeps/i386/fpu/libm-test-ulps: Update.
4092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4095 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4096 (atan): Set FE_TONEAREST mode for internal computations.
4097 * math/auto-libm-test-in: Add more tests of atan.
4098 * math/auto-libm-test-out: Regenerated.
4100 2015-04-07 James Cowgill <james410@cowgill.org.uk>
4103 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4105 2015-04-07 Florian Weimer <fweimer@redhat.com>
4107 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4109 2015-04-07 Florian Weimer <fweimer@redhat.com>
4111 * include/scratch_buffer.h: New file.
4112 * malloc/scratch_buffer_grow.c: Likewise.
4113 * malloc/scratch_buffer_grow_preserve.c: Likewise.
4114 * malloc/scratch_buffer_set_array_size.c: Likewise.
4115 * malloc/tst-scratch_buffer.c: Likewise.
4116 * malloc/Makefile (routines): Add scratch_buffer_grow.
4117 (tests): Add test case.
4118 * malloc/Versions (GLIBC_PRIVATE): Export
4119 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4120 __libc_scratch_buffer_set_array_size.
4122 2015-04-06 Richard Henderson <rth@redhat.com>
4124 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4125 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4127 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4128 unsigned int before printing.
4130 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4133 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4134 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4136 2015-04-02 Florian Weimer <fweimer@redhat.com>
4138 * include/libc-internal.h (libc_max_align_t): Define.
4140 2015-04-02 Andreas Schwab <schwab@suse.de>
4143 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4145 2015-04-02 Mel Gorman <mgorman@suse.de>
4148 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4149 as well as the main arena.
4151 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4154 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4155 sharing L2 cache to 2 for Silvermont/Knights Landing.
4157 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4160 * config.make.in (have-protected-data): New.
4161 * configure.ac: Check linker support for protected data symbol.
4162 * configure: Regenerated.
4163 * elf/Makefile (modules-names): Add tst-protected1moda and
4164 tst-protected1modb if $(have-protected-data) is yes.
4165 (tests): Add tst-protected1a and tst-protected1b if
4166 $(have-protected-data) is yes.
4167 ($(objpfx)tst-protected1a): New.
4168 ($(objpfx)tst-protected1b): Likewise.
4169 (tst-protected1modb.so-no-z-defs): Likewise.
4170 * elf/tst-protected1a.c: New file.
4171 * elf/tst-protected1b.c: Likewise.
4172 * elf/tst-protected1mod.h: Likewise.
4173 * elf/tst-protected1moda.c: Likewise.
4174 * elf/tst-protected1modb.c: Likewise.
4176 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4179 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4180 indicates it is called from do_lookup_x on relocation against
4181 protected data, skip the data definion in the executable from
4183 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4184 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4185 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4186 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4187 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4189 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4190 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4191 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4192 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4193 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4194 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4196 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
4198 * sysdeps/nptl/pthread.h: Remove duplicate definition of
4199 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4201 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
4203 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4205 * sysdeps/x86_64/nptl/tls.h: Ditto.
4207 2015-03-27 Roland McGrath <roland@hack.frob.com>
4209 * dlfcn/tststatic.c (main): Converted to ...
4210 (do_test): ... this.
4211 (TEST_FUNCTION): New macro.
4212 Include test-skeleton.c.
4214 2015-03-26 Alan Modra <amodra@gmail.com>
4216 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4217 Don't segfault if ifunc resolver returns a NULL. Do set plt to
4218 zero for undefined weak.
4219 (elf_machine_plt_conflict): Similarly.
4221 2015-03-25 Joseph Myers <joseph@codesourcery.com>
4223 * math/auto-libm-test-in: Add more tests of acosh, asinh and
4225 * math/auto-libm-test-out: Regenerated.
4226 * sysdeps/i386/fpu/libm-test-ulps: Update.
4227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4229 * math/auto-libm-test-in: Add another test of asin.
4230 * math/auto-libm-test-out: Regenerated.
4231 * sysdeps/i386/fpu/libm-test-ulps: Update.
4232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4234 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4236 (LLL_EBX_REG): Likewise.
4237 (LLL_ENTER_KERNEL): Likewise.
4239 * math/auto-libm-test-in: Add more tests of asin.
4240 * math/auto-libm-test-out: Regenerated.
4241 * sysdeps/i386/fpu/libm-test-ulps: Update.
4242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4245 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4246 libc_do_syscall_args): New structure.
4247 (INTERNAL_SYSCALL_MAIN_0): New macro.
4248 (INTERNAL_SYSCALL_MAIN_1): Likewise.
4249 (INTERNAL_SYSCALL_MAIN_2): Likewise.
4250 (INTERNAL_SYSCALL_MAIN_3): Likewise.
4251 (INTERNAL_SYSCALL_MAIN_4): Likewise.
4252 (INTERNAL_SYSCALL_MAIN_5): Likewise.
4253 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
4254 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4255 Replace conditional definitions by conditional definitions of ....
4256 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
4257 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4258 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4259 (libpthread-sysdep_routines): Add libc-do-syscall.
4260 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4261 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4262 to __NR_futex not 240.
4264 2015-03-25 Alan Modra <amodra@gmail.com>
4266 * NEWS: Advertise TLS optimization.
4267 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4268 (DT_PPC_NUM): Increment.
4269 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4270 (CHECK_STATIC_TLS): Use here.
4271 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4273 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4274 * sysdeps/powerpc/dl-tls.c: New file.
4275 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4276 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4277 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4278 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4283 2015-03-25 Alan Modra <amodra@gmail.com>
4285 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4286 for overlapping .opd entries" to "support...".
4287 * sysdeps/powerpc/powerpc64/configure: Regenerate
4289 2015-03-25 Joseph Myers <joseph@codesourcery.com>
4291 * math/auto-libm-test-in: Add more tests of acos.
4292 * math/auto-libm-test-out: Regenerated.
4293 * sysdeps/i386/fpu/libm-test-ulps: Update.
4294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4296 * math/auto-libm-test-in: Add more tests of expm1.
4297 * math/auto-libm-test-out: Regenerated.
4298 * sysdeps/i386/fpu/libm-test-ulps: Update.
4299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4301 2015-03-24 Joseph Myers <joseph@codesourcery.com>
4303 * math/auto-libm-test-in: Add more tests of cosh and sinh.
4304 * math/auto-libm-test-out: Regenerated.
4305 * sysdeps/i386/fpu/libm-test-ulps: Update.
4306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4308 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4311 * math/auto-libm-test-in: Add more tests of log2.
4312 * math/auto-libm-test-out: Regenerated.
4313 * sysdeps/i386/fpu/libm-test-ulps: Update.
4314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4316 2015-03-23 Roland McGrath <roland@hack.frob.com>
4318 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4319 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
4320 _IO_IS_APPENDING bit in READ_WRITE instead.
4322 2015-03-23 Florian Weimer <fweimer@redhat.com>
4324 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4325 (__determine_cpumask_size): Replace extend_alloca with a
4326 variable-length array. Do not treat res == 0 as an error.
4328 2015-03-23 Florian Weimer <fweimer@redhat.com>
4331 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4332 and integer overflow.
4333 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4334 (main): Add integer overflow tests.
4335 * manual/pattern.texi (Calling Wordexp): Document additional use
4338 2015-03-23 Alan Modra <amodra@gmail.com>
4340 * config.h.in: Remove HAVE_ASM_PPC_REL16.
4341 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4342 and false branch of conditional.
4343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4346 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
4348 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4350 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4351 unused declaration of _hurd_intr_rpc_msg_in_trap.
4352 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4353 defined instead of whether it is non-zero.
4354 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4355 input constraint instead of both input and output constraint. Use ecx
4356 clobber instead of %ecx.
4357 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4358 mutex_unlock): Use a statement expression instead of an expression list.
4359 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4360 type to vm_size_t instead of vm_address_t.
4361 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4362 defined instead of whether it is non-zero.
4363 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4364 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4365 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4366 comparisons with mapaddr.
4367 * nscd/nscd-client.h: Include <time.h>.
4368 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4369 9th parameter to __vm_region instead of int.
4370 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4371 * scripts/check-local-headers.sh (exclude): Add device/,
4372 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4375 2015-03-19 Roland McGrath <roland@hack.frob.com>
4377 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4378 to account for alignment padding.
4379 * sysdeps/arm/memmove.S: Likewise.
4381 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
4383 * sysdeps/unix/sysv/linux/generic/README: New file.
4385 2015-03-18 Joseph Myers <joseph@codesourcery.com>
4388 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4389 (futex_abstimed_wait)
4390 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4391 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4392 of lll_futex_timed_wait.
4394 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
4397 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4399 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
4406 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4407 entries with Static TLS too. Skip entries past the end of the
4408 allocated DTV, from Alan Modra.
4409 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
4410 Static TLS DTV entry set up from...
4411 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4412 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4413 * nptl/allocatestack.c (init_one_static_tls): ... and here...
4414 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4416 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
4417 that the slot we find is associated with the given map before
4418 using its generation count.
4419 * nptl_db/db_info.c: Include ldsodefs.h.
4420 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4421 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4422 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4423 (link_map::l_tls_offset): New struct field.
4424 (dtv_t::counter): Likewise.
4425 (rtld_global): New struct.
4426 (_rtld_global): New rtld variable.
4427 (dl_tls_dtv_slotinfo_list): New rtld global field.
4428 (dtv_slotinfo_list): New struct.
4429 (dtv_slotinfo): Likewise.
4430 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4431 (td_lookup): Rename to...
4432 (td_mod_lookup): ... this. Use new mod parameter instead of
4434 * nptl_db/td_thr_tlsbase.c: Include link.h.
4435 (dtv_slotinfo_list, dtv_slotinfo): New functions.
4436 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
4437 addresses even if the DTV is out of date or missing them.
4438 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4439 index zero-length arrays.
4440 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4441 (td_lookup): Make it a macro implemented in terms of...
4442 (td_mod_lookup): ... this declaration.
4443 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4444 (DB_MAIN_VARIABLE): Likewise.
4446 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
4449 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4451 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
4453 * stdlib/setenv.c (__add_to_environ): Revert previous change.
4455 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
4458 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4459 (atomic_add, atomic_increment_and_test)
4460 (atomic_decrement_and_test): Fix 64-bit arithmetic.
4462 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
4464 * stdlib/setenv.c (__add_to_environ):
4465 Dump core quickly if setenv (..., NULL, ...) is called.
4467 2015-03-13 Roland McGrath <roland@hack.frob.com>
4469 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4470 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4471 all the necessary asm magic in one place.
4472 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4475 2015-03-13 Carlos O'Donell <carlos@redhat.com>
4478 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4479 traced file mtime. Use consistent log message.
4480 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4481 (register_traced_file): Call install_watches. Always set mtime.
4482 (invalidate_cache): Iterate over all trace files. Call install_watches.
4483 (inotify_check_files): Don't inline. Handle watching parent
4484 directories and configuration file movement in and out.
4485 (handle_inotify_events): New function.
4486 (main_loop_poll): Call handle_inotify_events.
4487 (main_loop_epoll): Likewise.
4488 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4489 (struct traced_file): Use array of inotify fds. Add parent directory,
4491 (struct database_dyn): Remove unused file_mtime.
4492 (init_traced_file): New inline function.
4493 (define_traced_file): New macro.
4494 * nss/nss_db/db-init.c: Use define_traced_file.
4495 (_nss_db_init): Use init_traced_file.
4496 * nss/nss_files/files-init.c: Use define_traced_file.
4497 (_nss_files_init): Use init_traced_file.
4499 2015-03-12 Joseph Myers <joseph@codesourcery.com>
4501 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4502 [_LIBC]: Do not include <stdlib.h>.
4503 [!_LIBC] (abort): Remove declaration.
4504 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4505 _FP_STATIC_ASSERT instead of conditionally calling abort.
4506 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4507 (_FP_EXTEND_CNAN): Likewise.
4508 (FP_TRUNC): Likewise.
4509 (__FP_CLZ): Likewise.
4510 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4512 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
4514 * manual/string.texi (XPG basename): Fix prototype.
4516 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4519 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4520 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4521 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4522 (__setcontext): Likewise.
4523 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4524 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4525 Call rt_sigprocmask syscall one time to set new signal mask
4526 and retrieve the current signal mask instead of two calls.
4527 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4528 (__swapcontext): Likewise.
4529 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4530 * stdlib/tst-setcontext2.c: New file.
4532 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4534 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4536 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
4539 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4542 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4545 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4547 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4549 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4550 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4552 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4553 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4554 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4555 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4556 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4557 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4559 * nptl_db/td_symbol_list.c (td_lookup): Remove
4560 HAVE_ASM_GLOBAL_DOT_NAME code.
4561 * sysdeps/powerpc/powerpc64/configure.ac: Remove
4562 HAVE_ASM_GLOBAL_DOT_NAME check.
4563 * sysdeps/powerpc/powerpc64/configure: Regenerate.
4564 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4565 (DOT_LABEL): Remove define.
4566 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4567 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4568 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4569 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4570 (__TLS_GET_ADDR): Likewise.
4571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4572 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4574 2015-03-11 Carlos O'Donell <carlos@redhat.com>
4577 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4578 (_FPU_SETCW): Initialize cw from fpsr before storing.
4579 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4580 (fesetexceptflag): Rewrite using fpu_control.h.
4581 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4583 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
4586 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4588 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4590 2015-03-11 Joseph Myers <joseph@codesourcery.com>
4592 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4593 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4595 (_FP_FMA): Likewise.
4596 (_FP_DIV): Likewise.
4598 2015-03-10 Roland McGrath <roland@hack.frob.com>
4600 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4601 with 0 in that case.
4602 * Makefile (summarize-tests): New canned sequence, factored out of
4603 commands for targets tests and xtests. Display summary lines that
4604 don't start with PASS: or XFAIL: rather than ones that do start with
4605 ERROR: or FAIL:. Make the commands fail if any summary lines fail
4606 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4607 do start with ERROR: or FAIL:.
4608 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4609 (except for [$(build-shared) = yes]).
4610 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4611 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4612 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4613 * nptl/Makefile: Revert 2015-03-04 changes.
4614 [$(CXX) empty] (tests-unsupported): New variable.
4615 * debug/Makefile: Likewise.
4617 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4618 gnulib file. Replace __attribute with __attribute__ throughout.
4620 2015-03-10 Carlos O'Donell <carlos@redhat.com>
4622 * sysdeps/hppa/fpu/libm-test-ulps: Update.
4624 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4627 * math/auto-libm-test-in: Add another test of pow.
4628 * math/auto-libm-test-out: Regenerated.
4630 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4632 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4633 $(config-cflags-nofma).
4635 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4637 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4638 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4639 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4640 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4641 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4642 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4643 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4644 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4645 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4646 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4647 Add comment on closing #endif.
4649 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4651 * posix/wordexp.c (CHAR_IN_SET): New macro.
4652 (parse_param): Use it.
4654 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4656 * sysdeps/powerpc/fpu/libm-test-ulps: update.
4658 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4661 * posix/wordexp.c (parse_param): Fix buffer overflow.
4662 * posix/wordexp-test.c (test_case): Add test case.
4664 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4667 * posix/wordexp.c (parse_backtick): Fix off-by-one.
4668 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4670 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4673 * posix/wordexp-test.c (test_case): Add test for BZ #18043
4674 (do_bz18043): Delete.
4676 (testit): Refactor to have words at the edge of unreadable page.
4678 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4681 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4682 Cleanup read-only streams as well.
4683 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4685 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4687 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4690 2015-03-07 Joseph Myers <joseph@codesourcery.com>
4692 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
4694 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4695 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4696 * soft-fp/op-common.h (_FP_DECL): Likewise.
4698 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
4700 * elf/ifuncdep2.c (global): Replace
4701 __attribute__((visibility("protected"))) with
4702 asm (".protected global").
4703 * elf/ifuncmod1.c (global): Likewise.
4704 * elf/ifuncmod5.c (global): Likewise.
4706 2015-03-06 Joseph Myers <joseph@codesourcery.com>
4708 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4709 <asm/sfp-machine.h> instead of <sfp-machine.h>.
4711 2015-03-06 Roland McGrath <roland@hack.frob.com>
4713 * manual/install.texi (Configuring and compiling):
4714 Document test-wrapper-env-only.
4715 * INSTALL: Regenerated.
4717 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4720 * posix/wordexp.c (parse_param): Fix buffer overflow.
4721 * posix/wordexp-test.c (do_bz18043): Add test case.
4723 2015-03-06 Vincent Bernat <vincent@bernat.im>
4725 * time/tst-strptime2.c (do_test): Ensure failing tests are
4727 * time/tst-strptime3.c (do_test): Likewise.
4729 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
4731 Fix aio_error thread-safety.
4732 * sysdeps/pthread/aio_error.c: New file
4733 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4736 2015-03-06 Florian Weimer <fweimer@redhat.com>
4738 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4739 (group_number, vfprintf): Use it.
4740 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4741 (JUMP, REF): Use it.
4742 (WORK_BUFFER_SIZE): New enum constant.
4743 (process_arg, vfprintf): Use it.
4745 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
4747 * manual/errno.texi (Error Messages): Complete example function
4748 by adding missing #define.
4749 (program_invocation_name): Add statement indicating GNU
4750 extension and reference which header file declares the variable.
4751 (program_invocation_short_name): Likewise.
4753 2015-03-06 Mike Frysinger <vapier@gentoo.org>
4755 * manual/errno.texi (Error Messages): Delete strerror ISO C89
4758 2015-03-05 Roland McGrath <roland@hack.frob.com>
4760 * Makeconfig (test-wrapper-env-only): New variable.
4761 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4762 then use that with $(test-wrapper-env-only) rather than using
4763 $(test-wrapper-env) $(run-program-env) $($*-ENV).
4765 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
4768 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4769 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4770 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4771 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4772 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4773 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4774 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4775 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4777 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4778 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4780 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4782 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4784 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4786 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4787 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4789 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4791 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4792 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4794 2015-03-04 Roland McGrath <roland@hack.frob.com>
4796 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4797 (ETH_ALEN): New macro.
4798 (struct ether_addr): Use it for length of ether_addr_octet.
4800 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4801 (setdb): Don't call __nss_configure_lookup for "rpc".
4802 (do_test): Don't call test_rpc.
4803 (output_rpcent, test_rpc): Functions moved ...
4804 * sunrpc/test-rpcent.c: ... to this new file.
4805 * sunrpc/Makefile (tests): Add it.
4807 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4809 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4810 * nptl/tst-signal6.c: Likewise.
4811 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4812 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4814 * configure.ac (libc_cv_cxx_link_ok): New check.
4815 Reset CXX to empty if it fails to link.
4816 * configure: Regenerated.
4817 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4818 bug-atexit3-lib only if $(CXX) is nonempty.
4819 * nptl/Makefile (tests): Likewise for tst-cancel24.
4820 (tests, tests-static): Likewise for tst-cancel24-static.
4821 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4822 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4823 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4824 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4826 2015-03-04 Andreas Schwab <schwab@suse.de>
4829 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4830 for non-GCC compilers.
4831 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4834 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4837 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4838 integer before bitwise and assembly operations.
4839 (feclearexcept): Likewise.
4840 * math/test-fenvinline.c: New file.
4841 * math/Makefile: Add test-fenvinline test.
4843 2015-03-03 Alan Modra <amodra@gmail.com>
4846 * scripts/localplt.awk: Strip off symbol version.
4847 * NEWS: Mention bug fix.
4849 2015-03-02 Roland McGrath <roland@hack.frob.com>
4851 * sysdeps/pthread/timer_routines.c
4852 (timer_free_list, thread_free_list, thread_active_list): Make static.
4854 2015-03-02 Joseph Myers <joseph@codesourcery.com>
4857 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4858 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4860 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4861 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4863 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4864 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4867 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4870 * posix/fnmatch_loop.c (END): Detect invalid pattern.
4871 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4873 2015-03-02 Andreas Schwab <schwab@suse.de>
4875 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4878 2015-03-02 Florian Weimer <fweimer@redhat.com>
4880 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4881 Return error status.
4883 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
4886 * locale/findlocale.c (_nl_find_locale): Introduce const
4887 version of loc_name and drop unsafe type casts.
4889 2015-02-27 Roland McGrath <roland@hack.frob.com>
4891 * dlfcn/tststatic2.c (main): Converted to ...
4892 (do_test): ... this.
4893 (TEST_FUNCTION): New macro.
4894 Include test-skeleton.c.
4896 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
4899 * elf/Makefile (tests): Add vismain only if PIE is enabled.
4900 (tests-pie): Add vismain.
4901 (CFLAGS-vismain.c): New.
4902 * elf/vismain.c: Add comments for PIE requirement.
4904 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4908 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4909 0x1p-56L as threshold for just returning the argument.
4910 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4911 0x1p-32L as threshold for just returning the argument.
4912 * math/auto-libm-test-in: Add more tests of atanh.
4913 * math/auto-libm-test-out: Regenerated.
4914 * sysdeps/i386/fpu/libm-test-ulps: Update.
4915 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4917 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4919 * string/bcopy.c (bcopy): Call memmove for performance.
4921 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4923 * string/bzero.c (__bzero): Call memset for performance.
4925 2015-02-27 John David Anglin <dave.anglin@bell.net>
4928 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4931 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4933 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4935 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4937 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4938 (__kernel_standard): Use CSTR macro when setting exc.name.
4939 * sysdeps/ieee754/Makefile [$(subdir) = math]
4940 (CFLAGS-k_standard.c): Remove variable.
4942 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4943 setting p and q from "else if" to "else".
4945 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4947 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4949 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4951 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4953 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4958 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4959 return pi/2 for arguments below 0x1p-113L.
4960 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4961 return pi/2 for arguments below 0x1p-106L.
4962 * math/auto-libm-test-in: Add more tests of acos.
4963 * math/auto-libm-test-out: Regenerated.
4966 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4968 (__ieee754_asin): Force underflow exception for results with small
4970 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4972 (__ieee754_asinf): Force underflow exception for results with
4973 small absolute value.
4974 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4975 (__ieee754_asin): Force underflow exception for results with small
4977 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4978 (__ieee754_asinf): Force underflow exception for results with
4979 small absolute value.
4980 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4981 (__ieee754_asinl): Force underflow exception for results with
4982 small absolute value.
4983 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4984 (__ieee754_asinl): Force underflow exception for results with
4985 small absolute value.
4986 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4987 (__ieee754_asinl): Force underflow exception for results with
4988 small absolute value.
4989 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4991 * math/auto-libm-test-in: Do not mark underflow exceptions as
4992 possibly missing for bug 16351.
4993 * math/auto-libm-test-out: Regenerated.
4996 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4997 of power of 2 down when low part has opposite sign.
4998 * math/libm-test.inc (logb_test_data): Add more tests.
5000 2015-02-26 Andreas Schwab <schwab@suse.de>
5003 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5004 over collating symbol inside a bracket expression. Minor cleanup.
5005 * posix/tst-fnmatch3.c (do_test): Add test case.
5007 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5010 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5011 Adjust exponent of power of 2 down when low part has opposite
5013 * math/libm-test.inc (ilogb_test_data): Add more tests.
5015 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
5018 * locale/findlocale.c (_nl_find_locale): Fix constness error in
5019 the previous change.
5022 * locale/findlocale.c (_nl_find_locale): Retry archive search
5023 after alias expansion.
5025 2015-02-25 Roland McGrath <roland@hack.frob.com>
5027 * iconv/tst-iconv3.c (main): Converted to ...
5028 (do_test): ... this.
5029 (TEST_FUNCTION): New macro.
5030 Include test-skeleton.c.
5032 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5033 (convert): Make function static.
5034 (test_unalign): Likewise. Add const to argument pointee types.
5035 (main): Replace with static function do_test.
5036 Print "Succeeded." only if RET is zero.
5037 (TEST_FUNCTION): New macro.
5038 Include test-skeleton.c.
5040 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5041 returns a null pointer.
5043 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5045 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5046 to __memcpy_ppc only for static builds.
5048 2015-02-25 Joseph Myers <joseph@codesourcery.com>
5051 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5052 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5053 * math/auto-libm-test-in: Add more tests of asinh.
5054 * math/auto-libm-test-out: Regenerated.
5055 * sysdeps/i386/fpu/libm-test-ulps: Update.
5056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5058 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
5061 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5062 and ip6_mtuinfo definitions here.
5063 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5064 in this define too. Update comment.
5066 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
5068 * elf/sprof.c (load_shobj): Tweak error message to match others.
5070 2015-02-24 Kevin Easton <kevin@guarana.org>
5072 [BZ #16145] (partial fix)
5073 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5074 to reduce lock contention.
5076 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
5078 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5079 (struct timex): Update time comment.
5080 (ADJ_SETOFFSET): Define.
5082 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5085 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5086 2**56 not 2**28 as threshold for log (2x) formula.
5087 * math/auto-libm-test-in: Add more tests of acosh.
5088 * math/auto-libm-test-out: Regenerated.
5089 * sysdeps/i386/fpu/libm-test-ulps: Update.
5090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5092 2015-02-24 Mike Frysinger <vapier@gentoo.org>
5094 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5095 parenthesis around the buf assignment.
5096 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5098 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5101 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5102 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5103 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5104 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5105 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5106 * math/libm-test.inc (scalb_test_data): Add more tests.
5108 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5111 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5112 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5114 2015-02-24 Eric Rannaud <e@nanocritical.com>
5117 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5118 * io/bits/fcntl2.h (open): Use it.
5120 * io/open.c (__libc_open): Likewise.
5121 * io/open64.c (__libc_open64): Likewise.
5122 * io/open64_2.c (__open64_2): Likewise.
5123 * io/open_2.c (__open_2): Likewise.
5124 * io/openat.c (__openat): Likewise.
5125 * io/openat64.c (__openat64): Likewise.
5126 * io/openat64_2.c (__openat64_2): Likewise.
5127 * io/openat_2.c (__openat_2): Likewise.
5128 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5129 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5130 * sysdeps/posix/open64.c (__libc_open64): Likewise.
5131 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5132 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5133 (__open_nocancel): Likewise.
5134 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5135 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5136 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5138 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5141 * resolv/gethnamaddr.c (getanswer): Skip logging if
5142 RES_USE_DNSSEC is set.
5143 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5145 2015-02-24 Mike Frysinger <vapier@gentoo.org>
5147 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5149 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
5151 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5152 201304L, for Unicode 7.
5154 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
5157 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5158 shared library. Add gmon-start.os otherwise.
5159 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5160 $(objpfx)gmon-start.os if builing shared library.
5161 ($(objpfx)g$(static-start-installed-name)): Likewise.
5163 2015-02-23 Andreas Schwab <schwab@suse.de>
5165 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5167 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5170 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5171 (enlarge_userbuf): Likewise.
5173 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
5175 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5176 * math/atest-exp.c (TIMEOUT): Adjust to 200.
5177 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5178 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5180 2015-02-20 Joseph Myers <joseph@codesourcery.com>
5182 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5183 expression inside statement expression.
5185 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5187 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5188 <sysdeps/nptl/lowlevellock.h> and remove macros and
5189 functions that are now defined there.
5190 (SYS_futex): Remove.
5191 (lll_compare_and_swap): Remove.
5192 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5194 2015-02-19 Joseph Myers <joseph@codesourcery.com>
5197 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5198 instead of scandirat.
5199 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5200 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5201 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5203 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5204 (__scandirat): Declare. Use libc_hidden_proto.
5205 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5207 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5209 2015-02-18 Joseph Myers <joseph@codesourcery.com>
5212 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5214 (__ieee754_atan2): For results with small absolute value, force
5215 underflow exception and remove excess range and precision from
5217 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5219 (__ieee754_atan2f): For results with small absolute value, force
5220 underflow exception and remove excess range and precision from
5222 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5224 (__atan): For results with small absolute value, force underflow
5225 exception and remove excess range and precision from return value.
5226 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5228 (__atanf): For results with small absolute value, force underflow
5229 exception and remove excess range and precision from return value.
5230 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5232 (__ieee754_atan2): Force underflow exception for results with
5233 small absolute value.
5234 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5236 (atan): Force underflow exception for results with small absolute
5238 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5239 (__atanf): Force underflow exception for results with small
5241 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5243 (__atanl): Force underflow exception for results with small
5245 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5246 (__atanl): Force underflow exception for results with small
5248 * sysdeps/x86/fpu/bits/mathinline.h
5249 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5250 (__ieee754_atan2): Only define inline for long double.
5251 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5252 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5253 * math/auto-libm-test-in: Do not mark underflow exceptions as
5254 possibly missing for bug 15319. Add more tests of atan2.
5255 * math/auto-libm-test-out: Regenerated.
5256 * math/libm-test.inc (casin_test_data): Do not mark underflow
5257 exceptions as possibly missing for bug 15319.
5258 (casinh_test_data): Likewise.
5259 * sysdeps/i386/fpu/libm-test-ulps: Update.
5261 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
5263 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5264 * sysdeps/mips/bits/endian.h: Fix comments.
5266 2015-02-18 Joseph Myers <joseph@codesourcery.com>
5269 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5270 (hdestroy_r): Likewise.
5271 (hsearch_r): Likewise.
5272 (__hcreate_r): Declare and use libc_hidden_proto.
5273 (__hdestroy_r): Likewise.
5274 (__hsearch_r): Likewise.
5275 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5276 (hcreate): Call __hcreate_r instead of hcreate_r.
5277 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5278 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5279 as weak alias of __hcreate_r.
5280 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5282 (hsearch_r): Rename to __hsearch_r and define as weak alias of
5284 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5286 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5287 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5288 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5289 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5291 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5293 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5294 arena_lock into a single arena_get.
5296 2015-02-17 Carlos O'Donell <carlos@redhat.com>
5298 * dl-reloc.c: Inlucde libc-internal.h.
5299 (_dl_try_allocate_static_tls): Call ALIGN_UP.
5300 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5301 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5302 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5303 (grow_heap): Likewise.
5304 * malloc/malloc.c: Include libc-internal.h.
5305 (do_check_malloc): Call powerof2.
5306 (sysmalloc): Use pagesize. Call ALIGN_UP.
5307 (systrim): Use pagesize.
5308 (mremap_chunk): Use pagesize. Call ALIGN_UP.
5309 (__libc_valloc): Use pagesize.
5310 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5312 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5315 * include/sys/resource.h (__getrlimit64): Declare. Use
5317 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5318 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
5319 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5321 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5323 [!getrlimit64] (getrlimit64): Define as weak alias of
5324 __getrlimit64. Use libc_hidden_weak.
5325 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5326 using __getrlimit64 not __new_getrlimit64.
5327 (__GI_getrlimit64): Likewise.
5328 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5330 (__GI_getrlimit64): Likewise.
5331 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5333 (getrlimit): Add __getrlimit64 alias.
5334 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5336 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5338 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5339 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5341 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5343 * libio/fileops.c: Add missing sys/mman.h
5344 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5346 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5348 * manual/math.texi (Errors in Math Functions): Clarify goals
5349 regarding inexact and underflow exceptions.
5351 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5353 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5354 * sysdeps/mips/memset.S: Ditto.
5356 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5358 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5360 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5362 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5363 (__v1longjmp): Remove versioned symbol.
5364 (__v1siglongjmp): Remove alias and versioned symbol.
5365 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5366 (__v2siglongjmp): Likewise.
5368 2015-02-16 Torvald Riegel <triegel@redhat.com>
5370 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5372 2015-02-16 Mike Frysinger <vapier@gentoo.org>
5374 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5376 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5379 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5380 zero result does not depend on the sign resulting from
5382 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5384 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5385 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5386 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5387 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5388 * math/libm-test.inc (remquo_test_data): Add more tests.
5390 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
5392 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5393 Problem reported by J William Piggott.
5395 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5398 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5399 products 4 * y and 2 * y where those would overflow.
5400 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5402 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5403 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5404 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5405 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5406 * math/libm-test.inc (remquo_test_data): Add more tests.
5408 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5410 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5411 [defined _COMPILING_NEWLIB].
5412 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5413 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5415 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5416 [!defined __mips_isa_rev || __mips_isa_rev < 6].
5418 2015-02-16 Torvald Riegel <triegel@redhat.com>
5420 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5423 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
5426 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5427 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5428 HOST_STACK_END_ADDR): Likewise.
5430 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
5432 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5433 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5434 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5436 2015-02-13 Roland McGrath <roland@hack.frob.com>
5438 * sysdeps/generic/c++-types.data: New file.
5439 * sysdeps/generic/ld.abilist: New file.
5440 * sysdeps/generic/libBrokenLocale.abilist: New file.
5441 * sysdeps/generic/libanl.abilist: New file.
5442 * sysdeps/generic/libc.abilist: New file.
5443 * sysdeps/generic/libcrypt.abilist: New file.
5444 * sysdeps/generic/libdl.abilist: New file.
5445 * sysdeps/generic/libm.abilist: New file.
5446 * sysdeps/generic/libpthread.abilist: New file.
5447 * sysdeps/generic/libresolv.abilist: New file.
5448 * sysdeps/generic/librt.abilist: New file.
5450 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5453 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5454 Compute absolute value of x as modified by fmod, not original
5456 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5457 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
5458 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
5459 RUN_TEST_ffI_f1_mod8.
5460 (remquo_test_data): Add more tests.
5462 2015-02-13 Roland McGrath <roland@hack.frob.com>
5464 * sysdeps/init_array/pt-crti.S: New file.
5466 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5469 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5470 __builtin_fmaf instead of relying on contraction of a * b + c.
5472 2015-02-12 J William Piggott <elseifthen@gmx.com>
5475 * manual/time.texi: correct the zoneinfo path in the TZ Variable
5478 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5481 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5482 __builtin_fma instead of relying on contraction of a * b + c.
5484 2015-02-12 Roland McGrath <roland@hack.frob.com>
5486 * Makeconfig (ASFLAGS): Add -Werror=undef.
5487 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5488 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5489 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5491 * Makeconfig (after-link): New variable.
5492 (+link-pie, +link-pie-tests): Use it.
5493 (+link-static, +link-static-tests): Likewise.
5494 (+link, +link-tests): Likewise.
5495 * Makerules (build-module, build-module-asneeded): Likewise.
5496 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5498 * elf/Makefile ($(objpfx)ld.so): Likewise.
5500 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5503 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5504 both struct timeval and struct timespec.
5506 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5509 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5511 (__ieee754_exp2l): Do not multiply small fractional parts by
5513 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5515 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5516 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5517 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5518 * math/auto-libm-test-in: Add more tests of exp2.
5519 * math/auto-libm-test-out: Regenerated.
5521 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5523 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5526 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5528 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5531 2015-02-12 Andreas Schwab <schwab@suse.de>
5534 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5535 Filter out elision flags from value returned in kind.
5536 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5537 * nptl/tst-pthread-mutexattr.c: New file.
5539 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
5541 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5542 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5543 into gnu-gnu, and update comment to refer to abi-tags.
5545 2015-02-11 Joseph Myers <joseph@codesourcery.com>
5548 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5549 (__sincos): Set errno to EDOM for infinite argument.
5550 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5551 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5552 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5553 (__sincosl): Set errno to EDOM for infinite argument.
5554 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5555 (__sincosl): Set errno to EDOM for infinite argument.
5556 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5557 (__sincosl): Set errno to EDOM for infinite argument.
5558 * math/libm-test.inc (sincos_test_data): Test errno setting.
5560 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
5562 * string/strxfrm_l.c: Remove #define STRCMP.
5563 * string/strcoll_l.c: Remove #define STRLEN.
5564 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5565 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5567 2015-02-10 Joseph Myers <joseph@codesourcery.com>
5569 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5570 * sysdeps/mips/mips32/sfp-machine.h: ... here.
5571 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5572 * sysdeps/mips/mips64/Makefile: ... here.
5573 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5574 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5575 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5576 * sysdeps/mips/mips64/sfp-machine.h: ... here.
5577 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5578 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5579 * sysdeps/mips/mips64/n64/Implies: Likewise.
5581 2015-02-10 Roland McGrath <roland@hack.frob.com>
5583 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5584 <sys/time.h>, <string.h>, and <errno.h>.
5585 (dest_offset, dest_address, value, zero): Remove unused variables.
5586 (ldouble): Remove typedef.
5587 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5588 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
5590 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5591 (check): Function removed.
5593 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
5594 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5595 Don't call set_sigaction_FP and remove_sigaction_FP here.
5596 (ldouble_test): Just use 'long double' as macro argument, no need for
5597 the 'ldouble' typedef.
5598 (do_test): Set up SIGFPE handler at start, using plain signal rather
5599 than sigaction. Fix code style.
5601 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
5604 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5607 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5609 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5610 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5612 * sysdeps/powerpc/configure.ac: Remove file.
5613 * sysdeps/powerpc/configure: Likewise.
5615 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5616 [sysdep_routines]: Remove wordcopy-power6 object.
5617 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5618 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5619 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5620 (__memmove_ppc32): Likewise.
5621 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5623 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5624 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5625 Remove preprocessor.
5627 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5628 [sysdep_routines]: Remove wide chars objects.
5629 [wcsmbs]: New rule for wide char objects.
5631 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5632 Remove wordcopy-power6 obejct.
5633 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5634 Use local call for wordcopy and memcpy symbols.
5635 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5636 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5637 implementation for loader.
5638 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5640 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5641 Remove wordcopy-power7 object.
5642 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5643 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5644 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5645 (_wordcopy_fwd_dest_aligned): Likewise.
5646 (_wordcopy_bwd_aligned): Likewise.
5647 (_wordcopy_bwd_dest_aligned): Likewise.
5649 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5650 Rewrite to call __memmove_ppc instead of include default
5653 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5654 Remove wide chars objects.
5655 [wcsmbs]: New rule for wide char objects.
5657 2015-02-09 Andreas Schwab <schwab@suse.de>
5660 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5661 in terms of __O_DIRECTORY.
5663 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5665 * time/getdate.c: Include <stdbool.h>.
5666 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5668 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5671 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
5673 Add ersatz _Static_assert on older C hosts
5674 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5675 pre-C11 C platform that is not known to support _Static_assert.
5677 2015-02-07 Richard Braun <rbraun@sceen.net>
5679 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5681 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5683 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5685 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5686 priority against unexistent AIO_PRIO_DELTA_MAX.
5687 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5689 * misc/fchflags.c (fchflags): Likewise.
5690 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5691 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5692 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5693 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5694 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5696 [__USE_MISC] (chflags, fchflags): Declare functions.
5697 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5698 EINVAL when nfds is greater than FD_SETSIZE.
5699 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5700 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5702 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5703 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5704 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5706 * hurd/hurd/signal.h (_hurd_self_sigstate,
5707 _hurd_critical_section_lock, _hurd_critical_section_unlock):
5708 Explicit casts from void *.
5709 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5710 * abi-tags: Rename gnu-gnu os into gnu.
5713 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5714 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5715 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5716 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5717 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5718 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5721 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5722 duplicates ADDR->sun_path with sockaddr LEN limitation.
5723 * sysdeps/mach/hurd/connect.c: Include <string.h>
5724 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5725 * sysdeps/mach/hurd/sendmsg.c: Likewise.
5726 * sysdeps/mach/hurd/sendto.c: Likewise.
5727 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5728 implementing it by hand.
5730 2015-02-06 Roland McGrath <roland@hack.frob.com>
5732 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5733 Use sfi_breg on ldr.
5734 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5737 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5739 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5740 Test SIGSETXID only if it's defined.
5742 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5744 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5745 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
5747 * nptl/tst-align2.c: Moved ...
5748 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5749 * nptl/Makefile (tests): Remove tst-align2.
5750 * sysdeps/unix/sysv/linux/Makefile
5751 [$(subdir) = nptl] (tests): Add tst-align-clone.
5752 * nptl/tst-getpid1.c: Moved ...
5753 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5754 * nptl/tst-getpid2.c: Moved ...
5755 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5756 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5757 * sysdeps/unix/sysv/linux/Makefile
5758 [$(subdir) = nptl] (tests): ... here.
5759 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5760 * sysdeps/unix/sysv/linux/Makefile
5761 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5763 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5764 Drop trailing \n from perror argument. Use return rather than exit.
5766 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5768 * nptl/tst-cancel21.c (do_test): Likewise.
5769 * debug/tst-backtrace6.c: Include <signal.h> first thing.
5770 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5771 [!SA_SIGINFO]: Make it a stub test.
5773 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5774 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5776 * posix/tst-getlogin.c: Move to ...
5777 * login/tst-getlogin.c: ... here.
5778 * posix/Makefile (tests): Move tst-getlogin to ...
5779 * login/Makefile (tests): ... here.
5781 * libio/tst-atime.c (do_test): Move local variables SV and E
5782 inside [ST_NOATIME] conditional.
5784 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5786 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5788 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5789 (wait_code): New function replaces macro.
5790 Call nanosleep rather than syscall.
5792 * nptl/pt-system.c: Rewritten. Put everything under
5793 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5794 Use IFUNC to redirect when possible.
5796 * nptl/pt-longjmp.c: Rewritten. Put everything under
5797 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5798 Use IFUNC to redirect when possible.
5800 * nptl/pt-fork.c: Rewritten. Put everything under
5801 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5802 Use IFUNC to redirect when possible.
5803 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5805 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5806 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5807 unconditionally nowadays. This included the only reference to
5808 __vdso_clock_gettime that appears outside libc proper.
5809 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5810 Remove version set (containing only __vdso_clock_gettime).
5811 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5812 Add attribute_hidden.
5813 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5814 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5815 libc_hidden_data_def.
5816 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5817 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5819 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5820 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5821 setrpcent, and getrpcport to ...
5822 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5823 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5824 getrpcbynumber_r, and getrpcent_r to ...
5825 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5826 * inet/getrpcbyname.c: Moved ...
5827 * sunrpc/getrpcbyname.c: ... here.
5828 * inet/getrpcbyname_r.c: Moved ...
5829 * sunrpc/getrpcbyname_r.c: ... here.
5830 * inet/getrpcbynumber.c: Moved ...
5831 * sunrpc/getrpcbynumber.c: ... here.
5832 * inet/getrpcbynumber_r.c: Moved ...
5833 * sunrpc/getrpcbynumber_r.c: ... here.
5834 * inet/getrpcent.c: Moved ...
5835 * sunrpc/getrpcent.c: ... here.
5836 * inet/getrpcent_r.c: Moved ...
5837 * sunrpc/getrpcent_r.c: ... here.
5838 * inet/Makefile (routines): Move those to ...
5839 * sunrpc/Makefile (routines): ... here.
5840 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5841 the $(subdirs) list.
5842 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
5843 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5844 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5845 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5847 * elf/Makefile (routines): Include $(all-dl-routines), not just
5849 (rtld-routines): Likewise. Use = rather than :=.
5850 * sysdeps/aarch64/Makefile [$(subdir) = elf]
5851 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5852 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5853 * sysdeps/arm/Makefile: Likewise.
5854 * sysdeps/i386/Makefile: Likewise.
5855 * sysdeps/x86_64/Makefile: Likewise.
5856 * sysdeps/hppa/Makefile [$(subdir) = elf]
5857 (sysdep_routines, sysdep-rtld-routines): Don't add
5858 $(sysdep-dl-routines) to these.
5859 * sysdeps/ia64/Makefile: Likewise.
5860 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5861 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5862 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5863 Don't add dl-static to these; sysdep-dl-routines alone is enough.
5864 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5865 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5866 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5867 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5868 * sysdeps/powerpc/Makefile [$(subdir) = elf]
5869 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5870 these; sysdep-dl-routines alone is enough.
5872 2015-02-06 Joseph Myers <joseph@codesourcery.com>
5875 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5876 where multiplication results in zero and third argument is finite
5878 * math/auto-libm-test-in: Add more tests of fma.
5879 * math/auto-libm-test-out: Regenerated.
5881 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5882 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5883 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5884 (_FP_CMP_EQ): Likewise.
5885 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5887 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5888 extra argument CHECK_NAN. Redefine as wrapper around
5891 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
5893 * version.h (RELEASE): Set to "stable".
5894 (VERSION): Set to "2.21"
5895 * include/features.h (__GLIBC_MINOR__): Set to 21.
5897 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5899 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5900 Paul Eggert <eggert@cs.ucla.edu>
5903 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5904 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5905 size in bytes. Store needed elements in wpmax. Use needed size
5906 in bytes for extend_alloca.
5908 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
5910 * manual/install.texi: Latest tested versions are GCC 4.9.2,
5911 binutls 2.25, and texinfo 5.2.
5912 * INSTALL: Regenerate.
5913 * sysdeps/nios2/configure: Regenerate.
5914 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5915 * manual/contrib.texi: Update.
5939 * po/pt_BR.po: Update.
5948 * po/zh_CN.po: Update.
5949 * po/zh_TW.po: Update.
5951 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5952 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5953 * sysdeps/hppa/dl-irel.h: Remove #warning.
5954 * sysdeps/hppa/entry.h: Provide prototype for
5955 __canonicalize_funcptr_for_compare and cast argument.
5956 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5957 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5958 * sysdeps/hppa/sotruss-lib.c: New file.
5959 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5960 (atomic_compare_and_exchange_val_acq): Use __typeof__.
5961 (atomic_compare_and_exchange_bool_acq): Likewise.
5962 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5963 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5965 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5966 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5967 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5969 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5971 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5972 called function in non-PIC case.
5974 2015-01-31 David S. Miller <davem@davemloft.net>
5976 * sysdeps/sparc/sparc32/bits/atomic.h
5977 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5978 unlock not after it.
5979 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5980 volatile register usage warnings from the compiler.
5982 * sysdeps/sparc/nptl/sem_init.c: Delete.
5983 * sysdeps/sparc/nptl/sem_post.c: Delete.
5984 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5985 * sysdeps/sparc/nptl/sem_wait.c: Delete.
5986 * sysdeps/sparc/sparc32/sem_init.c: New file.
5987 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5988 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5989 padding explicitly initialized.
5990 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5991 padding for in-semaphore spinlock.
5992 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5993 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5994 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5995 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5996 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5997 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5998 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5999 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6001 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6002 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6004 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
6007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6008 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6009 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6011 (index_AVX_Fast_Unaligned_Load): Likewise.
6012 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6013 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6014 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6015 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6016 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6017 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6018 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6019 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6020 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6022 2015-01-29 Andreas Schwab <schwab@suse.de>
6024 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6026 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6029 * nscd/nscd_stat.c (send_stats): Initialize DATA.
6031 2015-01-28 Martin Sebor <msebor@redhat.com>
6033 * math/README.libm-test: Clarify. Add "How to read the test output."
6035 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
6037 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6040 2015-01-28 Joseph Myers <joseph@codesourcery.com>
6042 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6043 (__HAVE_64B_ATOMICS): Define to 0.
6045 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6048 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6049 value to set as new flag.
6052 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6053 and use _ARCH_PPCSQ instead.
6054 (__ieee754_sqrt): Likewise.
6055 (__ieee754_sqrtf): Likewise.
6056 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6057 _ARCH_PPCSQ is defined.
6058 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6060 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6061 _ARCH_PPCSQ is defined.
6062 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6064 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6066 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6068 * iconv/loop.c: Suppress array out of bound warning caused by GCC
6069 bug (GCC BZ #64739).
6071 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
6073 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6074 Mark _retval as used.
6075 (lll_futex_wake_unlock): Likewise.
6076 (lll_futex_timed_wait_requeue_pi): Likewise.
6078 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6079 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6082 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6085 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6086 (__bswap_64): Mark as __always_inline.
6088 2015-01-25 Bram <bug_rh@spam.wizbit.be>
6091 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6092 when none of the search directories exist.
6094 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6097 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6098 power8 in .machine directive.
6101 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6102 set dependency from opd value.
6104 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
6106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6107 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6110 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
6113 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6115 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6117 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6118 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6119 Replace 1UL with (uint64_t) 1.
6120 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6123 2015-01-23 Roland McGrath <roland@hack.frob.com>
6125 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6126 (if_freenameindex): Likewise.
6128 * resource/getrlimit64.c: Add missing libc_hidden_def.
6130 2015-01-22 Joseph Myers <joseph@codesourcery.com>
6132 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6134 (_FP_FMA): Likewise.
6135 (_FP_TO_INT_ROUND): Likewise.
6136 (_FP_FROM_INT): Likewise.
6138 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6141 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6142 Make code racy and cancel safe.
6144 2015-01-21 Carlos O'Donell <carlos@redhat.com>
6146 * sysdeps/arm/unwind-resume.h: Fix copyright year.
6147 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6150 * pwd/tst-getpw.c: Rewrite.
6153 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6154 (modules-names): Add moddummy1 and moddummy2.
6155 ($(objpfx)tst-rec-dlopen): Define.
6156 * dlfcn/moddummy1.c: New file.
6157 * dlfcn/moddummy2.c: New file.
6158 * dlfcn/tst-rec-dlopen.c: New file.
6159 * elf/dl-cache.c (_dl_load_cache_lookup):
6160 Return char*. Copy result with alloca/strcpy/strdup.
6161 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6162 returns char*. Free cached. If not saving realname
6164 * elf/dl-open.c (dl_open_worker): Do not assert that
6165 _r_debug->r_state is RT_CONSISTENT.
6166 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6169 2015-01-21 Torvald Riegel <triegel@redhat.com>
6170 Carlos O'Donell <carlos@redhat.com>
6173 * nptl/sem_waitcommon.c: New file.
6174 * nptl/sem_wait.c: Include sem_waitcommon.c.
6175 (__sem_wait_cleanup, do_futex_wait): Remove.
6176 (__new_sem_wait): Adapt.
6177 (__new_sem_trywait): New function.
6178 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6179 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6180 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6181 (sem_timedwait): Adapt.
6182 * nptl/sem_post.c (__new_sem_post): Adapt.
6183 (futex_wake): New function.
6184 (__old_sem_post): Add release MO fence.
6185 * nptl/sem_open.c (sem_open): Adapt.
6186 * nptl/sem_init.c (__new_sem_init): Adapt.
6187 (futex_private_if_supported): New function.
6188 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6189 (__old_sem_getvalue): Add using previous code.
6190 * sysdeps/nptl/internaltypes.h: Adapt.
6191 * nptl/tst-sem13.c (do_test): Adapt.
6192 * nptl/tst-sem11.c (main): Adapt.
6193 * nptl/sem_trywait.c: Remove.
6194 * nptl/DESIGN-sem.txt: Remove.
6195 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6196 (gen-as-const-headers): Remove structsem.sym.
6197 * nptl/structsem.sym: Remove.
6198 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6199 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6200 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6201 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6202 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6203 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6204 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6205 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6206 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6207 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6208 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6209 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6210 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6211 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6212 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6213 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6214 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6215 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6216 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6217 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6218 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6219 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6221 2015-01-20 Carlos O'Donell <carlos@redhat.com>
6223 * INSTALL: Regenerated.
6225 * po/libc.pot: Regenerated.
6227 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
6228 Sandra Loosemore <sandra@codesourcery.com>
6229 Andrew Jenner <andrew@codesourcery.com>
6230 Joseph Myers <joseph@codesourcery.com>
6231 Nathan Sidwell <nathan@codesourcery.com>
6233 * NEWS: Mention new Nios II port.
6234 * sysdeps/nios2/Implies: New file.
6235 * sysdeps/nios2/Makefile: New file.
6236 * sysdeps/nios2/Subdirs: New file.
6237 * sysdeps/nios2/Versions: New file.
6238 * sysdeps/nios2/__longjmp.S: New file.
6239 * sysdeps/nios2/abort-instr.h: New file.
6240 * sysdeps/nios2/backtrace.c: New file.
6241 * sysdeps/nios2/bits/endian.h: New file.
6242 * sysdeps/nios2/bits/fenv.h: New file.
6243 * sysdeps/nios2/bits/link.h: New file.
6244 * sysdeps/nios2/bits/setjmp.h: New file.
6245 * sysdeps/nios2/bsd-_setjmp.S: New file.
6246 * sysdeps/nios2/bsd-setjmp.S: New file.
6247 * sysdeps/nios2/configure: New generated file.
6248 * sysdeps/nios2/configure.ac: New file.
6249 * sysdeps/nios2/crti.S: New file.
6250 * sysdeps/nios2/crtn.S: New file.
6251 * sysdeps/nios2/dl-init.c: New file.
6252 * sysdeps/nios2/dl-machine.h: New file.
6253 * sysdeps/nios2/dl-sysdep.h: New file.
6254 * sysdeps/nios2/dl-tls.h: New file.
6255 * sysdeps/nios2/dl-trampoline.S: New file.
6256 * sysdeps/nios2/gccframe.h: New file.
6257 * sysdeps/nios2/gmp-mparam.h: New file.
6258 * sysdeps/nios2/jmpbuf-offsets.h: New file.
6259 * sysdeps/nios2/jmpbuf-unwind.h: New file.
6260 * sysdeps/nios2/ldsodefs.h: New file.
6261 * sysdeps/nios2/libc-tls.c: New file.
6262 * sysdeps/nios2/libm-test-ulps: New file.
6263 * sysdeps/nios2/machine-gmon.h: New file.
6264 * sysdeps/nios2/math-tests.h: New file.
6265 * sysdeps/nios2/math_private.h: New file.
6266 * sysdeps/nios2/memusage.h: New file.
6267 * sysdeps/nios2/nptl/Makefile: New file.
6268 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6269 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6270 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6271 * sysdeps/nios2/nptl/pthreaddef.h: New file.
6272 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6273 * sysdeps/nios2/nptl/tls.h: New file.
6274 * sysdeps/nios2/preconfigure: New file.
6275 * sysdeps/nios2/s_fma.c: New file.
6276 * sysdeps/nios2/s_fmaf.c: New file.
6277 * sysdeps/nios2/setjmp.S: New file.
6278 * sysdeps/nios2/sfp-machine.h: New file.
6279 * sysdeps/nios2/sotruss-lib.c: New file.
6280 * sysdeps/nios2/stackguard-macros.h: New file.
6281 * sysdeps/nios2/stackinfo.h: New file.
6282 * sysdeps/nios2/start.S: New file.
6283 * sysdeps/nios2/sysdep.h: New file.
6284 * sysdeps/nios2/tls-macros.h: New file.
6285 * sysdeps/nios2/tst-audit.h: New file.
6286 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6287 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6288 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6289 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6290 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6291 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6292 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6293 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6294 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6295 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6296 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6297 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6298 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6299 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6300 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6301 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6302 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6303 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6304 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6305 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6306 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6307 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6308 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6309 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6310 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6311 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6312 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6313 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6314 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6315 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6316 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6317 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6318 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6319 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6320 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6321 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6322 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6323 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6324 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6325 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6326 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6327 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6328 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6329 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6331 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6334 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6335 (getutent): Use weak_alias in non SHARED case
6336 and default_symbol_version in SHARED case.
6337 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6338 (getutent_r, pututline): Likewise.
6339 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6340 (getutid): Likewise.
6341 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6342 (getutid_r): Likewise.
6343 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6344 (getutline): Likewise.
6345 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6346 (getutline_r): Likewise.
6347 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6348 (updwtmp): Likewise.
6350 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6353 * sysdeps/s390/s390-32/memcmp.S
6354 (memcmp_g5): Rename to __memcmp_g5.
6355 * sysdeps/s390/s390-32/memcpy.S
6356 (memcpy_g5): Rename to __memcpy_g5.
6357 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6358 (memcpy_mvcle) Rename to __memcpy_mvcle.
6359 * sysdeps/s390/s390-32/memset.S
6360 (memset_g5): Rename to __memset_g5.
6361 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6362 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6363 and use prefixed functions.
6364 * sysdeps/s390/s390-32/multiarch/memcmp.S
6365 (memcmp_z196): Rename to __memcmp_z196.
6366 (memcmp_z10): Rename to __memcmp_z10.
6367 (memcmp): Set alias to __memcmp_g5.
6368 (bcmp): Set alias to __memcmp_g5.
6369 * sysdeps/s390/s390-32/multiarch/memcpy.S
6370 (memcpy_z196): Rename to __memcpy_z196.
6371 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6372 (memcpy_z10): Rename to __memcpy_z10.
6373 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6374 (memcpy): Set alias to __memcpy_g5.
6375 * sysdeps/s390/s390-32/multiarch/memset.S
6376 (memset_z196): Rename to __memset_z196.
6377 Jump to __memset_mvcle instead of memset_mvcle.
6378 (memset_z10): Rename to __memset_z10.
6379 Jump to __memset_mvcle instead of memset_mvcle.
6380 (memset_mvcle) Rename to __memset_mvcle.
6381 (memset): Set alias to __memset_g5.
6382 * sysdeps/s390/s390-64/memcmp.S
6383 (memcmp_z900): Rename to __memcmp_z900.
6384 * sysdeps/s390/s390-64/memcpy.S
6385 (memcpy_z900): Rename to __memcpy_z900.
6386 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6387 (memcpy_mvcle) Rename to __memcpy_mvcle.
6388 * sysdeps/s390/s390-64/memset.S
6389 (memset_z900): Rename to __memset_z900.
6390 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6391 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6392 and use prefixed functions.
6393 * sysdeps/s390/s390-64/multiarch/memcmp.S
6394 (memcmp_z196): Rename to __memcmp_z196.
6395 (memcmp_z10): Rename to __memcmp_z10.
6396 (memcmp): Set alias to __memcmp_z900.
6397 (bcmp): Set alias to __memcmp_z900.
6398 * sysdeps/s390/s390-64/multiarch/memcpy.S
6399 (memcpy_z196): Rename to __memcpy_z196.
6400 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6401 (memcpy_z10): Rename to __memcpy_z10.
6402 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6403 (memcpy): Set alias to __memcpy_z900.
6404 * sysdeps/s390/s390-64/multiarch/memset.S
6405 (memset_z196): Rename to __memset_z196.
6406 Jump to __memset_mvcle instead of memset_mvcle.
6407 (memset_z10): Rename to __memset_z10.
6408 Jump to __memset_mvcle instead of memset_mvcle.
6409 (memset_mvcle) Rename to __memset_mvcle.
6410 (memset): Set alias to __memset_z900.
6412 2015-01-14 Joseph Myers <joseph@codesourcery.com>
6415 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6416 __fesetenv instead of fesetenv.
6418 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6420 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6423 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6425 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6428 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6429 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6430 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6431 strncmp-power8 object.
6432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6433 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6434 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6437 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6438 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6440 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6441 trailing byte check.
6443 2015-01-13 David S. Miller <davem@davemloft.net>
6445 * include/signal.h (__sigreturn): Guard with __USE_MISC.
6447 2015-01-13 Roland McGrath <roland@hack.frob.com>
6449 * login/logout.c (logout): Use memset rather than bzero.
6450 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6451 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6452 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6453 (_gethtbyaddr): Likewise.
6454 * locale/programs/simple-hash.c (bcopy): Macro removed.
6456 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6458 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6459 Add strcmp-power8 object.
6460 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6461 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6462 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6463 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6464 __strcmp_power8 implementation.
6465 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6468 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6469 Add strncpy-power8 and stpncpy-power8 objects.
6470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6471 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6473 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6474 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6475 __stpncpy_power8 implementation.
6476 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6477 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6478 __strncpy_power8 implementation.
6479 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6480 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6483 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6484 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6485 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6487 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6488 strncat-power8 object.
6489 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6490 __strcat_power8 implementation.
6491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6492 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6493 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6494 optimized strcat for power8.
6496 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6497 strcpy-power8 and stpcpy-power8 objects.
6498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6499 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6501 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6502 multiarch stpcpy implementation for POWER8.
6503 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6504 multiarch strcpy implementation for POWER8.
6505 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6506 __strcpy_power8 function.
6507 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6509 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6513 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
6516 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6517 weights and rules. Use do_xfrm_cached if data fits in cache,
6518 do_xfrm otherwise. Moved former main loop to...
6519 * (do_xfrm_cached): New function.
6520 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6521 find_idx, find_position and stack_push.
6522 * (find_idx): New function.
6523 * (find_position): Likewise.
6524 * localedata/sort-test.sh: Added test run for do_xfrm.
6525 * localedata/xfrm-test.c (main): Added command line option
6526 -nocache to run the test with strings that are too large for
6529 2015-01-13 Torvald Riegel <triegel@redhat.com>
6531 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6532 variable to lll_futex_wake call, not the value itself.
6534 2015-01-12 Joseph Myers <joseph@codesourcery.com>
6537 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6538 twom64. Adjust value to 0x1p-64L.
6539 (__scalblnl): Only return standard underflowing result for K <=
6540 -64 not K <= -63; adjust exponent for underflowing result by 64
6542 * math/libm-test.inc (scalbn_test_data): Add more tests.
6543 (scalbln_test_data): Likewise.
6546 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6548 (__scalblnl): Get new exponent of adjusted subnormal value from ES
6550 * math/libm-test.inc (scalbn_test_data): Add more tests.
6551 (scalbln_test_data): Likewise.
6553 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6554 Stefani Seibold <stefani@seibold.net>
6556 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6557 (sysdep_routines): Add dl-vdso here, ...
6558 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6559 (sysdep_routines): ... not here.
6560 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6561 fallback when vDSO is not presented.
6562 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6563 Define with libc_hidden_proto/libc_hidden_data_def definitions.
6564 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6565 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6566 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6567 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6568 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6569 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6570 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6571 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6572 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
6573 fallback configurable symbol when vDSO is not available.
6574 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6575 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
6576 be able to redefine fallback symbol when vDSO is not available.
6577 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6578 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6580 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6582 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6583 (TLS_INIT_TP): Add tm_capable initialization.
6584 (TLS_DEFINE_INIT_TP): Likewise.
6585 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6587 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6588 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6590 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6591 transactoion is lock elision is built and TCB tm_capable is set.
6592 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6594 (INTERNAL_SYSCALL_NCS): Likewise.
6595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6596 (INTERNAL_SYSCALL_NCS): Likewise.
6597 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6599 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6601 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6602 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6603 and remove it for 32 bits case.
6604 [pthread_rwlock_t] (__rwelision): New field for lock elision.
6605 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6607 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6608 Disable lock elision with rdlocks if elision is not available.
6610 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6611 (sysdep_routines): Add lock elision objects.
6612 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6613 [pthread_mutex_t] (__spins): Rework to add lock elision field.
6614 [pthread_mutex_t] (__elision): Add field.
6615 [__PTHREAD_SPINS]: Adjust to init lock elision field.
6616 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6617 elision definitions for powerpc.
6618 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6619 implementation of lock elision for powerpc.
6620 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6621 implementation of timed lock elision for powerpc.
6622 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6623 implementation of trylock with lock elision for powerpc.
6624 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6625 implementaion of unlock for lock elision for powerpc.
6626 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6627 automatic enable lock elision for mutexes.
6628 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6629 transaction execution definitions for powerpc.
6630 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6632 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6633 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6634 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6635 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6638 2015-01-09 Roland McGrath <roland@hack.frob.com>
6640 * sysdeps/posix/shm-directory.c: Use <> rather than ""
6641 for #include of <shm-directory.h>.
6643 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
6645 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6646 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6648 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
6651 * NEWS: Mention bug fix.
6652 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6653 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6654 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6656 2015-01-09 Torvald Riegel <triegel@redhat.com>
6658 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6660 2015-01-09 Torvald Riegel <triegel@redhat.com>
6662 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6664 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6666 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6667 pointer and cast to uintptr_t.
6669 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6671 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6673 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6675 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6677 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6680 2015-01-08 Roland McGrath <roland@hack.frob.com>
6682 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6683 <nptl/pthreadP.h> instead.
6684 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6686 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6688 [__SIGRTMIN] (init): Function removed.
6689 [__SIGRTMIN] (initialized): Variable removed.
6690 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6691 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6692 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6693 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6694 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6695 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6696 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6697 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6698 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6699 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6700 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6701 * sysdeps/nptl/allocrtsig.c: New file.
6702 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6703 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6704 * sysdeps/generic/testrtsig.h: File removed.
6706 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6707 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6709 * nptl/nptl-init.c (pthread_functions): Conditionalize
6710 .ptr__nptl_setxid initialization on [SIGSETXID].
6712 * sysdeps/nptl/sys/procfs.h: New file.
6713 * nptl_db/Makefile (headers): Add it.
6714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6716 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6717 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6718 * nptl/pthread_attr_setaffinity.c: Include it.
6719 * nptl/pthread_setattr_default_np.c: Likewise.
6720 * nptl/check-cpuset.h: New file.
6722 2015-01-08 Richard Henderson <rth@redhat.com>
6724 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6725 (CFLAGS-tst-execstack-prog.c): Likewise.
6726 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6728 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
6729 Sandra Loosemore <sandra@codesourcery.com>
6730 Andrew Jenner <andrew@codesourcery.com>
6731 Joseph Myers <joseph@codesourcery.com>
6732 Nathan Sidwell <nathan@codesourcery.com>
6734 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6735 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6736 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6737 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6738 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6739 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6740 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6741 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6742 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6743 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6744 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6745 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6746 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6747 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6748 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6749 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6750 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6752 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6754 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6755 timespec struct member in syscall macro.
6756 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6757 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6758 first timeval struct member in syscall macro.
6759 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6761 2015-01-07 Joseph Myers <joseph@codesourcery.com>
6764 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6765 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6766 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6767 __feupdateenv and define as weak alias of __feupdateenv. Use
6769 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6771 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6772 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
6773 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6774 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6776 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6777 __feupdateenv and define as weak alias of __feupdateenv. Use
6779 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6781 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6782 __feupdateenv and define as weak alias of __feupdateenv. Use
6784 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6786 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6787 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6788 (__feupdateenv): Likewise.
6789 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6790 __feupdateenv and define as weak alias of __feupdateenv. Use
6792 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6793 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6795 * sysdeps/tile/math_private.h (__feupdateenv): New inline
6797 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6799 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6800 __feupdateenv instead of feupdateenv.
6801 (default_libc_feupdateenv_test): Likewise.
6802 (libc_feresetround_ctx): Likewise.
6804 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6806 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6809 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
6811 * posix/regcomp.c (parse_bracket_exp): Initialize type to
6812 COLL_SYM in a couple of places to avoid uninitialized variable
6813 wanings on tilegx gcc 4.8.2.
6815 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6817 * sysdeps/aarch64/strcpy.S: New file.
6818 * sysdeps/aarch64/stpcpy.S: New file.
6821 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6823 * sysdeps/aarch64/strrchr.S: New file.
6826 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
6829 * stdlib/setenv.c: Fix memory leak when setting large,
6832 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
6835 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6836 and tabs from buffer before parsing fstab entry.
6837 * misc/tst-mntent.c (main): Add test for mount entry with
6838 trailing spaces and tabs.
6840 2015-01-06 Joseph Myers <joseph@codesourcery.com>
6843 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
6844 * math/fesetround.c (fesetround): Rename to __fesetround and
6845 define as weak alias of __fesetround. Use libm_hidden_weak.
6846 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6847 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6848 * sysdeps/arm/fesetround.c (fesetround): Likewise.
6849 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6850 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6851 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6852 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6853 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6854 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6855 __fesetround_inline.
6856 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6857 __fesetround_inline instead of __fesetround.
6858 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6859 __fesetround and define as weak alias of __fesetround. Use
6860 libm_hidden_weak. Call __fesetround_inline instead of
6862 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6863 __fesetround and define as weak alias of __fesetround. Use
6865 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6867 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6868 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6869 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6870 * sysdeps/tile/math_private.h (__fesetround): New inline function.
6871 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6872 __fesetround and define as weak alias of __fesetround. Use
6874 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6875 __fesetround instead of fesetround.
6876 (default_libc_feholdexcept_setround): Likewise.
6877 (libc_feholdsetround_ctx): Likewise.
6878 (libc_feholdsetround_noex_ctx): Likewise.
6881 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6882 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6883 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6884 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6885 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6886 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6887 define as weak alias of __fesetenv. Use libm_hidden_weak.
6888 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6889 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6890 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6891 define as weak alias of __fesetenv. Use libm_hidden_weak.
6892 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6893 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6894 define as weak alias of __fesetenv. Use libm_hidden_weak.
6895 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6897 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6898 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6900 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6901 define as weak alias of __fesetenv. Use libm_hidden_weak.
6902 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6903 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6904 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6905 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6906 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6907 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6908 __fesetenv instead of fesetenv.
6909 (libc_feresetround_noex_ctx): Likewise.
6910 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6911 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6912 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6913 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6914 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6915 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6916 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6917 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6918 (__feupdateenv): Likewise.
6919 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6920 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6921 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6922 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6924 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6927 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6928 addresses have been freed.
6930 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6932 * resolv/res_init.c (__res_vinit): Improve comments about nserv
6935 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
6937 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6938 Clean up check_pf allocation pattern. addresses
6940 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6942 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6943 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6944 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6945 * nptl/pthread_exit.c (__pthread_exit): Likewise.
6946 * nptl/pthread_join.c (pthread_join): Likewise.
6947 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6948 * sysdeps/posix/waitid.c (__waitid): Likewise.
6949 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6950 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6951 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6952 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6953 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6955 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6956 (__libc_pread64): Likewise.
6957 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6958 (__libc_pwrite): Likewise.
6959 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6960 (__libc_pwrite64): Likewsie.
6961 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6962 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6963 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6964 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6965 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6966 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6967 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6971 (__libc_pread64): Likewise.
6972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6975 (__libc_pwrite64): Likewise.
6976 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6977 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6978 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6979 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6980 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6981 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6982 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6983 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6984 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6985 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6986 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6987 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6988 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6989 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6990 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6991 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6994 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6996 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6997 (CFLAGS-test-double.c): Likewise.
6998 (CFLAGS-test-ldouble.c): Likewise.
6999 (CPPFLAGS-test-ifloat.c): Likewise.
7000 (CPPFLAGS-test-idouble.c): Likewise.
7001 (CPPFLAGS-test-ildoubl.c): Likewise.
7002 (CFLAGS-test-test-fenv.c): Remove variable.
7003 (CFLAGS-test-misc.c): Likewise.
7005 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
7008 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7009 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7010 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7011 CLOCKS_PER_SEC == 1000000.
7012 * time/clocktest.c (main): Replace %ld with %jd and cast to
7015 2015-01-05 Roland McGrath <roland@hack.frob.com>
7017 * sysdeps/generic/unwind-resume.h: New file.
7018 * sysdeps/gnu/unwind-resume.c: Include it.
7019 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7020 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7022 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7023 global rather than static.
7024 (_Unwind_Resume): Update user.
7025 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7026 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
7027 rather than static. Add __attribute__ ((cold)).
7028 (_Unwind_Resume, __gcc_personality_v0): Update callers.
7029 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7030 * sysdeps/arm/arm-unwind-resume.S: New file.
7031 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7032 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7033 * sysdeps/arm/Makefile [$(subdir) = csu]
7034 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7035 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7036 Add rt-arm-unwind-resume.
7038 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7039 Add pt-arm-unwind-resume.
7040 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7041 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7043 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7046 * include/fenv.h (__feholdexcept): Declare. Use
7048 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7049 define as weak alias of __feholdexcept. Use libm_hidden_weak.
7050 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7051 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7052 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7053 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7054 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7055 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7056 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7057 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7058 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7059 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7060 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7061 (feholdexcept): Likewise.
7062 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7063 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7064 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7065 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7066 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7067 __feholdexcept instead of feholdexcept.
7068 (default_libc_feholdexcept_setround): Likewise.
7070 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7072 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7073 to avoid using stl/str to align destination.
7075 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7077 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7079 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7082 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7083 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7084 Define as weak alias not strong alias.
7086 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7088 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7089 bltzal with addiupc.
7090 (RTLD_START): Ditto.
7092 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
7094 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7095 for __vdso_* functions in declarations.
7096 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7098 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7099 INTERNAL_VSYSCALL): Use struct return types to check for error.
7101 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7102 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7103 function with cast from llround().
7104 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7105 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7108 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7111 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7112 Define as weak alias not strong alias.
7115 * ctype/ctype-c99.c: New file. isblank implementation moved from
7117 * ctype/ctype-extn.c: ... here.
7118 (__isblank_l): Move to ...
7119 * ctype/ctype-c99_l.c: ... here. New file.
7120 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7121 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7123 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7124 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7125 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7126 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7127 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7130 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7131 (posix_fadvise64): Define as weak alias not strong alias.
7132 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7133 (posix_fallocate64): Likewise.
7134 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7136 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7137 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7138 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7139 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7140 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7142 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
7145 * NEWS: Mention bug fix.
7146 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7147 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7148 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7149 (HOST_STACK_END_ADDR): Likewise.
7151 2015-01-02 Joseph Myers <joseph@codesourcery.com>
7154 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
7155 * math/fegetround.c (fegetround): Rename to __fegetround and
7156 define as weak alias of __fegetround. Use libm_hidden_weak.
7157 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7158 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7159 * sysdeps/arm/fegetround.c (fegetround): Likewise.
7160 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7161 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7162 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7163 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7164 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7165 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7166 Undefine after rather than before function definition; use
7167 parentheses around function name in definition.
7168 (__fegetround): Also undefine macro after function definition.
7169 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7170 __fegetround and define as weak alias of __fegetround. Use
7171 libm_hidden_weak. Do not undefine as macro.
7172 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7174 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7175 __fegetround and define as weak alias of __fegetround. Use
7177 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7178 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7179 * sysdeps/tile/math_private.h (__fegetround): New inline function.
7180 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7181 __fegetround and define as weak alias of __fegetround. Use
7183 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7184 __fegetround instead of fegetround.
7187 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7188 Condition macro definition on [__USE_MISC].
7191 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7192 (struct sigaction): Change type of sa_flags field to int.
7195 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7196 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7199 * nptl/version.c (banner): Use single year in copyright notice.
7201 * NEWS: Update copyright dates.
7202 * catgets/gencat.c (print_version): Likewise.
7203 * csu/version.c (banner): Likewise.
7204 * debug/catchsegv.sh: Likewise.
7205 * debug/pcprofiledump.c (print_version): Likewise.
7206 * debug/xtrace.sh (do_version): Likewise.
7207 * elf/ldconfig.c (print_version): Likewise.
7208 * elf/ldd.bash.in: Likewise.
7209 * elf/pldd.c (print_version): Likewise.
7210 * elf/sotruss.sh: Likewise.
7211 * elf/sprof.c (print_version): Likewise.
7212 * iconv/iconv_prog.c (print_version): Likewise.
7213 * iconv/iconvconfig.c (print_version): Likewise.
7214 * locale/programs/locale.c (print_version): Likewise.
7215 * locale/programs/localedef.c (print_version): Likewise.
7216 * login/programs/pt_chown.c (print_version): Likewise.
7217 * malloc/memusage.sh (do_version): Likewise.
7218 * malloc/memusagestat.c (print_version): Likewise.
7219 * malloc/mtrace.pl: Likewise.
7220 * manual/libc.texinfo: Likewise.
7221 * nptl/version.c (banner): Likewise.
7222 * nscd/nscd.c (print_version): Likewise.
7223 * nss/getent.c (print_version): Likewise.
7224 * nss/makedb.c (print_version): Likewise.
7225 * posix/getconf.c (main): Likewise.
7226 * scripts/test-installation.pl: Likewise.
7227 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7229 2015-01-02 Will Newton <will.newton@linaro.org>
7231 * sysdeps/arm/armv7/configure: Removed.
7232 * sysdeps/arm/armv7/configure.ac: Likewise.
7234 2015-01-02 Joseph Myers <joseph@codesourcery.com>
7236 * All files with FSF copyright notices: Update copyright dates
7237 using scripts/update-copyrights.
7238 * intl/plural.c: Regenerated.
7239 * locale/programs/charmap-kw.h: Likewise.
7240 * locale/programs/locfile-kw.h: Likewise.
7242 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7244 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7246 2014-12-31 Joseph Myers <joseph@codesourcery.com>
7249 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7250 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7251 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7252 and define as weak alias of __fegetenv. Use libm_hidden_weak.
7253 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7254 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7255 define as weak alias of __fegetenv. Use libm_hidden_weak.
7256 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7257 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7258 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7259 define as weak alias of __fegetenv. Use libm_hidden_weak.
7260 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7261 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7262 define as weak alias of __fegetenv. Use libm_hidden_weak.
7263 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7265 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7266 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7268 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7269 define as weak alias of __fegetenv. Use libm_hidden_weak.
7270 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7271 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7272 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7273 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7274 and define as weak alias of __fegetenv. Use libm_hidden_weak.
7275 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7276 __fegetenv instead of fegetenv.
7277 (libc_feholdsetround_noex_ctx): Likewise.
7279 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
7281 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7282 (Elf_MIPS_ABIFlags_v0): New structure.
7283 (EF_MIPS_FP64): Define.
7284 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7285 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7286 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7287 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7288 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7289 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7290 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7291 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7292 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7293 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7294 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7295 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7296 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7297 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7298 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7299 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7300 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7301 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7302 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7303 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7304 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7305 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7307 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7309 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7310 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7311 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7312 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7313 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7314 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7315 * sysdeps/mips/tst-abi-interlink.c: Likewise.
7316 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7317 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7318 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7319 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7320 record the current FP ABI extension.
7321 (mips-mode-switch): Define to show if kernel headers support mode
7323 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7324 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7325 supported SYSV ABI version to 3.
7326 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7329 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7330 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7332 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7334 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7336 2014-12-31 Joseph Myers <joseph@codesourcery.com>
7338 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7339 __fegetround and redefine to call __fegetround. Remove condition
7340 on [!__NO_MATH_INLINES].
7341 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7343 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7344 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7346 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7347 instead of <fenv_libc.h>.
7348 (__llrintl): Call fegetround instead of __fegetround.
7349 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7350 instead of <fenv_libc.h>.
7351 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7352 (__lrintl): Call fegetround instead of __fegetround.
7353 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7354 instead of <fenv_libc.h>.
7355 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7356 (__rintl): Call fegetround instead of __fegetround.
7358 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7360 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7363 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7366 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7367 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7368 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7370 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7372 * sysdeps/i386/tls-macros.h: Include <features.h>.
7373 (TLS_LE): Use non-PIC version for GCC >= 5.0.
7377 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7378 define for GCC >= 5.0.
7380 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
7382 * math/test-fenv.c (test_single_exception, set_single_exc,
7383 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7384 feexcp_mask_test, feenable_test, fe_single_test): Add
7385 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7386 case where they are not used.
7387 * math/libm-test.inc: Likewise.
7388 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7389 unused in the absence of FP rounding/exception support.
7390 * stdio-common/tst-printf-round.c: Likewise.
7391 * stdlib/tst-strtod-round.c: Likewise.
7392 * stdlib/tst-strtod-underflow.c: Likewise.
7394 2014-12-30 Joseph Myers <joseph@codesourcery.com>
7397 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7398 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7399 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7400 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7402 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7403 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7404 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7406 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7407 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7409 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7411 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7412 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7413 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7415 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7417 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7418 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7419 (__feraiseexcept): Likewise.
7420 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7421 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7423 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7424 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7426 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7427 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7428 Use libm_hidden_def.
7429 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7431 (feraiseexcept): Define as weak not strong alias. Use
7433 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7434 New inline function. Factored out of ...
7435 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
7436 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7437 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7439 * math/w_acos.c (__acos): Likewise.
7440 * math/w_asin.c (__asin): Likewise.
7441 * math/w_ilogb.c (__ilogb): Likewise.
7442 * math/w_j0.c (y0): Likewise.
7443 * math/w_j1.c (y1): Likewise.
7444 * math/w_jn.c (yn): Likewise.
7445 * math/w_log.c (__log): Likewise.
7446 * math/w_log10.c (__log10): Likewise.
7447 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7448 * sysdeps/aarch64/fpu/math_private.h
7449 (libc_feupdateenv_test_aarch64): Likewise.
7450 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7451 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7452 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7453 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7454 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7455 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7456 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7457 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7458 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7459 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7461 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7464 * io/test-utime.c (main): Replace %ld with %jd and cast to
7466 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7467 * nptl/tst-mutex5.c: Include <stdint.h>.
7468 (do_test): Replace %ld with %jd and cast to intmax_t.
7469 * posix/tst-regex.c (run_test): Likewise.
7470 (run_test_backwards): Likewise.
7471 * rt/tst-clock.c: Include <stdint.h>.
7472 (clock_test): Replace %ld with %jd and cast to intmax_t.
7473 * rt/tst-cpuclock1.c: Include <stdint.h>.
7474 (do_test): Replace %lu with %ju and cast to uintmax_t.
7475 * rt/tst-cpuclock2.c: Include <stdint.h>.
7476 (do_test): Replace %lu with %ju and cast to uintmax_t.
7477 * rt/tst-mqueue1.c: Include <stdint.h>.
7478 (check_attrs): Replace %ld with %jd and cast to intmax_t.
7479 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7481 * rt/tst-mqueue4.c (do_test): Likewise.
7482 * rt/tst-timer4.c: Include <stdint.h>.
7483 (check_ts): Replace %ld with %jd and cast to intmax_t.
7484 (do_test): Likewise.
7485 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7486 and cast to intmax_t.
7487 * sysdeps/pthread/tst-timer.c (main): Likewise.
7488 * time/clocktest.c (main): Likewise.
7489 * time/tst-posixtz.c (do_test): Likewise.
7490 * timezone/tst-timezone.c (main): Likewise.
7492 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7493 H.J. Lu <hongjiu.lu@intel.com>
7495 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7496 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7497 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7498 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7499 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7500 version if bit_Fast_Unaligned_Load is set.
7501 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7502 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7503 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7504 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7505 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7506 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7507 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7508 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7509 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7510 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7512 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7513 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7514 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7515 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7517 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
7519 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7520 instead of #if to avoid a Wundef warning.
7521 * stdlib/tst-limits.c (do_test): Likewise.
7523 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7524 parallel other exception macros.
7525 (fegetenv): Convert from macro to extern inline so that it applies
7526 retroactively to inline functions already seen by the compiler.
7527 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7529 * posix/Makefile (before-compile): Use $(objpfx) for
7530 posix-conf-vars-def.h.
7532 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7534 * posix/getconf.c (main): Use size_t for type of I.
7535 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7538 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7539 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7540 * posix/posix-envs.def: Likewise.
7541 * sysdeps/posix/sysconf.c: Likewise.
7542 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7543 (specs): Remove array.
7544 * scripts/gen-posix-conf-vars.awk: Support generation of specs
7547 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7548 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7549 (__sysconf): Use CONF_IS_* macros.
7551 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7552 ($(objpfx)posix-conf-vars-def.h): New target.
7553 * posix/posix-conf-vars.list: New file.
7554 * posix/posix-conf-vars.h: New file.
7555 * posix/confstr.c: Include posix-conf-vars.h.
7556 (confstr): Use CONF_IS_* macros.
7557 * posix/posix-envs.def: Include posix-conf-vars.h. Use
7559 * scripts/gen-posix-conf-vars.awk: New file.
7561 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
7563 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7564 fegetround): Add no-op macros to avoid linknamespace issues.
7566 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7567 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7569 * sysdeps/unix/sysv/linux/tile/sysdep.h
7570 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7571 assembly-specific section to avoid a redefinition warning.
7573 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7574 long before casting to pointer to avoid a cast warning.
7576 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
7578 * sysdeps/tile/tilegx/Implies: New file.
7580 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
7582 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7584 2014-12-23 Florian Weimer <fweimer@redhat.com>
7586 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7588 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7590 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7592 * sysdeps/unix/sysv/linux/utimes.c: Do not include
7593 <kernel-features.h>.
7594 (__utimes) [__NR_utimes]: Make code unconditional.
7595 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7596 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7597 (__ASSUME_UTIMES): Do not undefine.
7598 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7599 (__ASSUME_UTIMES): Likewise.
7600 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7601 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7602 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7603 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7605 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7607 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7609 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
7612 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7613 alias to weak alias for j0l, y0l.
7614 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7615 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7618 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7621 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7623 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7624 to zero if not already defined.
7626 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7629 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7630 (__kernel_standard_f): Remove. Moved to k_standardf.c.
7631 (__kernel_standard_l): Remove. Moved to k_standardl.c with
7632 (char *) casts added.
7633 * sysdeps/ieee754/k_standardf.c: New file.
7634 * sysdeps/ieee754/k_standardl.c: Likewise.
7635 * math/Makefile (libm-support): Remove k_standard.
7636 (libm-calls): Add k_standard.
7638 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7640 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7641 Optimize to avoid an unnecessary FPCR read.
7643 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7645 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7646 Optimize to reduce FPCR/FPSR accesses.
7648 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7650 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7651 Call libc_fetestexcept_aarch64.
7653 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7655 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7656 Call libc_fesetround_aarch64.
7658 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7661 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7662 (__bind): Do not define as weak alias.
7663 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7665 (__getsockname): Do not define as weak alias.
7667 2014-12-22 Will Newton <will.newton@linaro.org>
7669 * manual/install.texi: Document that we require bison 2.7
7671 * INSTALL: Regenerate.
7672 * configure.ac: Use AC_CHECK_PROG_VER instead of
7673 AC_PATH_PROG when checking for bison and check for
7674 version 2.7 or above.
7675 * configure: Regenerate.
7677 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
7680 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7681 * sysdeps/tile/ffsll.c (ffsll): To here.
7683 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7685 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7687 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7689 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7691 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7692 hidden ___tls_get_addr.
7693 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7694 hidden __tls_get_addr.
7695 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7696 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7699 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
7701 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7704 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7706 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7707 from "call _dl_init@PLT".
7708 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7710 2014-12-21 Anders Kaseorg <andersk@mit.edu>
7712 * manual/search.texi: (Array Sort Function): Clarify stable sorting
7715 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
7717 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7719 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7722 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7725 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7727 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7729 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7730 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7731 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7732 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7733 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7735 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7737 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7738 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7739 (PTR_SUBU): Use subu for mips32r6/mips64r6.
7740 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7741 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7743 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7745 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
7747 * string/strncat.c (STRNCAT): Simplify implementation.
7749 2014-12-19 David S. Miller <davem@davemloft.net>
7751 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7752 access the quad as both a long double and as a series of 4 words.
7754 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7755 link_map->l_info array access.
7757 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7759 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7761 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7762 * math/atest-exp2.c (TIMEOUT): Likewise.
7763 * math/atest-sincos.c (TIMEOUT): Likewise.
7765 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7767 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7768 -Wno-error with -fno-builtin-lround.
7770 2014-12-19 Torvald Riegel <triegel@redhat.com>
7772 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7773 Contains futex constants and functions moved over from ...
7774 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
7775 <lowlevellock-futex.h>.
7776 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7777 (lll_timedwait_tid): Add comments and parentheses around macro
7780 2014-12-19 Torvald Riegel <triegel@redhat.com>
7782 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7783 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
7784 (__lll_private_flag): Remove.
7785 (lll_futex_wait): Likewise.
7786 (lll_futex_timed_wait): Likewise.
7787 (lll_futex_wake): Likewise.
7788 (lll_futex_requeue): Likewise.
7789 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7790 (__lll_timedwait_tid): Spell out argument names.
7791 (lll_timedwait_tid): Add comments and parentheses around macro
7793 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7794 LLL_SHARED and LLL_PRIVATE usable from assembly code.
7796 2014-12-19 Torvald Riegel <triegel@redhat.com>
7798 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7799 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7800 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7801 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7802 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7803 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7804 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7805 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7806 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7807 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7808 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7809 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7810 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7811 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7812 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7813 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7814 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7815 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7816 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7818 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7820 * sysdeps/x86_64/x32/Makefile: New file.
7822 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7824 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7825 1L with (mp_limb_t) 1.
7827 2014-12-17 Roland McGrath <roland@hack.frob.com>
7829 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7830 * nptl/libc_pthread_init.c: ... here.
7831 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7832 * nptl/register-atfork.c: ... here.
7834 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7835 Use pthread_sigmask rather than INTERNAL_SYSCALL.
7836 Use assert_perror to check its return value.
7837 (__gai_create_helper_thread): Likewise.
7839 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7841 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7843 2014-12-17 Joseph Myers <joseph@codesourcery.com>
7846 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7848 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7850 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7852 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7854 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7855 (profil_counter): Likewise.
7856 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7857 (profil_counter): Likewise.
7858 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7860 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7862 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7863 (profil_counter): Likewise.
7864 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7866 [!__profil_counter] (profil_counter): Define as weak alias of
7868 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7869 (profil_counter): Rename to __profil_counter.
7870 [!__profil_counter] (profil_counter): Define as weak alias of
7872 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7873 (profil_counter): Rename to __profil_counter.
7874 [!__profil_counter] (profil_counter): Define as weak alias of
7876 * sysdeps/posix/profil.c: Update comment referring to
7878 (__profil): Use __profil_counter instead of profil_counter.
7879 * sysdeps/posix/sprofil.c (profil_counter): Rename to
7880 __profil_counter. Use __profil_counter_ushort and
7881 __profil_counter_uint in definitions.
7882 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7883 instead of profil_counter_uint and profil_counter_ushort.
7886 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7887 define as weak alias of __inet_makeaddr.
7888 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7889 as weak alias of __inet_addr.
7890 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7891 as weak alias of __inet_pton. Use libc_hidden_weak.
7892 * include/arpa/inet.h (__inet_pton): Declare. Use
7894 (inet_makeaddr): Don't use libc_hidden_proto.
7895 (__inet_makeaddr): Declare. Use libc_hidden_proto.
7896 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7897 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
7898 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7900 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7901 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7903 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
7905 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7907 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7909 * stdio-common/bug-vfprintf-nargs.c (do_test):
7910 Cast value to intptr_t to avoid format warning
7911 for usage with PRIdPTR printing macro.
7913 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7915 * libio/tst-widetext.c (do_test):
7916 Use format type %td instead of %Zd for ptrdiff_t
7917 in order to avoid format warning.
7919 2014-12-17 Andreas Schwab <schwab@suse.de>
7921 * nscd/mem.c (gc): Add size_t cast to match printf format.
7923 2014-12-16 Roland McGrath <roland@hack.frob.com>
7925 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7926 (init): Apply PTR_MANGLE to pointers before storing them.
7927 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7930 2014-12-16 Joseph Myers <joseph@codesourcery.com>
7933 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7934 define as weak alias of __memrchr.
7935 (__memrchr): Do not define as strong alias of memrchr.
7936 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7938 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7939 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7940 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7943 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7944 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
7945 (if_indextoname): Rename to __if_indextoname and define as weak
7946 alias of __if_indextoname. Use libc_hidden_weak.
7947 (if_freenameindex): Rename to __if_freenameindex and define as
7948 weak alias of __if_freenameindex.
7949 (if_nameindex): Rename to __if_nameindex and define as weak alias
7951 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7952 __if_nametoindex and define as weak alias of __if_nametoindex.
7953 Use libc_hidden_weak.
7954 (if_freenameindex): Rename to __if_freenameindex and define as
7955 weak alias of __if_freenameindex.
7956 (if_nameindex): Rename to __if_nameindex and define as weak alias
7958 (if_indextoname): Rename to __if_indextoname and define as weak
7959 alias of __if_indextoname. Use libc_hidden_weak.
7960 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7961 __if_nametoindex and define as weak alias of __if_nametoindex.
7962 Use libc_hidden_weak.
7963 (if_freenameindex): Rename to __if_freenameindex and define as
7964 weak alias of __if_freenameindex. Use libc_hidden_weak.
7965 (if_nameindex_netlink): Use __if_freenameindex instead of
7967 (if_nameindex): Rename to __if_nameindex and define as weak alias
7968 of __if_nameindex. Use libc_hidden_weak.
7969 (if_indextoname): Rename to __if_indextoname and define as weak
7970 alias of __if_indextoname. Use libc_hidden_weak.
7971 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7973 [!_ISOMAC] (__if_freenameindex): Likewise.
7974 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7976 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7978 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7979 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7980 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7981 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7982 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7983 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7984 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7986 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7988 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7989 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7991 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7993 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7994 subscript above bounds'
7996 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7999 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
8001 * libio/tst-fopenloc.c: Use test-skeleton.c.
8003 * stdlib/tst-bsearch.c: Use test-skeleton.c.
8004 (entry): Rename to ITEM.
8005 (do_test, comp): Adjust.
8007 * stdio-common/tst-fseek.c: Use test-skeleton.c.
8009 2014-12-16 Torvald Riegel <triegel@redhat.com>
8011 * string/tester.c: Include <libc-internal.h>.
8012 (test_memset): Ignore -Wmemset-transposed-args.
8014 2014-12-16 Torvald Riegel <triegel@redhat.com>
8016 * misc/tst-mntent2.c (do_test): Fix warning.
8018 2014-12-16 Torvald Riegel <triegel@redhat.com>
8020 * elf/tst-unique4lib.cc(a): Mark as used.
8022 2014-12-16 Florian Weimer <fweimer@redhat.com>
8025 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8028 2014-12-16 Allan McRae <allan@archlinux.org>
8030 * stdio-common/Makefile (tests): Re-add bug26.
8032 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
8035 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8038 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
8040 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8041 (__lll_lock_wait): Likewise.
8042 (__lll_timedlock_wait): Likewise.
8043 (__lll_timedwait_tid): Likewise.
8044 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8045 (__lll_robust_timedlock_wait): Likewise.
8046 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8047 (lll_cond_trylock): Likewise.
8048 (__lll_lock): Likewise.
8049 (__lll_robust_lock): Likewise.
8050 (__lll_cond_lock): Likewise.
8051 (lll_robust_cond_lock): Likewise.
8052 (__lll_timedlock): Likewise.
8053 (__lll_robust_timedlock): Likewise.
8054 (__lll_unlock): Likewise.
8055 (__lll_robust_unlock): Likewise.
8056 (lll_wait_tid): Likewise.
8057 (lll_timedwait_tid): Likewise.
8059 2014-12-15 Torvald Riegel <triegel@redhat.com>
8061 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8063 2014-12-15 Torvald Riegel <triegel@redhat.com>
8065 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8067 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8069 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8070 * stdio-common/tst-sprintf.c: Likewise.
8072 2014-12-15 Torvald Riegel <triegel@redhat.com>
8074 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8076 2014-12-15 Jeff Law <law@redhat.com>
8079 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8080 on the heap. (CVE-2012-3406)
8081 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8082 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
8083 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8085 2014-12-15 Will Newton <will.newton@linaro.org>
8087 * manual/install.texi: Bump required version of texinfo
8089 * INSTALL: Regenerated.
8090 * configure.ac: Check for makeinfo version 4.7 and above.
8091 * configure: Regenerated.
8093 2014-12-12 Roland McGrath <roland@hack.frob.com>
8095 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8096 PREFIX, string constant to insert between directory and name.
8097 * sysdeps/posix/shm_open.c: Update caller.
8098 * sysdeps/posix/shm_unlink.c: Likewise.
8099 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8100 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8101 (SEM_SHM_PREFIX): New macro.
8102 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8103 [$(have-thread-library) = no].
8104 * nptl/Makefile (libpthread-routines): Add shm-directory.
8105 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8106 * sysdeps/nptl/shm-directory.h: New file.
8107 * sysdeps/posix/shm-directory.c
8108 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8109 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8110 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8112 (__where_is_shmfs): Function removed.
8113 (mountpoint, defaultmount, defaultdir, __namedsem_once):
8115 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8117 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
8119 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8120 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8121 unconditional for use inside libpthread.
8122 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8124 2014-12-12 Roland McGrath <roland@hack.frob.com>
8126 * nptl/pthread_getaffinity.c: New file.
8127 * nptl/pthread_setaffinity.c: New file.
8128 * nptl/pthread_getname.c: New file.
8129 * nptl/pthread_setname.c: New file.
8131 * nptl/pthread_create.c (START_THREAD_DEFN)
8132 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8134 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8135 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8137 * resolv/res_send.c (send_vc): Disable warning resplen may
8138 be used uninitialized.
8140 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8143 (ATTR_NULL): New define checks ATTR against NULL.
8144 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8145 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8147 2014-12-11 James Lemke <jwlemke@codesourcery.com>
8151 (mem2mem_check): Revert my previous change.
8152 (malloc_check_get_size): Revert my previous change.
8153 (mem2chunk_check): Revert my previous change.
8155 2014-12-11 Roland McGrath <roland@hack.frob.com>
8157 * sysdeps/posix/shm-directory.c: New file.
8158 * sysdeps/posix/shm-directory.h: New file.
8159 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8160 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8161 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
8162 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8163 Transmute EPERM to EACCES.
8164 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8166 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
8167 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8169 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8171 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8172 pointer and cast to uintptr_t.
8173 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8174 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8175 Add cast to avoid warning.
8176 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8178 2014-12-11 Joseph Myers <joseph@codesourcery.com>
8180 * nptl/semaphore.h: Move to ...
8181 * sysdeps/pthread/semaphore.h: ... here.
8182 * Makefile (installed-headers): Change nptl/semaphore.h to
8183 sysdeps/pthread/semaphore.h.
8185 2014-12-11 Roland McGrath <roland@hack.frob.com>
8187 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8188 generated error format strings.
8190 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8191 -Wformat-extra-args warnings for scanf formats.
8192 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8193 test of zero-length format (duh).
8194 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8195 corner-case scanf format test.
8196 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8197 generated fprintf format string.
8198 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8199 corner-case sprintf format tests.
8200 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8201 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8202 -Wformat-extra-args warnings throughout.
8203 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8204 (CFLAGS-scanf4.c): Likewise.
8205 (CFLAGS-scanf7.c): Likewise.
8206 (CFLAGS-tst-sprintf.c): Likewise.
8207 (CFLAGS-tst-printf.c): Likewise.
8208 (CFLAGS-tst-printfsz.c): Likewise.
8210 2014-12-11 Joseph Myers <joseph@codesourcery.com>
8212 * include/cpio.h: New file.
8213 * include/fmtmsg.h: Likewise.
8215 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
8216 corresponding format argument to size_t.
8217 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
8219 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
8220 corresponding format argument to size_t.
8221 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
8223 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
8224 corresponding format argument to size_t.
8225 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8226 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8227 (CFLAGS-tst-mbswcs2.c): Likewise.
8228 (CFLAGS-tst-mbswcs3.c): Likewise.
8229 (CFLAGS-tst-mbswcs4.c): Likewise.
8230 (CFLAGS-tst-mbswcs5.c): Likewise.
8231 (CFLAGS-tst-trans.c): Likewise
8233 2014-12-11 Roland McGrath <roland@hack.frob.com>
8235 * posix/regexbug1.c (main): Use "%s" format with regerror results,
8236 rather than assuming they won't contain any '%'s.
8238 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
8240 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8241 inhibit_loop_to_libcall to avoid recursive calls.
8242 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8243 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8245 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8247 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8250 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
8252 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8253 integer value instead of boolean.
8255 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
8257 * malloc/malloc.c: Fix powerof2 check.
8259 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8261 * locale/programs/locfile.h (maybe_swap_uint32):
8262 Remove inline and add unused attribute.
8264 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8266 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8267 Truncating assembler expression to a .long expression.
8269 2014-12-11 Andreas Schwab <schwab@suse.de>
8271 * elf/rtld.c (struct map_args): Constify str member.
8272 (do_preload): Constify fname argument.
8274 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8276 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8277 constants definition.
8279 2014-12-11 Andreas Schwab <schwab@suse.de>
8282 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8283 FORCE_ELISION instead of DO_ELISION.
8284 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8286 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8289 * iconvdata/gconv-modules: Remove duplicate entry.
8291 2014-12-11 Will Newton <will.newton@linaro.org>
8293 Merge gettext 0.19.3 into intl/.
8295 This involves a number of cosmetic changes to comments
8296 and ANSI function definitions and prototypes throughout
8297 all the files. The gettext copyright header is used but
8298 with the date ranges taken from the glibc copy.
8300 * NEWS: Add gettext merge to 2.21.
8301 * intl/bindtextdom.c: Switch to gettext copyright.
8302 Use ANSI definitions and prototypes.
8303 Use gl_* locking primitives rather than __libc_* ones.
8304 Use __builtin_expect rather than __glibc_likely/unlikely.
8305 * intl/dcgettext.c: Switch to gettext copyright.
8306 Use ANSI definitions and prototypes.
8307 * intl/dcigettext.c: Switch to gettext copyright.
8308 Use ANSI definitions and prototypes.
8309 (INTDIV0_RAISES_SIGFPE): New define.
8310 Use gl_* locking primitives rather than __libc_* ones.
8311 Include eval-plural.h instead of plural-eval.c.
8312 Use __builtin_expect rather than __glibc_likely/unlikely.
8313 * intl/dcngettext.c: Switch to gettext copyright.
8314 Use ANSI definitions and prototypes.
8315 * intl/dgettext.c: Likewise.
8316 * intl/dngettext.c: Likewise.
8317 * intl/plural-eval.c: Renamed to...
8318 * intl/eval-plural.h: ...this.
8319 * intl/explodename.c: Switch to gettext copyright.
8320 Use ANSI definitions and prototypes.
8321 (_nl_explode_name): Use strchr instead of __rawmemchr.
8322 * intl/finddomain.c: Switch to gettext copyright.
8323 Use ANSI definitions and prototypes.
8324 Use gl_* locking primitives rather than __libc_* ones.
8325 (_nl_find_domain): Use malloc rather than alloca for
8326 allocation of temporary locale name.
8327 * intl/gettext.c: Switch to gettext copyright.
8328 Use ANSI definitions and prototypes.
8329 * intl/gettextP.h: Switch to gettext copyright.
8330 Use ANSI definitions and prototypes.
8331 Use gl_* locking primitives rather than __libc_* ones.
8332 * intl/gmo.h: Switch to gettext copyright.
8333 (struct sysdep_string): Move struct segment_pair outside of
8335 * intl/hash-string.c: Use ANSI definitions and prototypes.
8336 * intl/hash-string.h: Switch to gettext copyright.
8337 Use ANSI definitions and prototypes.
8338 * intl/l10nflist.c: Switch to gettext copyright.
8339 Use ANSI definitions and prototypes.
8340 (_nl_normalize_codeset): Avoid integer overflow.
8341 * intl/loadinfo.h: Switch to gettext copyright.
8342 Use ANSI definitions and prototypes.
8343 (LIBINTL_DLL_EXPORTED): New define.
8344 (PATH_SEPARATOR): New define.
8345 * intl/loadmsgcat.c: Switch to gettext copyright.
8346 * intl/localealias.c: Switch to gettext copyright.
8347 Use ANSI definitions and prototypes.
8348 (_nl_expand_alias): Use PATH_SEPARATOR.
8349 * intl/ngettext.c: Switch to gettext copyright.
8350 Use ANSI definitions and prototypes.
8351 * intl/plural-exp.c: Likewise.
8352 * intl/plural-exp.h: Switch to gettext copyright.
8353 Use ANSI definitions and prototypes.
8354 (struct expression): Move definition of enum operator outside
8355 of struct definition.
8356 * intl/plural.c: Regenerate.
8357 * intl/plural.y: Switch to gettext copyright.
8358 Use ANSI definitions and prototypes.
8360 * intl/textdomain.c: Switch to gettext copyright.
8361 Use ANSI definitions and prototypes.
8362 Use gl_* locking primitives rather than __libc_* ones.
8364 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
8366 * debug/warning-nop.c: Add used atrribute.
8368 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8370 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8372 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8373 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8374 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8376 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8377 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8380 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8381 Undefine after defining function. Define as weak alias of
8382 __wcschr. Use libc_hidden_weak.
8383 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
8384 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8385 (libc_hidden_def): Also define __GI___wcschr alias.
8386 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8387 __wcschr and define as weak alias of __wcschr.
8388 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8390 [!WCSCHR] (DEFAULT_WCSCHR): Define.
8391 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8392 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
8393 libc_hidden_weak. Do not use libc_hidden_def.
8394 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8395 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8396 __GI___wcschr alias.
8397 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8398 [IS_IN (libc)] (wcschr): Define as macro expanding to
8400 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8401 [IS_IN (libc)] (__wcschr_power6): Likewise.
8402 [IS_IN (libc)] (__wcschr_power7): Likewise.
8403 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
8405 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8407 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8408 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8409 __wcschr and define as weak alias of __wcschr. Use
8410 libc_hidden_builtin_def.
8411 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8412 as weak alias of __wcschr. Use libc_hidden_weak.
8413 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8415 * time/era.c (_nl_init_era_entries): Likewise.
8416 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8418 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8419 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8421 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8423 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8424 format for long int variable.
8426 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
8429 * manual/search.texi: (Array Sort Function): Remove claim how to make
8432 2014-12-10 Andreas Schwab <schwab@suse.de>
8435 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8436 user-controlled locks.
8438 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
8440 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8443 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8445 * configure.ac (--disable-werror): New configure option.
8446 (enable_werror): New AC_SUBST.
8447 * configure: Regenerated.
8448 * config.make.in (enable-werror): New variable.
8449 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8451 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8452 * manual/install.texi (Configuring and compiling): Document
8454 * INSTALL: Regenerated.
8455 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8456 (CFLAGS-tst-chk2.c): Likewise.
8457 (CFLAGS-tst-chk3.c): Likewise.
8458 (CFLAGS-tst-chk4.cc): Likewise.
8459 (CFLAGS-tst-chk5.cc): Likewise.
8460 (CFLAGS-tst-chk6.cc): Likewise.
8461 (CFLAGS-tst-lfschk1.c): Likewise.
8462 (CFLAGS-tst-lfschk2.c): Likewise.
8463 (CFLAGS-tst-lfschk3.c): Likewise.
8464 (CFLAGS-tst-lfschk4.cc): Likewise.
8465 (CFLAGS-tst-lfschk5.cc): Likewise.
8466 (CFLAGS-tst-lfschk6.cc): Likewise.
8468 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8469 (main): Disable -Wdeprecated-declarations around calls to
8470 register_printf_function.
8472 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8473 (do_test): Disable -Wdiv-by-zero around some calls to
8474 fwrite_unlocked and fread_unlocked.
8476 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8477 (DIAG_POP_NEEDS_COMMENT): Likewise.
8478 (_DIAG_STR1): Likewise.
8479 (_DIAG_STR): Likewise.
8480 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8481 * stdio-common/bug21.c: Include <libc-internal.h>.
8482 (do_test): Disable -Wformat around call to sscanf.
8483 * stdio-common/scanf14.c: Include <libc-internal.h>.
8484 (main): Disable -Wformat around some calls to scanf functions.
8486 2014-12-09 Torvald Riegel <triegel@redhat.com>
8488 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8490 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8492 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8493 stack variable alignment.
8495 2014-12-06 Joseph Myers <joseph@codesourcery.com>
8498 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8499 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8500 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8501 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8502 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8503 __getrlimit instead of getrlimit.
8504 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8505 __gettimeofday instead of gettimeofday.
8506 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8508 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8510 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8511 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8513 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8514 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8516 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8518 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8519 for wide-character tests.
8521 2014-12-04 Roland McGrath <roland@hack.frob.com>
8523 * io/openat64.c: #include <libc-internal.h>
8524 (__openat64): Prototypify. Use ignore_value on MODE.
8525 * io/openat.c: Likewise.
8526 * misc/reboot.c: #include <libc-internal.h>
8527 (reboot): Prototypify. Use ignore_value on HOWTO.
8528 * misc/ptrace.c: #include <libc-internal.h>
8529 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
8531 2014-12-04 Joseph Myers <joseph@codesourcery.com>
8533 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8534 XPG4, UNIX98 and XOPEN2K.
8535 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8537 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8539 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8541 * libio/fileops.c: Use ISO C style for function definitions.
8542 * libio/iofopen.c: Likewise.
8543 * libio/wfileops.c: Likewise.
8546 * libio/fileops.c (_IO_new_file_underflow): Unset cached
8548 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8549 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8550 (fgets_func): Function pointer to fgets and fgetws.
8551 (do_ftell_test): Add test to verify ftell value after read
8553 (do_test): Set fgets_func.
8555 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8556 O_TRUNC flag for w and w+ modes.
8557 (do_rewind_test): Likewise.
8558 (do_ftell_test): Likewise.
8559 (do_write_test): Likewise.
8562 * libio/fileops.c (do_ftell): Seek only when there are
8564 * libio/wfileops.c (do_ftell_wide): Likewise.
8565 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8567 (do_one_test): Call it.
8569 2014-12-03 Joseph Myers <joseph@codesourcery.com>
8571 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8572 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8573 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8575 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8576 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8577 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8579 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8581 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8583 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8586 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8587 as weak alias of __getifaddrs. Use libc_hidden_weak.
8588 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8589 __freeifaddrs. Use libc_hidden_weak.
8590 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8591 define as weak alias of __getifaddrs. Use libc_hidden_weak.
8592 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8593 __freeifaddrs. Use libc_hidden_weak.
8594 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8595 __getifaddrs and define as weak alias of __getifaddrs. Use
8597 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8598 __freeifaddrs. Use libc_hidden_weak.
8599 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8601 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8602 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8604 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
8607 * sysdeps/mips/start.S (__start): Use indirect jump to call
8610 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8612 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8614 * nptl/tst-mutex1.c: Include <stdbool.h>.
8615 [!ATTR] (ATTR_NULL): New macro.
8616 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8617 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8618 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8620 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8624 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8625 Change conditional to [__USE_MISC].
8628 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8630 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8632 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8634 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8636 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8637 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8638 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8639 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8640 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8641 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8642 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8643 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8644 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8646 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8648 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8650 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8651 Remove strpbrk objects.
8652 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8653 (__libc_ifunc_impl_list): Remove strpbrk implementation.
8654 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8655 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8656 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8657 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8659 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8660 Remove strcspn objects.
8661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8662 (__libc_ifunc_impl_list): Remove strcspn implementation.
8663 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8664 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8665 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8666 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8668 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8669 Remove strspn objetcs.
8670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8671 (__libc_ifunc_impl_list): Remove strspn implementation.
8672 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8673 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8674 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8675 * sysdeps/powerpc/powerpc64/strspn.S: New file.
8677 2014-12-01 James Lemke <jwlemke@codesourcery.com>
8681 (mem2mem_check): Add a terminator to the chain of checking blocks.
8682 (malloc_check_get_size): Use it here.
8683 (mem2chunk_check): Ditto.
8685 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8687 * sysdeps/powerpc/powerpc64/strtok.S: New file.
8688 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8690 2014-11-29 Carlos O'Donell <carlos@redhat.com>
8692 * bits/ioctl-types.h: Indent preprocessor directives correctly.
8694 * nptl/nptl-init.c: Include libc-internal.h.
8695 (__pthread_initialize_minimal_internal): Use ROUND_UP.
8697 * elf/ldconfig.c (search_dir): Expand comment.
8699 2014-11-29 Joseph Myers <joseph@codesourcery.com>
8701 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8703 (linknamespace-symlist-stdlibs-tests): Likewise.
8704 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8705 instead of $(objpfx)symlist-stdlibs.
8706 (linknamespace-libs-isoc): New variable.
8707 (linknamespace-libs): Use $(linknamespace-libs-isoc).
8708 (linknamespace-libs-ISO): New variable.
8709 (linknamespace-libs-ISO99): Likewise.
8710 (linknamespace-libs-ISO11): Likewise.
8711 (linknamespace-libs-XPG3): Likewise.
8712 (linknamespace-libs-XPG4): Likewise.
8713 (linknamespace-libs-POSIX): Likewise.
8714 (linknamespace-libs-UNIX98): Likewise.
8715 (linknamespace-libs-XOPEN2K): Likewise.
8716 (linknamespace-libs-POSIX2008): Likewise.
8717 (linknamespace-libs-XOPEN2K8): Likewise.
8718 ($(objpfx)symlist-stdlibs): Replace by
8719 $(linknamespace-symlist-stdlibs-tests). Use
8720 $(linknamespace-libs-$*) as set of libraries.
8721 ($(linknamespace-header-tests)): Update dependencies. Use
8722 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8723 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8724 * conform/linknamespace.pl: Remove comment about considering
8725 definitions of symbols from irrelevant libraries.
8727 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
8730 * elf/dl-tls.c: Include <atomic.h>.
8731 (oom): Remove #ifdef SHARED/#endif.
8732 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8733 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
8734 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8736 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8737 * nptl/Makefile (tests): Add tst-stack4.
8738 (modules-names): Add tst-stack4mod.
8739 ($(objpfx)tst-stack4): New.
8740 (tst-stack4mod.sos): Likewise.
8741 ($(objpfx)tst-stack4.out): Likewise.
8742 ($(tst-stack4mod.sos)): Likewise.
8744 * nptl/tst-stack4.c: New file.
8745 * nptl/tst-stack4mod.c: Likewise.
8747 2014-11-27 J. Brown <jb999@gmx.de>
8749 * sysdeps/x86/bits/string.h: Add recent CPUs.
8751 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8753 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8756 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8759 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8762 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
8764 * nscd/connections.c: Include libc-internal.h because of macro
8767 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8769 * string/bits/string3.h (__warn_memset_zero_len): Don't
8770 declare for gcc newer than 5.0.
8771 (memset): Don't test for zero-length __LEN for gcc newer than
8774 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8776 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8777 size_t for %zu format.
8779 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8780 difference, not %ju.
8782 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8784 * include/libc-internal.h (ignore_value): New macro.
8785 * nscd/connections.c (restart): Wrap calls to setuid and setgid
8788 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8791 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8792 pthread_cleanup_push to void *.
8794 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8799 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8800 instead of 1L << 52.
8802 * libio/bug-rewind.c (do_test): Check fwscanf return values.
8803 * libio/bug-rewind2.c (do_test): Likewise.
8805 * debug/test-stpcpy_chk-ifunc.c: Remove file.
8806 * debug/test-strcpy_chk-ifunc.c: Likewise.
8807 * wcsmbs/test-wcschr-ifunc.c: Likewise.
8808 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8809 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8810 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8811 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8812 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8813 * Rules [$(multi-arch) = no] (tests): Do not filter out
8815 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8816 * debug/Makefile (tests-ifunc): Remove variable.
8817 (tests): Do not add $(tests-ifunc).
8818 * wcsmbs/Makefile (tests-ifunc): Remove variable.
8819 (tests): Do not add $(tests-ifunc).
8820 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8821 [TEST_IFUNC]: Remove conditionals.
8822 * string/test-string.h (TEST_IFUNC): Remove macro.
8823 [TEST_IFUNC]: Remove conditionals.
8825 * string/test-strchr.c [!WIDE] (L): New macro.
8826 [WIDE] (L): Likewise.
8827 (check1): Use CHAR instead of char. Use L on string and character
8830 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
8832 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8834 * sysdeps/powerpc/bits/atomic.h
8835 (__arch_atomic_exchange_and_add_32_acq): Add definition.
8836 (__arch_atomic_exchange_and_add_32_rel): Likewise.
8837 (atomic_exchange_and_add_acq): Likewise.
8838 (atomic_exchange_and_add_rel): Likewise.
8839 * sysdeps/powerpc/powerpc32/bits/atomic.h
8840 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8841 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8842 * sysdeps/powerpc/powerpc64/bits/atomic.h
8843 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8844 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8846 2014-11-26 Torvald Riegel <triegel@redhat.com>
8848 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8849 Change synchronization of __sched_fifo_min_prio and
8850 __sched_fifo_max_prio.
8851 * nptl/pthread_mutexattr_getprioceiling.c
8852 (pthread_mutexattr_getprioceiling): Likewise.
8853 * nptl/pthread_mutexattr_setprioceiling.c
8854 (pthread_mutexattr_setprioceiling): Likewise.
8855 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8856 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8859 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8861 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8864 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8866 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8867 third argument const.
8869 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
8871 fnmatch: work around GCC compiler warning bug with uninit var
8872 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8873 This works around a bug with x86-64 GCC 4.9.2 and earlier
8874 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8875 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8876 used uninitialized in this function [-Wmaybe-uninitialized]".
8878 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8880 * posix/bug-regex31.c (main): Return RES not 0.
8882 2014-11-25 Anton Blanchard <anton@samba.org>
8884 * sysdeps/powerpc/bits/atomic.h
8885 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8887 2014-11-24 Sterling Augustine <saugustine@google.com>
8889 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8891 2014-11-24 Ryan Cumming <etaoins@gmail.com>
8894 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8896 2014-11-24 Joseph Myers <joseph@codesourcery.com>
8899 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8900 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8902 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8903 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8905 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8907 * string/strncpy.c (strncpy): Improve performance by using memset.
8909 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8911 * string/strcpy.c (strcpy):
8912 Improve performance by using strlen and memcpy.
8914 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
8916 * string/strcoll_l.c (get_next_seq): __always_inline.
8917 * string/strcoll_l.c (do_compare): __always_inline.
8919 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8921 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8923 * include/mqueue.h: Likewise.
8924 * include/stdlib.h: Likewise.
8926 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8927 (get_null_defines): Adjust.
8928 * sunrpc/Makefile: Adjust comment.
8929 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8930 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8931 (CFLAGS-interp.c): Likewise.
8932 (CFLAGS-ldconfig.c): Likewise.
8933 (CPPFLAGS-.os): Likewise.
8934 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8935 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8936 * extra-modules.mk (extra-modules.mk): Likewise.
8937 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8938 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8939 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8940 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8941 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8942 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8943 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8944 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8945 * iconvdata/Makefile (CPPFLAGS): Likewise.
8946 (cpp-srcs-left): Add libof for all iconvdata routines.
8947 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8948 * include/assert.h: Likewise.
8949 * include/ctype.h: Likewise.
8950 * include/errno.h: Likewise.
8951 * include/libc-symbols.h: Likewise.
8952 * include/math.h: Likewise.
8953 * include/netdb.h: Likewise.
8954 * include/resolv.h: Likewise.
8955 * include/stdio.h: Likewise.
8956 * include/stdlib.h: Likewise.
8957 * include/string.h: Likewise.
8958 * include/sys/stat.h: Likewise.
8959 * include/wctype.h: Likewise.
8960 * intl/l10nflist.c: Likewise.
8961 * libidn/idn-stub.c: Likewise.
8962 * libio/libioP.h: Likewise.
8963 * nptl/libc_multiple_threads.c: Likewise.
8964 * nptl/pthreadP.h: Likewise.
8965 * posix/regex_internal.h: Likewise.
8966 * resolv/res_hconf.c: Likewise.
8967 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8968 * sysdeps/arm/memmove.S: Likewise.
8969 * sysdeps/arm/sysdep.h: Likewise.
8970 * sysdeps/generic/_itoa.h: Likewise.
8971 * sysdeps/generic/symbol-hacks.h: Likewise.
8972 * sysdeps/gnu/errlist.awk: Likewise.
8973 * sysdeps/gnu/errlist.c: Likewise.
8974 * sysdeps/i386/i586/memcpy.S: Likewise.
8975 * sysdeps/i386/i586/memset.S: Likewise.
8976 * sysdeps/i386/i686/memcpy.S: Likewise.
8977 * sysdeps/i386/i686/memmove.S: Likewise.
8978 * sysdeps/i386/i686/mempcpy.S: Likewise.
8979 * sysdeps/i386/i686/memset.S: Likewise.
8980 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8981 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8982 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8983 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8984 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8985 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8986 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8987 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8988 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8989 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8990 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8991 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8992 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8993 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8994 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8995 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8996 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8997 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8998 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8999 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9000 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9001 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9002 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9003 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9004 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9005 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9006 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9007 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9008 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9009 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9010 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9011 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9012 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9013 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9014 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9015 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9016 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9017 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9018 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9019 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9020 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9021 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9022 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9023 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9024 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9025 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9026 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9027 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9028 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9029 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9030 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9031 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9032 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9033 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9034 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9035 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9036 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9037 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9038 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9039 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9040 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9041 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9042 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9043 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9044 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9045 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9046 * sysdeps/posix/closedir.c: Likewise.
9047 * sysdeps/posix/opendir.c: Likewise.
9048 * sysdeps/posix/readdir.c: Likewise.
9049 * sysdeps/posix/rewinddir.c: Likewise.
9050 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9051 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9052 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9053 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9054 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9055 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9056 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9057 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9058 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9059 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9060 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9061 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9062 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9063 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9064 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9065 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9066 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9067 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9068 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9069 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9070 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9071 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9072 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9073 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9074 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9075 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9076 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9077 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9078 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9079 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9080 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9081 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9082 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9083 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9084 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9085 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9086 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9087 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9088 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9089 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9090 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9091 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9092 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9093 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9094 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9095 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9096 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9097 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9098 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9099 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9100 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9101 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9102 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9103 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9104 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9105 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9106 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9107 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9108 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9109 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9110 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9111 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9112 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9113 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9114 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9115 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9116 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9117 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9118 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9119 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9120 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9121 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9122 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9123 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9124 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9125 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9126 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9127 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9128 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9129 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9130 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9131 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9132 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9133 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9134 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9135 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9136 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9137 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9138 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9139 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9140 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9141 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9142 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9143 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9145 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9146 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9147 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9148 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9149 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9150 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9151 * sysdeps/unix/alpha/sysdep.S: Likewise.
9152 * sysdeps/unix/alpha/sysdep.h: Likewise.
9153 * sysdeps/unix/make-syscalls.sh: Likewise.
9154 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9155 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9156 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9157 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9158 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9159 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9160 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9161 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9162 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9163 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9164 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9165 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9166 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9167 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9168 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9169 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9170 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9171 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9172 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9173 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9174 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9175 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9176 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9177 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9178 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9179 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9180 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9183 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9184 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9185 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9186 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9187 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9188 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9189 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9190 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9191 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9192 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9193 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9194 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9195 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9196 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9197 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9198 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9199 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9200 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9201 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9202 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9203 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9204 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9205 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9206 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9207 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9208 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9209 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9210 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9211 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9212 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9213 * sysdeps/x86_64/memcpy.S: Likewise.
9214 * sysdeps/x86_64/memmove.c: Likewise.
9215 * sysdeps/x86_64/memset.S: Likewise.
9216 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9217 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9218 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9219 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9220 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9221 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9222 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9223 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9224 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9225 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9226 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9227 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9228 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9229 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9230 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9231 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9232 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9233 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9234 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9235 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9236 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9237 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9238 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9239 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9240 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9241 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9242 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9243 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9244 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9245 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9246 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9247 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9248 * sysdeps/x86_64/strcmp.S: Likewise.
9250 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9252 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9253 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9254 * elf/rtld-Rules: Likewise.
9255 * elf/setup-vdso.h: Likewise.
9256 * include/assert.h: Likewise.
9257 * include/bits/stdlib-float.h: Likewise.
9258 * include/errno.h: Likewise.
9259 * include/sys/stat.h: Likewise.
9260 * include/unistd.h: Likewise.
9261 * sysdeps/aarch64/setjmp.S: Likewise.
9262 * sysdeps/alpha/setjmp.S: Likewise.
9263 * sysdeps/arm/__longjmp.S: Likewise.
9264 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9265 * sysdeps/arm/setjmp.S: Likewise.
9266 * sysdeps/arm/sysdep.h: Likewise.
9267 * sysdeps/generic/_itoa.h: Likewise.
9268 * sysdeps/generic/dl-sysdep.h: Likewise.
9269 * sysdeps/generic/ldsodefs.h: Likewise.
9270 * sysdeps/i386/dl-tls.h: Likewise.
9271 * sysdeps/i386/setjmp.S: Likewise.
9272 * sysdeps/m68k/setjmp.c: Likewise.
9273 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9274 * sysdeps/mach/hurd/opendir.c: Likewise.
9275 * sysdeps/posix/getcwd.c: Likewise.
9276 * sysdeps/posix/opendir.c: Likewise.
9277 * sysdeps/posix/profil.c: Likewise.
9278 * sysdeps/powerpc/dl-procinfo.h: Likewise.
9279 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9280 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9281 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9282 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9283 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9284 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9285 * sysdeps/s390/dl-tls.h: Likewise.
9286 * sysdeps/s390/s390-32/setjmp.S: Likewise.
9287 * sysdeps/s390/s390-64/setjmp.S: Likewise.
9288 * sysdeps/sh/sh3/setjmp.S: Likewise.
9289 * sysdeps/sh/sh4/setjmp.S: Likewise.
9290 * sysdeps/unix/alpha/sysdep.h: Likewise.
9291 * sysdeps/unix/arm/sysdep.S: Likewise.
9292 * sysdeps/unix/i386/sysdep.S: Likewise.
9293 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9294 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9295 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9296 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9297 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9298 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9299 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9300 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9301 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9302 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9303 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9304 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9305 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9308 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9309 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9310 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9311 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9312 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9313 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9314 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9315 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9316 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9317 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9318 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9319 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9320 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9321 * sysdeps/x86_64/setjmp.S: Likewise.
9323 * include/math.h: Use IS_IN instead of IS_IN_libm.
9324 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9325 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9326 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9327 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9328 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9329 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9330 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9331 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9332 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9333 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9334 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9335 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9336 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9337 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9338 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9339 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9340 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9341 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9342 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9343 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9344 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9345 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9346 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9347 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9348 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9349 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9351 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9352 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9353 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9354 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9355 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9356 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9367 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9368 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9369 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9370 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9371 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9372 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9378 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9379 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9380 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9381 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9382 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9383 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9384 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9385 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9386 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9387 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9388 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9389 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9390 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9391 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9393 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9395 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9396 * nptl/pthreadP.h: Likewise.
9397 * nptl_db/structs.def: Likewise.
9398 * sysdeps/arm/sysdep.h: Likewise.
9399 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9400 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9401 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9402 * sysdeps/unix/alpha/sysdep.h: Likewise.
9403 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9404 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9405 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9406 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9407 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9408 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9409 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9410 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9411 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9412 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9413 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9414 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9415 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9416 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9419 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9420 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9421 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9422 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9423 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9424 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9425 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9426 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9427 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9428 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9430 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9431 * nptl/pthreadP.h: Likewise.
9432 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9433 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9434 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9435 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9436 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9437 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9438 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9439 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9440 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9441 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9442 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9443 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9448 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9449 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9450 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9452 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9453 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9454 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9455 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9457 * dlfcn/dladdr.c: Use IS_IN.
9458 * dlfcn/dladdr1.c: Likewise.
9459 * dlfcn/dlclose.c: Likewise.
9460 * dlfcn/dlerror.c: Likewise.
9461 * dlfcn/dlinfo.c: Likewise.
9462 * dlfcn/dlmopen.c: Likewise.
9463 * dlfcn/dlopen.c: Likewise.
9464 * dlfcn/dlsym.c: Likewise.
9465 * dlfcn/dlvsym.c: Likewise.
9467 * include/ifaddrs.h: Use IS_IN.
9468 * inet/check_pf.c: Likewise.
9469 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9470 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9472 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9474 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9475 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9477 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9478 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9481 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9483 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9484 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9485 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9486 * include/libc-symbols.h (IS_IN_LIB): New macro.
9487 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9488 * include/netdb.h: Likewise.
9489 * include/stap-probe.h: Remove all uses of IN_LIB.
9491 * Makeconfig (module-cppflags-real): Define MODULE_NAME
9492 instead of IN_MODULE.
9493 * include/libc-symbols.h (IN_MODULE): Define using
9495 (PASTE_NAME, PASTE_NAME1): New macros.
9496 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9498 (STAP_PROBE_ASM): Likewise.
9500 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
9502 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9503 __mach_init in dlopened libc.
9505 2014-11-22 Mike Frysinger <vapier@gentoo.org>
9507 * sysdeps/arm/preconfigure.ac: Delete EABI check.
9508 * sysdeps/arm/preconfigure: Regenerate.
9510 2014-11-21 Roland McGrath <roland@hack.frob.com>
9512 * nptl/pthread_create.c (__pthread_create_2_1): Set
9513 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9514 when copying values from IATTR into PD.
9516 2014-11-21 Will Newton <will.newton@linaro.org>
9517 Andrew Pinski <andrew.pinski@caviumnetworks.com>
9519 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9520 Refactor inline-asm. Also add comment.
9522 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9523 ElfW macro instead of hardcoded Elf64 types.
9524 (la_aarch64_gnu_pltenter): Likewise.
9525 * sysdeps/aarch64/dl-machine.h
9526 (elf_machine_runtime_setup): Use ElfW(Addr).
9528 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9529 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9530 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9531 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9532 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9533 (R_AARCH64_TLS_DTPMOD64): Rename to ..
9534 (R_AARCH64_TLS_DTPMOD): This.
9535 (R_AARCH64_TLS_DTPREL64): Rename to ...
9536 (R_AARCH64_TLS_DTPREL): This.
9537 (R_AARCH64_TLS_TPREL64): Rename to ...
9538 (R_AARCH64_TLS_TPREL): This.
9539 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9540 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9541 R_AARCH64_TLS_TPREL64.
9542 (elf_machine_rela): Likewise.
9544 2014-11-21 Torvald Riegel <triegel@redhat.com>
9546 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9547 by setting it to 0. 64b atomics are not supported currently.
9549 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9552 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9553 search domain names.
9555 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9559 * resolv/res_query.c (__libc_res_nquerydomain): Retain
9561 * posix/tst-getaddrinfo5.c: New.
9562 * posix/Makefile (tests): Add it.
9564 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9568 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9569 after parsing line but before break_if_match.
9570 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9571 if there is a protocol mismatch.
9573 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9575 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9576 because the potential race is on the user-supplied stream.
9578 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9580 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9581 string literal if not passed a buffer.
9582 * manual/job.texi (ctermid): Update reasoning, note deviation
9583 from posix, suggest mtasurace when not passed a buffer, for
9584 future non-preliminary safety notes.
9586 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9588 * manual/users.texi (cuserid): Fix MT-Safety note for the case
9589 of not passing it a buffer.
9590 Reported by Peng Haitao.
9592 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9594 * manual/Makefile ($(objpfx)stamp-summary): Require
9595 check-safety.sh to pass.
9596 * manual/check-safety.sh: Wish for verification that every
9597 @deftypefn and @deftypefun is followed by a @safety remark.
9599 2014-11-20 Roland McGrath <roland@hack.frob.com>
9601 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9603 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9604 PTHREAD_CANCEL_ASYNCHRONOUS.
9605 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9608 * nptl/default-sched.h: New file.
9609 * sysdeps/unix/sysv/linux/default-sched.h: New file.
9610 * nptl/pthread_create.c: Include it.
9611 (__pthread_create_2_1): Use collect_default_sched instead of making
9612 Linux syscalls here directly.
9614 2014-11-20 Torvald Riegel <triegel@redhat.com>
9616 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9617 __pthread_once): Use C11 atomics.
9619 2014-11-20 Torvald Riegel <triegel@redhat.com>
9621 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9623 2014-11-20 Torvald Riegel <triegel@redhat.com>
9625 * include/atomic.h (__atomic_link_error, __atomic_check_size,
9626 atomic_thread_fence_acquire, atomic_thread_fence_release,
9627 atomic_thread_fence_seq_cst, atomic_load_relaxed,
9628 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9629 atomic_compare_exchange_weak_relaxed,
9630 atomic_compare_exchange_weak_acquire,
9631 atomic_compare_exchange_weak_release,
9632 atomic_exchange_acquire, atomic_exchange_release,
9633 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9634 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9635 atomic_fetch_and_acquire,
9636 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9638 2014-11-20 Torvald Riegel <triegel@redhat.com>
9640 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9641 USE_ATOMIC_COMPILER_BUILTINS): Define.
9642 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9643 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9644 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9645 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9646 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9647 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9648 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9649 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9650 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9651 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9652 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9653 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9654 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9655 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9656 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9657 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9658 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9659 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9660 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9661 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9662 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9663 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9664 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9665 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9666 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9667 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9668 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9669 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9670 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9671 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9672 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9673 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9674 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9675 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9676 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9677 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9678 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9679 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9680 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9681 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9683 2014-11-19 Roland McGrath <roland@hack.frob.com>
9685 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9686 the sched_priority value here. It was already checked when the user
9687 called pthread_attr_setschedparam.
9689 * nptl/tst-bad-schedattr.c: New file.
9690 * nptl/Makefile (tests): Add it.
9692 2014-11-19 Carlos O'Donell <carlos@redhat.com>
9693 Florian Weimer <fweimer@redhat.com>
9694 Joseph Myers <joseph@codesourcery.com>
9695 Adam Conrad <adconrad@0c3.net>
9696 Andreas Schwab <schwab@suse.de>
9697 Brooks <bmoses@google.com>
9700 * wordexp-test.c (__dso_handle): Add prototype.
9701 (__register_atfork): Likewise.
9702 (__app_register_atfork): New function.
9703 (registered_forks): New global.
9704 (register_fork): New function.
9705 (test_case): Add 3 new tests for WRDE_CMDSUB.
9706 (main): Call __app_register_atfork.
9707 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9708 fork count is non-zero fail the test.
9709 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9711 (parse_dollars): Remove check for WRDE_NOCMD.
9712 (parse_dquote): Likewise.
9714 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9716 * Makeconfig (built-modules): List non-library modules to be
9718 (module-cppflags): Include libc-modules.h for
9719 everything except shlib-versions.v.i.
9721 (before-compile): Add libc-modules.h.
9722 ($(common-objpfx)libc-modules.h,
9723 $(common-objpfx)libc-modules.stmp): New targets.
9724 (common-generated): Add libc-modules.h and libc-modules.stmp.
9725 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9726 * include/libc-symbols.h: Don't include libc-modules.h.
9727 * include/libc-modules.h: Remove file.
9728 * scripts/gen-libc-modules.awk: New script to generate
9730 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9731 Depend on libc-modules.stmp.
9733 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9735 * Makeconfig (in-module): Get value of libof set for the
9737 (CPPFLAGS): Use $(in-module).
9738 * Makerules: Don't suffix routine names for nonlib.
9739 * include/libc-modules.h: New file.
9740 * include/libc-symbols.h: Include libc-modules.h
9741 (IS_IN): New macro to replace IS_IN_* macros.
9742 * elf/Makefile: Set libof-* for each routine.
9743 * elf/rtld-Rules: Likewise.
9744 * extra-modules.mk: Likewise.
9745 * iconv/Makefile: Likewise.
9746 * iconvdata/Makefile: Likewise.
9747 * locale/Makefile: Likewise.
9748 * malloc/Makefile: Likewise.
9749 * nss/Makefile: Likewise.
9750 * sysdeps/gnu/Makefile: Likewise.
9751 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9752 * sysdeps/unix/sysv/linux/Makefile: Likewise.
9753 * sysdeps/s390/s390-64/Makefile: Likewise.
9754 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
9755 CPPFLAGS for nscd instead of nonlib.
9757 2014-11-18 Roland McGrath <roland@hack.frob.com>
9759 * nptl/createthread.c: New file.
9761 * nptl/createthread.c: Moved ...
9762 * sysdeps/unix/sysv/linux/createthread.c: ... here.
9764 * nptl/createthread.c: Add proper top-line comment.
9765 (do_clone): Folded into ...
9766 (create_thread): ... here. Take new arguments STOPPED_START and
9767 THREAD_RAN. Always set PD->stopped_start to something here. Don't
9768 increment __nptl_threads, do event-reporting logic, do
9769 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9770 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
9771 resource cleanup if sched_setaffinity or sched_setscheduler fails,
9772 just send SIGCANCEL.
9773 * nptl/pthread_create.c: Forward-declare create_thread before
9774 including createthread.c.
9775 (start_thread): Use new macro START_THREAD_DEFN to replace defining
9776 declaration, and new macro START_THREAD_SELF to replace argument.
9777 Remove return statement.
9778 (report_thread_creation): New function.
9779 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
9780 synchronization logic, and __nptl_nthreads increment here, around
9781 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
9782 PD->parent_cancelhandling here, before create_thread. When
9783 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9784 __deallocate_stack, and ENOMEM translation here.
9786 2014-11-18 Joseph Myers <joseph@codesourcery.com>
9789 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9790 (mptwo): Rename to __mptwo.
9791 (__inv): Use __mptwo instead of mptwo.
9792 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9793 (mptwo): Rename to __mptwo.
9794 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9795 of mpone and __mptwo instead of mptwo.
9796 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9798 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9799 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9800 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9801 of mpone and __mptwo instead of mptwo.
9802 (__mpranred): Use __mpone instead of mpone.
9803 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9805 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9806 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9807 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9808 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9809 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9810 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9811 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9812 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9813 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9814 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9815 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9816 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9817 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9818 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9819 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9820 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9821 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9822 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9823 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9825 2014-11-18 Tom de Vries <tom@codesoucery.com>
9827 * manual/signal.texi (Primitives Interrupted by Signals): In section,
9828 replace BSD Handler xref with BSD Signal Handling.
9830 2014-11-17 Richard Henderson <rth@redhat.com>
9832 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9833 (_FP_PACK_RAW_2): Remove.
9834 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9835 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9836 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9837 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9838 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9839 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9840 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9841 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9842 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9843 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9844 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9845 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9846 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9847 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9848 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9849 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9851 2014-11-14 Roland McGrath <roland@hack.frob.com>
9853 * signal/signal.h [__USE_MISC]
9854 (struct sigvec): Remove type.
9855 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9856 (sigvec): Remove declaration.
9857 * sysdeps/posix/sigvec.c: Moved ...
9858 * signal/sigvec.c: ... here, replacing old file.
9859 (struct sigvec): New type, copied from old signal.h definition.
9860 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9861 (__sigvec): Convert definition to prototype.
9862 (sigvec): Replace weak_alias with compat_symbol.
9863 * signal/Versions (libc: GLIBC_2.21): New version set.
9864 * include/signal.h: Remove __sigvec declaration.
9865 * sysdeps/unix/bsd/sigvec.c: Remove file.
9866 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9867 * manual/signal.texi (BSD Handler): Remove subsection.
9868 Move siginterrupt up to ...
9869 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
9870 (Blocking in BSD): Fold subsection into its parent.
9871 * NEWS: Mention sigvec removal.
9873 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9875 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9876 (DLA_FMS): Make definition conditional only on [__FMA4__].
9877 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9880 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9881 Make definition conditional only on [PROF].
9882 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9884 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9885 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9887 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9889 * include/signal.h (__sigpause): Move declaration above call to
9891 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9893 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9894 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9896 2014-11-14 David S. Miller <davem@davemloft.net>
9898 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9899 Define before including <string/memcpy.c> and <string/mempcpy.c>.
9901 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9903 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9904 * configure: Regenerated.
9905 * manual/install.texi (Tools for Compilation): Document a
9906 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9907 compiler verified to work.
9908 * INSTALL: Regenerated.
9910 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9911 redeclare with asm name.
9912 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9913 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9914 including <string.h>.
9915 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9916 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9917 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9918 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9919 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9920 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9921 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9923 2014-11-13 Joseph Myers <joseph@codesourcery.com>
9925 * stdlib/strtol.c (__strtol): Use prototype definition.
9928 * stdlib/strtol.c (SYM__): New macro.
9930 (__strtol): Likewise.
9931 (strtol): Rename to __strtol and define as weak alias of
9932 __strtol. Use libc_hidden_weak.
9934 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9936 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9937 Use numbered labels in inline assembly.
9939 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9941 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9942 Add setjmp LIBC_PROBE.
9943 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9945 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9946 Add longjmp, longjmp_target LIBC_PROBE.
9947 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9950 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9952 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9953 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9954 to get rid of unused variable warning.
9956 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9958 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9959 Check for unwind_backtrace == NULL only in SHARED case.
9960 (__backchain_backtrace): Compile only in SHARED case.
9961 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9963 (__backchain_backtrace): Declare as static.
9965 2014-11-12 Roland McGrath <roland@hack.frob.com>
9967 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9968 (__libc_multiple_threads_ptr): Variable moved ...
9969 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9971 2014-11-12 Joseph Myers <joseph@codesourcery.com>
9973 * conform/GlibcConform.pm: New file.
9974 * conform/conformtest.pl: Use GlibcConform module.
9975 * conform/linknamespace.pl: New file.
9976 * conform/list-header-symbols.pl: Likewise.
9977 * conform/Makefile (linknamespace-symlists-base): New variable.
9978 (linknamespace-symlists-tests): Likewise.
9979 (linknamespace-header-base): Likewise.
9980 (linknamespace-header-tests): Likewise.
9981 (tests-special): Add new tests.
9982 ($(linknamespace-symlists-tests)): New rule.
9983 (linknamespace-libs): New variable.
9984 ($(objpfx)symlist-stdlibs): New rule.
9985 ($(linknamespace-header-tests)): Likewise.
9986 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9987 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9988 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9989 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9990 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9991 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9992 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9993 (test-xfail-ISO/math.h/linknamespace): Likewise.
9994 (test-xfail-ISO/signal.h/linknamespace): Likewise.
9995 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9996 (test-xfail-ISO/time.h/linknamespace): Likewise.
9997 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9998 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9999 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10000 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10001 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10002 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10003 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10004 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10005 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10006 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10007 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10008 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10009 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10010 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10011 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10012 (test-xfail-XPG3/math.h/linknamespace): Likewise.
10013 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10014 (test-xfail-XPG3/search.h/linknamespace): Likewise.
10015 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10016 (test-xfail-XPG3/time.h/linknamespace): Likewise.
10017 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10018 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10019 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10020 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10021 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10022 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10023 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10024 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10025 (test-xfail-XPG4/math.h/linknamespace): Likewise.
10026 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10027 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10028 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10029 (test-xfail-XPG4/search.h/linknamespace): Likewise.
10030 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10031 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10032 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10033 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10034 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10035 (test-xfail-XPG4/time.h/linknamespace): Likewise.
10036 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10037 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10038 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10039 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10040 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10041 (test-xfail-POSIX/math.h/linknamespace): Likewise.
10042 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10043 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10044 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10045 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10046 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10047 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10048 (test-xfail-POSIX/time.h/linknamespace): Likewise.
10049 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10050 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10051 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10052 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10053 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10054 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10055 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10056 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10057 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10058 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10059 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10060 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10061 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10062 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10063 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10064 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10065 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10066 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10067 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10068 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10069 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10070 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10071 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10072 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10073 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10074 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10075 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10076 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10077 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10078 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10079 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10080 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10081 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10082 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10083 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10084 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10085 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10086 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10087 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10088 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10089 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10090 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10091 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10092 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10093 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10094 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10095 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10096 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10097 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10098 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10099 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10100 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10101 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10102 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10103 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10104 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10105 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10106 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10107 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10108 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10109 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10110 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10111 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10112 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10113 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10114 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10115 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10116 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10117 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10118 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10119 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10120 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10121 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10122 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10123 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10124 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10125 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10126 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10127 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10128 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10129 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10130 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10131 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10132 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10133 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10134 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10135 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10136 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10137 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10138 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10139 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10140 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10141 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10142 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10143 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10144 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10145 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10146 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10149 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10153 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10154 (memmem): Rename to __memmem and define as weak alias of
10155 __memmem. Use libc_hidden_weak.
10156 (__memmem): Use libc_hidden_def.
10157 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
10158 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10162 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10163 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
10164 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10165 and define as weak alias of __fgets_unlocked. Use
10167 (__fgets_unlocked): Use libc_hidden_def.
10168 * include/stdio.h (__fgets_unlocked): Declare. Use
10170 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10171 __fgets_unlocked instead of fgets_unlocked.
10172 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10173 (GET_NPROCS_CONF_PARSER): Likewise.
10174 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10175 (GET_NPROCS_CONF_PARSER): Likewise.
10178 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10179 weak alias of __wmemset. Use libc_hidden_weak.
10180 (__wmemset): Use libc_hidden_def.
10181 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
10182 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10186 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10187 with asm name __mempcpy.
10188 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10191 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10192 and define as weak alias of __rawmemchr.
10193 (__rawmemchr): Do not define as strong alias of rawmemchr.
10196 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10197 alias of __qsort_r.
10198 (qsort): Call __qsort_r instead of qsort_r.
10199 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10200 (__qsort_r): Declare. Call libc_hidden_proto.
10201 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10202 instead of qsort_r.
10203 * nscd/gai.c (__qsort_r): Define to qsort_r.
10204 * posix/tst-rfc3484.c (__qsort_r): Likewise.
10205 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10206 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10209 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10210 define as weak alias of __malloc_info.
10213 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10214 as weak alias of __rewinddir. Don't use libc_hidden_def.
10215 (__rewinddir): Use libc_hidden_def.
10216 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10217 as weak alias of __rewinddir. Don't use libc_hidden_def.
10218 (__rewinddir): Use libc_hidden_def.
10219 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10220 weak alias of __rewinddir. Don't use libc_hidden_def.
10221 (__rewinddir): Use libc_hidden_def.
10222 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10223 (__rewinddir): Use libc_hidden_proto.
10224 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10226 (__getcwd): Use __rewinddir instead of rewinddir.
10229 * libio/fileno.c (fileno): Rename to __fileno and define as weak
10230 alias of __fileno. Use libc_hidden_weak.
10231 (__fileno): Use libc_hidden_def.
10232 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10233 * libio/ftello.c (ftello): Rename to __ftello and define as weak
10235 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10237 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10238 (__fread_unlocked): Define as strong alias of _IO_fread. Use
10240 (fread_unlocked): Don't use libc_hidden_ver.
10241 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10242 and define as weak alias of __fread_unlocked. Don't use
10244 (__fread_unlocked): Use libc_hidden_def.
10245 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
10246 (ftello): Don't use libc_hidden_proto.
10247 (__ftello): Declare. Use libc_hidden_proto.
10248 (fread_unlocked): Don't use libc_hidden_proto.
10249 (__fread_unlocked): Declare. Use libc_hidden_proto.
10250 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10251 and __ftello instead of fileno, fread_unlocked and ftello.
10253 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10255 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10257 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10259 (_dl_start_user): Likewise.
10260 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10262 2014-11-12 Carlos O'Donell <carlos@redhat.com>
10263 Siddhesh Poyarekar <siddhesh@redhat.com>
10265 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10266 Move argv and envp down instead of moving argc up.
10267 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10269 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
10272 * test-skeleton.c (main): Return successful if one of
10273 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10274 * string/tst-strcoll-overflow.c: Define expected status.
10276 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
10279 * locale/iso-639.def: Define Bhili and Tulu language codes.
10281 2014-11-11 Alan Hayward <alan.hayward@arm.com>
10283 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10285 2014-11-10 Renlin Li <Renlin.Li@arm.com>
10288 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10290 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10292 * configure.ac: Updated check of minimal required version to
10294 * manual/install.texi (Tools for Compilation): Updated version
10296 * configure: Regenerated.
10297 * INSTALL: Likewise.
10299 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
10301 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10304 2014-11-07 Joseph Myers <joseph@codesourcery.com>
10306 * include/sys/wait.h (__libc_waitpid): Remove declaration.
10307 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10308 (__waitpid): Don't define as alias. Use libc_hidden_def not
10310 (waitpid): Define as alias of __waitpid.
10311 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10313 (__waitpid): Don't define as alias. Use libc_hidden_def not
10315 (waitpid): Define as alias of __waitpid.
10316 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10317 __libc_waitpid alias.
10318 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10319 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10321 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10322 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10323 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10325 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10327 (__waitpid): Don't define as alias. Use libc_hidden_def not
10329 (waitpid): Define as alias of __waitpid.
10331 2014-11-06 Carlos O'Donell <carlos@redhat.com>
10333 * manual/llio.texi: Add comment that write safety has been
10336 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10337 (localplt-build-dso): Add elf/ld.so.
10338 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10339 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10340 and free for ld.so.
10341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10342 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10347 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10348 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10349 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10350 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10351 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10352 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10353 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10354 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10355 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10356 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10357 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10359 2014-11-05 Joseph Myers <joseph@codesourcery.com>
10362 * include/libc-symbols.h (INTUSE): Remove macro.
10363 (INTDEF): Likewise.
10364 (INTVARDEF): Likewise.
10365 (_INTVARDEF): Likewise.
10366 (INTDEF2): Likewise.
10367 (INTVARDEF2): Likewise.
10368 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10369 rtld_hidden_def instead of INTVARDEF.
10370 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10371 (_dl_starting_up_internal): Remove declaration.
10372 (_dl_starting_up): Use rtld_hidden_proto.
10373 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10375 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10376 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10378 * elf/dl-writev.h (_dl_writev): Likewise.
10379 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10380 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10381 _dl_starting_up_internal.
10383 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10385 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10388 2014-11-05 Will Newton <will.newton@linaro.org>
10390 * benchtests/Makefile: (bench-malloc): Add malloc thread
10391 scalability benchmark.
10392 * benchtests/bench-malloc-threads.c: New file.
10394 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
10396 * sysdeps/aarch64/strchrnul.S: New file.
10398 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10400 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10402 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10404 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10406 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10408 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10410 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10413 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
10415 * catgets/test-gencat.c: Use test-skeleton.c.
10416 * catgets/tst-catgets.c: Likewise.
10417 * csu/tst-empty.c: Likewise.
10418 * elf/tst-audit2.c: Likewise.
10419 * elf/tst-global1.c: Likewise.
10420 * elf/tst-pathopt.c: Likewise.
10421 * elf/tst-piemod1.c: Likewise.
10422 * elf/tst-tls10.c: Likewise.
10423 * elf/tst-tls11.c: Likewise.
10424 * elf/tst-tls12.c: Likewise.
10425 * gnulib/tst-gcc.c: Likewise.
10426 * iconvdata/tst-e2big.c: Likewise.
10427 * iconvdata/tst-loading.c: Likewise.
10428 * iconv/tst-iconv1.c: Likewise.
10429 * iconv/tst-iconv2.c: Likewise.
10430 * inet/test-inet6_opt.c: Likewise.
10431 * inet/tst-gethnm.c: Likewise.
10432 * inet/tst-network.c: Likewise.
10433 * inet/tst-ntoa.c: Likewise.
10434 * intl/tst-codeset.c: Likewise.
10435 * intl/tst-gettext2.c: Likewise.
10436 * intl/tst-gettext3.c: Likewise.
10437 * intl/tst-ngettext.c: Likewise.
10438 * intl/tst-translit.c: Likewise.
10439 * io/test-stat.c: Likewise.
10440 * libio/test-fmemopen.c: Likewise.
10441 * libio/tst-freopen.c: Likewise.
10442 * libio/tst-sscanf.c: Likewise.
10443 * libio/tst-ungetwc1.c: Likewise.
10444 * libio/tst-ungetwc2.c: Likewise.
10445 * libio/tst-widetext.c: Likewise.
10446 * localedata/tst-ctype.c: Likewise.
10447 * localedata/tst-digits.c: Likewise.
10448 * localedata/tst-leaks.c: Likewise.
10449 * localedata/tst-mbswcs1.c: Likewise.
10450 * localedata/tst-mbswcs2.c: Likewise.
10451 * localedata/tst-mbswcs3.c: Likewise.
10452 * localedata/tst-mbswcs4.c: Likewise.
10453 * localedata/tst-mbswcs5.c: Likewise.
10454 * localedata/tst-setlocale.c: Likewise.
10455 * localedata/tst-trans.c: Likewise.
10456 * localedata/tst-wctype.c: Likewise.
10457 * localedata/tst-xlocale1.c: Likewise.
10458 * login/tst-grantpt.c: Likewise.
10459 * malloc/tst-calloc.c: Likewise.
10460 * malloc/tst-malloc.c: Likewise.
10461 * malloc/tst-mallocstate.c: Likewise.
10462 * malloc/tst-mcheck.c: Likewise.
10463 * malloc/tst-mtrace.c: Likewise.
10464 * malloc/tst-obstack.c: Likewise.
10465 * math/atest-exp2.c: Likewise.
10466 * math/atest-exp.c: Likewise.
10467 * math/atest-sincos.c: Likewise.
10468 * math/test-matherr.c: Likewise.
10469 * math/test-misc.c: Likewise.
10470 * math/test-powl.c: Likewise.
10471 * math/tst-definitions.c: Likewise.
10472 * misc/tst-dirname.c: Likewise.
10473 * misc/tst-efgcvt.c: Likewise.
10474 * misc/tst-fdset.c: Likewise.
10475 * misc/tst-hsearch.c: Likewise.
10476 * misc/tst-mntent2.c: Likewise.
10477 * nptl/tst-sem7.c: Likewise.
10478 * nptl/tst-sem8.c: Likewise.
10479 * nptl/tst-sem9.c: Likewise.
10480 * nss/test-netdb.c: Likewise.
10481 * posix/tst-fnmatch.c: Likewise.
10482 * posix/tst-getlogin.c: Likewise.
10483 * posix/tst-gnuglob.c: Likewise.
10484 * posix/tst-mmap.c: Likewise.
10485 * pwd/tst-getpw.c: Likewise.
10486 * resolv/tst-inet_ntop.c: Likewise.
10487 * rt/tst-timer.c: Likewise.
10488 * stdio-common/test-fseek.c: Likewise.
10489 * stdio-common/test-popen.c: Likewise.
10490 * stdio-common/test-vfprintf.c: Likewise.
10491 * stdio-common/tst-cookie.c: Likewise.
10492 * stdio-common/tst-fileno.c: Likewise.
10493 * stdio-common/tst-gets.c: Likewise.
10494 * stdio-common/tst-obprintf.c: Likewise.
10495 * stdio-common/tst-perror.c: Likewise.
10496 * stdio-common/tst-sprintf2.c: Likewise.
10497 * stdio-common/tst-sprintf3.c: Likewise.
10498 * stdio-common/tst-sprintf.c: Likewise.
10499 * stdio-common/tst-swprintf.c: Likewise.
10500 * stdio-common/tst-tmpnam.c: Likewise.
10501 * stdio-common/tst-unbputc.c: Likewise.
10502 * stdio-common/tst-wc-printf.c: Likewise.
10503 * stdlib/tst-environ.c: Likewise.
10504 * stdlib/tst-fmtmsg.c: Likewise.
10505 * stdlib/tst-limits.c: Likewise.
10506 * stdlib/tst-rand48-2.c: Likewise.
10507 * stdlib/tst-rand48.c: Likewise.
10508 * stdlib/tst-random2.c: Likewise.
10509 * stdlib/tst-random.c: Likewise.
10510 * stdlib/tst-strtol.c: Likewise.
10511 * stdlib/tst-strtoll.c: Likewise.
10512 * stdlib/tst-tls-atexit.c: Likewise.
10513 * stdlib/tst-xpg-basename.c: Likewise.
10514 * string/test-ffs.c: Likewise.
10515 * string/tst-bswap.c: Likewise.
10516 * string/tst-inlcall.c: Likewise.
10517 * string/tst-strtok.c: Likewise.
10518 * string/tst-strxfrm.c: Likewise.
10519 * sysdeps/x86_64/tst-audit10.c: Likewise.
10520 * sysdeps/x86_64/tst-audit3.c: Likewise.
10521 * sysdeps/x86_64/tst-audit4.c: Likewise.
10522 * sysdeps/x86_64/tst-audit5.c: Likewise.
10523 * time/tst-ftime_l.c: Likewise.
10524 * time/tst-getdate.c: Likewise.
10525 * time/tst-mktime3.c: Likewise.
10526 * time/tst-mktime.c: Likewise.
10527 * time/tst-posixtz.c: Likewise.
10528 * time/tst-strptime2.c: Likewise.
10529 * time/tst-strptime3.c: Likewise.
10530 * wcsmbs/tst-btowc.c: Likewise.
10531 * wcsmbs/tst-mbrtowc.c: Likewise.
10532 * wcsmbs/tst-mbsrtowcs.c: Likewise.
10533 * wcsmbs/tst-wchar-h.c: Likewise.
10534 * wcsmbs/tst-wcpncpy.c: Likewise.
10535 * wcsmbs/tst-wcrtomb.c: Likewise.
10536 * wcsmbs/tst-wcsnlen.c: Likewise.
10537 * wcsmbs/tst-wcstof.c: Likewise.
10539 2014-11-04 Joseph Myers <joseph@codesourcery.com>
10542 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10544 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10546 (_dl_mcount): Use rtld_hidden_proto.
10547 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10549 * elf/rtld.c (_rtld_global_ro): Likewise.
10552 * elf/dl-init.c (_dl_init): Don't use INTDEF.
10553 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10554 of _dl_init_internal.
10555 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10556 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10557 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10558 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10559 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10560 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10561 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10562 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10563 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10564 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10565 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10566 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10567 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10568 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10569 * sysdeps/tile/dl-start.S (_start): Likewise.
10570 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10571 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10574 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10575 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10576 (rtld_progname): Make macro definition unconditional.
10577 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10579 (dlmopen_doit): Do not use INTUSE with _dl_argv.
10580 (dl_main): Likewise.
10581 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10582 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10583 instead of _dl_argv_internal.
10584 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10585 __GI__dl_argv instead of INTUSE(_dl_argv).
10586 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10587 __GI__dl_argv instead of _dl_argv_internal.
10589 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10590 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10592 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10593 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10595 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10596 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10598 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10599 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10601 2014-11-04 Andreas Schwab <schwab@suse.de>
10603 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10605 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10607 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10608 mtvsrd instruction in binary form.
10610 2014-11-03 Andreas Schwab <schwab@suse.de>
10613 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10614 for less than MB_LEN_MAX use a local buffer of that size.
10615 * libio/tst-fputws.c: New file.
10616 * libio/Makefile (tests): Add tst-fputws.
10618 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
10620 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10621 the size of the fpu_fr.fpu_dregs[] array.
10623 2014-11-01 Joseph Myers <joseph@codesourcery.com>
10625 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10626 (__nanosleep): Do not define as alias.
10627 (nanosleep): Define as alias of __nanosleep.
10628 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10629 __libc_nanosleep name.
10631 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10633 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10634 install.texi in comment.
10636 2014-10-31 Torvald Riegel <triegel@redhat.com>
10638 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10639 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10640 ... add here and use lwsync or sync ...
10641 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10642 ... and add here using lwsync.
10644 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
10646 * elf/dl-machine-reject-phdr.h: New file.
10647 * elf/dl-load.c: #include that.
10648 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10649 if that returned true.
10651 2014-10-31 Roland McGrath <roland@hack.frob.com>
10654 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10655 gen-as-const-headers chunk. Add a big scare comment after the last
10656 safe place to touch before-compile.
10658 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10660 * manual/install.texi (Tools for Compilation): Update autoconf
10661 version requirements.
10662 * INSTALL: Regenerated.
10664 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10665 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10666 (__libc_pselect): Likewise.
10669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10674 2014-10-31 Torvald Riegel <triegel@redhat.com>
10676 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10677 correct barrier instruction.
10678 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10680 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10683 2014-10-30 Roland McGrath <roland@hack.frob.com>
10685 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10686 after defining inlines. Instead, just use parens to defeat macro
10687 expansion of __isctype in its declaration.
10689 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10691 * include/sys/uio.h (__libc_readv): Remove declaration.
10692 (__libc_writev): Likewise.
10693 * misc/readv.c (__libc_readv): Rename to __readv.
10694 (__readv): Do not define as alias.
10695 (readv): Define as alias of __readv.
10696 * misc/writev.c (__libc_writev): Rename to __writev.
10697 (__writev): Do not define as alias.
10698 (writev): Define as alias of __writev.
10699 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10700 (__readv): Do not define as alias.
10701 (readv): Define unconditionally as alias of __readv.
10702 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10703 (__writev): Do not define as alias.
10704 (writev): Define unconditionally as alias of __writev.
10705 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10707 (writev): Do not define __libc_writev name.
10709 2014-10-30 Roland McGrath <roland@hack.frob.com>
10711 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10712 (convert_charseq): New function, broken out of ...
10713 (use_from_charmap): ... here. Call it.
10714 (use_to_charmap): Use convert_charseq and free instead of duplicating
10715 its code with a variable-length stack struct.
10717 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10719 * include/fcntl.h (__libc_creat): Remove declaration.
10720 * io/creat.c (__libc_creat): Rename to creat.
10721 (creat): Do not define as alias.
10722 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10723 of creat instead of __libc_creat.
10724 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10726 (creat): Do not define as alias.
10727 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10729 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10731 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10734 2014-10-29 Carlos O'Donell <carlos@redhat.com>
10736 * manual/llio.texi: Add comments discussing why write() may be
10737 considered MT-unsafe on Linux.
10739 2014-10-28 Carlos O'Donell <carlos@redhat.com>
10741 * dl-load.c (local_strdup): Remove.
10742 (expand_dynamic_string_token): Use __strdup.
10743 (decompose_rpath): Likewise.
10744 (_dl_map_object): Likewise.
10746 2014-10-28 Joseph Myers <joseph@codesourcery.com>
10749 * sysdeps/generic/unwind-dw2-fde.c
10750 (__register_frame_info_bases_internal): Do not declare.
10751 (__register_frame_info_table_bases_internal): Likewise.
10752 (__deregister_frame_info_bases_internal): Likewise.
10753 (__register_frame_info_bases): Declare and use hidden_proto before
10754 definition. Use hidden_def instead of INTDEF.
10755 (__register_frame_info_table_bases): Likewise.
10756 (__deregister_frame_info_bases): Likewise.
10757 (__register_frame_info): Do not use INTUSE.
10758 (__register_frame): Likewise.
10759 (__register_frame_info_table): Likewise.
10760 (__register_frame_table): Likewise.
10761 (__deregister_frame_info): Likewise.
10762 (__deregister_frame): Likewise.
10764 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
10766 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10767 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10769 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10771 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10774 2014-10-27 Joseph Myers <joseph@codesourcery.com>
10777 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10778 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10779 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10780 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10781 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10782 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10783 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10784 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10785 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10786 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10787 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10788 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10789 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10791 (setfsuid): Likewise.
10792 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10793 (setfsuid): Likewise.
10794 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10795 (setfsuid): Likewise.
10796 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10798 (setfsuid): Likewise.
10799 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10800 (setfsuid): Likewise.
10801 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10803 (setfsuid): Likewise.
10805 2014-10-27 Andreas Schwab <schwab@suse.de>
10808 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10809 check for Slow_SSE4_2 feature bit.
10810 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10811 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10812 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10813 Likewise. Fix check for Fast_Unaligned_Load feature bit.
10815 2014-10-24 Roland McGrath <roland@hack.frob.com>
10817 * configure.ac: Validate compiler version with a empirical test of
10818 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10820 * configure: Regenerated.
10822 * inet/htons.c (htons): Prototypify.
10823 * inet/htonl.c (htonl): Likewise.
10825 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10827 * string/strncat.c (strncat): Improve performance by using strlen.
10829 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10831 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10833 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10835 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10836 Call libc_fetestexcept_aarch64.
10838 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10840 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10841 Call libc_feholdexcept_aarch64.
10843 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10845 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10846 Call get_rounding_mode.
10848 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10850 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10853 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10855 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10858 2014-10-24 Joseph Myers <joseph@codesourcery.com>
10861 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10862 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10863 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10864 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10865 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10866 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10867 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10868 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10869 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10870 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10871 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10872 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10873 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10874 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10875 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10876 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10877 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10878 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10879 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10880 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10881 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10882 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10883 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10884 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10885 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10886 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10887 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10888 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10889 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10890 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10891 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10892 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10893 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10894 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10895 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10896 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10897 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10898 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10899 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10900 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10901 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10903 (geteuid): Likewise.
10904 (getgid): Likewise.
10905 (getuid): Likewise.
10906 (getresgid): Likewise.
10907 (getresuid): Likewise.
10908 (getgroups): Likewise.
10909 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10910 (geteuid): Likewise.
10911 (getgid): Likewise.
10912 (getuid): Likewise.
10913 (getresgid): Likewise.
10914 (getresuid): Likewise.
10915 (getgroups): Likewise.
10916 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10917 (geteuid): Likewise.
10918 (getgid): Likewise.
10919 (getuid): Likewise.
10920 (getresgid): Likewise.
10921 (getresuid): Likewise.
10922 (getgroups): Likewise.
10923 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10925 (geteuid): Likewise.
10926 (getgid): Likewise.
10927 (getuid): Likewise.
10928 (getresgid): Likewise.
10929 (getresuid): Likewise.
10930 (getgroups): Likewise.
10931 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10932 (geteuid): Likewise.
10933 (getgid): Likewise.
10934 (getuid): Likewise.
10935 (getresgid): Likewise.
10936 (getresuid): Likewise.
10937 (getgroups): Likewise.
10938 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10940 (geteuid): Likewise.
10941 (getgid): Likewise.
10942 (getuid): Likewise.
10943 (getgroups): Likewise.
10946 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10947 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10948 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10949 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10950 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10951 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10952 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10953 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10954 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10955 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10956 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10957 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10958 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10960 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10961 (lchown): Likewise.
10962 (fchown): Likewise.
10963 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10965 (lchown): Likewise.
10966 (fchown): Likewise.
10967 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10968 (lchown): Likewise.
10969 (fchown): Likewise.
10970 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10972 (lchown): Likewise.
10973 (fchown): Likewise.
10975 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10977 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10980 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10982 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10985 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10987 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10988 Remove unused include.
10990 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10992 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10993 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10994 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10995 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10997 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
10998 Helge Deller <deller@gmx.de>
11001 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11002 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11003 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11005 2014-10-23 Joseph Myers <joseph@codesourcery.com>
11008 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11009 Remove macro definition.
11010 (__ashrdi3_v_glibc20): Likewise.
11011 (__lshrdi3_v_glibc20): Likewise.
11012 (__cmpdi2_v_glibc20): Likewise.
11013 (__ucmpdi2_v_glibc20): Likewise.
11014 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11015 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11016 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11017 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11018 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11019 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11021 2014-10-22 Roland McGrath <roland@hack.frob.com>
11023 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11024 old GNU extension [0] syntax.
11025 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11026 alloca rather than an array member with variable length.
11027 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11028 * nscd/nscd.c (invalidate_db): New function, broken out of ...
11029 (parse_opt): ... here. Likewise use alloca there.
11030 Validate the -i argument before checking for rootness.
11031 (send_shutdown): New function, broken out of ...
11032 (parse_opt): ... here.
11034 2014-10-22 Roland McGrath <roland@hack.frob.com>
11036 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11037 macro to get at the _rt_local_ro field.
11038 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11039 ([PIC] case) or _dl_hwcap ([!PIC] case).
11040 * sysdeps/arm/setjmp.S: Likewise.
11042 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11043 * sysdeps/arm/configure.ac: New check to define it.
11044 * sysdeps/arm/configure: Regenerated.
11045 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11046 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11047 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11048 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11049 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11050 Use move/movt pair instead of a load.
11051 (LDST_GLOBAL): Macro removed.
11052 (LDR_GLOBAL): New macro replaces it.
11053 (LDR_HIDDEN): New macro.
11054 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11055 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11057 * setjmp/tst-setjmp-static.c: New file.
11058 * setjmp/Makefile (tests): Add it.
11059 (tests-static): New variable.
11061 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
11064 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11066 2014-10-21 Joseph Myers <joseph@codesourcery.com>
11069 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11071 2014-10-21 Roland McGrath <roland@hack.frob.com>
11073 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11075 2014-10-20 Roland McGrath <roland@hack.frob.com>
11077 * io/fts.c (dirent_not_directory): New function.
11078 (fts_build): Call it.
11080 2014-10-20 Roland McGrath <roland@hack.frob.com>
11082 * nptl/version.c (__nptl_main): Use normal __write rather than
11084 (banner): Update copyright years.
11086 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11088 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11089 * nptl/pthread_cond_timedwait.c: Likewise.
11090 * nptl/pthread_mutex_timedlock.c: Likewise.
11091 * nptl/sem_timedwait.c: Likewise.
11093 * sysdeps/nptl/bits/libc-lock.h
11094 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11095 (__libc_lock_init_recursive): Return void, not 0.
11096 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11097 (__libc_rwlock_init): Likewise.
11098 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11100 2014-10-20 Torvald Riegel <triegel@redhat.com>
11103 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11104 (__pthread_once_slow): ... here.
11105 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11106 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11108 2014-10-20 Torvald Riegel <triegel@redhat.com>
11111 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11112 __PTHREAD_ONCE_FORK_GEN_INCR): New.
11113 * sysdeps/nptl/fork.c (__libc_fork): Use them.
11114 * nptl/pthread_once.c (__pthread_once): Likewise.
11117 2014-10-20 Joseph Myers <joseph@codesourcery.com>
11120 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11122 (writev): Use __libc_writev as strong name.
11123 * sysdeps/unix/sysv/linux/readv.c: Remove file.
11124 * sysdeps/unix/sysv/linux/writev.c: Likewise.
11126 2014-10-17 Roland McGrath <roland@hack.frob.com>
11128 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11130 * sysdeps/i386/nptl/tls.h
11131 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11132 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11134 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11135 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11136 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11137 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11138 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11139 Call CHECK_THREAD_SYSINFO instead of doing an assert.
11141 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11142 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11144 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11146 (__pthread_mutex_init): ... here. Call it.
11147 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11148 Conditionalize PI cases on [__NR_futex].
11149 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11150 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11151 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11153 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11154 conditional on [SIGSETXID].
11155 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11156 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11157 is defined. Likewise for SIGSETXID.
11158 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11159 Conditionalize definitions on [SIGSETXID].
11160 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11161 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11162 unblocking on [SIGCANCEL].
11164 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11165 [__NR_set_robust_list].
11167 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11169 * string/strcoll_l.c (get_next_seq): Fix up formatting.
11170 (do_compare): Likewise.
11172 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
11175 * string/strcoll_l.c: Don't include stdio.h.
11176 (coll_seq): Remove members idxarr and rulearr.
11177 (get_next_seq_cached): Remove function.
11178 (get_next_seq): Likewise.
11179 (get_next_seq_nocache): Rename to get_next_seq.
11180 (do_compare): Remove function.
11181 (do_compare_nocache): Rename to do_compare.
11182 (STRCOLL): Remove weight and rules cache.
11184 2014-10-16 Roland McGrath <roland@hack.frob.com>
11186 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11187 * sysdeps/arm/sfp-machine.h: ... to here.
11188 * sysdeps/arm/Implies: Remove arm/soft-fp.
11190 2014-10-14 Joseph Myers <joseph@codesourcery.com>
11192 * conform/data/sys/utsname.h-data (*_t): Allow.
11193 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11194 [POSIX] (WEXITED): Do not expect constant.
11195 [POSIX] (WSTOPPED): Likewise.
11196 [POSIX] (WNOHANG): Likewise.
11197 [POSIX] (WNOWAIT): Likewise.
11198 [POSIX] (siginfo_t): Do not expect type or elements.
11199 [POSIX] (pid_t): Do not expect type.
11200 [POSIX] (signal.h): Do not allow header.
11201 [POSIX] (sys/resource.h): Likewise.
11202 [POSIX] (si_*): Do not allow pattern.
11203 [POSIX] (W*): Likewise.
11204 [POSIX] (P_*): Likewise.
11205 [POSIX] (BUS_*): Likewise.
11206 [POSIX] (CLD_*): Likewise.
11207 [POSIX] (FPE_*): Likewise.
11208 [POSIX] (ILL_*): Likewise.
11209 [POSIX] (POLL_*): Likewise.
11210 [POSIX] (SEGV_*): Likewise.
11211 [POSIX] (SI_*): Likewise.
11212 [POSIX] (TRAP_*): Likewise.
11213 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11216 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
11219 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11220 infinite loop when __recvmsg returns 0.
11222 2014-10-10 Joseph Myers <joseph@codesourcery.com>
11224 * CANCEL-FCT-WAIVE: Remove file.
11225 * CANCEL-FILE-WAIVE: Likewise.
11228 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11229 instead of INTVARDEF.
11230 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11231 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11232 rtld_hidden_data_def instead of INTVARDEF.
11233 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11234 * elf/dl-deps.c (expand_dst): Likewise.
11235 * elf/dl-load.c (_dl_dst_count): Likewise.
11236 (_dl_dst_substitute): Likewise.
11237 (decompose_rpath): Likewise.
11238 (_dl_init_paths): Likewise.
11239 (open_path): Likewise.
11240 (_dl_map_object): Likewise.
11241 * elf/rtld.c (dl_main): Likewise.
11242 (process_dl_audit): Likewise.
11243 (process_envvars): Likewise.
11244 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11245 Remove declaration.
11246 (__libc_enable_secure): Use rtld_hidden_proto.
11248 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11251 (add_path): New function broken out of _dl_rtld_di_serinfo.
11252 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
11254 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11256 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11257 parentheses around macro arguments.
11258 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11259 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11260 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11261 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11262 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11263 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11264 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11265 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11266 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11267 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11268 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11269 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11270 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11271 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11272 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11273 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11274 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11275 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11276 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11277 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11278 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11279 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11280 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11281 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11282 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11283 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11284 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11285 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11286 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11287 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11288 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11289 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11290 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11291 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11292 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11293 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11295 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11296 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11297 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11298 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11299 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11300 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11301 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11302 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11303 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11304 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11305 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11306 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11307 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11308 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11309 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11310 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11311 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11312 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11313 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11314 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11315 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11316 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11317 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11318 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11319 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11320 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11321 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11322 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11323 (_FP_FRAC_SRS_1): Likewise.
11324 (_FP_FRAC_CLZ_1): Likewise.
11325 (_FP_MUL_MEAT_1_imm): Likewise.
11326 (_FP_MUL_MEAT_1_wide): Likewise.
11327 (_FP_MUL_MEAT_1_hard): Likewise.
11328 (_FP_SQRT_MEAT_1): Likewise.
11329 (_FP_FRAC_ASSEMBLE_1): Likewise.
11330 (_FP_FRAC_DISASSEMBLE_1): Likewise.
11331 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11332 (__FP_CLZ_2): Likewise.
11333 (_FP_MUL_MEAT_2_wide): Likewise.
11334 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11335 (_FP_MUL_MEAT_2_gmp): Likewise.
11336 (_FP_MUL_MEAT_2_120_240_double): Likewise.
11337 (_FP_SQRT_MEAT_2): Likewise.
11338 (_FP_FRAC_ASSEMBLE_2): Likewise.
11339 (_FP_FRAC_DISASSEMBLE_2): Likewise.
11340 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11341 (_FP_FRAC_CLZ_4): Likewise.
11342 (_FP_MUL_MEAT_4_wide): Likewise.
11343 (_FP_MUL_MEAT_4_gmp): Likewise.
11344 (_FP_SQRT_MEAT_4): Likewise.
11345 (_FP_FRAC_ASSEMBLE_4): Likewise.
11346 (_FP_FRAC_DISASSEMBLE_4): Likewise.
11347 * soft-fp/op-common.h (_FP_CMP): Likewise.
11348 (_FP_CMP_EQ): Likewise.
11349 (_FP_CMP_UNORD): Likewise.
11350 (_FP_TO_INT): Likewise.
11351 (_FP_FROM_INT): Likewise.
11352 [!__FP_CLZ] (__FP_CLZ): Likewise.
11353 (_FP_DIV_HELP_imm): Likewise.
11354 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11356 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11357 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11358 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11359 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11360 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11361 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11362 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11363 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11364 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11365 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11366 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11367 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11368 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11369 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11370 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11371 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11372 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11373 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11374 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11375 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11376 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11377 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11378 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11379 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11380 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11381 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11382 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11383 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11384 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11385 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11386 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11387 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11388 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11389 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11390 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11391 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11392 (FP_UNPACK_RAW_SP): Likewise.
11393 (FP_PACK_RAW_S): Likewise.
11394 (FP_PACK_RAW_SP): Likewise.
11395 (FP_UNPACK_S): Likewise.
11396 (FP_UNPACK_SP): Likewise.
11397 (FP_UNPACK_SEMIRAW_S): Likewise.
11398 (FP_UNPACK_SEMIRAW_SP): Likewise.
11399 (FP_PACK_S): Likewise.
11400 (FP_PACK_SP): Likewise.
11401 (FP_PACK_SEMIRAW_S): Likewise.
11402 (FP_PACK_SEMIRAW_SP): Likewise.
11403 (_FP_SQRT_MEAT_S): Likewise.
11404 (FP_CMP_S): Likewise.
11405 (FP_CMP_EQ_S): Likewise.
11406 (FP_CMP_UNORD_S): Likewise.
11407 (FP_TO_INT_S): Likewise.
11408 (FP_FROM_INT_S): Likewise.
11410 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11412 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11413 (FP_EX_INVALID_IMZ): Likewise.
11414 (FP_EX_INVALID_IMZ_FMA): Likewise.
11415 (FP_EX_INVALID_ISI): Likewise.
11416 (FP_EX_INVALID_ZDZ): Likewise.
11417 (FP_EX_INVALID_IDI): Likewise.
11418 (FP_EX_INVALID_SQRT): Likewise.
11419 (FP_EX_INVALID_CVI): Likewise.
11420 (FP_EX_INVALID_VC): Likewise.
11421 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11422 "invalid" exceptions.
11423 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11424 (_FP_ADD_INTERNAL): Likewise.
11425 (_FP_MUL): Likewise.
11426 (_FP_FMA): Likewise.
11427 (_FP_DIV): Likewise.
11428 (_FP_CMP_CHECK_NAN): Likewise.
11429 (_FP_SQRT): Likewise.
11430 (_FP_TO_INT): Likewise.
11431 (FP_EXTEND): Likewise.
11433 2014-10-09 Allan McRae <allan@archlinux.org>
11435 * po/fr.po: Update French translation from translation project.
11437 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11440 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11442 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11443 (__cxa_atexit): Use libc_hidden_proto.
11444 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11447 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11449 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11450 [!_ISOMAC] (__iswspace_l_internal): Likewise.
11451 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11452 [!_ISOMAC] (__iswctype_internal): Likewise.
11453 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11454 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11456 (fcntl): Remove __fcntl_internal alias.
11457 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11458 __connect_internal alias.
11459 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11462 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11463 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11465 (_FP_CHECK_FLUSH_ZERO): New macro.
11466 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11467 (_FP_CMP): Likewise.
11468 (_FP_CMP_EQ): Likewise.
11469 (_FP_TO_INT): Do not set inexact for subnormal arguments if
11471 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11472 (FP_TRUNC): Likewise.
11474 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11475 treated as invalid conversion, not as normal exponent.
11477 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11478 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
11479 (_FP_CMP_EQ): Likewise.
11480 (_FP_CMP_UNORD): Likewise.
11481 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11482 (FP_CMP_EQ_D): Likewise.
11483 (FP_CMP_UNORD_D): Likewise.
11484 * soft-fp/extended.h (FP_CMP_E): Likewise.
11485 (FP_CMP_EQ_E): Likewise.
11486 (FP_CMP_UNORD_E): Likewise.
11487 * soft-fp/quad.h (FP_CMP_Q): Likewise.
11488 (FP_CMP_EQ_Q): Likewise.
11489 (FP_CMP_UNORD_Q): Likewise.
11490 * soft-fp/single.h (FP_CMP_S): Likewise.
11491 (FP_CMP_EQ_S): Likewise.
11492 (FP_CMP_UNORD_S): Likewise.
11493 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11494 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11495 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11496 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11497 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11498 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11499 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11500 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11501 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11502 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11503 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11504 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11505 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11507 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11509 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11510 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11512 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11514 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11515 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11516 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11517 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11519 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11521 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11522 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11524 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11526 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11527 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11528 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11529 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11532 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11533 a subnormal result, set the underflow exception if trapping on
11534 underflow is enabled.
11535 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11536 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11537 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11539 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11540 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11541 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11542 * soft-fp/extendxftf2.c (__extendxftf2): Use
11543 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11545 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11546 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11547 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11548 FP_HANDLE_EXCEPTIONS.
11549 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11550 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11551 FP_HANDLE_EXCEPTIONS.
11552 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11553 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11554 FP_HANDLE_EXCEPTIONS.
11555 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11556 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11557 FP_HANDLE_EXCEPTIONS.
11559 2014-10-08 Joseph Myers <joseph@codesourcery.com>
11562 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11563 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11565 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11566 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11568 (__adjtimex): Define using libc_hidden_ver.
11569 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11570 Remove declaration.
11571 (ntp_gettime): Call __adjtimex directly.
11572 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11573 Remove declaration.
11574 (ntp_gettimex): Call __adjtimex directly.
11575 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11576 __adjtimex_internal alias.
11578 2014-10-08 Roland McGrath <roland@hack.frob.com>
11581 * nscd/nscd.c (more_help): Rewrite list of tables collection
11582 using xstrdup and asprintf.
11584 * nscd/nscd_conf.c: Remove local xstrdup declaration.
11586 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11587 Roland McGrath <roland@hack.frob.com>
11589 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11590 (do_lookup_unique): ... local function 'enter' here; update callers.
11592 2014-10-06 Joseph Myers <joseph@codesourcery.com>
11594 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11595 compat_symbol calls on [SHARED].
11596 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11597 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11599 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11600 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11601 (oldsetrlimit): Remove.
11602 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11604 (lchown): New syscall entry.
11605 (oldsetrlimit): Remove.
11606 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11607 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11608 (oldsetrlimit): Remove.
11609 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11612 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11613 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11614 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11615 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11616 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11617 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11618 (fchown): Likewise.
11619 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11620 (fchown): Likewise.
11621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11624 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11626 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11627 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11628 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11629 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11630 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11632 (__old_sem_post): Likewise.
11634 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
11636 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11637 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11638 HAVE_CLOCK_GETTIME_VSYSCALL macros.
11639 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11640 Use INLINE_VSYSCALL macro.
11641 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11642 __vdso_clock_gettime.
11643 * sysdeps/unix/sysv/linux/tile/init-first.c
11644 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11645 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11646 __vdso_clock_gettime.
11648 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11649 to set up frame more cleanly.
11651 * sysdeps/tile/memcmp.c: New file.
11653 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11655 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11656 * sysdeps/tile/tilegx/strcasestr.c: New file.
11657 * sysdeps/tile/tilegx/strnlen.c: New file.
11658 * sysdeps/tile/tilegx/strstr.c: New file.
11660 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11662 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
11664 * nptl/tst-setuid3.c: Write errors to stdout.
11666 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11669 (preload): New functions broken out of _dl_map_object_deps.
11670 (_dl_map_object_deps): Remove a nested function. Update call sites.
11672 2014-10-01 Joseph Myers <joseph@codesourcery.com>
11675 * sysdeps/unix/sysv/linux/execve.c: Remove file.
11676 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11678 2014-10-01 Steve Ellcey <sellcey@mips.com>
11680 * sysdeps/mips/strcmp.S: New.
11682 2014-09-30 Joseph Myers <joseph@codesourcery.com>
11685 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11686 (linkat): Likewise.
11687 (mkdirat): Likewise.
11688 (readlinkat): Likewise.
11689 (renameat): Likewise.
11690 (symlinkat): Likewise.
11691 (unlinkat): Likewise.
11692 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11693 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11694 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11695 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11696 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11697 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11698 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11700 2014-09-30 Will Newton <will.newton@linaro.org>
11702 * math/math.h: Define long double math functions if
11703 _LIBC_TEST is defined.
11704 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11706 * localedata/Makefile: Move assignment to tests-special
11707 into an ifdef testing run-built-tests.
11708 * timezone/Makefile: Likewise.
11710 2014-09-29 Joseph Myers <joseph@codesourcery.com>
11712 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11713 with $(BASH) not $(SHELL).
11715 2014-09-29 Carlos O'Donell <carlos@redhat.com>
11716 Matthew LeGendre <legendre1@llnl.gov>
11719 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11722 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11724 * stdio-common/printf_fp.c
11725 (hack_digit): New function, broken out of ...
11726 (__printf_fp): ... local function here. Update call sites.
11727 hack_digit now takes an additional parameter that is a pointer
11728 to a struct of the referenced locals. Those locals moved inside
11729 the struct and references updated.
11731 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
11733 * aclocal.m4: Require autoconf 2.69.
11734 * configure: Regenerated.
11735 * sysdeps/aarch64/configure: Likewise.
11736 * sysdeps/alpha/configure: Likewise.
11737 * sysdeps/arm/armv7/configure: Likewise.
11738 * sysdeps/arm/configure: Likewise.
11739 * sysdeps/ia64/configure: Likewise.
11740 * sysdeps/mach/configure: Likewise.
11741 * sysdeps/mips/configure: Likewise.
11742 * sysdeps/s390/configure: Likewise.
11743 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11746 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11748 * sysdeps/ia64/configure.ac: Likewise.
11750 2014-09-26 Joseph Myers <joseph@codesourcery.com>
11752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11753 specify symbol version for ld.so. Do not include entry for
11755 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11756 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11757 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11760 * Makeconfig [$(build-shared) = yes]
11761 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11763 [$(build-shared) = yes && $(soversions.mk-done) = t]
11764 ($(common-objpfx)gnu/lib-names.h): Remove rule.
11765 [$(build-shared) = yes && $(soversions.mk-done) = t]
11766 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
11768 [$(build-shared) = yes && $(soversions.mk-done) = t]
11769 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11771 [$(build-shared) = yes && $(soversions.mk-done) = t]
11772 (common-generated): Don't append gnu/lib-names.h and
11773 gnu/lib-names.stmp here.
11774 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11775 (lib-names-h-abi): New variable.
11776 [$(build-shared) = yes && $(soversions.mk-done) = t]
11777 (lib-names-stmp-abi): Likewise.
11778 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11779 abi-variants] (before-compile): Append
11780 $(common-objpfx)$(lib-names-h-abi).
11781 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11782 abi-variants] (common-generated): Append gnu/lib-names.h.
11783 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11784 abi-variants] (install-others-nosubdir): Depend on
11785 $(inst_includedir)/$(lib-names-h-abi).
11786 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11787 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11788 [$(build-shared) = yes && $(soversions.mk-done) = t]
11789 ($(common-objpfx)$(lib-names-h-abi)): New rule.
11790 [$(build-shared) = yes && $(soversions.mk-done) = t]
11791 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11792 [$(build-shared) = yes && $(soversions.mk-done) = t]
11793 (common-generated): Append $(lib-names-h-abi) and
11794 $(lib-names-stmp-abi).
11795 * scripts/lib-names.awk: Do not handle multi being set.
11796 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11798 (abi-lp64_be-ld-soname): Likewise.
11799 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11801 (abi-hard-ld-soname): Likewise.
11802 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11803 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11805 (abi-o32_hard-ld-soname): Likewise.
11806 (abi-o32_soft_2008-ld-soname): Likewise.
11807 (abi-o32_hard_2008-ld-soname): Likewise.
11808 (abi-n32_soft-ld-soname): Likewise.
11809 (abi-n32_hard-ld-soname): Likewise.
11810 (abi-n32_soft_2008-ld-soname): Likewise.
11811 (abi-n32_hard_2008-ld-soname): Likewise.
11812 (abi-n64_soft-ld-soname): Likewise.
11813 (abi-n64_hard-ld-soname): Likewise.
11814 (abi-n64_soft_2008-ld-soname): Likewise.
11815 (abi-n64_hard_2008-ld-soname): Likewise.
11816 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11818 (abi-64-v2-ld-soname): Likewise.
11819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11821 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11823 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11825 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11827 (abi-64-ld-soname): Likewise.
11828 (abi-x32-ld-soname): Likewise.
11829 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11831 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11833 2014-09-23 Joseph Myers <joseph@codesourcery.com>
11836 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11837 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11838 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11839 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11840 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11841 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11842 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11843 syscall entry for GLIBC_2.2 symbol version.
11844 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11847 (setrlimit): Likewise.
11848 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11851 2014-09-23 Will Newton <will.newton@linaro.org>
11853 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11854 _LINUX_ARM_SYSDEP_H include guard too.
11855 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11858 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11860 * sysdeps/unix/sysv/linux/eventfd.c:
11861 Make first argument unsigned.
11862 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11863 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11865 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
11867 * socket/recvmmsg.c (recvmmsg): Drop const argument.
11868 * socket/sys/socket.h: Likewise
11869 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11871 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11873 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11875 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
11877 * time/tst-ftime.c: New test.
11878 * time/Makefile (tests): Add tst-ftime.
11880 2014-09-17 Joseph Myers <joseph@codesourcery.com>
11882 * soft-fp/extended.h: Fix comment formatting.
11883 * soft-fp/op-1.h: Likewise.
11884 * soft-fp/op-2.h: Likewise.
11885 * soft-fp/op-4.h: Likewise.
11886 * soft-fp/op-8.h: Likewise.
11887 * soft-fp/op-common.h: Likewise.
11888 * soft-fp/soft-fp.h: Likewise.
11890 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11892 2014-09-16 Joseph Myers <joseph@codesourcery.com>
11895 * Makeconfig (soversions-default-setname): Remove variable.
11896 ($(common-objpfx)soversions.i): Don't pass default_setname to
11898 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11899 oldest_abi to abi-versions.awk.
11900 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11901 * config.make.in (oldest-abi): Remove variable.
11902 * configure.ac (--enable-oldest-abi): Remove configure option.
11903 * configure: Regenerated.
11904 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11906 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11907 * scripts/soversions.awk: Do not handle default_setname variable.
11908 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11910 * sysdeps/mach/hurd/configure: Regenerated.
11911 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11913 * sysdeps/unix/sysv/linux/configure: Regenerated.
11915 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11917 * elf/Makefile (CFLAGS-interp.c): Remove.
11918 ($(elf-objpfx)runtime-linker.h): Generate header with linker
11920 * elf/interp.c: Include generated runtime-linker.h
11922 * Makerules (lib%.so): Don't include $(+interp) in
11924 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11925 * dlfcn/eval.c: Remove file.
11927 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11931 * misc/sys/cdefs.h: Define __extern_always_inline for clang
11935 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11937 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11938 Jakub Jelinek <jakub@redhat.com>
11941 * libio/stdio.h: Check definition of __fortify_function
11942 instead of __extern_always_inline to include bits/stdio2.h.
11943 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11944 check if __extern_always_inline is defined.
11945 [__USE_MISC || __USE_XOPEN]: Likewise.
11946 [__USE_ISOC99] Likewise.
11947 * misc/sys/cdefs.h (__fortify_function): Define only if
11948 __extern_always_inline is defined.
11949 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11950 __extern_always_inline and __extern_inline only for g++-4.3
11951 and newer or a compatible gcc.
11953 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
11956 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11957 last change to handle zero prefix length.
11959 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11961 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11964 * posix/getconf.c (vars): Add _POSIX_IPV6 and
11965 _POSIX_RAW_SOCKETS.
11967 2014-09-13 Allan McRae <allan@archlinux.org>
11969 * po/ru.po: Update Russian translation from translation project.
11971 2014-09-12 Roland McGrath <roland@hack.frob.com>
11973 * locale/programs/locale.c (show_locale_vars): Inline local function
11974 into its sole call site. Clean up some style nits.
11975 (print_item): New function, broken out of ...
11976 (show_info): ... local function here. Clean up style nits.
11978 * locale/programs/ld-ctype.c (set_one_default): New function, broken
11980 (set_class_defaults): ... local function set_default here.
11981 Define set_default as a macro locally to pass constant parameters.
11982 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11983 rather than a shared local.
11985 * stdlib/rpmatch.c (try): New function, broken out of ...
11986 (rpmatch): ... local function here. Also, prototypify definition.
11988 2014-09-12 Joseph Myers <joseph@codesourcery.com>
11990 * scripts/soversions.awk: Do not handle configuration names.
11991 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11992 vendor and os variables to soversions.awk.
11993 * configure.ac: Do not modify gnu-* host_os.
11994 * configure: Regenerated
11995 * shlib-versions: Remove first column with configuration names.
11996 * nptl/shlib-versions: Likewise.
11997 * nptl_db/shlib-versions: Likewise.
11998 * sysdeps/hppa/shlib-versions: Likewise.
11999 * sysdeps/m68k/shlib-versions: Likewise.
12000 * sysdeps/mach/hurd/shlib-versions: Likewise.
12001 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12002 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12003 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12004 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12005 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12006 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12007 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12008 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12011 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12012 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12013 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12014 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12015 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12016 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12017 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12018 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12021 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12024 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12026 Condition symbol version definitions on [HAVE_ELFV2_ABI].
12028 * shlib-versions: Remove OS-specific entries. Moved to files in
12030 * sysdeps/mach/hurd/shlib-versions: New file.
12031 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12033 * nptl/shlib-versions: Remove architecture-specific entries.
12034 Moved to files in sysdeps.
12035 * shlib-versions: Likewise.
12036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12038 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12039 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12040 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12041 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12043 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12044 (UDP_NO_CHECK6_RX): Likewise.
12046 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12048 * sysdeps/posix/sysconf.c (__sysconf): Spell
12049 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12051 2014-08-12 Florian Weimer <fweimer@redhat.com>
12053 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12055 * iconv/Versions (__gconv_transliterate): Export for use from
12057 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12058 (struct __gconv_trans_data, __gconv_trans_fct,
12059 __gconv_trans_context_fct, __gconv_trans_query_fct,
12060 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12062 (struct __gconv_step_data): Remove __trans member.
12063 (__gconv_transliterate): Declaration moved from gconv_int.h. No
12064 longer hidden. Remove unused trans_data argument.
12065 * iconv/gconv_int.h (struct trans_struct): Remove definition.
12066 (__gconv_translit_find): Remove declaration.
12067 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
12069 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12070 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12071 trans_data argument. Add hidden definition.
12072 (__gconv_translit_find): Remove.
12073 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12074 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12075 * iconv/skeleton.c: Remove transliteration initialization.
12076 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12077 __gconv_step_data initialization.
12078 * libio/iofwide.c (__libio_translit_): Remove.
12079 (_IO_fwide): Adjust struct __gconv_step_data initialization.
12080 * wcsmbs/btowc.c (__btowc): Likewise.
12081 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12082 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12083 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12084 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12085 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12086 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12087 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12088 * wcsmbs/wctob.c (wctob): Likewise.
12090 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12093 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12094 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
12096 * sysdeps/x86/Makefile: Adjust.
12098 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12099 Roland McGrath <roland@hack.frob.com>
12101 * locale/weight.h: Add include guard.
12102 (findidx): Make static rather than auto; take new parameters
12103 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12104 * locale/weightwc.h: Likewise.
12105 * posix/fnmatch_loop.c
12106 (FCT): Change type of EXTRA from int32_t to wint_t.
12107 Don't include either header inside the function.
12108 Call FINDIDX rather than findidx, and pass new arguments.
12109 #undef FINDIDX at the end of the file.
12110 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12111 FINDIDX before including fnmatch_loop.c for the non-wide version.
12112 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12113 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12114 for the wide version.
12115 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12116 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12117 Pass new arguments to findidx.
12118 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12119 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12120 Don't #include it inside the function. Pass new arguments to findidx.
12121 * posix/regex_internal.h
12122 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12123 (re_string_elem_size_at): Don't #include it inside the function.
12124 Pass new arguments to findidx.
12125 * string/strcoll_l.c: #include WEIGHT_H at top level.
12126 (get_next_seq): Don't #include it inside the function.
12127 Pass new arguments to findidx.
12128 (get_next_seq_nocache): Likewise.
12129 * string/strxfrm_l.c: #include WEIGHT_H at top level.
12130 (STRXFRM): Don't #include it inside the function.
12131 Pass new arguments to findidx.
12133 2014-09-11 Florian Weimer <fweimer@redhat.com>
12136 * malloc/malloc.c (unlink): Turn asserts into a call to
12139 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
12142 * libio/wfileops (do_ftell_wide): Free OUT.
12144 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
12146 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12148 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12151 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12152 group if the current group is empty.
12154 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12156 * benchtests/bench-memset.c (test_main): Add more test from size
12157 from 32 to 512 bytes.
12158 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12159 Add POWER8 memset object.
12160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12161 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12162 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12164 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12166 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12167 multiarch POWER8 memset optimization.
12168 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12169 POWER8 memset optimization.
12171 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12172 Remove bzero multiarch objects.
12173 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12174 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12175 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12176 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12178 [__bzero]: Redefine to specific name.
12179 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12180 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12181 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12183 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12184 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12186 2014-09-10 Florian Weimer <fweimer@redhat.com>
12188 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12189 warnings into errors.
12191 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12192 __cxa_thread_atexit_impl prototype.
12194 2014-09-09 Steve Ellcey <sellcey@mips.com>
12196 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12197 Fix capitalization of error message.
12199 2014-09-09 Steve Ellcey <sellcey@mips.com>
12201 * sysdeps/mips/preconfigure: Modify ABI tests.
12203 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
12205 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12207 2014-09-07 Roland McGrath <roland@hack.frob.com>
12208 Carlos O'Donell <carlos@systemhalted.org>
12210 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12211 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12212 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12213 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12214 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12215 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12216 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12217 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12218 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12219 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12220 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12221 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12222 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12223 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12224 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12225 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12226 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12227 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12228 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12229 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12230 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12231 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12232 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12233 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12234 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12235 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12236 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12237 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12238 Deconditionalize the code that was previously under [RESET_PID].
12239 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12240 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12241 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12242 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12245 2014-09-08 Allan McRae <allan@archlinux.org>
12247 * version.h (RELEASE): Set to "development".
12248 (VERSION): Set to "2.20.90"
12250 2014-09-07 Allan McRae <allan@archlinux.org
12252 * version.h (RELEASE): Set to "stable".
12253 (VERSION): Set to "2.20"
12254 * include/features.h (__GLIBC_MINOR__): Set to 20.
12256 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12259 * po/ko.po: Update Korean translation from translation project.
12261 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
12264 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12265 macro for handling signed relocations.
12267 2014-09-03 Florian Weimer <fweimer@redhat.com>
12270 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12271 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12273 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12274 * iconvdata/ibm935.c (BODY): Likewise.
12275 * iconvdata/ibm937.c (BODY): Likewise.
12276 * iconvdata/ibm939.c (BODY): Likewise.
12277 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12279 * iconvdata/Makefile (iconv-test.out): Pass module list to test
12281 * iconvdata/run-iconv-test.sh: New test loop for checking for
12284 2014-09-02 Khem Raj <raj.khem@gmail.com>
12286 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12289 2014-09-01 Allan McRae <allan@archlinux.org>
12291 * po/eo.po: Update Esperanto translation from translation project.
12293 * po/ca.po: Update Catalan translation from translation project.
12295 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12297 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12298 __proc_dostop call.
12300 2014-08-27 Mark Wielaard <mjw@redhat.com>
12303 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12304 to call set_thread_area instead of hand written asm.
12305 (__NR_set_thread_area): Removed define.
12306 (TLS_FLAG_WRITABLE): Likewise.
12307 (__ASSUME_SET_THREAD_AREA): Remove check.
12308 (TLS_EBX_ARG): Remove define.
12309 (TLS_LOAD_EBX): Likewise.
12311 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12313 Simplify atomicity of socket creation in bind.
12315 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12316 looking up the name after linking the file.
12318 2014-08-27 Allan McRae <allan@archlinux.org>
12320 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12322 2014-08-26 Florian Weimer <fweimer@redhat.com>
12325 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12326 trans_compare, open_translit, __gconv_translit_find):
12327 Remove module loading code.
12329 2014-08-26 Allan McRae <allan@archlinux.org>
12331 * po/vi.po: Update Vietnamese translation from translation project.
12333 * po/uk.po: Update Ukrainian translation from translation project.
12335 * po/fr.po: Update French translation from translation project.
12337 * po/ru.po: Update Russian translation from translation project.
12339 * po/pl.po: Update Polish translation from translation project.
12341 * po/cs.po: Update Czech translation from translation project.
12343 * po/de.po: Update German translation from translation project.
12345 * po/bg.po: Update Bulgarian translation from translation project.
12347 * po/sv.po: Update Sweedish translation from translation project.
12349 * po/nl.po: Update Dutch translation from translation project.
12351 * po/es.po: Update Spanish translation from translation project.
12353 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12355 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12357 * catgets/Makefile (CPPFLAGS-gencat): Remove.
12358 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12359 (CPPFLAGS-iconvconfig): Likewise.
12360 * timezone/Makefile (CPPFLAGS-zic): Likewise.
12362 * include/libc-symbols.h: Remove unnecessary check for
12364 * nptl/pthreadP.h: Likewise.
12365 * sysdeps/aarch64/setjmp.S: Likewise.
12366 * sysdeps/alpha/setjmp.S: Likewise.
12367 * sysdeps/arm/sysdep.h: Likewise.
12368 * sysdeps/i386/setjmp.S: Likewise.
12369 * sysdeps/m68k/setjmp.c: Likewise.
12370 * sysdeps/posix/getcwd.c: Likewise.
12371 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12372 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12373 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12374 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12375 * sysdeps/sh/sh3/setjmp.S: Likewise.
12376 * sysdeps/sh/sh4/setjmp.S: Likewise.
12377 * sysdeps/unix/alpha/sysdep.h: Likewise.
12378 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12379 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12380 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12381 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12384 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12385 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12386 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12387 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12388 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12389 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12391 * sysdeps/x86_64/setjmp.S: Likewise.
12393 2014-08-13 Joseph Myers <joseph@codesourcery.com>
12396 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12398 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12399 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12401 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12403 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12406 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12407 and __x86_64__ when disabling x87 inline functions.
12409 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
12412 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12413 asm statement with __cpuid_count.
12415 2014-08-12 Mike Frysinger <vapier@gentoo.org>
12417 * configure.ac: Change __ehdr_start code to dereference the struct.
12418 Run readelf on the output to look for relocations.
12419 * configure: Regenerated.
12421 2014-08-12 Joseph Myers <joseph@codesourcery.com>
12424 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12426 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12428 2014-08-12 Roland McGrath <roland@hack.frob.com>
12430 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12432 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
12435 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12436 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12438 2014-08-12 Sean Anderson <seanga2@gmail.com>
12440 * malloc/malloc.c: Fix typo in comment.
12442 2014-08-09 Allan McRae <allan@archlinux.org>
12444 * Regenerate libc.po.
12446 2014-08-08 Mike Frysinger <vapier@gentoo.org>
12448 * intl/tst-gettext2.sh: Check every lang file for creation.
12450 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12452 * sysdeps/aarch64/fpu/math_private.h
12453 (libc_feholdsetround_noex_aarch64_ctx): New function.
12455 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12457 * sysdeps/arm/armv6/strcpy.S (strcpy):
12458 Fix performance issue in misaligned cases.
12460 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12462 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12463 Move definition from termios.h.
12464 (struct termio): Likewise.
12465 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12466 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12467 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12468 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12470 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12471 Move definition to ioctl-types.h
12472 (struct termio): Likewise.
12473 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12474 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12475 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12476 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12479 2014-08-05 Richard Henderson <rth@redhat.com>
12481 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12483 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12485 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12486 Use __feraiseexcept.
12487 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12488 Protect libm symbols with IS_IN_libm.
12490 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12492 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
12494 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12496 2014-08-04 Will Newton <will.newton@linaro.org>
12498 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12501 2014-08-04 Mike Frysinger <vapier@gentoo.org>
12503 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12504 variants for each function.
12506 2014-08-04 Roland McGrath <roland@hack.frob.com>
12508 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12510 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12511 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12513 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12514 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12515 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12516 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12517 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12518 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12519 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12520 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12521 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12522 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12523 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12524 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12525 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12526 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12527 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12528 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12529 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12530 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12531 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12532 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12533 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12534 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12535 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12536 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12537 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12538 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12539 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12540 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12541 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12542 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12543 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12544 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12545 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12546 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12547 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12548 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12549 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12550 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12551 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12552 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12553 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12554 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12555 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12556 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12557 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12558 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12559 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12560 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12561 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12562 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12563 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12564 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12565 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12567 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12568 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12570 2014-08-04 Roland McGrath <roland@hack.frob.com>
12572 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12573 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12574 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12575 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12576 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12577 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12579 2014-08-04 Roland McGrath <roland@hack.frob.com>
12581 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12582 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12583 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12584 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12586 2014-08-04 Roland McGrath <roland@hack.frob.com>
12588 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12589 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12590 (__libc_vfork): Define function under this name.
12591 (__vfork): Define as an alias.
12592 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12593 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12595 2014-08-04 Roland McGrath <roland@hack.frob.com>
12597 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12598 that was previously under [RESET_PID].
12599 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12601 2014-08-04 Andreas Schwab <schwab@suse.de>
12603 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12605 2014-08-03 Mike Frysinger <vapier@gentoo.org>
12607 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12610 2014-08-01 Roland McGrath <roland@hack.frob.com>
12612 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12614 2014-08-01 Richard Henderon <rth@redhat.com>
12616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12617 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12618 typo in exact zero test.
12619 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12620 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12621 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12623 2014-08-01 Roland McGrath <roland@hack.frob.com>
12625 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12626 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12627 * sysdeps/arm/sysdep.h: ... here.
12628 [!__ASSEMBLER__]: Include <stdint.h>.
12630 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12632 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12633 (HAVE_WCTYPE_H): Likewise.
12634 (HAVE_ISWCTYPE): Likewise.
12635 (ENABLE_NLS): Likewise.
12636 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12637 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12639 * posix/regex_internal.c: Check if DEBUG is defined and is
12642 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12643 (HAVE_MBSRTOWCS): Likewise.
12644 * posix/fnmatch.c: Include string.h unconditionally.
12646 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12648 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12651 2014-07-31 Roland McGrath <roland@hack.frob.com>
12653 * sysdeps/generic/safe-fatal.h: New file.
12654 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12655 * nptl/forward.c: Include it.
12656 (__pthread_unwind): Use __safe_fatal as default action, rather
12657 than a bogus use of INTERNAL_SYSCALL that could never work.
12659 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12660 * configure.ac (libc_cv_builtin_trap): New test.
12661 * configure: Regenerated.
12662 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12663 (ABORT_INSTRUCTION): Define using __builtin_trap.
12665 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12666 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12667 * sysdeps/nptl/nptl-signals.h: New file.
12668 * nptl/pthreadP.h: Include <nptl-signals.h>.
12670 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12672 * sysdeps/s390/s390-64/utf16-utf32-z9.c
12673 (ONE_DIRECTION): Define.
12674 * sysdeps/s390/s390-64/utf8-utf16-z9.c
12675 (ONE_DIRECTION): Define.
12676 * sysdeps/s390/s390-64/utf8-utf32-z9.c
12677 (ONE_DIRECTION): Define.
12679 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12681 * sysdeps/s390/Makefile: Delete file.
12682 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12683 * sysdeps/s390/__longjmp.c: Delete file.
12684 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12685 Remove fields __flags and __reserved.
12686 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12687 and add versioning.
12688 * sysdeps/s390/rtld-__longjmp.c: Delete file.
12689 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12690 * sysdeps/s390/rtld-setjmp.S: Likewise.
12691 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12692 * sysdeps/s390/s390-32/__longjmp.c: ... here.
12693 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12694 * sysdeps/s390/s390-32/setjmp.S: ... here.
12696 (__sigsetjmp): Remove setting __flags field.
12697 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12698 * sysdeps/s390/s390-64/__longjmp.c: ... here.
12699 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12700 * sysdeps/s390/s390-64/setjmp.S: ... here.
12702 (__sigsetjmp): Remove setting __flags field.
12703 * sysdeps/s390/setjmp.S: Delete file.
12704 * sysdeps/s390/sigjmp.c: Likewise.
12705 * sysdeps/s390/v1-longjmp.c: Likewise.
12706 * sysdeps/s390/v1-setjmp.h: Likewise.
12707 * sysdeps/s390/v1-sigjmp.c: Likewise.
12708 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12709 Remove v1-longjmp_chk.
12710 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12711 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12712 Include debug/longjmp_chk.c and add versioning.
12713 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12714 Include nptl/pt-longjmp.c and add versioning.
12715 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12716 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12717 Include __longjmp.c.
12718 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12720 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12721 (__getcontext): Remove setting __flags field.
12723 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12724 Don't restore upper high grps.
12725 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12727 (__swapcontext): Remove setting uc_flags field.
12728 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12730 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12731 Include __longjmp.c.
12732 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12734 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12735 (__getcontext): Remove setting __flags field.
12737 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12738 (__swapcontext): Remove setting uc_flags field.
12739 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12740 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12741 Remove fields uc_high_gprs and __reserved.
12742 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12743 New file with reverted content.
12744 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12745 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12747 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12750 2014-07-31 Andreas Schwab <schwab@suse.de>
12752 * config.h.in (HAVE_IFUNC): Define to 0.
12753 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12756 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
12758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12759 memmove-avx-unaligned, memcpy-avx-unaligned and
12760 mempcpy-avx-unaligned.
12761 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12762 Add tests for AVX memcpy functions.
12763 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12764 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12766 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12767 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12769 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12770 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12772 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12773 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12774 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12776 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12779 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12782 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
12785 * manual/llio.texi: Add section about open file description locks.
12786 * manual/examples/ofdlocks.c: Example of open file description
12788 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12789 F_OFD_SETLK, and F_OFD_SETLKW.
12791 2014-07-23 Allan McRae <allan@archlinux.org>
12793 * po/es.po: Update Spanish translation from translation project.
12795 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
12797 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12799 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
12802 * sysdeps/arm/dl-machine.h (elf_machine_rela)
12803 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12804 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12806 2014-07-17 Joseph Myers <joseph@codesourcery.com>
12809 * math/fesetenv.c (__fesetenv)
12810 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12811 * math/feupdateenv.c (__feupdateenv)
12812 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12814 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12815 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12816 (__ASSUME_SOCKETCALL): Do not define.
12818 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12819 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12820 (__ASSUME_SOCKETCALL): Do not define.
12821 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12822 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12823 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12824 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12825 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12826 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12827 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12828 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12830 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12831 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12832 (__ASSUME_SOCKETCALL): Do not define.
12833 (__ASSUME_IPC64): Define unconditionally.
12834 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12835 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12836 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12837 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12838 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12839 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12840 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12843 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12844 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12845 (__ASSUME_SOCKETCALL): Do not define.
12846 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12847 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12848 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12849 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12850 (__ASSUME_REQUEUE_PI): Define unconditionally.
12851 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12852 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12853 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12854 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12855 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12856 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12858 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12859 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12860 (__ASSUME_SOCKETCALL): Do not define.
12861 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12862 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12863 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12864 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12865 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12866 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12868 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12869 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12870 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12871 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12872 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12873 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12874 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12875 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12876 (__ASSUME_GETCPU_SYSCALL): Likewise.
12878 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12879 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
12880 cases for individual architectures.
12881 * sysdeps/gnu/configure: Regenerated.
12882 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12883 LIBC_SLIBDIR_RTLDDIR.
12884 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12885 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12886 LIBC_SLIBDIR_RTLDDIR.
12887 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12889 LIBC_SLIBDIR_RTLDDIR.
12890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12892 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12893 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12895 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12896 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12898 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12899 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12900 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12901 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12903 * sysdeps/aarch64/shlib-versions: Move to ...
12904 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12905 * sysdeps/alpha/shlib-versions: Move to ...
12906 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12907 * sysdeps/arm/shlib-versions: Move to ...
12908 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12909 * sysdeps/hppa/shlib-versions: Move all contents except for
12910 libgcc_s entry to ...
12911 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
12913 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
12914 * sysdeps/ia64/shlib-versions: Move to ...
12915 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
12917 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
12918 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12919 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12920 * sysdeps/microblaze/shlib-versions: Move to ...
12921 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12922 * sysdeps/mips/shlib-versions: Move to ...
12923 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
12925 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
12926 * sysdeps/tile/shlib-versions: Move to ...
12927 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12928 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12930 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
12931 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12933 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
12935 2014-07-17 Will Newton <will.newton@linaro.org>
12937 * sysdeps/arm/bits/atomic.h
12938 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12939 (__arch_compare_and_exchange_bool_16_int): Likewise.
12940 (__arch_compare_and_exchange_bool_64_int): Likewise.
12942 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12943 into an #else block.
12945 2014-07-16 Roland McGrath <roland@hack.frob.com>
12947 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12948 just Linux configurations. Test empirically that the compiler sets
12949 __ARM_EABI__, rather than using the tuple to decide.
12950 * sysdeps/arm/preconfigure: Regenerated.
12951 * sysdeps/unix/sysv/linux/arm/configure: File removed.
12952 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12953 contents appended ...
12954 * sysdeps/arm/configure.ac: ... here.
12955 * sysdeps/arm/configure: Regenerated.
12957 2014-07-15 Roland McGrath <roland@hack.frob.com>
12959 * nptl/pthread_kill.c: New file.
12960 * nptl/pthread_sigmask.c: New file.
12961 * nptl/pthread_sigqueue.c: New file.
12963 * sysdeps/nptl/lowlevellock.h: New file.
12964 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12965 * sysdeps/nptl/lowlevellock-futex.h: New file.
12967 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12968 Remove dead declarations.
12970 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
12972 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12973 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12974 config-cflags-avx2.
12975 * sysdeps/x86_64/configure.ac: Likewise.
12976 * sysdeps/i386/configure: Regenerated.
12977 * sysdeps/x86_64/configure: Likewise.
12978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12979 memset-avx2 only if config-cflags-avx2 is yes.
12980 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12981 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12983 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12984 only if HAVE_AVX2_SUPPORT is defined.
12985 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12987 2014-07-14 Alan Modra <amodra@gmail.com>
12990 * elf/elf.h (DT_PPC64_NUM): Correct value.
12991 * NEWS: Add to fixed bug list.
12993 2014-07-13 Jim Meyering <meyering@fb.com>
12996 regex: don't deref NULL upon heap allocation failure
12997 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12998 failure in one more place.
12999 To trigger the segfault, configure grep -with-included-regex,
13000 build it, and run these commands:
13001 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13003 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
13005 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13007 2014-07-11 Richard Henderson <rth@redhat.com>
13009 * sysdeps/aarch64/libm-test-ulps: Update.
13011 2014-07-10 Florian Weimer <fweimer@redhat.com>
13014 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13015 * nptl/allocatestack.c (__nptl_setxid_error): New function.
13016 (__nptl_setxid): Initialize error member. Call
13017 __nptl_setxid_error.
13018 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13019 * nptl/descr.h (struct xid_command): Add error member.
13020 * nptl/tst-setuid3.c: New file.
13021 * nptl/Makefile (tests): Add it.
13023 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13025 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13027 (__lll_trylock): Use __lll_base_trylock.
13028 (__lll_cond_trylock): Likewise.
13030 2014-07-10 Roland McGrath <roland@hack.frob.com>
13032 * nptl/pthread_create.c (start_thread): Use atomic_or and
13033 lll_futex_wake directly rather than lll_robust_dead.
13034 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13035 (lll_robust_dead): Macro removed.
13036 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13037 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13038 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13039 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13040 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13041 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13042 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13043 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13044 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13045 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13046 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13047 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13048 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13049 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13050 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13052 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13053 Use atomic_compare_and_exchange_val_acq directly rather than
13054 lll_robust_trylock.
13055 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13056 (__lll_robust_trylock, lll_robust_trylock): Removed.
13057 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13058 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13059 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13060 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13061 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13062 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13063 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13064 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13065 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13066 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13067 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13068 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13069 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13070 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13072 2014-07-02 Florian Weimer <fweimer@redhat.com>
13074 * manual/locale.texi (Locale Names): New section documenting
13075 locale name syntax. Adjust menu and node chaining accordingly.
13076 (Choosing Locale): Reference Locale Names, Locale Categories.
13077 Mention setting LC_ALL=C. Reflect that name syntax is now
13079 (Locale Categories): New section title. Reference Locale Names.
13080 LC_ALL is an environment variable, but not a category.
13081 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13082 description, now in Locale Name. Reference that section. Locale
13083 name syntax is now documented.
13085 2014-07-02 Florian Weimer <fweimer@redhat.com>
13088 * locale/findlocale.c (name_present, valid_locale_name): New
13090 (_nl_find_locale): Use the loc_name variable to store name
13091 candidates. Call name_present and valid_locale_name to check and
13092 validate locale names. Return an error if the locale is invalid.
13094 2014-07-02 Florian Weimer <fweimer@redhat.com>
13096 * locale/setlocale.c (setlocale): Use strdup for allocating
13097 composite name copy.
13099 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13101 Sync up with gnulib.
13102 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13103 [!_LIBC && ENABLE_NLS]: Include gettext.h.
13104 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13105 and _GL_ARG_NONNULL.
13106 [USE_UNLOCKED_IO]: Include unlocked-io.h.
13107 [!_LIBC]: Include code for Windows and Cygwin.
13108 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13109 Include prototype for int strerror_r.
13110 [!_LIBC] (is_open): New function.
13111 (flush_stdout): New function.
13112 (print_errno_message): Use it.
13114 (error_at_line): Likewise.
13115 (error_tail) Add function attribute macros. Use
13118 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13120 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13122 * io/ftw.c: Include sys/param.h unconditionally.
13124 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13127 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13129 (freecache): New function to free CACHE on exit.
13131 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13134 2014-07-09 David S. Miller <davem@davemloft.net>
13136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13138 * sysdeps/sparc/nptl/internaltypes.h: Delete.
13139 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13140 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13141 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13142 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13143 * sysdeps/sparc/nptl/sem_init.c: Likewise.
13144 * sysdeps/sparc/nptl/sem_post.c: Likewise.
13145 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13146 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13147 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13148 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13149 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13150 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13152 2014-07-09 Andreas Schwab <schwab@suse.de>
13154 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13156 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13157 (do_test): Likewise.
13159 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13161 2014-07-09 Will Newton <will.newton@linaro.org>
13163 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13164 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13165 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13166 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13167 * sysdeps/hppa/start.S (_start): Likewise.
13169 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13171 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13173 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13176 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13178 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13179 after checking that it is non-NULL.
13181 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13183 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13185 * sysdeps/powerpc/memmove.c: Remove file.
13186 * sysdeps/powerpc/powerpc32/power4/memcopy.h
13187 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13188 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13189 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13190 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13191 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13192 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13193 string memmove instead of removed powerpc one.
13195 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13196 [weak_alias]: Fix compiler warning due trailing data.
13197 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13198 [weak_alias]: Likewise.
13199 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13200 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13202 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13203 (__libc_ifunc_impl_list): Add memmove functions.
13205 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13207 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13209 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13211 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13213 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13215 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13217 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13219 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13221 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13223 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13225 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13227 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13229 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13231 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13233 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13235 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13237 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13239 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13242 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13244 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13245 to avoid alignment traps in non-cacheable memory.
13246 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13248 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13250 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13251 file: multiarch power7 memmove.
13252 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13253 multiarch default memmove.
13254 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13255 multiarch memove for powerpc32/power4.
13257 * string/bcopy.c: Use full path to include memmove.c.
13258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13260 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13261 bcopy for powerpc64.
13262 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13263 bcopy for powerpc64.
13264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13265 and memmove implementations.
13266 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13267 optimized multiarch memmove for POWER7/powerpc64.
13268 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13269 default multiarch memmove for powerpc64.
13270 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13271 multiarch for powerpc64.
13272 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13273 for POWER7/powerpc64.
13274 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13275 memmove for POWER7/powerpc64.
13277 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13280 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13281 __ELF_NATIVE_CLASS equal to 64.
13283 2014-07-07 Roland McGrath <roland@hack.frob.com>
13285 * sysdeps/nptl/lowlevellock.h: File removed.
13287 * NEWS: NPTL is no longer an add-on!
13288 * nptl/internaltypes.h: Moved ...
13289 * sysdeps/nptl/internaltypes.h: ... here.
13290 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13291 * sysdeps/nptl/fork.c: Likewise.
13292 * sysdeps/nptl/gai_misc.h: Likewise.
13293 * sysdeps/nptl/librt-cancellation.c: Likewise.
13294 * sysdeps/nptl/jmp-unwind.c: Likewise.
13295 * sysdeps/nptl/setxid.h: Likewise.
13296 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13297 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13298 * sysdeps/unix/sysv/linux/arm/Implies: New file.
13299 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13300 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13301 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13302 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13303 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13304 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13305 * sysdeps/unix/sysv/linux/mips/Implies: New file.
13306 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13307 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13308 * sysdeps/unix/sysv/linux/sh/Implies: New file.
13309 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13310 * sysdeps/unix/sysv/linux/tile/Implies: New file.
13311 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13312 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13313 * nptl/Makeconfig: Moved ...
13314 * sysdeps/nptl/Makeconfig: ... here.
13315 * nptl/configure: File removed.
13316 * nptl/ANNOUNCE: File removed.
13317 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13318 * sysdeps/unix/sysv/linux/configure: Regenerated.
13320 * nptl/Makefile (routines): Add libc_pthread_init,
13321 libc_multiple_threads, register-atfork and unregister-atfork.
13322 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13323 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13324 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13325 pthread-pi-defines.sym, structsem.sym.
13326 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13327 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13328 [$(subdir) = nptl] (tests): Add tst-setgetname.
13329 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13330 * sysdeps/unix/sysv/linux/sigaction.c: Just include
13331 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13332 [!LIBC_SIGACTION]: Remove aliases.
13333 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13334 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13335 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13336 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13337 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13338 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13339 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13340 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13341 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13342 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13343 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13344 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13345 __libc_allocate_rtsig_private.
13346 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13347 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13348 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13349 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13350 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13351 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13352 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13353 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13354 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13355 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13356 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13357 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13358 * nptl/internaltypes.h: ... here.
13359 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13360 * sysdeps/nptl/jmp-unwind.c: ... here.
13361 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13362 * nptl/libc-lowlevellock.c: ... here.
13363 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13364 * nptl/libc_multiple_threads.c: ... here.
13365 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13366 * nptl/libc_pthread_init.c: ... here.
13367 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13368 * nptl/lowlevelbarrier.sym: ... here.
13369 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13370 * nptl/lowlevelcond.sym: ... here.
13371 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13372 * nptl/lowlevellock.c: ... here.
13373 * nptl/lowlevellock.h: Moved ...
13374 * sysdeps/nptl/lowlevellock.h: ... here.
13375 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13376 * nptl/lowlevelrobustlock.c: ... here.
13377 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13378 * nptl/lowlevelrobustlock.sym: ... here.
13379 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13380 * nptl/lowlevelrwlock.sym: ... here.
13381 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13382 * nptl/pt-fork.c: ... here.
13383 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13384 * nptl/pthread-pi-defines.sym: ... here.
13385 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13386 * nptl/pthread_attr_getaffinity.c: ... here.
13387 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13388 * nptl/pthread_attr_setaffinity.c: ... here.
13389 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13390 * nptl/pthread_mutex_cond_lock.c: ... here.
13391 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13393 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13394 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13395 * nptl/pthread_once.c: ... here, replacing old file.
13396 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13397 * nptl/pthread_yield.c: ... here.
13398 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13399 * nptl/register-atfork.c: ... here.
13400 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13401 * nptl/sem_post.c: ... here.
13402 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13403 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13404 * nptl/sem_timedwait.c: ... here.
13405 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13406 * nptl/sem_trywait.c: ... here.
13407 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13408 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13409 * nptl/sem_wait.c: ... here.
13410 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13411 * nptl/structsem.sym: ... here.
13412 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13413 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13414 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13415 * nptl/unregister-atfork.c: ... here.
13416 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13417 * nptl/unwindbuf.sym: ... here.
13418 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13419 * sysdeps/nptl/fork.c: ... here.
13420 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13421 * sysdeps/nptl/fork.h: ... here.
13422 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13423 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13424 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13425 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13426 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13427 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13428 * sysdeps/unix/sysv/linux/getpid.c: ... here.
13429 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13430 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13431 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13432 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13433 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13434 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13435 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13436 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13437 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13438 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13439 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13440 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13441 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13442 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13443 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13444 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13445 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13446 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13447 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13448 * sysdeps/unix/sysv/linux/raise.c: ... here.
13449 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13450 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13451 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13452 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13453 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13454 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13455 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13456 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13457 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13458 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13459 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13460 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13461 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13462 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13463 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13465 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13467 * sysdeps/generic/memcopy.h: Add comment for
13468 MEMCPY_OK_FOR_FWD_MEMMOVE.
13470 2014-07-04 Will Newton <will.newton@linaro.org>
13472 * string/memchr.c: Merge from gnulib.
13473 [_LIBC]: Remove conditionals.
13474 (__ptr_t): Remove define.
13475 (LONG_MAX_32_BITS): Likewise.
13476 (LONG_MAX): Likewise.
13477 (MEMCHR): Use ANSI prototype and optimize algorithm.
13479 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13481 2014-07-03 Roland McGrath <roland@hack.frob.com>
13483 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13484 (lll_futex_timed_wait_bitset): Fix syscall argument count.
13486 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13487 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13488 in a bare environment with no <stdlib.h> installed.
13489 * sysdeps/nptl/configure: Regenerated.
13491 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13493 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13494 AC_EGREP_CPP for kernel header checks, so they only succeed if
13495 including <linux/version.h> actually works right.
13496 * sysdeps/unix/sysv/linux/configure: Regenerated.
13498 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13499 value so it's not diagnosed as unused.
13501 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13502 thing) with "ifeq ($(subdir),rt)".
13504 2014-07-03 Richard Henderson <rth@redhat.com>
13506 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13507 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13508 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13510 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13511 (math_force_eval): New.
13513 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13514 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13516 * sysdeps/alpha/fpu/s_round.c: Remove file.
13517 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13519 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13520 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13521 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13522 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13523 (_dl_start, print_statistics): Likewise.
13524 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13525 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13527 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13528 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13529 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13530 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13531 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13532 (HP_SMALL_TIMING_AVAIL): Define.
13533 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13534 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13535 (HP_SMALL_TIMING_AVAIL): Define.
13536 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13537 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13539 * sysdeps/aarch64/hp-timing.h: New file.
13541 * sysdeps/generic/hp-timing.h: Remove dead comment.
13542 * sysdeps/generic/hp-timing-common.h: New file.
13543 * sysdeps/alpha/hp-timing.h: Include it.
13544 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13545 * sysdeps/i386/i686/hp-timing.h: Likewise.
13546 * sysdeps/ia64/hp-timing.h: Likewise.
13547 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13548 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13549 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13550 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13551 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13552 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13553 (hp_timing_t): New.
13555 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13556 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13557 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13558 * elf/rtld.c (_dl_start_final): Likewise.
13559 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13560 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13561 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13562 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13563 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13564 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13565 (HP_TIMING_DIFF_INIT): Remove.
13566 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13567 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13568 (HP_TIMING_DIFF_INIT): Remove.
13569 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13570 * sysdeps/i386/i686/hp-timing.c: Remove file.
13571 * sysdeps/x86_64/hp-timing.c: Remove file.
13572 * sysdeps/ia64/hp-timing.c: Remove file.
13573 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13574 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13575 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13576 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13578 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13579 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13580 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13581 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13582 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13583 (HP_TIMING_ACCUM): Remove.
13584 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13585 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13586 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13588 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13589 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13590 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13591 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13592 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13593 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13594 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13595 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13597 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13599 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
13601 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13603 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13605 Sync up with gettext.
13606 * intl/loadmsgcat.c: Define O_BINARY if not defined.
13607 [_MSC_VER]: Include malloc.h
13608 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13609 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13610 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
13611 TEMP_FAILURE_RETRY. Cast return of alloca.
13612 [!_LIBC] Call gl_rwlock_init.
13613 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13615 2014-07-02 Roland McGrath <roland@hack.frob.com>
13617 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13618 before checking its value.
13620 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13622 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13624 * debug/memcpy_chk.c: Don't include pagecopy.h.
13625 * debug/mempcpy_chk.c: Likewise.
13626 * string/memcpy.c: Likewise.
13627 * string/memmove.c: Likewise.
13628 * sysdeps/powerpc/memmove.c: Likewise.
13629 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
13630 definition of PAGE_COPY_FWD_MAYBE here...
13631 * sysdeps/generic/pagecopy.h: ... from here.
13632 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13634 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13635 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13637 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13641 (__libc_ifunc_impl_list): Likewise.
13642 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13643 multiarch strcat for PPC64.
13644 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13645 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13647 2014-07-02 Roland McGrath <roland@hack.frob.com>
13649 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13651 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13653 * intl/loadmsgcat.c: Remove declaration of
13654 get_sysdep_segment_value.
13655 (get_sysdep_segment_value): Use ISO C style.
13656 (_nl_load_domain): Use ISO C style. Get rid of redundant
13657 semicolon. Fix typo and formatting in comment.
13658 (_nl_unload_domain): Use ISO C style.
13660 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13662 2014-07-02 Will Newton <will.newton@linaro.org>
13664 * malloc/obstack.c: Merge from gnulib master.
13665 [HAVE_CONFIG_H]: Remove conditional code.
13666 [!_LIBC]: Include config.h.
13667 [!ELIDE_CODE]: Don't include inttypes.h, include
13668 stdint.h unconditionally.
13669 (print_and_abort): Mark as _Noreturn.
13670 (_obstack_allocated_p): Mark as __attribute_pure__.
13671 (obstack_free): Rename to __obstack_free.
13672 [!__attribute__]: Remove conditional code.
13673 * malloc/obstack.h: Merge from gnulib master.
13674 [__cplusplus]: Move conditional down.
13675 [!__attribute_pure__]: Define __attribute_pure__ here
13676 if it is not already defined.
13677 (_obstack_memory_used): Mark as __attribute_pure__.
13678 [!__obstack_free]: Define as obstack_free.
13679 [__GNUC__]: Remove check for ancient NeXT gcc.
13681 2014-07-02 Will Newton <will.newton@linaro.org>
13682 Paul Eggert <eggert@cs.ucla.edu>
13684 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13686 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13688 * resolv/gethnamaddr.c: Add comment warning that the file is
13691 2014-07-01 Carlos O'Donell <carlos@redhat.com>
13693 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13696 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13697 entry for aio_cancel and aio_cancel64.
13698 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13699 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13700 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13701 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13702 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13703 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13704 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13705 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13706 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13707 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13708 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13709 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13710 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13712 2014-07-01 Roland McGrath <roland@hack.frob.com>
13714 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13715 * nptl/pthread_mutex_lock.c: Likewise.
13716 * nptl/pthread_mutex_timedlock.c: Likewise.
13717 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13719 2014-07-01 Richard henderson <rth@redhat.com>
13721 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13722 (__isnan, __isnanl): Remove.
13723 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13725 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13727 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13729 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13731 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13733 * resolv/nss_dns/dns-host.c (getanswer_r)
13734 [MULTI_PTRS_ARE_ALIASES]: Remove code.
13736 2014-07-01 Joseph Myers <joseph@codesourcery.com>
13738 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13739 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13741 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13742 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13744 2014-07-01 Roland McGrath <roland@hack.frob.com>
13746 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13747 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13749 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13750 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13752 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13753 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13755 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13756 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13758 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13759 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13760 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13761 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13763 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13764 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13765 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13766 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13767 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13769 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13771 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13772 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13773 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13774 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13775 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13776 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13777 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13778 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13779 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13780 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13781 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13782 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13783 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13784 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13785 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13786 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13787 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13788 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13789 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13790 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13792 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13793 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13794 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13795 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13796 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13797 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13798 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13799 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13801 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
13803 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13804 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13805 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13808 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13812 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13814 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13815 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13817 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13819 * sysdeps/arm/libm-test-ulps: Regenerated.
13821 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13822 Roland McGrath <roland@hack.frob.com>
13824 * test-skeleton.c (signal_handler): Kill the whole process group
13825 before killing the child individually.
13826 (main): Report any failure on `setpgid'.
13828 2014-06-30 Roland McGrath <roland@hack.frob.com>
13830 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13831 from _TLS_H to _ARM_NPTL_TLS_H.
13832 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13833 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13835 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13838 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13839 (__expm1l): Return argument unchanged when small but not
13842 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13843 include macro name.
13844 (_FP_UNPACK_RAW_1_P): Likewise.
13845 (_FP_PACK_RAW_1): Likewise.
13846 (_FP_PACK_RAW_1_P): Likewise.
13847 (_FP_MUL_MEAT_1_wide): Likewise.
13848 (_FP_MUL_MEAT_DW_1_hard): Likewise.
13849 (_FP_MUL_MEAT_1_hard): Likewise.
13850 (_FP_DIV_MEAT_1_imm): Likewise.
13851 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13852 (_FP_DIV_MEAT_1_udiv): Likewise.
13853 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13854 (_FP_UNPACK_RAW_2): Likewise.
13855 (_FP_UNPACK_RAW_2_P): Likewise.
13856 (_FP_PACK_RAW_2): Likewise.
13857 (_FP_PACK_RAW_2_P): Likewise.
13858 (_FP_MUL_MEAT_DW_2_wide): Likewise.
13859 (_FP_MUL_MEAT_2_wide): Likewise.
13860 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13861 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13862 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13863 (_FP_MUL_MEAT_2_gmp): Likewise.
13864 (_FP_DIV_MEAT_2_udiv): Likewise.
13865 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13866 (_FP_FRAC_SRL_4): Likewise.
13867 (_FP_FRAC_SRST_4): Likewise.
13868 (_FP_FRAC_SRS_4): Likewise.
13869 (_FP_UNPACK_RAW_4): Likewise.
13870 (_FP_UNPACK_RAW_4_P): Likewise.
13871 (_FP_PACK_RAW_4): Likewise.
13872 (_FP_PACK_RAW_4_P): Likewise.
13873 (_FP_MUL_MEAT_DW_4_wide): Likewise.
13874 (_FP_MUL_MEAT_4_wide): Likewise.
13875 (_FP_MUL_MEAT_4_gmp): Likewise.
13876 (umul_ppppmnnn): Likewise.
13877 (_FP_DIV_MEAT_4_udiv): Likewise.
13878 (__FP_FRAC_ADD_4): Likewise.
13879 (__FP_FRAC_SUB_3): Likewise.
13880 (__FP_FRAC_SUB_4): Likewise.
13881 (__FP_FRAC_DEC_3): Likewise.
13882 (__FP_FRAC_DEC_4): Likewise.
13883 (__FP_FRAC_ADDI_4): Likewise.
13884 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13885 (_FP_FRAC_SRL_8): Likewise.
13886 (_FP_FRAC_SRS_8): Likewise.
13888 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13889 include macro name.
13890 (FP_UNPACK_RAW_EP): Likewise.
13891 (FP_PACK_RAW_E): Likewise.
13892 (FP_PACK_RAW_EP): Likewise.
13893 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13894 (_FP_ISSIGNAN): Likewise.
13895 (_FP_ADD_INTERNAL): Likewise.
13896 (_FP_FMA): Likewise.
13897 (_FP_CMP): Likewise.
13898 (_FP_SQRT): Likewise.
13899 (_FP_TO_INT): Likewise.
13900 (_FP_FROM_INT): Likewise.
13901 (FP_EXTEND): Likewise.
13902 (_FP_DIV_MEAT_N_loop): Likewise.
13904 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13906 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13909 2014-06-29 Joseph Myers <joseph@codesourcery.com>
13912 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13913 result with correct sign in case of exponents that produce
13914 overflow except for X very close to 1.
13916 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
13918 mktime: merge #if/#ifdef usage from glibc
13919 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13920 as that works with both Glibc's and Gnulib's style.
13921 See thread starting at Siddhesh Poyarekar's bug report at:
13922 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13924 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13926 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13927 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13928 * sysdeps/tile/tilegx/memmove.c: Remove file.
13930 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13932 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13933 abi-name definition.
13934 * scripts/soversions.awk: Do not handle or generate ABI lines.
13935 * shlib-versions: Remove ABI entries.
13936 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13937 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13939 2014-06-27 Roland McGrath <roland@hack.frob.com>
13941 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13942 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13943 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13944 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13945 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13946 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13947 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13949 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13951 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13952 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13953 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13954 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13955 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13956 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13957 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13958 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13959 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13960 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13961 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13962 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13963 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13965 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13966 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13967 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13968 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13969 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13970 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13972 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13973 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13975 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13976 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13977 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13978 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13980 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13981 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13982 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13983 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13984 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13985 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13986 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13987 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13989 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13990 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13991 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13992 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13994 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13995 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13997 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13998 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13999 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14000 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14002 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14004 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14005 Identical file removed.
14006 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14008 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14009 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14010 Identical file removed.
14011 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14012 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14013 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14015 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14016 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14017 Identical file removed.
14018 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14019 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14020 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14021 Identical file removed.
14022 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14023 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14024 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14025 Identical file removed.
14026 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14027 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14028 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14029 Identical file removed.
14030 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14032 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14033 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14034 Identical file removed.
14035 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14037 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14038 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14039 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14040 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14041 Identical file removed.
14042 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14044 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14046 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14047 Identical file removed.
14048 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14050 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14051 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14052 Identical file removed.
14053 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14055 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14056 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14057 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14058 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14059 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14060 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14062 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14063 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14064 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14066 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14067 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14068 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14069 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14070 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14072 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
14075 * nscd/nscd.c (monitor_child): Return exit status of child
14076 instead of return value from wait syscall.
14078 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14080 * configure.ac (libc_commonpagesize): Remove variable.
14081 (libc_relro_required): Likewise.
14082 (libc_cv_z_relro): Remove configure test.
14083 * configure: Regenerated.
14084 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14086 (libc_relro_required): Likewise.
14087 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14088 (libc_relro_required): Likewise.
14089 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14090 (libc_relro_required): Likewise.
14091 * sysdeps/arm/preconfigure: Regenerated.
14092 * sysdeps/ia64/preconfigure: Remove file.
14093 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14095 (libc_relro_required): Likewise.
14099 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14100 (__ieee754_yn): Set FE_TONEAREST mode internally and then
14101 recompute overflowing results in original rounding mode.
14102 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14103 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14104 recompute overflowing results in original rounding mode.
14105 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14106 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14107 recompute overflowing results in original rounding mode.
14108 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14109 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14110 recompute overflowing results in original rounding mode.
14111 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14112 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14113 recompute overflowing results in original rounding mode.
14114 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14115 (libc_feholdsetround_ctx): New macro.
14116 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14117 * sysdeps/i386/fpu/libm-test-ulps: Update.
14118 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14120 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14122 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14123 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14124 corresponding .cpsetup call.
14126 2014-06-26 Roland McGrath <roland@hack.frob.com>
14128 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14129 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14130 * sysdeps/arm/Makefile [$(subdir) = csu]
14131 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14132 (static-only-routines): Add aeabi_read_tp here.
14133 (shared-only-routines): Add libc-aeabi_read_tp here.
14134 (CFLAGS-libc-start.c): Add -fexceptions here.
14135 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14136 (sysdep_routines, static-only-routines, shared-only-routines):
14137 Don't add to these here.
14138 (CFLAGS-libc-start.c): Likewise.
14140 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14141 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14142 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14143 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14144 * sysdeps/arm/Makefile [$(subdir) = rt]
14145 (librt-sysdep_routines, librt-shared-only-routines):
14146 Append rt-aeabi_unwind_cpp_pr1 here.
14147 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14148 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14149 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14150 (libpthread-sysdep_routines, libpthread-shared-only-routines):
14151 Append nptl-aeabi_unwind_cpp_pr1 here.
14152 (tests): Filter out tst-cleanupx4 here.
14153 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14154 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14155 Don't do those here.
14157 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14159 * scripts/list-sources.sh: Do not handle ports specially.
14161 2014-06-26 Roland McGrath <roland@hack.frob.com>
14163 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14164 * sysdeps/arm/feupdateenv.c: Likewise.
14166 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14168 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14170 * manual/texinfo.tex: Update to version 2014-05-05.10 with
14171 trailing whitespace removed.
14172 * scripts/config.guess: Update to version 2014-03-23.
14173 * scripts/config.sub: Update to version 2014-05-01
14174 * scripts/install-sh: Update to version 2013-12-25.23.
14175 * scripts/move-if-change: Update from gnulib.
14177 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14179 * debug/memmove_chk.c: Remove pagecopy.h include.
14181 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
14183 * time/mktime.c (leapyear): Remove inline keyword. The code is now
14184 identical to gnulib mktime.
14186 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14188 * configure.ac: Do not test for machine being rs6000. Do not test
14189 for powerpc*-*soft.
14190 * configure: Regenerated.
14193 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14195 * configure: Regenerated.
14196 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14197 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14198 Remove configure test.
14199 * sysdeps/arm/configure: Regenerated.
14200 * sysdeps/nptl/configure.ac: Do not check
14201 libc_cv_asm_cfi_directives.
14202 * sysdeps/nptl/configure: Regenerated.
14203 * sysdeps/x86_64/nptl/configure.ac: Remove file.
14204 * sysdeps/x86_64/nptl/configure: Remove generated file.
14205 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14207 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14209 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14211 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14212 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14213 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14216 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14217 instead of whether it is defined.
14218 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14219 * sysdeps/hppa/dl-machine.h: Likewise.
14220 * sysdeps/ia64/dl-machine.h: Likewise.
14221 * sysdeps/m68k/dl-machine.h: Likewise.
14222 * sysdeps/microblaze/dl-machine.h: Likewise.
14223 * sysdeps/mips/dl-machine.: Likewise.
14224 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14225 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14226 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14227 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14228 * sysdeps/sh/dl-machine.h: Likewise.
14229 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14230 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14231 * sysdeps/tile/dl-machine.h: Likewise.
14232 * sysdeps/x86_64/dl-machine.h: Likewise.
14234 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14236 (verify_persistent_db): Likewise.
14238 2014-06-26 Roland McGrath <roland@hack.frob.com>
14240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14241 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14243 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14246 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14249 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14251 Identical file removed.
14252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14253 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14255 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14257 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14259 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14261 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14264 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14266 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14268 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14271 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14273 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14275 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14277 Identical file removed.
14278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14279 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14281 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14284 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14287 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14289 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14291 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14293 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14295 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14298 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14301 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14303 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14306 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14308 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14310 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14312 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14313 * sysdeps/unix/sysv/linux/s390/Versions
14314 (libpthread: GLIBC_2.19): New version set.
14315 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14316 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14317 (librt: GLIBC_2.3.3): New version set.
14318 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14319 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14320 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14321 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14322 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14323 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14324 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14325 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14326 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14327 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14328 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14329 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14330 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14331 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14332 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14333 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14334 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14335 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14336 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14337 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14338 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14339 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14340 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14341 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14342 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14343 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14344 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14345 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14346 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14347 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14348 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14349 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14350 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14351 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14352 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14353 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14354 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14355 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14356 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14357 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14358 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14359 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14360 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14361 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14362 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14364 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14365 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14366 (__libc_vfork): Define the function under this name.
14367 [!NOT_IN_libc] (__vfork): Make this an alias.
14368 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14369 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14370 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14371 (__libc_vfork): Define the function under this name.
14372 [!NOT_IN_libc] (__vfork): Make this an alias.
14373 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14374 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14375 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14376 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14377 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14378 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14380 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14381 code that was previously under [RESET_PID].
14382 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14383 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14384 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14386 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14387 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14388 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14389 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14390 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14391 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14392 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14393 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14394 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14395 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14396 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14398 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14399 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14400 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14401 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14402 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14403 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14404 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14405 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14406 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14407 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14408 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14409 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14410 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14411 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14412 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14413 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14414 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14415 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14416 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14417 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14418 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14419 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14420 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14421 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14422 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14423 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14424 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14425 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14426 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14428 2014-06-25 Roland McGrath <roland@hack.frob.com>
14430 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14431 that was previously under [RESET_PID].
14432 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14434 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14436 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14437 not undefine and redefine.
14438 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14439 [O_CLOEXEC]: Make code unconditional.
14440 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14441 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14442 <kernel-features.h>.
14443 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14444 conditional variable definition.
14445 (shm_open) [O_CLOEXEC]: Make code unconditional.
14446 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14449 * configure.ac (USE_REGPARMS): Don't define here.
14450 * configure: Regenerated.
14451 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14452 * sysdeps/i386/configure: Regenerated.
14454 * nptl/createthread.c: Don't include kernel-features.h.
14455 * nptl/pthread_cancel.c: Likewise.
14456 * nptl/pthread_condattr_setclock.c: Likewise.
14457 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14458 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14459 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14460 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14461 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14462 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14463 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14464 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14465 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14466 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14467 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14468 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14469 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14470 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14471 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14472 * nscd/gai.c: Likewise.
14473 * nss/nss_db/db-open.c: Likewise.
14474 * sysdeps/generic/ldsodefs.h: Likewise.
14475 * sysdeps/sh/nptl/tls.h: Likewise.
14476 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14477 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14478 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14479 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14480 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14481 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14482 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14483 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14484 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14485 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14486 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14487 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14488 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14489 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14490 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14491 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14492 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14493 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14494 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14495 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14496 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14497 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14498 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14499 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14500 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14501 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14502 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14503 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14504 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14505 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14506 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14507 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14508 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14509 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14510 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14511 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14512 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14513 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14514 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14515 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14516 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14517 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14518 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14519 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14520 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14521 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14522 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14523 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14524 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14525 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14526 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14527 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14528 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14529 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14530 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14531 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14532 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14533 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14556 * sysdeps/unix/sysv/linux/pread.c: Likewise.
14557 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14558 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14559 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14560 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14561 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14562 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14563 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14564 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14565 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14566 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14567 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14568 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14569 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14570 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14571 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14572 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14573 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14574 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14575 * sysdeps/unix/sysv/linux/system.c: Likewise.
14576 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14577 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14578 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14579 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14580 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14581 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14582 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14584 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14585 * configure: Regenerated.
14586 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14588 * configure.ac (base_machine): Do not set specially for particular
14590 * configure: Regenerated.
14591 * sysdeps/powerpc/preconfigure: Move machine and base_machine
14592 settings from configure.ac.
14593 * sysdeps/i386/preconfigure: New file.
14594 * sysdeps/s390/preconfigure: Likewise.
14595 * sysdeps/sh/preconfigure: Likewise.
14596 * sysdeps/sparc/preconfigure: Likewise.
14598 2014-06-25 Roland McGrath <roland@hack.frob.com>
14600 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14601 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14602 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14603 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14604 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14605 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14606 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14607 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14608 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14609 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14610 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14611 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14612 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14613 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14614 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14615 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14616 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14617 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14618 * sysdeps/sparc/sparc64/Makefile: ... appended here.
14620 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14621 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14622 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14623 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14624 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14625 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14626 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14627 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14628 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14629 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14630 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14631 * sysdeps/sparc/sparc32/sem_post.c: ... here.
14632 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14633 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14634 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14635 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14636 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14637 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14638 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14639 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14640 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14641 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14642 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14643 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14644 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14645 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14646 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14647 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14648 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14649 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14650 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14651 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14652 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14653 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14654 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14655 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14656 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14657 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14660 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14662 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14665 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14668 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14670 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14673 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14675 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14677 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14679 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14682 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14685 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14687 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14690 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14692 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14694 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14696 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14698 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14701 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14704 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14706 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14709 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14711 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14713 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14715 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14718 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14721 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14723 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14726 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14728 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14730 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14732 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14734 * timezone/checktab.awk: Update from tzcode 2014e.
14735 * timezone/private.h: Likewise.
14736 * timezone/tzfile.h: Likewise.
14737 * timezone/zdump.c: Likewise.
14738 * timezone/zic.c: Likewise.
14740 * sysdeps/unix/sysv/linux/kernel-features.h
14741 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14742 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14743 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14744 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14745 Remove conditional code.
14747 2014-06-25 Will Newton <will.newton@linaro.org>
14749 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14750 (_dl_arm_cap_flags): Add HWCAP2 values.
14751 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14752 (_DL_HWCAP_COUNT): Increase to 37.
14753 (_DL_HWCAP_LAST): New define.
14754 (_DL_HWCAP2_LAST): New define.
14755 (_dl_procinfo): Add support for printing
14757 (_dl_string_hwcap): Use _dl_hwcap_string.
14759 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14763 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14765 * README: Do not mention ports directory.
14767 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14769 * sysdeps/unix/sysv/linux/futimes.c: Do not include
14770 <kernel-features.h>.
14771 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14772 conditional variable definition.
14773 (__futimes): Update comment.
14774 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14775 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14778 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14779 arguments close to 0.
14780 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14782 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14784 * math/auto-libm-test-in: Add more tests of exp10.
14785 * math/auto-libm-test-out: Regenerated.
14786 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14788 * sysdeps/unix/sysv/linux/kernel-features.h
14789 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14790 * sysdeps/unix/sysv/linux/readv.c: Do not include
14791 <kernel-features.h>.
14792 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14793 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14794 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14796 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14798 * sysdeps/unix/sysv/linux/writev.c: Do not include
14799 <kernel-features.h>.
14800 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14801 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14802 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14804 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14807 2014-06-25 Will Newton <will.newton@linaro.org>
14809 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14810 comment changes throughout the file. Remove checks
14811 for HAVE_*_H definitions that are not required.
14812 (__gen_tempname): Call abort if an unknown kind value is
14815 2014-06-25 Andreas Schwab <schwab@suse.de>
14818 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14819 scalbln, scalblnf, scalblnl in libc.
14821 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14824 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14825 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14826 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14828 2014-06-24 Roland McGrath <roland@hack.frob.com>
14830 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14831 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14832 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14833 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14835 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14836 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14838 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14839 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14840 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14841 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14842 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14843 * sysdeps/x86/bits/pthreadtypes.h: ... here.
14844 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14845 * sysdeps/x86/bits/semaphore.h: ... here.
14846 * sysdeps/x86/nptl/elide.h: Moved ...
14847 * sysdeps/x86/elide.h: ... here.
14848 * sysdeps/x86_64/nptl/Implies: File removed.
14849 * sysdeps/i386/nptl/Implies: File removed.
14851 2014-06-24 Joseph Myers <joseph@codesourcery.com>
14854 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14855 return the argument for normal arguments with exponent below -64.
14856 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14858 * math/auto-libm-test-in: Add another test of expm1.
14859 * math/auto-libm-test-out: Regenerated.
14862 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14863 calling __erfcl for arguments at least 16.
14864 * math/auto-libm-test-in: Add more tests of erf.
14865 * math/auto-libm-test-out: Regenerated.
14867 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14868 individual architectures.
14869 * sysdeps/unix/sysv/linux/configure: Regenerated.
14870 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14871 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14872 * sysdeps/unix/sysv/linux/powerpc/configure.ac
14873 (ldd_rewrite_script): Define variable.
14874 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14879 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14880 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14881 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14882 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14883 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14884 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14885 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14886 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14888 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14891 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14892 Rename member __data.d to __data.__elision_data.
14894 2014-06-24 Wilco <wdijkstr@arm.com>
14896 * NEWS: Add 16918 to fixed bug list.
14898 2014-06-24 Wilco <wdijkstr@arm.com>
14900 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14902 2014-06-24 Wilco <wdijkstr@arm.com>
14904 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14905 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14906 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14907 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14908 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14909 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14910 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14913 2014-06-24 Wilco <wdijkstr@arm.com>
14915 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14917 2014-06-24 Wilco <wdijkstr@arm.com>
14919 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14920 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14921 * sysdeps/arm/fesetround.c (fesetround): Remove space.
14922 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14924 2014-06-24 Wilco <wdijkstr@arm.com>
14927 * sysdeps/arm/feupdateenv.c (feupdateenv):
14928 Rewrite to reduce FPSCR accesses and fix return value.
14930 2014-06-24 Wilco <wdijkstr@arm.com>
14932 * sysdeps/arm/fclrexcpt.c (feclearexcept):
14933 Optimize to avoid unnecessary FPSCR writes.
14934 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14935 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14936 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14937 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14939 2014-06-24 Wilco <wdijkstr@arm.com>
14941 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14942 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14943 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14944 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14945 Call libc_fetestexcept_vfp.
14946 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14947 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14948 __SOFTFP__ ifdef so that they can be built for softfp.
14950 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14952 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14953 argument type signed char.
14955 * Makerules (check-abi): Dump diff of symlist if the test
14958 2014-06-23 Roland McGrath <roland@hack.frob.com>
14960 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14963 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14964 Remove unused variable ST.
14966 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14970 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14971 small arguments before calling __expm1.
14972 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14973 small arguments before calling __expm1f.
14974 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14975 small arguments before calling __expm1l.
14976 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14978 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14979 * math/auto-libm-test-in: Add more cosh tests. Do not allow
14980 spurious underflow for some cosh tests.
14981 * math/auto-libm-test-out: Regenerated.
14982 * sysdeps/i386/fpu/libm-test-ulps: Update.
14985 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14986 (__ieee754_y1): Set errno if return value overflows.
14987 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14988 (__ieee754_y1f): Set errno if return value overflows.
14989 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14990 (__ieee754_y1l): Set errno if return value overflows.
14991 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14992 (__ieee754_y1l): Set errno if return value overflows.
14993 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14994 * math/auto-libm-test-out: Regenerated.
14996 * math/gen-auto-libm-tests.c: Document use of
14997 ignore-zero-inf-sign.
14998 (input_flag_type): Add value flag_ignore_zero_inf_sign.
14999 (input_flags): Add ignore-zero-inf-sign.
15000 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15001 * math/gen-libm-test.pl (generate_testfile): Handle
15002 ignore-zero-inf-sign.
15003 * math/auto-libm-test-in: Mark some cpow tests with
15004 ignore-zero-inf-sign and some with xfail-rounding.
15005 * math/auto-libm-test-out: Regenerated.
15006 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15007 * sysdeps/i386/fpu/libm-test-ulps: Update.
15008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15011 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15012 overflowing or underflowing operations take place with sign of
15014 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15015 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15016 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15017 (__ieee754_pow): Recompute overflowing and underflowing results in
15018 original rounding mode.
15019 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15020 (__powl_helper): Allow negative argument X and scale negated value
15021 as needed. Avoid passing value outside [-1, 1] to f2xm1.
15022 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15023 overflowing or underflowing operations take place with sign of
15025 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15027 * math/auto-libm-test-in: Add more tests of pow.
15028 * math/auto-libm-test-out: Regenerated.
15029 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15030 (pow_tonearest_test_data): Remove.
15031 (pow_test_tonearest): Likewise.
15032 (pow_towardzero_test_data): Likewise.
15033 (pow_test_towardzero): Likewise.
15034 (pow_downward_test_data): Likewise.
15035 (pow_test_downward): Likewise.
15036 (pow_upward_test_data): Likewise.
15037 (pow_test_upward): Likewise.
15038 (main): Don't call removed functions.
15039 * sysdeps/i386/fpu/libm-test-ulps: Update.
15040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15042 2014-06-23 Roland McGrath <roland@hack.frob.com>
15044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15218 2014-06-23 Will Newton <will.newton@linaro.org>
15219 Wilco <wdijkstr@arm.com>
15221 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15222 implementation. Include get-rounding-mode.h.
15223 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15224 [!libc_feholdsetround_noex_ctx]: Define
15225 libc_feholdsetround_noex_ctx.
15226 [!libc_feholdsetround_noexf_ctx]: Define
15227 libc_feholdsetround_noexf_ctx.
15228 [!libc_feholdsetround_noexl_ctx]: Define
15229 libc_feholdsetround_noexl_ctx.
15230 (libc_feholdsetround_ctx): New function.
15231 (libc_feresetround_ctx): New function.
15232 (libc_feholdsetround_noex_ctx): New function.
15233 (libc_feresetround_noex_ctx): New function.
15235 2014-06-23 Roland McGrath <roland@hack.frob.com>
15237 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15238 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15239 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15240 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15241 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15242 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15244 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15245 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15246 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15247 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15248 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15249 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15250 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15251 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15252 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15253 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15254 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15256 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15258 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15259 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15260 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15261 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15262 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15264 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15265 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15266 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15267 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15268 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15269 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15270 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15271 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15273 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15274 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15276 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15277 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15278 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15279 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15281 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15282 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15283 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15284 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15285 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15286 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15287 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15288 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15289 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15290 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15292 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15294 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15295 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15296 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15297 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15298 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15299 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15300 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15301 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15302 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15303 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15304 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15305 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15306 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15308 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15309 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15310 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15311 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15312 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15313 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15315 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15316 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15317 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15318 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15319 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15321 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15322 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15323 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15324 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15325 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15326 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15327 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15328 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15329 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15330 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15331 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15332 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15333 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15334 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15335 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15336 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15337 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15338 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15339 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15340 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15341 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15342 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15343 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15344 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15345 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15346 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15347 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15348 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15350 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15352 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15353 (FALLOC_FL_COLLAPSE_RANGE): New macro.
15354 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15355 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15356 (IPV6_PMTUDISC_INTERFACE): Likewise.
15357 (IPV6_PMTUDISC_OMIT): Likewise.
15359 2014-06-23 Andreas Schwab <schwab@suse.de>
15361 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15362 Remove unused errout label.
15364 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15366 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15367 macro: hardware supports Vector Crypto instructions.
15369 2014-06-23 Will Newton <will.newton@linaro.org>
15371 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15372 rather than __builtin_expect.
15374 * elf/dl-lookup.c (undefined_msg): Remove variable.
15375 (_dl_lookup_symbol_x): Replace undefined_msg with string
15378 * elf/dl-lookup.c (do_lookup_unique): New function.
15379 (do_lookup_x): Move STB_GNU_UNIQUE handling code
15380 to a separate function.
15382 2014-06-23 Andreas Schwab <schwab@suse.de>
15385 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15386 before reading the next line.
15388 2014-06-23 Will Newton <will.newton@linaro.org>
15390 * test-skeleton.c (signal_handler): Use printf and %m
15391 rather than perror. Use printf rather than fprintf to
15392 stderr. Use puts rather than fputs to stderr.
15395 2014-06-22 Ludovic Courtès <ludo@gnu.org>
15397 * nscd/nscd.c (thread_info_t): Remove typedef.
15398 (thread_info): Remove variable.
15400 2014-06-21 Allan McRae <allan@archlinux.org>
15402 * NEWS: Mention CVE-2014-4043.
15404 2014-06-20 Roland McGrath <roland@hack.frob.com>
15406 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15407 * nptl/smp.h: ... here.
15409 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15411 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15412 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15413 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15414 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15416 * nptl/allocatestack.c: Include <stack-aliasing.h>.
15417 * nptl/stack-aliasing.h: New file.
15418 * sysdeps/i386/i686/stack-aliasing.h: New file.
15419 * sysdeps/i386/i686/nptl/Makefile: File removed.
15420 * sysdeps/x86_64/stack-aliasing.h: New file.
15421 * sysdeps/x86_64/nptl/Makefile
15422 (CFLAGS-pthread_create.c): Variable removed.
15424 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15425 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15427 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15428 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15431 2014-06-21 Joseph Myers <joseph@codesourcery.com>
15433 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15434 (__ASSUME_SIGFRAME_V2): Remove macro.
15435 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15436 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15437 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15438 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15439 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15440 Declare as function. Remove conditional macro definitions.
15441 (__default_rt_sa_restorer): Likewise.
15442 (__default_sa_restorer_v1): Remove declaration.
15443 (__default_sa_restorer_v2): Likewise.
15444 (__default_rt_sa_restorer_v1): Likewise.
15445 (__default_rt_sa_restorer_v2): Likewise.
15446 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15447 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15448 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15450 2014-06-20 Roland McGrath <roland@hack.frob.com>
15452 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15453 (libpthread-routines): Add sysdep.
15454 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15455 * sysdeps/unix/sysv/linux/sparc/Versions
15456 (libpthread: GLIBC_2.3.3): New version set.
15457 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15458 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15459 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15460 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15461 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
15462 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15464 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15465 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15466 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15467 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15468 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15469 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15470 * sysdeps/sparc/nptl/sem_init.c: ... here.
15471 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15472 * sysdeps/sparc/nptl/sem_post.c: ... here.
15473 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15474 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15475 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15476 * sysdeps/sparc/nptl/sem_wait.c: ... here.
15477 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15478 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15479 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15480 (libpthread-routines): Add cpu_relax.
15481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15483 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15484 (librt: GLIBC_2.3.3): New version set.
15485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15486 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15487 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15488 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15491 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15494 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15495 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15496 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15497 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15498 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15500 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15502 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15505 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15507 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15509 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15511 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15513 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15515 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15517 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15519 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15521 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15523 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15525 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15527 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15528 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15529 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15531 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15532 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15533 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15534 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15535 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15536 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15537 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15539 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15541 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15542 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15543 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15545 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15547 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15548 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15549 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15550 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15551 * nscd/nscd.c: Likewise.
15552 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15553 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15554 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15555 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15557 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15558 <kernel-features.h>.
15559 (init_mq_netlink): Remove conditional have_sock_cloexec
15560 definitions. Remove code conditional on have_sock_cloexec < 0.
15561 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15562 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15563 * sysdeps/unix/sysv/linux/opensock.c: Do not include
15564 <kernel-features.h>.
15565 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15566 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15568 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15570 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15571 Add tests for memset_chk and memset.
15573 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15576 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15579 * elf/tst-dl-iter-static.c: New file.
15580 * elf/Makefile (tests-static): Add tst-dl-iter-static.
15582 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15585 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15587 * sysdeps/unix/sysv/linux/kernel-features.h
15588 (__ASSUME_F_GETOWN_EX): Remove macro.
15589 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15590 <kernel-features.h>.
15591 (miss_F_GETOWN_EX): Remove variable or macro.
15592 (do_fcntl): Do not check miss_F_GETOWN_EX.
15593 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15595 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15597 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15598 [!__ASSUME_AT_RANDOM]: Remove conditional code.
15599 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15601 * sysdeps/unix/sysv/linux/kernel-features.h
15602 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15603 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15604 [ADJ_OFFSET_SS_READ]: Make code unconditional.
15605 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15607 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15610 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15611 Fix calculation of the symbol's value.
15612 * sysdeps/arm/tst-armtlsdescloc.c: New file.
15613 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15614 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15615 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15616 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15617 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15618 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15619 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15620 (modules-names): Add `tst-armtlsdescmod',
15621 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15622 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15623 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15624 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15625 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15626 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15627 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15628 ($(objpfx)tst-armtlsdescloc): New dependency.
15629 ($(objpfx)tst-armtlsdescextnow): Likewise.
15630 ($(objpfx)tst-armtlsdescextlazy): Likewise.
15631 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15632 TLS scheme support.
15633 * sysdeps/arm/configure: Regenerate.
15635 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15637 * include/fcntl.h (__atfct_seterrno): Remove prototype.
15638 (__atfct_seterrno_2): Likewise.
15639 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15640 <kernel-features.h>.
15641 (__ASSUME_ATFCTS): Do not undefine and redefine.
15642 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15643 (__have_atfcts): Remove conditional definition.
15644 (__fxstatat([__NR_fstatat64]: Make code unconditional.
15645 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15646 unreachable if [__ASSUME_ATFCTS].
15647 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15648 not undefine and redefine.
15649 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15650 <kernel-features.h>.
15651 (faccessat) [__NR_faccessat]: Make code unconditional.
15652 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15653 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15654 <kernel-features.h>.
15655 (fchmodat) [__NR_fchmodat]: Make code unconditional.
15656 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15657 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15658 <kernel-features.h>.
15659 (fchownat) [__NR_fchownat]: Make code unconditional.
15660 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15661 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15662 <kernel-features.h>.
15663 (futimesat) [__NR_futimesat]: Make code unconditional.
15664 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15665 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15666 <kernel-features.h>.
15667 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15668 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15669 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15670 <kernel-features.h>.
15671 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15672 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15673 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15674 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15675 <kernel-features.h>.
15676 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15677 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15678 * sysdeps/unix/sysv/linux/linkat.c: Do not include
15679 <kernel-features.h>.
15680 (linkat) [__NR_linkat]: Make code unconditional.
15681 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15682 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15683 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15684 <kernel-features.h>.
15685 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15686 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15687 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15688 <kernel-features.h>.
15689 (mkdirat) [__NR_mkdirat]: Make code unconditional.
15690 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15691 * sysdeps/unix/sysv/linux/openat.c: Do not include
15692 <kernel-features.h>.
15693 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15694 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15695 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15696 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15697 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15698 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15699 <kernel-features.h>.
15700 (readlinkat) [__NR_readlinkat]: Make code unconditional.
15701 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
15702 result of INLINE_SYSCALL directly, not via int variable.
15703 * sysdeps/unix/sysv/linux/renameat.c: Do not include
15704 <kernel-features.h>.
15705 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15706 (renameat) [__NR_renameat]: Make code unconditional.
15707 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15708 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15709 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15710 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15711 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15712 (__ASSUME_ATFCTS): Do not undefine and redefine.
15713 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15714 <kernel-features.h>.
15715 (symlinkat) [__NR_symlinkat]: Make code unconditional.
15716 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15717 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15718 <kernel-features.h>.
15719 (unlinkat) [__NR_unlinkat]: Make code unconditional.
15720 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15721 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15722 (__ASSUME_ATFCTS): Do not undefine and redefine.
15723 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15724 <kernel-features.h>.
15725 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15726 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15727 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15728 <kernel-features.h>.
15729 (__xmknodat) [__NR_mknodat]: Make code unconditional.
15730 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15732 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15734 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15736 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
15739 * posix/regcomp.c (parse_reg_exp): Deallocate partially
15740 constructed tree before returning error.
15741 * posix/bug-regexp36.c: Expand test case.
15743 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15746 * math/libm-test.inc (scalbln_test_date):
15747 Add errno expectations.
15748 * math/w_scalblnf.c: New File.
15749 Add wrapper which checks for setting errno to ERANGE.
15750 Add weak_alias for corresponding scalbln function.
15751 * math/w_scalbln.c: Likewise.
15752 * math/w_scalblnl.c: Likewise.
15753 * math/Makefile (libm-calls): Add w_scalbln.
15754 * sysdeps/ieee754/flt-32/s_scalblnf.c:
15755 Remove weak_alias for corresponding scalbln function.
15756 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15757 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15758 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15759 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15760 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15761 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15762 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15763 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15764 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15765 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15766 Remove long_double_symbol for scalblnl function in libm, libc.
15767 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15768 Add wrapper which checks for setting errno to ERANGE.
15769 Add long_double_symbol for scalblnl function in libm, libc.
15770 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15771 Remove long_double_symbol for scalblnl in libm.
15772 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15773 Add wrapper which checks for setting errno to ERANGE.
15774 Add long_double_symbol for scalblnl function in libm.
15775 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15776 Do not use wrapper because of own implementation.
15778 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
15780 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15781 3 bytes for __pad1 for x32.
15782 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15784 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
15785 H.J. Lu <hongjiu.lu@intel.com>
15787 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15788 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15789 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15790 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15791 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15793 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
15796 * posix/regcomp.c (parse_expression): Deallocate partially
15797 constructed tree before returning error.
15798 * posix/Makefile.c (tests): Add bug-regex36.
15799 (generated): Add bug-regex36.mtrace.
15800 (tests-special): Add $(objpfx)bug-regex36-mem.out
15801 (bug-regex36-ENV): New variable.
15802 ($(objpfx)bug-regex36-mem.out): New rule.
15803 * posix/bug-regex36.c: New file.
15805 2014-06-19 Will Newton <will.newton@linaro.org>
15807 * malloc/malloc.c (systrim): If extra is zero then return
15810 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15812 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15814 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
15816 * sysdeps/aarch64/strchr.S: New file.
15818 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15821 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15822 from arguments -2 or below.
15823 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15824 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15826 2014-06-18 Andreas Schwab <schwab@suse.de>
15829 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15830 of a bracket expr not to run off the end of the string.
15831 * posix/Makefile (tests): Add tst-fnmatch3.
15832 * posix/tst-fnmatch3.c: New file.
15834 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15836 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15837 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15838 [$(cross-compiling) = no]: Likewise.
15839 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15840 [$(cross-compiling) = no]: Likewise.
15842 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15845 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15846 double, adjusted for any remainder from the high double.
15847 * math/libm-test.inc (nearbyint): Add tests.
15850 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15852 * nptl/sysdeps/powerpc/Makefile: Moved ...
15853 * sysdeps/powerpc/nptl/Makefile: ... here.
15854 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15855 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15856 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15857 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15858 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15859 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15860 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15861 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15862 * nptl/sysdeps/powerpc/tls.h: Moved ...
15863 * sysdeps/powerpc/nptl/tls.h: ... here.
15865 2014-06-16 Joseph Myers <joseph@codesourcery.com>
15868 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15869 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15870 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15871 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15872 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15873 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15874 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15875 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15876 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15878 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
15880 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15882 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
15884 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15887 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15890 2014-06-16 Florian Weimer <fweimer@redhat.com>
15893 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15894 non-executed part of the test.
15896 2014-06-16 Andreas Schwab <schwab@suse.de>
15898 * string/bits/string2.h (strdup, strndup): Update feature guard.
15900 2014-06-14 David S. Miller <davem@davemloft.net>
15902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15904 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
15906 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15907 that was previously under [RESET_PID].
15908 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15910 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15911 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15912 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15913 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15914 (__libc_vfork): New strong alias.
15915 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15917 2014-06-14 Andi Kleen <ak@linux.intel.com>
15919 * sysdeps/generic/elide.h: New file.
15921 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15923 * Makefile (installed-headers): Adjust path of pthread.h header.
15925 2014-06-13 Roland McGrath <roland@hack.frob.com>
15927 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15928 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15929 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15930 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15932 * nptl/sysdeps/s390/Makefile: Moved ...
15933 * sysdeps/s390/nptl/Makefile: ... here.
15934 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15935 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15936 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15937 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15938 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15939 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15940 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15941 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15942 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15943 * sysdeps/s390/nptl/pthreaddef.h: ... here.
15944 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15945 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15946 * nptl/sysdeps/s390/tls.h: Moved ...
15947 * sysdeps/s390/nptl/tls.h: ... here.
15949 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15950 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15952 2014-06-13 David S. Miller <davem@davemloft.net>
15954 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15955 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15956 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15957 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15958 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15959 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15960 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15961 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15962 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15963 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15964 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15965 Remove RESET_PID cpp guards.
15966 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15967 Remove RESET_PID cpp guards.
15968 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15970 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
15972 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15975 2014-06-13 Andi Kleen <ak@linux.intel.com>
15977 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15978 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15979 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15980 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15981 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15982 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15983 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15984 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15985 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15986 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15987 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15988 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15989 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15990 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15991 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15992 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15993 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15994 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15995 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15996 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15998 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15999 (pthread_rwlock_rdlock): Add elision.
16000 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16001 (pthread_rwlock_wrlock): Add elision.
16002 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16003 (pthread_rwlock_trywrlock): Add elision.
16004 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16005 (pthread_rwlock_tryrdlock): Add elision.
16006 * nptl/pthread_rwlock_unlock.c: Include elide.h.
16007 (pthread_rwlock_tryrdlock): Add elision unlock.
16008 * nptl/sysdeps/pthread/pthread.h:
16009 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16010 (PTHREAD_RWLOCK_INITIALIZER,
16011 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16012 Handle new elision field.
16013 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16014 * sysdeps/arm/nptl/bits/pthreadtypes.h
16015 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16016 * sysdeps/sh/nptl/bits/pthreadtypes.h
16017 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16018 * sysdeps/tile/nptl/bits/pthreadtypes.h
16019 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16020 * sysdeps/a/nptl/bits/pthreadtypes.h
16021 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16022 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16023 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16024 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16025 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16026 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16027 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16028 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16029 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16030 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16031 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16032 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16033 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16034 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16035 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16036 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16037 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16038 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16039 (elision_init): Set try_xbegin to zero when no RTM.
16040 * sysdeps/x86/nptl/bits/pthreadtypes.h
16041 (pthread_rwlock_t): Change __pad1 to __rwelision.
16042 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16044 2014-06-13 Andi Kleen <ak@linux.intel.com>
16046 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16047 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16048 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16049 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16051 2014-06-13 Meador Inge <meadori@codesourcery.com>
16054 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16055 that the cached result has been set before returning it.
16057 2014-06-12 Roland McGrath <roland@hack.frob.com>
16059 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16060 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16061 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16062 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16063 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16064 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16066 * nptl/sysdeps/sparc/Makefile: Moved ...
16067 * sysdeps/sparc/nptl/Makefile: ... here.
16068 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16069 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16070 * nptl/sysdeps/sparc/tls.h: Moved ...
16071 * sysdeps/sparc/nptl/tls.h: ... here.
16072 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16073 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16074 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16075 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16076 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16077 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16078 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16079 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16080 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16081 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16082 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16083 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16084 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16085 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16086 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16087 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16088 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16089 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16091 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16092 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16094 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16095 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16097 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16098 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16101 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16103 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16104 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16106 * sysdeps/pthread/posix-timer.h: Include <list.h>.
16107 (struct list_links): Type removed.
16108 (struct thread_node, struct timer_node): Replace struct list_links
16109 with struct list_head.
16110 (list_unlink_ip): Likewise.
16111 * sysdeps/pthread/timer_routines.c
16112 (timer_free_list, thread_free_list, thread_active_list): Likewise.
16113 (list_append, list_insbefore): Likewise.
16114 (list_init): Function removed.
16115 (thread_init, init_module): Use INIT_LIST_HEAD instead.
16116 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16117 * sysdeps/pthread/Makefile: ... here, new file.
16119 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16120 * sysdeps/nptl/Implies: ... here.
16121 * sysdeps/unix/sysv/linux/Implies: Add nptl.
16122 * nptl/sysdeps/pthread/list.h: Moved ...
16123 * include/list.h: ... here.
16124 * nptl/sysdeps/pthread/createthread.c: Moved ...
16125 * nptl/createthread.c: ... here.
16126 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16127 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16128 * nptl/pt-longjmp.c: ... here.
16129 * nptl/sysdeps/pthread/Makefile: Moved ...
16130 * sysdeps/nptl/Makefile: ... here.
16131 * nptl/sysdeps/pthread/Subdirs: Moved ...
16132 * sysdeps/nptl/Subdirs: ... here.
16133 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16134 * sysdeps/nptl/aio_misc.h: ... here.
16135 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16136 * sysdeps/nptl/bits/libc-lock.h: ... here.
16137 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16138 * sysdeps/nptl/bits/libc-lockP.h: ... here.
16139 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16140 * sysdeps/nptl/bits/stdio-lock.h: ... here.
16141 * nptl/sysdeps/pthread/configure: Moved ...
16142 * sysdeps/nptl/configure: ... here.
16143 * nptl/sysdeps/pthread/configure.ac: Moved ...
16144 * sysdeps/nptl/configure.ac: ... here.
16145 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16146 * sysdeps/nptl/gai_misc.h: ... here.
16147 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16148 * sysdeps/nptl/librt-cancellation.c: ... here.
16149 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16150 * sysdeps/nptl/malloc-machine.h: ... here.
16151 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16152 * sysdeps/nptl/pthread-functions.h: ... here.
16153 * nptl/sysdeps/pthread/pthread.h: Moved ...
16154 * sysdeps/nptl/pthread.h: ... here.
16155 * nptl/sysdeps/pthread/setxid.h: Moved ...
16156 * sysdeps/nptl/setxid.h: ... here.
16157 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16158 * sysdeps/nptl/sigfillset.c: ... here.
16159 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16160 * sysdeps/nptl/tcb-offsets.h: ... here.
16161 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16162 * sysdeps/nptl/tst-mqueue8x.c: ... here.
16163 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16164 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16165 * nptl/sysdeps/pthread/allocalim.h: Moved ...
16166 * sysdeps/pthread/allocalim.h: ... here.
16167 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16168 * sysdeps/pthread/bits/sigthread.h: ... here.
16169 * nptl/sysdeps/pthread/flockfile.c: Moved ...
16170 * sysdeps/pthread/flockfile.c: ... here.
16171 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16172 * sysdeps/pthread/ftrylockfile.c: ... here.
16173 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16174 * sysdeps/pthread/funlockfile.c: ... here.
16175 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16176 * sysdeps/pthread/posix-timer.h: ... here.
16177 * nptl/sysdeps/pthread/timer_create.c: Moved ...
16178 * sysdeps/pthread/timer_create.c: ... here.
16179 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16180 * sysdeps/pthread/timer_delete.c: ... here.
16181 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16182 * sysdeps/pthread/timer_getoverr.c: ... here.
16183 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16184 * sysdeps/pthread/timer_gettime.c: ... here.
16185 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16186 * sysdeps/pthread/timer_routines.c: ... here.
16187 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16188 * sysdeps/pthread/timer_settime.c: ... here.
16189 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16190 * sysdeps/pthread/tst-timer.c: ... here.
16191 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16192 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16194 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16195 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16197 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16198 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16199 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16200 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16201 Update #include target.
16202 * nptl/sysdeps/i386/i686/Makefile: Moved ...
16203 * sysdeps/i386/i686/nptl/Makefile: ... here.
16204 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16205 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16206 Update #include target.
16207 * nptl/sysdeps/i386/i686/tls.h: Moved ...
16208 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
16209 * nptl/sysdeps/i386/Makefile: Moved ...
16210 * sysdeps/i386/nptl/Makefile: ... here.
16211 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16212 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16213 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16214 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16215 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16216 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16217 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16218 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16219 * sysdeps/i386/nptl/pthreaddef.h: ... here.
16220 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16221 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16222 * nptl/sysdeps/i386/tls.h: Moved ...
16223 * sysdeps/i386/nptl/tls.h: ... here.
16225 * sysdeps/sh/Makefile [$(subdir) = csu]
16226 (gen-as-const-headers): Add tcb-offsets.sym.
16227 * nptl/sysdeps/sh/Makefile: File removed.
16228 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16229 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16230 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16231 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16232 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16233 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16234 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16235 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16236 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16237 * sysdeps/sh/nptl/pthreaddef.h: ... here.
16238 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16239 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16240 * nptl/sysdeps/sh/tls.h: Moved ...
16241 * sysdeps/sh/nptl/tls.h: ... here.
16242 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16243 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16244 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16245 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16246 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16247 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16248 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16249 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16250 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16251 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16252 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16253 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16254 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16255 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16256 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16257 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16258 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16259 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16260 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16261 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16262 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16263 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16264 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16265 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16266 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16268 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16269 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16271 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16272 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16273 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16274 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16275 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16276 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16277 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16278 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16279 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16280 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16281 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16282 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16283 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16284 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16285 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16286 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16287 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16288 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16289 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16291 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16293 * posix/spawn_faction_addopen.c: Include string.h.
16295 2014-06-11 Roland McGrath <roland@hack.frob.com>
16297 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16298 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16299 * nptl/sysdeps/x86_64/Makefile: Moved ...
16300 * sysdeps/x86_64/nptl/Makefile: ... here.
16301 * nptl/sysdeps/x86_64/configure: Moved ...
16302 * sysdeps/x86_64/nptl/configure: ... here.
16303 * nptl/sysdeps/x86_64/configure.ac: Moved ...
16304 * sysdeps/x86_64/nptl/configure.ac: ... here.
16305 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16306 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16307 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16308 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16309 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16310 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16311 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16312 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16313 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16314 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16315 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16316 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16317 * nptl/sysdeps/x86_64/tls.h: Moved ...
16318 * sysdeps/x86_64/nptl/tls.h: ... here.
16319 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16320 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16321 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16322 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16324 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16326 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16330 2014-06-11 Joseph Myers <joseph@codesourcery.com>
16332 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16334 [POSIX] (off_t): Likewise.
16335 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16336 [POSIX] (S_ISBLK): Require macro.
16337 [POSIX] (S_ISCHR): Likewise.
16338 [POSIX] (S_ISDIR): Likewise.
16339 [POSIX] (S_ISFIFO): Likewise.
16340 [POSIX] (S_ISREG): Likewise.
16341 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16343 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16345 [POSIX] (time_t): Likewise.
16346 [POSIX] (timer_t): Likewise.
16348 2014-06-11 Florian Weimer <fweimer@redhat.com>
16351 * posix/spawn_int.h (struct __spawn_action): Make the path string
16352 non-const to support deallocation.
16353 * posix/spawn_faction_addopen.c
16354 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16355 * posix/spawn_faction_destroy.c
16356 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
16357 path in all spawn_do_open actions.
16358 * posix/tst-spawn.c (do_test): Exercise the copy operation in
16359 posix_spawn_file_actions_addopen.
16361 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
16363 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16364 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16365 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16366 conditional code always true.
16367 (__libc_vfork): New alias.
16369 2014-06-11 Roland McGrath <roland@hack.frob.com>
16371 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16372 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16374 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16376 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16377 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16379 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16380 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16382 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16383 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16385 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16387 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16388 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16389 multiarch strcmp for PPC64.
16390 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16391 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16392 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16393 multiarch optimizations.
16394 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16395 (__libc_ifunc_impl_list): Likewise.
16397 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16399 * benchtests/scripts/validate_benchout.py: New script.
16400 * benchtests/Makefile (bench-func): Call it.
16401 * benchtests/scripts/benchout.schema.json: New file.
16403 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
16405 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16406 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16407 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16408 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16409 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16410 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16411 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16412 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16413 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16414 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16415 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16416 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16417 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16418 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16419 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16420 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16524 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16525 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16526 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16527 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16528 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16530 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16532 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16533 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16534 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16535 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16536 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16537 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16538 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16539 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16540 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16541 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16542 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16543 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16544 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16546 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16547 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16549 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16550 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16551 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16552 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16554 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16555 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16556 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16557 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16558 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16559 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16560 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16562 2014-06-10 Wilco <wdijkstr@arm.com>
16564 * math/test-fenv-return.c: New file.
16565 * math/Makefile: Add new test test-fenv-return.
16567 2014-06-10 Joseph Myers <joseph@codesourcery.com>
16570 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16571 when x - 1 is zero.
16572 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16573 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16574 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16575 0.0L for an argument of 1.0L.
16576 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16578 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16579 value when x - 1 is zero.
16580 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16581 * sysdeps/i386/fpu/libm-test-ulps: Update.
16582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16584 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
16587 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16589 2014-06-09 Roland McGrath <roland@hack.frob.com>
16591 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16592 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16594 2014-06-09 Roland McGrath <roland@hack.frob.com>
16596 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16597 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16599 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16600 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16602 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16603 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16605 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16606 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16608 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16609 if not already defined.
16610 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16611 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16612 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16613 (TLS_INIT_TP): Use it.
16614 (TLS_DEFINE_INIT_TP): New macro.
16615 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16617 2014-06-09 Joseph Myers <joseph@codesourcery.com>
16619 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16621 [POSIX] (IXANY): Likewise.
16622 [POSIX] (OLCUC): Likewise.
16623 [POSIX || POSIX2008] (CBAUD): Do not allow.
16624 [POSIX || POSIX2008] (DEFECHO): Likewise.
16625 [POSIX || POSIX2008] (ECHOCTL): Likewise.
16626 [POSIX || POSIX2008] (ECHOKE): Likewise.
16627 [POSIX || POSIX2008] (ECHOPRT): Likewise.
16628 [POSIX || POSIX2008] (EXTA): Likewise.
16629 [POSIX || POSIX2008] (EXTB): Likewise.
16630 [POSIX || POSIX2008] (FLUSHO): Likewise.
16631 [POSIX || POSIX2008] (LOBLK): Likewise.
16632 [POSIX || POSIX2008] (PENDIN): Likewise.
16633 [POSIX || POSIX2008] (SWTCH): Likewise.
16634 [POSIX || POSIX2008] (VDISCARD): Likewise.
16635 [POSIX || POSIX2008] (VDSUSP): Likewise.
16636 [POSIX || POSIX2008] (VLNEXT): Likewise.
16637 [POSIX || POSIX2008] (VREPRINT): Likewise.
16638 [POSIX || POSIX2008] (VSTATUS): Likewise.
16639 [POSIX || POSIX2008] (VWERASE): Likewise.
16640 (B*): Change to B[0123456789]*.
16641 * conform/data/time.h-data [POSIX || UNIX98]
16642 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16643 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16644 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16645 [POSIX] (tm_*): Do not allow.
16647 2014-06-07 Joseph Myers <joseph@codesourcery.com>
16649 * Makefile (install): Don't set LANGUAGE.
16650 * Makefile.in (install): Likewise.
16651 * assert/Makefile (test-assert-ENV): Remove variable.
16652 (test-assert-perr-ENV): Likewise.
16653 * elf/Makefile (neededtest4-ENV): Likewise.
16654 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16655 [$(cross-compiling) = no]: Don't set LANGUAGE.
16656 * io/ftwtest-sh (LANG): Remove variable.
16657 * libio/Makefile (tst-widetext-ENV): Likewise.
16658 * manual/install.texi (Running make install): Don't refer to
16659 environment settings for make install.
16660 * INSTALL: Regenerated.
16661 * nptl/tst-tls6.sh: Don't set LANG.
16662 * posix/globtest.sh (LANG): Remove variable.
16663 * string/Makefile (tester-ENV): Likewise.
16664 (inl-tester-ENV): Likewise.
16665 (noinl-tester-ENV): Likewise.
16666 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16667 [$(cross-compiling) = no]: Don't set LANGUAGE.
16668 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16669 without explicit environment settings.
16671 2014-06-06 Roland McGrath <roland@hack.frob.com>
16673 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16674 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16675 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16676 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16678 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
16680 * crypt/crypt-private.h [DOS]: Add some includes taken from the
16681 other files in the crypt directory.
16682 * crypt/crypt.c: Remove duplicate includes.
16683 * crypt/crypt-entry.c: Likewise.
16684 * crypt/crypt_util.c: Likewise.
16686 2014-06-06 Joseph Myers <joseph@codesourcery.com>
16688 * Makeconfig (run-program-env): New variable.
16689 (run-program-prefix-before-env): Likewise.
16690 (run-program-prefix-after-env): Likewise.
16691 (run-program-prefix): Define in terms of new variables.
16692 (built-program-cmd-before-env): New variable.
16693 (built-program-cmd-after-env): Likewise.
16694 (built-program-cmd): Define in terms of new variables.
16695 (test-program-prefix-before-env): New variable.
16696 (test-program-prefix-after-env): Likewise.
16697 (test-program-prefix): Define in terms of new variables.
16698 (test-program-cmd-before-env): New variable.
16699 (test-program-cmd-after-env): Likewise.
16700 (test-program-cmd): Define in terms of new variables.
16701 * Rules (make-test-out): Use $(run-program-env).
16702 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16703 (help): Do not mention environment variables. Mention
16704 --timeoutfactor option.
16705 (timeoutfactor): New variable.
16706 (blacklist_exports): Remove function.
16707 (exports): Remove variable.
16708 (command): Do not include ${exports}.
16709 * manual/install.texi (Configuring and compiling): Do not mention
16710 test wrappers preserving environment variables. Mention that last
16711 assignment to a variable must take precedence.
16712 * INSTALL: Regenerated.
16713 * benchtests/Makefile (run-bench): Use $(run-program-env).
16714 * catgets/Makefile ($(objpfx)test1.cat): Use
16715 $(built-program-cmd-before-env), $(run-program-env) and
16716 $(built-program-cmd-after-env).
16717 ($(objpfx)test2.cat): Do not specify environment variables
16719 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16720 $(run-program-env) and $(built-program-cmd-after-env).
16721 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16722 $(run-program-env) and $(test-program-cmd-after-env).
16723 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16725 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16726 run_program_env and test_program_cmd_after_env arguments.
16727 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16728 * elf/tst-pathopt.sh: Use run_program_env argument.
16729 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16730 $(test-wrapper-env) and $(run-program-env).
16731 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16732 run_program_env arguments.
16733 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16734 * intl/Makefile ($(objpfx)tst-gettext.out): Use
16735 $(test-program-prefix-before-env), $(run-program-env) and
16736 $(test-program-prefix-after-env).
16737 ($(objpfx)tst-gettext2.out): Likewise.
16738 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16739 run_program_env and test_program_prefix_after_env arguments.
16740 * intl/tst-gettext2.sh: Likewise.
16741 * intl/tst-gettext4.sh: Do not set environment variables
16743 * intl/tst-gettext6.sh: Likewise.
16744 * intl/tst-translit.sh: Likewise.
16745 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16746 $(test-program-prefix-before-env), $(run-program-env) and
16747 $(test-program-prefix-after-env).
16748 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16749 run_program_env and test_program_prefix_after_env arguments.
16750 * math/Makefile (run-regen-ulps): Use $(run-program-env).
16751 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16752 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
16753 explicitly with each use of ${test_wrapper_env}.
16754 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16755 $(test-program-prefix-before-env), $(run-program-env) and
16756 $(test-program-prefix-after-env).
16757 * posix/tst-getconf.sh: Do not set environment variables
16759 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16760 run_program_env and test_program_prefix_after_env arguments.
16761 * stdio-common/tst-printf.sh: Do not set environment variables
16763 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16764 $(test-program-prefix-before-env), $(run-program-env) and
16765 $(test-program-prefix-after-env).
16766 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16767 run_program_env and test_program_prefix_after_env arguments.
16768 Split $test calls into $test_pre and $test.
16769 * timezone/Makefile (build-testdata): Use
16770 $(built-program-cmd-before-env), $(run-program-env) and
16771 $(built-program-cmd-after-env).
16773 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16775 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16776 strlen for non SHARED builds.
16778 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16780 * nptl/allocatestack.c (check_list): Inlined function...
16781 (__reclaim_stacks): ... here.
16783 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16786 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16789 2014-06-05 Joseph Myers <joseph@codesourcery.com>
16791 * Rules (make-test-out): Include
16792 LOCPATH=$(common-objpfx)localedata in default environment.
16793 * debug/Makefile (tst-chk1-ENV): Remove variable.
16794 (tst-chk2-ENV): Likewise.
16795 (tst-chk3-ENV): Likewise.
16796 (tst-chk4-ENV): Likewise.
16797 (tst-chk5-ENV): Likewise.
16798 (tst-chk6-ENV): Likewise.
16799 (tst-lfschk1-ENV): Likewise.
16800 (tst-lfschk2-ENV): Likewise.
16801 (tst-lfschk3-ENV): Likewise.
16802 (tst-lfschk4-ENV): Likewise.
16803 (tst-lfschk5-ENV): Likewise.
16804 (tst-lfschk6-ENV): Likewise.
16805 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16806 (tst-iconv7-ENV): Likewise.
16807 * intl/Makefile (LOCPATH-ENV): Likewise.
16808 (tst-codeset-ENV): Likewise.
16809 (tst-gettext3-ENV): Likewise.
16810 (tst-gettext5-ENV): Likewise.
16811 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16812 (tst-fopenloc-ENV): Likewise.
16813 (tst-fgetws-ENV): Remove variable.
16814 (tst-ungetwc1-ENV): Likewise.
16815 (tst-ungetwc2-ENV): Likewise.
16816 (bug-ungetwc2-ENV): Likewise.
16817 (tst-swscanf-ENV): Likewise.
16818 (bug-ftell-ENV): Likewise.
16819 (tst-fgetwc-ENV): Likewise.
16820 (tst-fseek-ENV): Likewise.
16821 (tst-ftell-partial-wide-ENV): Likewise.
16822 (tst-ftell-active-handler-ENV): Likewise.
16823 (tst-ftell-append-ENV): Likewise.
16824 * posix/Makefile (tst-fnmatch-ENV): Likewise.
16825 (tst-regexloc-ENV): Likewise.
16826 (bug-regex1-ENV): Likewise.
16827 (tst-regex-ENV): Likewise.
16828 (tst-regex2-ENV): Likewise.
16829 (bug-regex5-ENV): Likewise.
16830 (bug-regex6-ENV): Likewise.
16831 (bug-regex17-ENV): Likewise.
16832 (bug-regex18-ENV): Likewise.
16833 (bug-regex19-ENV): Likewise.
16834 (bug-regex20-ENV): Likewise.
16835 (bug-regex22-ENV): Likewise.
16836 (bug-regex23-ENV): Likewise.
16837 (bug-regex25-ENV): Likewise.
16838 (bug-regex26-ENV): Likewise.
16839 (bug-regex30-ENV): Likewise.
16840 (bug-regex32-ENV): Likewise.
16841 (bug-regex33-ENV): Likewise.
16842 (bug-regex34-ENV): Likewise.
16843 (bug-regex35-ENV): Likewise.
16844 (tst-rxspencer-ENV): Likewise.
16845 (tst-rxspencer-no-utf8-ENV): Likewise.
16846 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16847 (tst-sscanf-ENV): Likewise.
16848 (tst-swprintf-ENV): Likewise.
16849 (tst-swscanf-ENV): Likewise.
16850 (test-vfprintf-ENV): Likewise.
16851 (scanf13-ENV): Likewise.
16852 (bug14-ENV): Likewise.
16853 (tst-grouping-ENV): Likewise.
16854 * stdlib/Makefile (tst-strtod-ENV): Likewise.
16855 (tst-strtod3-ENV): Likewise.
16856 (tst-strtod4-ENV): Likewise.
16857 (tst-strtod5-ENV): Likewise.
16858 (testmb2-ENV): Likewise./
16859 * string/Makefile (tst-strxfrm-ENV): Likewise.
16860 (tst-strxfrm2-ENV): Likewise.
16861 (bug-strcoll1-ENV): Likewise.
16862 (test-strcasecmp-ENV): Likewise.
16863 (test-strncasecmp-ENV): Likewise.
16864 * time/Makefile (tst-strptime-ENV): Likewise.
16865 (tst-ftime_l-ENV): Likewise.
16866 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16867 (tst-mbrtowc-ENV): Likewise.
16868 (tst-wcrtomb-ENV): Likewise.
16869 (tst-mbrtowc2-ENV): Likewise.
16870 (tst-c16c32-1-ENV): Likewise.
16871 (tst-mbsnrtowcs-ENV): Likewise.
16873 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16875 * manual/resource.texi (How to get information about the memory
16876 subsystem?): Fix typo.
16877 Reported by Peon de la Parra Ivan <peon@keba.com>
16879 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
16882 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16883 (pthread_spin_lock): Branch out of spin loop to proper location.
16884 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16885 (pthread_spin_lock): Likewise.
16887 * nptl/tst-spin4.c: New test.
16888 * nptl/Makefile (tests): Add tst-spin4.
16890 2014-06-03 Andreas Schwab <schwab@suse.de>
16893 * resolv/res_send.c (send_dg): Reload file descriptor after
16896 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
16898 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16900 2014-06-03 Richard Henderson <rth@redhat.com>
16902 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16903 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16904 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16905 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
16906 in the SAVE_PID block.
16907 (__libc_vfork): New alias.
16908 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16910 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16911 child in registers, not on the stack. Remove RESET_PID conditionals.
16912 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16914 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
16916 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16918 2014-06-03 Wilco <wdijkstr@arm.com>
16920 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16921 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16922 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16923 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16924 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16927 2014-06-03 Wilco <wdijkstr@arm.com>
16929 * sysdeps/aarch64/fpu/math_private.h
16930 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16931 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16932 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16933 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16936 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16938 * crypt/crypt-private.h: Include ufc-crypt.h.
16939 (__b64_from_24bit): Declare extern.
16940 * crypt/crypt_util.c(__b64_from_24bit): New function.
16941 (b64t): New static const variable.
16942 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16943 (b64t): Remove variable.
16944 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16945 * crypt/sha256-crypt.c: Include crypt-private.h.
16946 (b64t): Remove variable.
16947 (__sha256_crypt_r): Remove b64_from_24bit and replace
16948 with __b64_from_24bit.
16949 * crypt/sha512-crypt.c: Likewise.
16951 2014-06-02 Roland McGrath <roland@hack.frob.com>
16953 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16954 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16955 Label the code __libc_vfork rather than __vfork.
16956 [!NOT_IN_libc] (vfork): Define as weak alias.
16957 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16958 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16959 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16961 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16963 * malloc/malloc.c (malloc_info): Fix format specifier for
16966 2014-06-02 Wilco <wdijkstr@arm.com>
16968 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16971 2014-06-02 Wilco <wdijkstr@arm.com>
16974 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16975 Rewrite to reduce FPCR/FPSR accesses.
16977 2014-06-01 David S. Miller <davem@davemloft.net>
16979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16981 2014-05-31 David S. Miller <davem@davemloft.net>
16983 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16984 to occur in round to nearest mode when |x| >= 2.0
16986 2014-05-30 Richard Henderson <rth@twiddle.net>
16988 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16989 (PSEUDO_RET_NOERRNO): Remove.
16990 (ret): Don't redefine.
16991 (ret_NOERRNO): Define in terms of ret.
16992 (ret_ERRVAL): Likewise.
16994 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16995 use of PSEUDO_RET; perform the error check directly.
16997 2014-05-30 Marko Myllynen <myllynen@redhat.com>
16999 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17002 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17004 * malloc/malloc (malloc_info): Fix formatting.
17006 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17007 Roland McGrath <roland@hack.frob.com>
17009 * malloc/malloc (malloc_info): Also print mmapped statistics.
17011 2014-05-30 Roland McGrath <roland@hack.frob.com>
17013 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17014 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17016 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
17018 * malloc/malloc.c (malloc_info): Inline mi_arena.
17020 2014-05-29 Richard Henderson <rth@twiddle.net>
17022 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17023 Remove comma before expanding ASM_ARGS_##nr.
17024 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17025 Make _x0 a strict output; make _x8 a strict input; adjust expansion
17027 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17028 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17029 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17030 (ASM_ARGS_1): Add leading comma.
17032 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17033 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17034 to __errno_location.
17035 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17036 Remove the expected plt for __errno_location.
17038 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17039 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17042 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17043 Always allocate 64 bytes of stack frame. Use ldp/stp to create
17044 it and break it down.
17045 (DOCARGS_0, DOCARGS_1): Do nothing.
17046 (DOCARGS_2): Update to store into the new stack frame.
17047 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17048 (UNDOCARGS_1): Update to restore from the new stack frame.
17049 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17050 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17052 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17053 (SINGLE_THREAD_P): New parameter for result regno.
17054 (PSEUDO): Update to match; use cbz instead of beq.
17056 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17057 Use ENTRY to define the _nocancel entry point. Share the syscall
17058 and syscall error check paths with the cancel path.
17061 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17062 whitespace; tabs before and after asm mnemonics.
17064 2014-05-29 Eric Wong <normalperson@yhbt.net>
17067 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17068 Call fstat64 or stat64 internally, depending on arguments passed.
17069 Replace stat buffer argument with file descriptor argument.
17070 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17071 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17072 Pass fd to __internal_statvfs instead of calling fstat64.
17073 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17074 Pass fd to __internal_statvfs64 instead of calling fstat64.
17075 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17076 Pass -1 to __internal_statvfs instead of calling stat64.
17077 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17078 Pass -1 to __internal_statvfs64 instead of calling stat64.
17080 2014-05-28 Roland McGrath <roland@hack.frob.com>
17082 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17083 that was previously under [RESET_PID].
17084 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17086 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17087 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17089 2014-05-27 Roland McGrath <roland@hack.frob.com>
17091 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17093 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17094 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17096 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
17098 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17100 2014-05-27 Andreas Schwab <schwab@suse.de>
17102 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17104 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17105 * elf/rtld.c (init_tls, dl_main): Likewise.
17106 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17107 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17108 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17109 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17110 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17111 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17112 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17113 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17114 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17115 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17116 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17117 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17118 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17119 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17120 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17121 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17122 * sysdeps/generic/tls.h: Update description.
17124 2014-05-27 Will Newton <will.newton@linaro.org>
17127 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17128 and restore r2 rather than just restoring.
17130 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17133 * libio/tst-ftell-append.c: New test case.
17134 * libio/Makefile (tests): Add test case.
17135 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17137 * libio/wfileops.c (do_ftell_wide): Likewise.
17139 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17143 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17147 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17148 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17149 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17150 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17151 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17152 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17153 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17156 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17159 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17160 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17161 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17162 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17163 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17165 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17166 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17168 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17170 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17172 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17173 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17174 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17176 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17177 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17178 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17179 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17181 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17184 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17187 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17190 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17194 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17197 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17202 conditional [RESET_PID].
17203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17204 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17206 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17211 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17212 (__libc_vfork): New strong alias.
17213 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17215 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17220 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17221 (__libc_vfork): New strong alias.
17222 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17224 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17227 2014-05-26 Carlos O'Donell <carlos@redhat.com>
17229 * malloc/malloc.c (mi_arena): New function.
17230 (malloc_info): Remove nested function mi_arena. Call non-nosted
17233 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17235 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17237 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17238 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17239 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17240 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17241 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17242 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17243 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17245 2014-05-26 Andreas Schwab <schwab@suse.de>
17248 * locale/programs/repertoire.c (repertoire_read): Add slash
17249 between I18NPATH element and file name.
17250 * locale/programs/locfile.c (locfile_read): Likewise.
17252 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
17254 * nptl/pthread_mutexattr_settype.c
17255 (__pthread_mutexattr_settype):
17256 Disable lock elision for PTHREAD_MUTEX_NORMAL.
17258 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
17260 * nptl/tst-mutex5 (do_test):
17261 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17263 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17265 * benchtests/README: Document 'init' directive.
17266 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17268 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17269 (parse_file): Recognize 'init' directive.
17271 2014-05-26 Kyle McMartin <kyle@redhat.com>
17274 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17275 alignment of struct pthread.
17277 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17280 * nscd/netgroupcache.c (addgetnetgrentX): Look for
17281 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17282 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17283 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17285 2014-05-25 Richard Henderson <rth@twiddle.net>
17287 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17288 (SINGLE_THREAD_P_PIC): Remove.
17289 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17290 (SINGLE_THREAD_P_PIC): Remove.
17292 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17293 branch to syscall error ...
17294 (PSEUDO): ... here.
17295 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17296 from __local_syscall_error to .Lsyscall_error.
17297 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17298 (SYSCALL_ERROR): Update label name.
17300 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17301 Do not use DOARGS/UNDOARGS.
17302 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17303 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17304 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17305 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17306 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17308 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17311 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17312 define if !NOT_IN_libc.
17313 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17314 define with non-default symbol versions.
17316 2014-05-23 Richard Henderson <rth@twiddle.net>
17318 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17319 (vfork, __vfork): Define via compat_symbol.
17321 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17322 [!HAVE_IFUNC] (vfork_compat): Remove.
17323 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17325 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17328 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17329 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17332 2014-05-23 Richard Henderson <rth@twiddle.net>
17334 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17335 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17336 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17337 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17339 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17340 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17341 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17342 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17343 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17344 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17345 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17346 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17347 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17348 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17349 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17350 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17351 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17352 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17353 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17354 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17355 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17356 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17357 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17358 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17359 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17360 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17361 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17362 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17363 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17364 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17365 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17366 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17367 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17368 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17369 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17370 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17371 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17372 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17373 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17374 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17375 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17376 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17377 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17378 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17379 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17380 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17381 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17382 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17383 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17384 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17385 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17386 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17387 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17388 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17389 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17390 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17391 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17392 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17393 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17394 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17396 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17397 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17398 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
17399 before exiting on error.
17400 (__libc_vfork): New strong alias.
17401 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17402 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17404 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17405 that was previously under [RESET_PID].
17406 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17408 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17410 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17413 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17414 value when x - 1 is zero.
17415 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17416 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17417 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17418 0.0L for an argument of 1.0L.
17419 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17421 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17422 value when x - 1 is zero.
17423 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17424 * sysdeps/i386/fpu/libm-test-ulps: Update.
17425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17427 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
17429 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17430 alphasort and versionsort.
17432 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17434 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17436 [copysignf]: Likewise.
17438 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17440 * crypt/md5-crypt.c: Fix formatting.
17442 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17444 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17445 (b64_from_24bit): New function.
17447 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17449 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17450 libc_hidden_builtin_def to ifunc.
17451 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17452 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17454 2014-05-21 Roland McGrath <roland@hack.frob.com>
17456 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17457 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17459 2014-05-21 Joseph Myers <joseph@codesourcery.com>
17461 * nscd/Depend (linuxthreads): Remove.
17463 * resolv/Depend (linuxthreads): Remove.
17464 * rt/Depend (linuxthreads): Remove.
17466 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17467 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17468 $(common-objpfx)elf/.
17469 (link-libc-before-gnulib): Likewise.
17470 (elfobjdir): Remove variable.
17471 * Makefile (install): Use $(elf-objpfx) instead of
17472 $(common-objpfx)elf/.
17473 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17475 (link-libc-deps): Likewise.
17476 ($(common-objpfx)libc.so): Likewise.
17477 ($(common-objpfx)linkobj/libc.so): Likewise.
17478 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17479 instead of $(common-objpfx)elf/.
17480 (symbolic-link-list): Likewise.
17481 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17482 [$(cross-compiling) = no]: Likewise.
17483 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17485 (static-gnulib-arch): Likewise.
17486 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17487 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17488 $(common-objpfx)elf/.
17490 2014-05-21 Richard Henderson <rth@redhat.com>
17492 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17493 (SINGLE_THREAD_P): Use the correct width load. Fold
17494 into the ldr offset.
17496 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17497 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17499 2014-05-20 Joseph Myers <joseph@codesourcery.com>
17501 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17502 (libgcc_s_resume): Use __attribute_used__.
17503 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17506 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17508 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17509 optimization when used with float constants.
17511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17513 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
17516 * locale/nl_langinfo_l.c: Make direct reference to every
17517 _nl_current_CATEGORY symbol.
17518 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17519 (tests-static): Add tst-langinfo-static.
17520 (tests-special): Add tst-langinfo-static.out.
17521 ($(objpfx)tst-langinfo.out): Redirect output.
17522 ($(objpfx)tst-langinfo-static.out): New.
17523 * localedata/tst-langinfo.sh: Send output to stdout.
17524 * localedata/tst-langinfo-static.c: New file.
17527 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17528 when the shift amount is modulo the limb size.
17530 2014-05-20 Richard Henderson <rth@redhat.com>
17533 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17534 Change type of sa_flags from unsigned int to int.
17537 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17539 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17541 2014-05-20 Will Newton <will.newton@linaro.org>
17543 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17544 Test the return value of the system call in the nocancel case.
17546 2014-05-20 Will Newton <will.newton@linaro.org>
17547 Yvan Roux <yvan.roux@linaro.org>
17549 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17550 #include of asm/ptrace.h.
17551 (PTRACE_GET_THREAD_AREA): Remove #undef.
17552 (PTRACE_GETHBPREGS): Likewise.
17553 (PTRACE_SETHBPREGS): Likewise.
17554 (struct user_regs_struct): New structure.
17555 (struct user_fpsimd_struct): New structure.
17556 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17557 #include of asm/ptrace.h and second #include of sys/user.h.
17558 (PTRACE_GET_THREAD_AREA): Remove #undef.
17559 (PTRACE_GETHBPREGS): Likewise.
17560 (PTRACE_SETHBPREGS): Likewise.
17561 (ELF_NGREG): Use new struct user_regs_struct.
17562 (elf_fpregset_t): Use new struct user_fpsimd_struct.
17564 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17566 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17567 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17569 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17572 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17573 membar to avoid block loads/stores to overlap previous stores.
17575 2014-05-17 Richard Henderson <rth@redhat.com>
17577 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17578 Create the __##syscall_name##_nocancel entry point.
17579 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17580 Remove; let the sysdep-cancel.h code create it.
17582 2014-05-17 David S. Miller <davem@davemloft.net>
17584 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17585 Protect with __USE_GNU.
17586 (TIOCSET_TEMPT): Likewise.
17587 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17588 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17589 these are already provided in bits/ioctl-types.h
17591 2014-05-16 Roland McGrath <roland@hack.frob.com>
17593 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17594 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17596 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17597 Use wait4 regardless of [__NR_waitpid].
17599 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17602 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17603 (_FP_NANSIGN_Q): Set the quiet bit.
17605 2014-05-16 Joseph Myers <joseph@codesourcery.com>
17607 * benchtests/Makefile
17608 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17609 not $(common-objpfx)math/libm.so.
17610 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17611 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17612 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17613 $(common-objpfx)dlfcn/libdl.so.
17614 ($(objpfx)tst-audit8): Depend on $(libm), not
17615 $(common-objpfx)math/libm.so.
17616 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17617 not $(common-objpfx)dlfcn/libdl.so.
17619 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17620 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
17621 [$(build-shared) = yes].
17622 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17623 $(common-objpfx)nptl/libpthread.so.
17624 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17625 $(common-objpfx)math/libm.so$(libm.so-version) or
17626 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17627 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17628 $(common-objpfx)dlfcn/libdl.so.
17629 * setjmp/Makefile (link-libm): Remove variable.
17630 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17631 * stdio-common/Makefile (link-libm): Remove variable.
17632 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17633 * stdlib/Makefile (link-libm): Remove variable.
17634 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17635 ($(objpfx)tst-strtod-round): Likewise.
17636 ($(objpfx)tst-tininess): Likewise.
17637 ($(objpfx)tst-strtod-underflow): Likewise.
17638 ($(objpfx)tst-strtod6): Likewise.
17639 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17640 $(libdl), not $(common-objpfx)nptl/libpthread.so and
17641 $(common-objpfx)dlfcn/libdl.so.
17643 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17645 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17646 BSD terminal modes definitions.
17648 2014-05-16 Roland McGrath <roland@hack.frob.com>
17650 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17651 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17653 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17654 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17655 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17656 Don't do #include_next.
17657 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17658 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17659 Don't do #include_next.
17660 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17661 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17662 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17663 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17665 2014-05-16 Allan McRae <allan@archlinux.org>
17667 * po/sv.po: Update Swedish translation from translation project.
17669 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17672 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
17675 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17676 errno if the TIOCGPTN ioctl fails with an error different than
17678 * login/tst-ptsname.c: New file.
17679 * login/Makefile (tests): Add tst-ptsname.
17682 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17685 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17689 herrno to return EAI_AGAIN.
17691 2014-05-14 Roland McGrath <roland@hack.frob.com>
17693 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17694 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17695 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17696 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17697 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17698 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17699 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17700 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17701 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17702 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17703 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17704 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17705 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17706 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17707 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17708 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17709 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17710 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17711 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17712 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17713 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17714 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17715 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17716 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17717 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17718 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17719 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17720 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17721 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17722 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17724 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17726 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17729 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17731 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17733 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17735 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17737 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17739 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17741 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17743 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17745 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17747 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17749 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17751 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17753 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17755 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17758 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17760 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17762 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17764 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17766 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17768 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17770 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17772 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17774 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17776 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17779 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17781 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17783 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17784 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17785 (libpthread-sysdep_routines): Add elision-related stuff here instead.
17786 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17787 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17788 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17789 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17790 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17791 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17792 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17793 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17794 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17795 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17796 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17797 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17798 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17799 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17800 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17801 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17802 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17803 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17804 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17805 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17806 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17807 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17808 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17809 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17810 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17811 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17812 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17813 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17815 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17816 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17818 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17819 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17820 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17821 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17822 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17823 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17825 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17826 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17828 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17829 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17831 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17832 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17834 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17835 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17836 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17837 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17839 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17840 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17841 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17842 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17843 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17844 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17845 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17846 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17848 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17849 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17851 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17853 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17854 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17855 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17856 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17857 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17859 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17861 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17863 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17864 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17865 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17866 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17867 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17868 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17870 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17871 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17873 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17874 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17876 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17877 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17879 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17880 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17881 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17882 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17884 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17885 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17886 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17887 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17888 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17889 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17890 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17891 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17893 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17894 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17896 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17898 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17899 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17900 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17901 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17902 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17904 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17906 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17908 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17909 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17910 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17911 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17912 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17913 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17914 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17915 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17916 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17917 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17919 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17920 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17922 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17923 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17925 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17926 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17928 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17929 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17930 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17931 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17932 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17933 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17935 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17936 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17937 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17938 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17939 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17940 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17941 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17942 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17944 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17945 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17947 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17949 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17950 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17951 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17952 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17953 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17955 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17957 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17959 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17960 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17961 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17962 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17963 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17964 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17965 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17966 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17967 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17968 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17969 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17971 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17972 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17974 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17975 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17977 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17978 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17979 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17980 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17981 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17982 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17983 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17984 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17985 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17986 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17987 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17988 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17989 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17990 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17991 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17992 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17993 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17994 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17996 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17997 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17998 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17999 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18001 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18002 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18003 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18004 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18005 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18006 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18007 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18008 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18010 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18011 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18013 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18014 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18015 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18016 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18017 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18018 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18019 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18020 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18021 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18022 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18023 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18024 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18025 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18026 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18027 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18028 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18029 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18031 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18032 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18033 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18034 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18035 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18037 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18038 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18039 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18040 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18041 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18042 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18043 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18044 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18045 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18046 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18048 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18049 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18051 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18052 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18053 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18054 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18055 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18056 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18057 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18058 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18059 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18060 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18061 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18062 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18063 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18064 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18065 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18067 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18069 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18071 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18073 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18075 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18077 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18079 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18081 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18085 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18086 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18087 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18088 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18089 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18090 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18091 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18092 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18093 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18094 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18095 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18096 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18097 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18098 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
18099 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
18101 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18102 that was previously under [RESET_PID].
18103 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18104 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18105 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18107 * sysdeps/i386/nptl/Implies: New file.
18108 * sysdeps/x86_64/nptl/Implies: New file.
18109 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18110 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18111 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18112 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18114 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18115 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18116 (__libc_vfork): New strong alias.
18117 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18118 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18120 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18121 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18122 (__libc_vfork): New strong alias.
18123 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18124 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18126 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18127 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18128 (__libc_vfork): New strong alias.
18129 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18130 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18131 * nptl/pt-vfork.c: New file.
18132 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18133 (libpthread: GLIBC_2.20): New version set (empty).
18135 2014-05-14 Will Newton <will.newton@linaro.org>
18137 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18140 2014-05-14 Joseph Myers <joseph@codesourcery.com>
18143 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18144 arguments with exponent 65 or above.
18145 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18146 arguments 0x1p113L or above.
18147 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18148 to arguments 0x1p107L or above.
18149 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18150 positive arguments with exponent 65 or above.
18151 * math/auto-libm-test-in: Add more tests of log1p.
18152 * math/auto-libm-test-out: Regenerated.
18155 * math/s_cacos.c (__cacos): Ensure zero real part of result from
18156 non-finite arguments is +0.
18157 * math/s_cacosf.c (__cacosf): Likewise.
18158 * math/s_cacosl.c (__cacosl): Likewise.
18159 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18160 * sysdeps/i386/fpu/libm-test-ulps: Update.
18161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18164 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18166 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18167 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18168 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18169 for explicit high bit of mantissa when testing for argument equal
18171 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18172 * sysdeps/i386/fpu/libm-test-ulps: Update.
18173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18176 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18177 (__erf): Scale by 16 instead of 8 in potentially underflowing
18178 case. Ensure exception if result actually underflows.
18179 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18180 (__erff): Scale by 16 instead of 8 in potentially underflowing
18181 case. Ensure exception if result actually underflows.
18182 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18183 (efx8): Remove variable.
18184 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18185 case. Ensure exception if result actually underflows.
18186 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18187 (efx8): Remove variable.
18188 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18189 case. Ensure exception if result actually underflows.
18190 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18191 (efx8): Remove variable.
18192 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18193 case. Ensure exception if result actually underflows.
18194 * math/auto-libm-test-in: Add more tests of erf.
18195 * math/auto-libm-test-out: Regenerated.
18197 2014-05-14 Andreas Schwab <schwab@suse.de>
18199 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18200 Remove code conditionalized on USE___THREAD.
18202 * config.h.in (HAVE_PT_CHOWN): Define as 0.
18203 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18206 2014-05-14 Joseph Myers <joseph@codesourcery.com>
18208 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18209 Define unconditionally.
18210 (__ASSUME_O_CLOEXEC): Likewise.
18211 (__ASSUME_SOCK_CLOEXEC): Likewise.
18212 (__ASSUME_IN_NONBLOCK): Likewise.
18213 (__ASSUME_PIPE2): Likewise.
18214 (__ASSUME_EVENTFD2): Likewise.
18215 (__ASSUME_SIGNALFD4): Likewise.
18216 (__ASSUME_DUP3): Likewise.
18217 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18218 (__ASSUME_DUP3): Do not define.
18219 (__ASSUME_EVENTFD2): Likewise.
18220 (__ASSUME_IN_NONBLOCK): Likewise.
18221 (__ASSUME_O_CLOEXEC): Likewise.
18222 (__ASSUME_PIPE2): Likewise.
18223 (__ASSUME_SIGNALFD4): Likewise.
18224 (__ASSUME_SOCK_CLOEXEC): Likewise.
18225 (__ASSUME_UTIMES): Undefine.
18226 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18227 (__ASSUME_UTIMES): Do not define.
18228 (__ASSUME_O_CLOEXEC): Likewise.
18229 (__ASSUME_SOCK_CLOEXEC): Likewise.
18230 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18231 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18233 (__ASSUME_PIPE2): Likewise.
18234 (__ASSUME_EVENTFD2): Likewise.
18235 (__ASSUME_SIGNALFD4): Likewise.
18236 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18237 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18239 (__ASSUME_EVENTFD2): Likewise.
18240 (__ASSUME_SIGNALFD4): Likewise.
18241 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18242 (__ASSUME_32BITUIDS): Likewise.
18243 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18244 (__ASSUME_IPC64): Likewise.
18245 (__ASSUME_ST_INO_64_BIT): Likewise.
18246 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18247 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18248 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18249 (__ASSUME_UTIMES): Do not define.
18250 (__ASSUME_PSELECT): Likewise.
18251 (__ASSUME_PPOLL): Likewise.
18252 (__ASSUME_O_CLOEXEC): Likewise.
18253 (__ASSUME_SOCK_CLOEXEC): Likewise.
18254 (__ASSUME_IN_NONBLOCK): Likewise.
18255 (__ASSUME_PIPE2): Likewise.
18256 (__ASSUME_EVENTFD2): Likewise.
18257 (__ASSUME_SIGNALFD4): Likewise.
18258 (__ASSUME_DUP3): Likewise.
18259 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18260 (__ASSUME_UTIMES): Likewise.
18261 (__ASSUME_O_CLOEXEC): Likewise.
18262 (__ASSUME_SOCK_CLOEXEC): Likewise.
18263 (__ASSUME_IN_NONBLOCK): Likewise.
18264 (__ASSUME_PIPE2): Likewise.
18265 (__ASSUME_EVENTFD2): Likewise.
18266 (__ASSUME_SIGNALFD4): Likewise.
18267 (__ASSUME_DUP3): Likewise.
18268 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18269 (__ASSUME_UTIMES): Likewise.
18270 (__ASSUME_O_CLOEXEC): Likewise.
18271 (__ASSUME_SOCK_CLOEXEC): Likewise.
18272 (__ASSUME_IN_NONBLOCK): Likewise.
18273 (__ASSUME_PIPE2): Likewise.
18274 (__ASSUME_EVENTFD2): Likewise.
18275 (__ASSUME_SIGNALFD4): Likewise.
18276 (__ASSUME_DUP3): Likewise.
18277 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18279 (__ASSUME_UTIMES): Likewise.
18280 (__ASSUME_EVENTFD2): Likewise.
18281 (__ASSUME_SIGNALFD4): Likewise.
18282 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18283 (__ASSUME_O_CLOEXEC): Likewise.
18284 (__ASSUME_SOCK_CLOEXEC): Likewise.
18285 (__ASSUME_IN_NONBLOCK): Likewise.
18286 (__ASSUME_PIPE2): Likewise.
18287 (__ASSUME_EVENTFD2): Likewise.
18288 (__ASSUME_SIGNALFD4): Likewise.
18289 (__ASSUME_DUP3): Likewise.
18290 (__ASSUME_UTIMES): Undefine.
18292 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18293 feclearexcept. Remove symbol versioning code.
18294 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
18295 symbol versioning code.
18296 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
18297 symbol versioning code.
18298 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18299 feupdateenv. Remove symbol versioning code.
18300 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18301 fegetexceptflag. Remove symbol versioning code.
18302 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18303 fesetexceptflag. Remove symbol versioning code.
18304 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18305 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
18306 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18307 (__posix_fadvise64_l32): Remove prototype.
18308 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18311 2014-05-13 Roland McGrath <roland@hack.frob.com>
18313 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18314 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18315 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18316 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18318 2014-05-13 Sami Kerola <kerolasa@iki.fi>
18320 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18321 current working directory
18323 2014-05-13 Roland McGrath <roland@hack.frob.com>
18325 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18326 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18327 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18328 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18329 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18330 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18331 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18332 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18333 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18334 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18335 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18336 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18337 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18338 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18339 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18340 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18341 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18342 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18343 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18344 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18345 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18346 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18347 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18348 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18349 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18350 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18351 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18352 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18353 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18354 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18355 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18356 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18357 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18358 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18359 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18360 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18361 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18362 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18363 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18364 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18365 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18366 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18368 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18369 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18371 * sysdeps/unix/sysv/linux/arm/Makefile
18372 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18373 Add rt-aeabi_unwind_cpp_pr1.
18374 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18375 Add nptl-aeabi_unwind_cpp_pr1.
18376 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18377 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18378 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18379 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18380 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18381 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18383 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18384 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18385 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18386 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18388 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18389 Deconditionalize the code that was previously under [RESET_PID].
18390 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18392 * sysdeps/generic/exit-thread.h: New file.
18393 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18394 * include/unistd.h (__exit_thread): Remove declaration.
18395 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18396 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18397 * csu/libc-start.c: Include <exit-thread.h>.
18398 (LIBC_START_MAIN): Pass no argument to __exit_thread.
18399 * nptl/pthread_create.c: Include <exit-thread.h>.
18400 (start_thread): Call __exit_thread in place of __exit_thread_inline.
18401 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18402 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18403 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18404 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18405 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18406 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18407 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18408 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18409 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18410 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18411 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18412 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18413 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18414 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18415 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18416 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18418 2014-05-13 Andreas Schwab <schwab@suse.de>
18420 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18422 2014-05-12 Joseph Myers <joseph@codesourcery.com>
18424 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18425 (__ASSUME_UTIMES): Do not condition on kernel version.
18426 (__ASSUME_PSELECT): Define unconditionally.
18427 (__ASSUME_PPOLL): Likewise.
18428 (__ASSUME_ATFCTS): Likewise.
18429 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18430 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18431 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18432 (__ASSUME_UTIMENSAT): Define unconditionally.
18433 (__ASSUME_PRIVATE_FUTEX): Likewise.
18434 (__ASSUME_FALLOCATE): Likewise.
18435 (__ASSUME_O_CLOEXEC): Likewise.
18436 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18437 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18438 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18439 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18440 (__ASSUME_IN_NONBLOCK): Likewise.
18441 (__ASSUME_PIPE2): Likewise.
18442 (__ASSUME_EVENTFD2): Likewise.
18443 (__ASSUME_SIGNALFD4): Likewise.
18444 (__ASSUME_DUP3): Likewise.
18445 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18446 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18447 (__ASSUME_AT_RANDOM): Likewise.
18448 (__ASSUME_PREADV): Likewise.
18449 (__ASSUME_PWRITEV): Likewise.
18450 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18451 (__ASSUME_F_GETOWN_EX): Define unconditionally.
18452 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18453 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18454 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18455 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18456 (__ASSUME_O_CLOEXEC): Define unconditionally.
18457 (__ASSUME_PSELECT): Do not undefine conditionally.
18458 (__ASSUME_PPOLL): Likewise.
18459 (__ASSUME_ATFCTS): Likewise.
18460 (__ASSUME_SET_ROBUST_LIST): Likewise.
18461 (__ASSUME_UTIMENSAT): Likewise.
18462 (__ASSUME_FDATASYNC): Define unconditionally.
18463 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18464 (__ASSUME_SIGFRAME_V2): Likewise.
18465 )__ASSUME_EVENTFD2): Likewise.
18466 (__ASSUME_SIGNALFD4): Likewise.
18467 (__ASSUME_PSELECT): Do not undefine conditionally.
18468 (__ASSUME_PPOLL): Likewise.
18469 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18470 (__ASSUME_PSELECT): Define unconditionally.
18471 (__ASSUME_PPOLL): Likewise.
18472 (__ASSUME_O_CLOEXEC): Likewise.
18473 (__ASSUME_SOCK_CLOEXEC): Likewise.
18474 (__ASSUME_IN_NONBLOCK): Likewise.
18475 (__ASSUME_PIPE2): Likewise.
18476 (__ASSUME_EVENTFD2): Likewise.
18477 (__ASSUME_SIGNALFD4): Likewise.
18478 (__ASSUME_DUP3): Likewise.
18479 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18480 (__ASSUME_O_CLOEXEC): Likewise.
18481 (__ASSUME_SOCK_CLOEXEC): Likewise.
18482 (__ASSUME_IN_NONBLOCK): Likewise.
18483 (__ASSUME_PIPE2): Likewise.
18484 (__ASSUME_EVENTFD2): Likewise.
18485 (__ASSUME_SIGNALFD4): Likewise.
18486 (__ASSUME_DUP3): Likewise.
18487 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18488 (__ASSUME_EVENTFD2): Likewise.
18489 (__ASSUME_SIGNALFD4): Likewise.
18490 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18492 2014-05-12 Andreas Schwab <schwab@suse.de>
18495 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18496 (_nss_nis_gethostbyname4_r): Return error if item length is larger
18497 than maximum RPC packet size.
18498 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18499 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18500 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18501 (_nss_nis_getservbyport_r): Likewise.
18503 2014-05-12 Will Newton <will.newton@linaro.org>
18505 * malloc/Makefile (tests): Add tst-mallopt.
18506 * malloc/tst-mallopt.c: New file.
18508 2014-05-09 Roland McGrath <roland@hack.frob.com>
18510 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18511 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18513 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18515 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18516 (tst-tlsmod6.so): Likewise.
18518 2014-05-09 Roland McGrath <roland@hack.frob.com>
18520 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18522 2014-05-09 Joseph Myers <joseph@codesourcery.com>
18525 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18526 and <dl-procinfo.h>.
18527 (__fegetenv): Save SSE state in envp->__eip if supported.
18528 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18529 envp->__eip if supported.
18530 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18531 and <dl-procinfo.h>.
18532 (__fesetenv): Always set __eip, __cs_selector, __opcode,
18533 __data_offset and __data_selector in environment to 0. Set SSE
18534 state if supported.
18535 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18537 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18539 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18541 2014-05-09 Will Newton <will.newton@linaro.org>
18543 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18544 and libc_relro_required for ARM.
18545 * sysdeps/arm/preconfigure: Regenerate.
18547 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
18548 Stefan Liebler <stli@linux.vnet.ibm.com>
18550 * config.make.in (enable-lock-elision): New Makefile variable.
18551 * configure.ac: Likewise.
18552 * configure: Regenerate.
18553 * sysdeps/s390/configure.ac:
18554 Add check for gcc transactions support.
18555 * sysdeps/s390/configure: Regenerate.
18556 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18557 Build elision files if enabled.
18558 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18559 Add lock elision support for s390.
18560 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18561 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18562 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18563 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18564 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18565 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18566 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18568 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18570 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18572 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18574 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18575 (__lll_timedlock_elision, __lll_lock_elision)
18576 (__lll_unlock_elision, __lll_trylock_elision)
18577 (lll_timedlock_elision, lll_lock_elision)
18578 (lll_unlock_elision, lll_trylock_elision): Add.
18579 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18580 (pthread_mutex_t): Add lock elision support for s390.
18582 2014-05-14 Wilco <wdijkstr@arm.com>
18584 * sysdeps/arm/fclrexcpt.c: Cleanup.
18585 * sysdeps/arm/fedisblxcpt.c: Cleanup.
18586 * sysdeps/arm/feenablxcpt.c: Cleanup.
18587 * sysdeps/arm/fegetenv.c: Cleanup.
18588 * sysdeps/arm/fegetexcept.c: Cleanup.
18589 * sysdeps/arm/fegetround.c: Cleanup.
18590 * sysdeps/arm/feholdexcpt.c: Cleanup.
18591 * sysdeps/arm/fesetenv.c: Cleanup.
18592 * sysdeps/arm/fesetround.c: Cleanup.
18593 * sysdeps/arm/feupdateenv.c: Cleanup.
18594 * sysdeps/arm/fgetexcptflg.c: Cleanup.
18595 * sysdeps/arm/fraiseexcpt.c: Cleanup.
18596 * sysdeps/arm/fsetexcptflg.c: Cleanup.
18597 * sysdeps/arm/ftestexcept.c: Cleanup.
18598 * sysdeps/arm/get-rounding-mode.h: Cleanup.
18599 * sysdeps/arm/setfpucw.c: Cleanup.
18601 2014-05-09 Will Newton <will.newton@linaro.org>
18603 * sysdeps/arm/armv7/strcmp.S: New file.
18604 * NEWS: Mention addition of ARMv7 optimized strcmp.
18606 2014-05-08 Roland McGrath <roland@hack.frob.com>
18608 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18609 look for %.ac rather than %.in.
18611 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18612 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18613 * sysdeps/mach/hurd/configure: Regenerated.
18614 * sysdeps/unix/sysv/linux/configure: Regenerated.
18616 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18618 2014-05-07 Steve Ellcey <sellcey@mips.com>
18621 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18625 2014-05-07 Andreas Schwab <schwab@suse.de>
18627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18628 when skipping over non-matching result from nscd.
18630 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
18633 * nptl/sockperf.c (client): Check socket return value.
18636 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18637 nscd security class.
18639 2014-05-06 Roland McGrath <roland@hack.frob.com>
18641 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18642 * sysdeps/arm/unwind.h: ... here.
18644 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
18647 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18650 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18652 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18653 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18654 multiarch strncpy for PPC64.
18655 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18656 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18658 multiarch optimizations.
18659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18660 (__libc_ifunc_impl_list): Likewise.
18661 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18662 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18663 multiarch stpncpy for PPC64.
18664 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18665 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18667 2014-05-06 Andreas Schwab <schwab@suse.de>
18670 * gmon/mcount.c (_MCOUNT_DECL): Use
18671 atomic_compare_and_exchange_bool_acq instead of
18672 catomic_compare_and_exchange_bool_acq.
18674 2014-05-05 Roland McGrath <roland@hack.frob.com>
18676 * elf/Makefile (others, install-bin): Remove pldd.
18677 (pldd-modules): Variable removed.
18678 ($(objpfx)pldd): Target removed.
18679 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18680 (others, install-bin): Append pldd here.
18681 ($(objpfx)pldd): New target.
18683 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18684 to 0, so the first #if test emitted later doesn't see it undefined.
18685 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18686 * sysdeps/gnu/errlist.c: Regenerated.
18688 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18690 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18691 [libc_hidden_builtin_def]: Define to empty value.
18692 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18693 [libc_hidden_builtin_def]: Likewise.
18694 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18695 [libc_hidden_builtin_def]: Likewise.
18696 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18697 [libc_hidden_builtin_def]: Likewise.
18698 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18699 __redirect_memcpy and define ifunc as default hidden symbol.
18700 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18701 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18703 2014-05-04 Adam Conrad <adconrad@0c3.net>
18705 * locale/iso-4217.def: Reintroduce XDR currency.
18707 2014-05-04 Allan McRae <allan@archlinux.org>
18709 * po/eo.po: Update Esperanto translation from translation project.
18711 2014-05-02 Carlos O'Donell <carlos@redhat.com>
18713 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18714 and FEATURE_INDEX_MAX to 1.
18715 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18717 2014-05-01 Steve Ellcey <sellcey@mips.com>
18719 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18720 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18721 * iconvdata/big5.c (ONE_DIRECTION): Define.
18722 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18723 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18724 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18725 * iconvdata/cp932.c (ONE_DIRECTION): Define.
18726 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18727 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18728 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18729 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18730 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18731 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18732 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18733 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18734 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18735 * iconvdata/gbk.c (ONE_DIRECTION): Define.
18736 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18737 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18738 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18739 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18740 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18741 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18742 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18743 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18744 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18745 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18746 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18747 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18748 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18749 * iconvdata/iso646.c (ONE_DIRECTION): Define.
18750 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18751 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18752 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18753 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18754 * iconvdata/johab.c (ONE_DIRECTION): Define.
18755 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18756 * iconvdata/sjis.c (ONE_DIRECTION): Define.
18757 * iconvdata/t.61.c (ONE_DIRECTION): Define.
18758 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18759 * iconvdata/tscii.c (ONE_DIRECTION): Define.
18760 * iconvdata/uhc.c (ONE_DIRECTION): Define.
18761 * iconvdata/unicode.c (ONE_DIRECTION): Define.
18762 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18763 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18764 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18766 2014-05-01 Roland McGrath <roland@hack.frob.com>
18768 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18769 (_IO_JUMPS_OFFSET): Define to 0.
18771 * nptl/sysdeps/pthread/bits/libc-lock.h
18772 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18773 (__libc_lock_define_initialized_recursive): Always define using
18774 initializer. Modern compilers treat uninitialized (implicit zero) and
18775 explicit zero initializers the same (i.e. put the datum in bss).
18777 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18779 * nscd/nscd-client.h: Include <string.h>.
18781 2014-05-01 David S. Miller <davem@davemloft.net>
18784 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18785 multiple zero bytes exist at the end of a string.
18786 Reported by Aurelien Jarno <aurelien@aurel32.net>
18788 * string/test-strcmp.c (check): Add explicit test for situations where
18789 there are multiple zero bytes after the first.
18791 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18794 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18795 when compiling wprintf.
18796 * stdio-common/tstdiomisc.c (t3): New function.
18799 2014-05-01 Steve Ellcey <sellcey@mips.com>
18801 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18802 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18803 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18804 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18806 2014-05-01 Steve Ellcey <sellcey@mips.com>
18808 * stdlib/longlong.h: Updated from GCC.
18810 2014-05-01 Will Newton <will.newton@linaro.org>
18811 Bernard Ogden <bernie.ogden@linaro.org>
18813 * NEWS: Update fixed bug list.
18816 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18818 2014-04-30 David S. Miller <davem@davemloft.net>
18820 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18821 (libc_feholdexcept_setround_sparc_ctx): New function.
18822 (libc_fesetenv_sparc_ctx): Likewise.
18823 (libc_feupdateenv_sparc_ctx): Likewise.
18824 (libc_feholdsetround_sparc_ctx): Likewise.
18825 (libc_feholdexcept_setround_ctx): Define.
18826 (libc_feholdexcept_setroundf_ctx): Likewise.
18827 (libc_feholdexcept_setroundl_ctx): Likewise.
18828 (libc_fesetenv_ctx): Likewise.
18829 (libc_fesetenvf_ctx): Likewise.
18830 (libc_fesetenvl_ctx): Likewise.
18831 (libc_feupdateenv_ctx): Likewise.
18832 (libc_feupdateenvf_ctx): Likewise.
18833 (libc_feupdateenvl_ctx): Likewise.
18834 (libc_feresetround_ctx): Likewise.
18835 (libc_feresetroundf_ctx): Likewise.
18836 (libc_feresetroundl_ctx): Likewise.
18837 (libc_feholdsetround_ctx): Likewise.
18838 (libc_feholdsetroundf_ctx): Likewise.
18839 (libc_feholdsetroundl_ctx): Likewise.
18841 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18842 with __USE_GNU instead of XOPEN cpp guards.
18844 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18847 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18848 with XOPEN cpp guards.
18850 2014-04-30 Julian Brown <julian@codesourcery.com>
18853 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18856 2014-04-30 Joseph Myers <joseph@codesourcery.com>
18859 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18861 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18862 * sysdeps/unix/sysv/linux/configure: Regenerated.
18863 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18864 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18865 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18866 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18867 * README: Update reference to required Linux kernel version.
18868 * manual/install.texi (Linux): Update reference to required Linux
18869 kernel headers version.
18870 * INSTALL: Regenerated.
18872 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18874 [POSIX] (limits.h): Likewise.
18875 [POSIX] (math.h): Likewise.
18876 [POSIX] (sys/wait.h): Likewise.
18877 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18879 [POSIX] (stddef.h): Do not allow header inclusion.
18881 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18883 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18885 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
18887 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18888 Return immediately after lll_futex_wake.
18890 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18893 * nscd/nscd-client.h (datahead_init_common): Initialize entire
18895 (datahead_init_pos): Call datahead_init_common early.
18896 (datahead_init_neg): Likewise.
18898 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18899 datahead_init_neg): New functions.
18900 * nscd/aicache.c (addhstaiX): Use them.
18901 * nscd/grpcache.c (cache_addgr): Likewise.
18902 * nscd/hstcache.c (cache_addhst): Likewise.
18903 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18904 * nscd/netgroupcache.c (do_notfound): Likewise.
18905 (addgetnetgrentX): Likewise.
18906 (addinnetgrX): Likewise.
18907 * nscd/pwdcache.c (cache_addpw): Likewise.
18908 * nscd/servicescache.c (cache_addserv): Likewise.
18910 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18911 Atsushi Onoe <atsushi@onoe.org>
18916 * resolv/res_query.c (__libc_res_nsearch): Return if at least
18917 one response is valid.
18918 * resolv/res_send.c (send_dg): Check for validity of other
18919 response if the current response is a referral.
18921 2014-04-29 Steve Ellcey <sellcey@mips.com>
18923 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18925 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
18928 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18929 Always divide by positive zero when computing -Inf result.
18930 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18931 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18933 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18935 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18936 FPSCR if value do not change.
18937 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18938 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18939 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18940 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18941 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18942 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18945 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
18947 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18948 * sysdeps/unix/sysv/linux/hppa: Move directory from
18949 ports/systeps/unix/sysv/linux/hppa.
18950 * README: Update listing for hppa-*-linux-gnu.
18952 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
18955 * manual/stdio.texi (Hook functions): Fix types of stream hook
18958 * socket/sys/socket.h: Fix typo in comment.
18960 2014-04-28 Wilco <wdijkstr@arm.com>
18962 * sysdeps/arm/fenv_private.h: New file.
18963 * sysdeps/arm/math_private.h: New file.
18964 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18966 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
18968 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18970 (La_x86_64_retval): Likewise.
18972 2014-04-24 Ian Bolton <ian.bolton@arm.com>
18974 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18975 fpsr if value didn't change.
18976 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18977 to fpcr if value didn't change.
18978 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18979 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18980 fpsr or fpcr if value didn't change.
18981 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18982 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18983 fpcr if value didn't change.
18984 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18985 to fpsr if value didn't change.
18987 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18989 * nptl/tst-sem3.c: Use test-skeleton.c
18990 (main): Rename to do_test. Use return instead of
18992 * nptl/tst-sem4.c: Use test-skeleton.c
18993 (main): Rename to do_test.
18995 2014-04-22 David S. Miller <davem@davemloft.net>
18997 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18998 (struct sigaction): New struct member __glibc_reserved0, change
18999 type of sa_flags to int.
19001 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
19003 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19004 (COUNT_LEADING_ZEROS_0): Define for AArch64.
19006 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19008 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19009 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19011 2014-04-22 Will Newton <will.newton@linaro.org>
19012 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
19014 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19015 (__longjmp): Add longjmp and longjmp_target SystemTap
19017 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19018 (__sigsetjmp): Add setjmp SystemTap probe.
19020 2014-04-17 Carlos O'Donell <carlos@redhat.com>
19022 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19023 match manual order.
19025 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19027 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19029 * sysdeps/powerpc/fpu/fenv_private.h
19030 (libc_feholdexcept_setroundl_ctx): Define to
19031 libc_feholdexcept_setround_ppc_ctx.
19032 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19033 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19034 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19035 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19037 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19039 * sysdeps/aarch64/math-tests.h: New file.
19041 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
19043 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19046 Check and set bit_AVX2_Usable.
19047 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19049 (bit_AVX2): Likewise.
19050 (index_AVX2_Usable): Likewise.
19051 (CPUID_AVX2): Likewise.
19052 (HAS_AVX2): Likewise.
19054 2014-04-17 Will Newton <will.newton@linaro.org>
19056 * manual/setjmp.texi (System V contexts): Add note that
19057 calling setcontext on a context created by a call to a
19058 signal handler is undefined. Update text to note that
19059 setcontext from a signal handler is possible but not
19063 * stdlib/tst-setcontext.c: Include signal.h.
19064 (main): Check that the signal stack before and
19065 after swapcontext is the same.
19067 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19068 Re-implement to restore registers in user code and avoid
19069 rt_sigreturn system call.
19071 2014-04-17 Wilco <wdijkstr@arm.com>
19073 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19074 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19075 * math/test-fenv.c: Skip exception trap tests on targets which only
19076 support non-stop mode.
19078 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19079 Wilco Dijkstra <wilco.dijkstra@arm.com>
19081 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19082 (libc_feholdsetround_aarch64_ctx)
19083 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19084 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19085 (libc_feresetround_ctx, libc_feresetroundf_ctx)
19086 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19087 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19088 (libc_feresetround_noexl_ctx): Define.
19090 2014-04-16 Richard Henderson <rth@redhat.com>
19092 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19094 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19097 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19098 const from the non-libc, non-ldso copy.
19100 * sysdeps/alpha/libm-test-ulps: Regenerate.
19102 2014-04-16 Ian Bolton <ian.bolton@arm.com>
19103 Wilco Dijkstra <wilco.dijkstra@arm.com>
19105 * sysdeps/aarch64/fpu/math_private.h: New file.
19107 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
19109 * sysdeps/aarch64/libm-test-ulps: Regenerate.
19111 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
19114 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19115 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19116 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19117 Intel MPX bound registers before _dl_profile_fixup.
19118 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19119 registers after _dl_profile_fixup. Save and restore bound
19120 registers bnd0/bnd1 when calling _dl_call_pltexit.
19121 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19122 (LR_BND_OFFSET): Likewise.
19123 (LRV_BND0_OFFSET): Likewise.
19124 (LRV_BND1_OFFSET): Likewise.
19126 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19128 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19130 * sysdeps/mach/hurd/i386/tls.h: ... here.
19131 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19132 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19135 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19137 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19139 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19141 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19143 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19146 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19147 * sysdeps/s390/configure: Regenerate.
19150 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19151 Set round-to-nearest internally to reduce error accumulation.
19153 2014-04-16 Alan Modra <amodra@gmail.com>
19157 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19158 * math/libm-test.inc (frexp_test_data): Add tests.
19159 * NEWS: Update fixed bug list.
19161 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19163 * benchtests/Makefile: Depend on libraries in build directory.
19164 (bench-math): Separate out math tests.
19165 (bench-pthread): Separate out pthread tests.
19166 (bench): Include math and pthread tests.
19168 2014-04-14 Carlos O'Donell <carlos@redhat.com>
19171 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19172 _dl_debug_initialize.
19174 * configure.ac: Remove SELinux header check.
19175 * configure: Regenerate.
19176 * nscd/selinux.c (perms): Array of const char* to permission names.
19177 (nscd_request_avc_has_perm): Call security_deny_unknown to find
19178 default policy. Call string_to_security_class and string_to_av_perm to
19179 translate strings. Enforce default policy and call avs_has_perm with
19180 results of translated strings.
19182 2014-04-13 David S. Miller <davem@davemloft.net>
19184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19186 2014-04-12 Allan McRae <allan@archlinux.org>
19189 * manual/string.texi (Collation Functions): Fix qsort argument
19191 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19193 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
19195 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19196 Make the test a no-op if there are no exceptions defined.
19198 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19200 * elf/Makefile (tests): make tst-dlopen-aout conditional on
19201 enable-hardcoded-path-in-tests
19203 2014-04-11 Will Newton <will.newton@linaro.org>
19205 * benchtests/Makefile (extra-objs): Add json-lib.o.
19206 (bench-func): Tidy up JSON output.
19207 * benchtests/bench-skeleton.c: Include json-lib.h.
19208 (main): Use JSON library functions to do output of
19210 * benchtests/bench-timing-type.c (main): Output the
19211 timing type simply, leaving formatting to the user.
19212 * benchtests/json-lib.c: New file.
19213 * benchtests/json-lib.h: Likewise.
19215 2014-04-11 Torvald Riegel <triegel@redhat.com>
19218 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19219 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
19220 memory barriers. Add comments.
19221 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19222 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19223 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19224 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19225 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19226 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19228 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19230 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19231 * sysdeps/s390/s390-64/configure.ac: ... this ...
19232 * sysdeps/s390/configure.ac: ... to here.
19233 * sysdeps/s390/s390-32/configure: Delete file.
19234 * sysdeps/s390/s390-64/configure: Delete file.
19235 * sysdeps/s390/configure: Regenerate.
19237 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
19239 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19241 2014-04-11 Will Newton <will.newton@linaro.org>
19243 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19244 to zero if it is not defined elsewhere. (mtrim): Test
19245 the value of MALLOC_DEBUG with #if rather than #ifdef.
19247 2014-04-10 Torvald Riegel <triegel@redhat.com>
19249 * benchtests/pthread_once-inputs: New file.
19250 * benchtests/pthread_once-source.c: New file.
19251 * benchtests/README: Update documentation.
19253 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
19254 H.J. Lu <hongjiu.lu@intel.com>
19257 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19258 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19259 * sysdeps/x86_64/configure: Regenerated.
19260 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19262 (REGISTER_SAVE_RAX): Likewise.
19263 (REGISTER_SAVE_RCX): Likewise.
19264 (REGISTER_SAVE_RDX): Likewise.
19265 (REGISTER_SAVE_RSI): Likewise.
19266 (REGISTER_SAVE_RDI): Likewise.
19267 (REGISTER_SAVE_R8): Likewise.
19268 (REGISTER_SAVE_R9): Likewise.
19269 (REGISTER_SAVE_BND0): Likewise.
19270 (REGISTER_SAVE_BND1): Likewise.
19271 (REGISTER_SAVE_BND2): Likewise.
19272 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
19273 bound registers when calling _dl_fixup.
19275 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19277 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19278 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19280 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19281 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19282 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19283 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19284 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19285 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19286 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19288 2014-04-09 Peter Brett <peter@peter-b.co.uk>
19291 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19292 pathconf(_PC_NAME_MAX).
19294 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19296 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19297 Remove macro usage.
19298 (__PTHREAD_SPINS): Move definition to ...
19299 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19300 (__PTHREAD_SPINS): ... here.
19301 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19302 (__PTHREAD_SPIN): Likewise.
19303 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19304 (__PTHREAD_SPIN): Likewise.
19305 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19306 (__PTHREAD_SPIN): Likewise.
19307 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19308 (__PTHREAD_SPIN): Likewise.
19309 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19310 (__PTHREAD_SPIN): Likewise.
19311 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19312 (__PTHREAD_SPIN): Likewise.
19313 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19314 (__PTHREAD_SPIN): Likewise.
19315 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19316 (__PTHREAD_SPIN): Likewise.
19317 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19318 (__PTHREAD_SPIN): Likewise.
19319 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19320 (__PTHREAD_SPIN): Likewise.
19321 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19322 (__PTHREAD_SPIN): Likewise.
19323 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19324 (__PTHREAD_SPIN): Likewise.
19326 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19327 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19328 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19329 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19331 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19332 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19333 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19334 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19335 correct imply path.
19336 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19337 strlen symbol for non multi-arch builds.
19338 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19339 missing hidden_def and weak_alias.
19341 2014-04-08 Carlos O'Donell <carlos@redhat.com>
19343 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19345 2014-04-07 Will Newton <will.newton@linaro.org>
19347 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19348 and contents. [!_LIBC] Remove #ifndef and contents.
19349 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
19350 * string/memccpy.c (__memccpy): Use ANSI prototype.
19351 * string/memfrob.c (memfrob): Likewise.
19352 * string/strcoll.c (STRCOLL): Likewise.
19353 * string/strlen.c (strlen): Likewise.
19354 * string/strtok.c (STRTOK): Likewise.
19355 * string/strcat.c: Remove unused #include of memcopy.h.
19356 (strcat): Use ANSI prototype.
19357 * string/strchr.c: Remove unused #include of memcopy.h.
19358 (strchr): Use ANSI prototype.
19359 * string/strcmp.c: Remove unused #include of memcopy.h.
19360 (strcmp): Use ANSI prototype.
19361 * string/strcpy.c: Remove unused #include of memcopy.h.
19362 (strcpy): Use ANSI prototype.
19364 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19366 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19367 * config.make.in (config-extra-cppflags): Set it from
19368 libc_extra_cppflags.
19369 * configure.ac (libc_extra_cflags): Make it accumulate over
19370 configure fragments.
19371 (libc_extra_cppflags): New flag.
19372 * configure. Regenerate.
19373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19374 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19375 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19379 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19380 result for FE_DOWNWARD rounding mode.
19381 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19385 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
19387 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19388 in function argument name.
19390 2014-04-03 David Svoboda <svoboda@cert.org>
19393 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19396 2014-04-03 Roland McGrath <roland@hack.frob.com>
19398 * elf/dl-unmap-segments.h: New file.
19399 * sysdeps/generic/ldsodefs.h
19400 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19401 * elf/dl-close.c: Include <dl-unmap-segments.h>.
19402 * elf/dl-fptr.c: Likewise.
19403 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19404 * sysdeps/aarch64/tlsdesc.c: Likewise.
19405 * sysdeps/arm/tlsdesc.c: Likewise.
19406 * sysdeps/i386/tlsdesc.c: Likewise.
19407 * sysdeps/tile/dl-runtime.c: Likewise.
19408 * sysdeps/x86_64/tlsdesc.c: Likewise.
19409 * elf/dl-load.h: New file.
19410 * elf/dl-load.c: Include it.
19411 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19412 Macros moved to dl-load.h.
19413 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19414 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19415 Use _dl_unmap_segments in place of __munmap.
19416 Break out segment-mapping loop into ...
19417 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19419 2014-04-03 Will Newton <will.newton@linaro.org>
19421 * elf/dl-lookup.c (do_lookup_x): Remove comment
19422 referring to nested function and move variable
19423 declarations down to before first use.
19425 2014-04-02 Joseph Myers <joseph@codesourcery.com>
19429 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19431 * math/s_catanf.c (__catanf): Likewise.
19432 * math/s_catanh.c (__catanh): Likewise.
19433 * math/s_catanhf.c (__catanhf): Likewise.
19434 * math/s_catanhl.c (__catanhl): Likewise.
19435 * math/s_catanl.c (__catanl): Likewise.
19436 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19437 by positive zero when computing -Inf result.
19438 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19439 (catanh_test): Likewise.
19440 * sysdeps/i386/fpu/libm-test-ulps: Update.
19441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19444 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19445 instead of using underflowing value in computing result.
19446 * math/s_clog10.c (__clog10): Likewise.
19447 * math/s_clog10f.c (__clog10f): Likewise.
19448 * math/s_clog10l.c (__clog10l): Likewise.
19449 * math/s_clogf.c (__clogf): Likewise.
19450 * math/s_clogl.c (__clogl): Likewise.
19451 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19452 (clog10_test): Likewise.
19453 * sysdeps/i386/fpu/libm-test-ulps: Update.
19454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19456 2014-04-02 Alan Modra <amodra@gmail.com>
19459 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19460 output when value is near a power of two. Use int64_t for lx and
19461 remove casts. Use decimal rather than hex exponent constants.
19462 Don't use long double multiplication when double will suffice.
19463 * math/libm-test.inc (nextafter_test_data): Add tests.
19464 * NEWS: Add 16739 and 16786 to bug list.
19466 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19468 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19470 2014-04-01 Will Newton <will.newton@linaro.org>
19472 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19473 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
19475 2014-04-01 Florian Weimer <fweimer@redhat.com>
19478 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19479 * nptl/tst-setuid2.c: New file.
19480 * nptl/Makefile (xtests): Add tst-setuid2.
19482 2014-04-01 Alan Modra <amodra@gmail.com>
19485 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19487 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19491 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19492 set errno as appropriate.
19493 * math/w_scalbf.c (__scalbf): Likewise.
19494 * math/w_scalbl.c (__scalbl): Likewise.
19495 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19496 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19497 * math/libm-test.inc (scalb_test_data): Add errno expectations.
19498 Add more NaN tests.
19501 * math/w_atan2.c: Include <errno.h>.
19502 (__atan2): Set errno for result underflowing to zero.
19503 * math/w_atan2f.c: Include <errno.h>.
19504 (__atan2f): Set errno for result underflowing to zero.
19505 * math/w_atan2l.c: Include <errno.h>.
19506 (__atan2l): Set errno for result underflowing to zero.
19507 * math/auto-libm-test-in: Don't allow missing errno for some atan2
19509 * math/auto-libm-test-out: Regenerated.
19511 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19513 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19514 Encode instruction correctly in little endian.
19515 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19517 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19519 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19521 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19524 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19527 * sysdeps/unix/sysv/linux/kernel-features.h
19528 [__sparc__ && !__arch64__ && !__sparc_v9__]
19529 (__ASSUME_SET_ROBUST_LIST): Do not define.
19530 [__sparc__ && !__arch64__ && !__sparc_v9__]
19531 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19532 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19534 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19535 (__ASSUME_FUTEX_LOCK_PI): Undefine.
19536 (__ASSUME_REQUEUE_PI): Likewise.
19537 (__ASSUME_SET_ROBUST_LIST): Likewise.
19538 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19539 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19541 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19542 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19544 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19546 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19548 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19549 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19551 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19552 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19556 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19557 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19558 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19560 2014-03-31 Will Newton <will.newton@linaro.org>
19562 * benchtests/Makefile (bench): Add ffs and ffsll to list
19564 * benchtests/ffs-inputs: New file.
19565 * benchtests/ffsll-inputs: Likewise.
19567 2014-03-29 Joseph Myers <joseph@codesourcery.com>
19570 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19571 too large before casting to int.
19572 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19573 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19574 * math/libm-test.inc (scalb_test_data): Add more tests.
19576 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19578 * benchtests/Makefile (DETAILED_OPT): New make option.
19579 (bench-func): Run benchmark program with -d if DETAILED_OPT is
19581 * benchtests/bench-skeleton.c: Include stdbool.h.
19582 (main): Store and print timings per input.
19583 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19584 member to each argument value.
19585 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19586 (_print_arg_data): Initialize per-input timing to 0.
19588 * benchtests/Makefile (timing-type): New binary.
19589 (bench-clean): Also remove bench-timing-type.
19590 (bench): New target for timing-type.
19591 (bench-func): Print output in JSON format.
19592 * benchtests/bench-skeleton.c (main): Print output in JSON
19594 * benchtests/bench-timing-type.c: New file.
19595 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19596 (TIMING_PRINT_STATS): Remove.
19597 * benchtests/scripts/bench.py (_print_arg_data): Store variant
19600 * benchtests/bench-modf.c: Remove.
19601 * benchtests/modf-inputs: New inputs file.
19603 2014-03-28 Joseph Myers <joseph@codesourcery.com>
19606 * math/s_clog10.c (M_PI_LOG10E): New macro.
19607 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19608 imaginary parts are 0.
19609 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19610 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19611 imaginary parts are 0.
19612 * math/s_clog10l.c (M_PI_LOG10El): New macro.
19613 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19614 imaginary parts are 0.
19615 * math/libm-test.inc (clog10_test_data): Update expected results
19616 for when real and imaginary parts are 0.
19618 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
19620 * elf/dl-load.c: Finish conversion of __builtin_expect into
19621 __glibc_{un}likely.
19623 2014-03-27 Joseph Myers <joseph@codesourcery.com>
19626 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19627 1+x for argument with exponent below -67.
19628 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19630 * math/auto-libm-test-in: Add more tests of exp.
19631 * math/auto-libm-test-out: Regenerated.
19633 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19636 * inet/getnetgrent_r.c (get_nonempty_val): New function.
19637 (nscd_getnetgrent): Use it.
19640 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19643 2014-03-27 Andi Kleen <ak@linux.intel.com>
19645 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19646 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19647 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19648 (lll_robust_unlock): Remove out of line section. Use cfi
19650 (LLL_STUB_UNWIND_INFO*): Remove.
19651 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19652 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19653 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19654 (lll_robust_unlock): Remove out of line section. Use cfi
19656 (LLL_STUB_UNWIND_INFO*): Remove.
19658 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19661 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19664 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19666 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19668 2014-03-26 Joseph Myers <joseph@codesourcery.com>
19671 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19673 * math/test-fenv-preserve.c: New file.
19674 * math/Makefile (tests): Add test-fenv-preserve.
19676 2014-03-26 Will Newton <will.newton@linaro.org>
19678 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19680 2014-03-25 Roland McGrath <roland@hack.frob.com>
19682 * scripts/versionlist.awk: Partition the version sets and emit all
19683 GLIBC_* (sorted) before all others (sorted).
19685 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19687 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19688 GLIBC_2.2.5 version.
19690 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19692 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19695 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19700 2014-03-25 Andreas Schwab <schwab@suse.de>
19702 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19703 label to be used after in6ailist is initialized.
19705 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19707 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19708 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19710 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19714 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19716 (fp_formats): Update initializers.
19717 (init_fp_formats): Initialize new field.
19718 (output_for_one_input_case): Allow underflow for results up to
19720 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19721 * math/auto-libm-test-in: Don't mark some underflows from asin and
19723 * math/auto-libm-test-out: Regenerated.
19724 * sysdeps/i386/fpu/libm-test-ulps: Update.
19725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19727 2014-03-25 Andreas Schwab <schwab@suse.de>
19729 * libio/Makefile (tst-ftell-partial-wide-ENV)
19730 (tst-ftell-active-handler-ENV): Define.
19732 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19734 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19736 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19738 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19740 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19742 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19743 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19744 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19746 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19749 * elf/dl-load.c (open_verify): Add mode parameter.
19750 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19751 (open_path): Change from boolean 'secure' to complete flag 'mode'
19752 (_dl_map_object): Adjust.
19753 * elf/Makefile (tests): Add tst-dlopen-aout.
19754 * elf/tst-dlopen-aout.c: New test.
19756 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19759 * sysdeps/unix/sysv/linux/s390/bits/stat.h
19760 (struct stat): Rename member pad0 to __glibc_reserved0.
19763 * sysdeps/s390/s390-32/bits/wordsize.h
19764 (__WORDSIZE32_SIZE_ULONG): New define.
19765 * sysdeps/s390/s390-64/bits/wordsize.h
19766 (__WORDSIZE32_SIZE_ULONG): Likewise.
19767 * sysdeps/generic/stdint.h (SIZE_MAX):
19768 Define as UL if __WORDSIZE32_SIZE_ULONG.
19771 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19772 (__glibc_reserved0): New variable.
19773 (sa_flags): Change type to int.
19775 * posix/Makefile (before-compile): Use += before-compile instead
19778 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19779 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19781 2014-03-20 Andreas Schwab <schwab@suse.de>
19784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19785 non-matching result from nscd.
19787 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19789 * scripts/bench.py: Moved to ...
19790 * benchtests/scripts/bench.py: ... here.
19791 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19793 2014-03-24 Andreas Schwab <schwab@suse.de>
19796 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19797 alloca_account and account alloca use for struct in6ailist.
19799 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19802 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19803 rounding mode to recompute results that overflow to infinity or
19805 * math/auto-libm-test-in: Don't mark tests as expected to fail for
19807 * math/auto-libm-test-out: Regenerated.
19808 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19809 (ccosh_test): Likewise.
19810 (csin_test_data): Use plus_oflow.
19811 (csin_test): Use ALL_RM_TEST.
19812 (csinh_test_data): Use plus_oflow.
19813 (csinh_test): Use ALL_RM_TEST.
19814 * sysdeps/i386/fpu/libm-test-ulps: Update.
19815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19817 2014-03-21 Joseph Myers <joseph@codesourcery.com>
19819 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19820 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19821 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19824 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19825 when x - 1 is zero.
19826 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19827 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19828 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19829 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19831 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19832 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19834 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19835 * sysdeps/i386/fpu/libm-test-ulps: Update.
19836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19838 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19840 * scripts/bench.pl: Remove file.
19841 * scripts/bench.py: New benchmark script.
19842 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19843 * benchtests/README: Mention python dependency.
19844 * scripts/pylintrc: New file.
19845 * scripts/pylint: New file.
19847 * bits/mathdef.h: Use #ifdef instead of #if.
19848 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19849 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19850 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19851 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19852 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19853 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19855 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19856 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19858 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19860 and strpbrk-ppc64 objects.
19861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19862 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19863 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19864 multiarch strpbrk for POWER7.
19865 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19866 multiarch strpbrk for PPC64.
19867 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19869 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19870 strpbrk for POWER7.
19872 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19874 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19875 (atan_test): Likewise.
19876 (atanh_test_data): Use NO_TEST_INLINE for two tests.
19877 (atanh_test): Use ALL_RM_TEST.
19878 (atan2_test_data): Likewise.
19879 (cabs_test): Likewise.
19880 (cacosh_test): Likewise.
19881 (carg_test): Likewise.
19882 (casin_test): Likewise.
19883 (casinh_test): Likewise.
19884 (cbrt_test): Likewise.
19885 (csqrt_test): Likewise.
19886 (erf_test): Likewise.
19887 (erfc_test): Likewise.
19888 (pow10_test): Likewise.
19889 (exp2_test): Likewise.
19890 (hypot_test): Likewise.
19891 (j0_test): Likewise.
19892 (j1_test): Likewise.
19893 (lgamma_test): Likewise.
19894 (gamma_test): Likewise.
19895 (sincos_test): Likewise.
19896 (tanh_test): Likewise.
19897 (y0_test): Likewise.
19898 (y1_test): Likewise.
19899 * sysdeps/i386/fpu/libm-test-ulps: Update.
19900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19902 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19904 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19905 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19906 and strcspn-ppc64 objects.
19907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19908 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19909 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19910 multiarch strcspn for POWER7.
19911 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19912 multiarch strcspn for PPC64.
19913 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19915 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19916 strcspn for POWER7.
19918 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19920 * math/gen-libm-test.pl (generate_testfile): Expect only function
19921 name as argument to AUTO_TESTS_* and pass results for all rounding
19922 modes to parse_args.
19923 (parse_auto_input): Separate inputs of automatic tests from
19924 outputs before storing in %auto_tests.
19925 * math/libm-test.inc (acos_test_data): Update call to
19927 (acos_test): Use ALL_RM_TEST.
19928 (acos_tonearest_test_data): Remove.
19929 (acos_test_tonearest): Likewise.
19930 (acos_towardzero_test_data): Likewise.
19931 (acos_test_towardzero): Likewise.
19932 (acos_downward_test_data): Likewise.
19933 (acos_test_downward): Likewise.
19934 (acos_upward_test_data): Likewise.
19935 (acos_test_upward): Likewise.
19936 (acosh_test_data): Update call to AUTO_TESTS_f_f.
19937 (asin_test_data): Likewise.
19938 (asin_test): Use ALL_RM_TEST.
19939 (asin_tonearest_test_data): Remove.
19940 (asin_test_tonearest): Likewise.
19941 (asin_towardzero_test_data): Likewise.
19942 (asin_test_towardzero): Likewise.
19943 (asin_downward_test_data): Likewise.
19944 (asin_test_downward): Likewise.
19945 (asin_upward_test_data): Likewise.
19946 (asin_test_upward): Likewise.
19947 (asinh_test_data): Update call to AUTO_TESTS_f_f.
19948 (atan_test_data): Likewise.
19949 (atanh_test_data): Likewise.
19950 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19951 (cabs_test_data): Update call to AUTO_TESTS_c_f.
19952 (carg_test_data): Likewise.
19953 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19954 (ccos_test_data): Update call to AUTO_TESTS_c_c.
19955 (ccosh_test_data): Likewise.
19956 (cexp_test_data): Likewise.
19957 (clog_test_data): Likewise.
19958 (clog10_test_data): Likewise.
19959 (cos_test_data): Update call to AUTO_TESTS_f_f.
19960 (cos_test): Use ALL_RM_TEST.
19961 (cos_tonearest_test_data): Remove.
19962 (cos_test_tonearest): Likewise.
19963 (cos_towardzero_test_data): Likewise.
19964 (cos_test_towardzero): Likewise.
19965 (cos_downward_test_data): Likewise.
19966 (cos_test_downward): Likewise.
19967 (cos_upward_test_data): Likewise.
19968 (cos_test_upward): Likewise.
19969 (cosh_test_data): Update call to AUTO_TESTS_f_f.
19970 (cosh_test): Use ALL_RM_TEST.
19971 (cosh_tonearest_test_data): Remove.
19972 (cosh_test_tonearest): Likewise.
19973 (cosh_towardzero_test_data): Likewise.
19974 (cosh_test_towardzero): Likewise.
19975 (cosh_downward_test_data): Likewise.
19976 (cosh_test_downward): Likewise.
19977 (cosh_upward_test_data): Likewise.
19978 (cosh_test_upward): Likewise.
19979 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19980 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19981 (ctan_test_data): Likewise.
19982 (ctan_test): Use ALL_RM_TEST.
19983 (ctan_tonearest_test_data): Remove.
19984 (ctan_test_tonearest): Likewise.
19985 (ctan_towardzero_test_data): Likewise.
19986 (ctan_test_towardzero): Likewise.
19987 (ctan_downward_test_data): Likewise.
19988 (ctan_test_downward): Likewise.
19989 (ctan_upward_test_data): Likewise.
19990 (ctan_test_upward): Likewise.
19991 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19992 (ctanh_test): Use ALL_RM_TEST.
19993 (ctanh_tonearest_test_data): Remove.
19994 (ctanh_test_tonearest): Likewise.
19995 (ctanh_towardzero_test_data): Likewise.
19996 (ctanh_test_towardzero): Likewise.
19997 (ctanh_downward_test_data): Likewise.
19998 (ctanh_test_downward): Likewise.
19999 (ctanh_upward_test_data): Likewise.
20000 (ctanh_test_upward): Likewise.
20001 (erf_test_data): Update call to AUTO_TESTS_f_f.
20002 (erfc_test_data): Likewise.
20003 (exp_test_data): Likewise.
20004 (exp_test): Use ALL_RM_TEST.
20005 (exp_tonearest_test_data): Remove.
20006 (exp_test_tonearest): Likewise.
20007 (exp_towardzero_test_data): Likewise.
20008 (exp_test_towardzero): Likewise.
20009 (exp_downward_test_data): Likewise.
20010 (exp_test_downward): Likewise.
20011 (exp_upward_test_data): Likewise.
20012 (exp_test_upward): Likewise.
20013 (exp10_test_data): Update call to AUTO_TESTS_f_f.
20014 (exp10_test): Use ALL_RM_TEST.
20015 (exp10_tonearest_test_data): Remove.
20016 (exp10_test_tonearest): Likewise.
20017 (exp10_towardzero_test_data): Likewise.
20018 (exp10_test_towardzero): Likewise.
20019 (exp10_downward_test_data): Likewise.
20020 (exp10_test_downward): Likewise.
20021 (exp10_upward_test_data): Likewise.
20022 (exp10_test_upward): Likewise.
20023 (exp2_test_data): Update call to AUTO_TESTS_f_f.
20024 (expm1_test_data): Likewise.
20025 (expm1_test): Use ALL_RM_TEST.
20026 (expm1_tonearest_test_data): Remove.
20027 (expm1_test_tonearest): Likewise.
20028 (expm1_towardzero_test_data): Likewise.
20029 (expm1_test_towardzero): Likewise.
20030 (expm1_downward_test_data): Likewise.
20031 (expm1_test_downward): Likewise.
20032 (expm1_upward_test_data): Likewise.
20033 (expm1_test_upward): Likewise.
20034 (fma_test_data): Update call to AUTO_TESTS_fff_f.
20035 (fma_test): Use ALL_RM_TEST.
20036 (fma_towardzero_test_data): Remove.
20037 (fma_test_towardzero): Likewise.
20038 (fma_downward_test_data): Likewise.
20039 (fma_test_downward): Likewise.
20040 (fma_upward_test_data): Likewise.
20041 (fma_test_upward): Likewise.
20042 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20043 (j0_test_data): Update call to AUTO_TESTS_f_f.
20044 (j1_test_data): Likewise.
20045 (jn_test_data): Update call to AUTO_TESTS_if_f.
20046 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20047 (log_test_data): Update call to AUTO_TESTS_f_f.
20048 (log10_test_data): Likewise.
20049 (log1p_test_data): Likewise.
20050 (log2_test_data): Likewise.
20051 (pow_test_data): Update call to AUTO_TESTS_ff_f.
20052 (pow_tonearest_test_data): Likewise.
20053 (sin_test_data): Update call to AUTO_TESTS_f_f.
20054 (sin_test): Use ALL_RM_TEST.
20055 (sin_tonearest_test_data): Remove.
20056 (sin_test_tonearest): Likewise.
20057 (sin_towardzero_test_data): Likewise.
20058 (sin_test_towardzero): Likewise.
20059 (sin_downward_test_data): Likewise.
20060 (sin_test_downward): Likewise.
20061 (sin_upward_test_data): Likewise.
20062 (sin_test_upward): Likewise.
20063 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20064 (sinh_test_data): Update call to AUTO_TESTS_f_f.
20065 (sinh_test): Use ALL_RM_TEST.
20066 (sinh_tonearest_test_data): Remove.
20067 (sinh_test_tonearest): Likewise.
20068 (sinh_towardzero_test_data): Likewise.
20069 (sinh_test_towardzero): Likewise.
20070 (sinh_downward_test_data): Likewise.
20071 (sinh_test_downward): Likewise.
20072 (sinh_upward_test_data): Likewise.
20073 (sinh_test_upward): Likewise.
20074 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20075 (sqrt_test): Use ALL_RM_TEST.
20076 (sqrt_tonearest_test_data): Remove.
20077 (sqrt_test_tonearest): Likewise.
20078 (sqrt_towardzero_test_data): Likewise.
20079 (sqrt_test_towardzero): Likewise.
20080 (sqrt_downward_test_data): Likewise.
20081 (sqrt_test_downward): Likewise.
20082 (sqrt_upward_test_data): Likewise.
20083 (sqrt_test_upward): Likewise.
20084 (tan_test_data): Update call to AUTO_TESTS_f_f.
20085 (tan_test): Use ALL_RM_TEST.
20086 (tan_tonearest_test_data): Remove.
20087 (tan_test_tonearest): Likewise.
20088 (tan_towardzero_test_data): Likewise.
20089 (tan_test_towardzero): Likewise.
20090 (tan_downward_test_data): Likewise.
20091 (tan_test_downward): Likewise.
20092 (tan_upward_test_data): Likewise.
20093 (tan_test_upward): Likewise.
20094 (tanh_test_data): Update call to AUTO_TESTS_f_f.
20095 (tgamma_test_data): Likewise.
20096 (y0_test_data): Likewise.
20097 (y1_test_data): Likewise.
20098 (yn_test_data): Update call to AUTO_TESTS_if_f.
20099 (main): Do not call removed functions.
20101 2014-03-19 Joseph Myers <joseph@codesourcery.com>
20103 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20104 (ldexp_test_data): Remove.
20105 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
20107 (scalb_test): Use ALL_RM_TEST.
20109 2014-03-19 Andreas Schwab <schwab@suse.de>
20111 * nscd/nscd.service: Also invalidate netgroup cache on reload.
20113 2014-03-19 Joseph Myers <joseph@codesourcery.com>
20116 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20117 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20118 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20119 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20120 (__ASSUME_PREADV): Undefine.
20121 (__ASSUME_PWRITEV): Likewise.
20123 2014-03-18 Roland McGrath <roland@hack.frob.com>
20125 * bits/mman-linux.h: Add comment about non-Linux use.
20126 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20127 bits/mman-linux.h resting place.
20129 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20130 * bits/mman-linux.h: ... here.
20132 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20134 * conform/conformtest.pl: Add standard definition when calling C
20135 preprocessor on data files.
20136 (checknamespace): Remove unused variable.
20138 2014-03-18 Joseph Myers <joseph@codesourcery.com>
20140 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20141 minus_oflow, plus_uflow and minus_uflow in expected results.
20142 * math/libm-test.inc (scalbn_test_data): Add more tests of
20143 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
20145 (scalbn_test): Use ALL_RM_TEST.
20146 (scalbln_test_data): Add more tests of negative arguments. Use
20147 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20148 (scalbln_test): Use ALL_RM_TEST.
20150 2014-03-18 Roland McGrath <roland@hack.frob.com>
20152 * scripts/abilist.awk: Ignore symbols marked with .hidden.
20154 2014-03-18 Will Newton <will.newton@linaro.org>
20156 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20157 inaccurate comment.
20159 2014-03-18 Joseph Myers <joseph@codesourcery.com>
20161 * Makerules [!subdir] (check-abi): Exit with error status if a
20164 2014-03-17 Joseph Myers <joseph@codesourcery.com>
20166 * math/libm-test.inc (nearbyint_test_data): Include all tests used
20167 for rint. Include results for all rounding modes.
20168 (nearbyint_test): Use ALL_RM_TEST.
20169 (rint_test_data): Include all tests used for nearbyint.
20171 2014-03-17 Will Newton <will.newton@linaro.org>
20173 * nptl/sysdeps/pthread/pthread.h: Revert previous
20176 * sysdeps/generic/ldsodefs.h: Revert previous
20179 * libio/genops.c: Revert previous change.
20180 * libio/libioP.h: Likewise.
20181 * stdio-common/vfprintf.c: Likewise.
20183 * sysdeps/generic/math_private.h: Revert previous
20186 * sysdeps/generic/math_private.h: Check whether
20187 HAVE_RM_CTX is defined with #ifdef rather
20190 * argp/argp-fmtstream.h: Check whether
20191 __STRICT_ANSI__ is defined with #ifdef rather
20193 * argp/argp.h: Likewise.
20195 * libio/genops.c: Check whether
20196 _IO_JUMPS_OFFSET is defined with #ifdef rather
20198 * libio/libioP.h: Likewise.
20199 * stdio-common/vfprintf.c: Likewise.
20201 * sysdeps/generic/ldsodefs.h: Check whether
20202 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20205 * nptl/sysdeps/pthread/pthread.h: Check
20206 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20209 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20211 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20213 * libio/tst-ftell-active-handler.c (do_append_test): Add a
20217 * libio/fileops.c (_IO_file_open): Seek to end of file but
20218 don't cache the offset.
20219 (get_file_offset): Remove function.
20220 (do_ftell): Use cached offset when available.
20221 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20222 don't cache the offset.
20223 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20225 (do_one_test): Call it.
20226 (do_ftell_test): Fix up expected old offset for a+ mode.
20227 * libio/wfileops.c (do_ftell_wide): Used cached offset when
20230 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20231 up test status with function return status.
20232 (do_write_test): Likewise.
20233 (do_append_test): Likewise.
20235 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20236 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20239 2014-03-17 Joseph Myers <joseph@codesourcery.com>
20241 * math/gen-libm-test.pl (parse_args): Handle results specified for
20242 each rounding mode separately.
20243 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20244 tests and results from lrint_tonearest_test_data,
20245 lrint_towardzero_test_data, lrint_downward_test_data and
20246 lrint_upward_test_data.
20247 (lrint_test): Use ALL_RM_TEST.
20248 (lrint_tonearest_test_data): Remove.
20249 (lrint_test_tonearest): Likewise.
20250 (lrint_towardzero_test_data): Likewise.
20251 (lrint_test_towardzero): Likewise.
20252 (lrint_downward_test_data): Likewise.
20253 (lrint_test_downward): Likewise.
20254 (lrint_upward_test_data): Likewise.
20255 (lrint_test_upward): Likewise.
20256 (llrint_test_data): Merge in per-rounding-mode tests and results
20257 from llrint_tonearest_test_data, llrint_towardzero_test_data,
20258 llrint_downward_test_data and llrint_upward_test_data.
20259 (llrint_test): Use ALL_RM_TEST.
20260 (llrint_tonearest_test_data): Remove.
20261 (llrint_test_tonearest): Likewise.
20262 (llrint_towardzero_test_data): Likewise.
20263 (llrint_test_towardzero): Likewise.
20264 (llrint_downward_test_data): Likewise.
20265 (llrint_test_downward): Likewise.
20266 (llrint_upward_test_data): Likewise.
20267 (llrint_test_upward): Likewise.
20268 (rint_test_data): Merge in per-rounding-mode tests and results
20269 from rint_tonearest_test_data, rint_towardzero_test_data,
20270 rint_downward_test_data and rint_upward_test_data. Add
20271 per-rounding-mode results for tests not in those arrays.
20272 (rint_test): Use ALL_RM_TEST.
20273 (rint_tonearest_test_data): Remove.
20274 (rint_test_tonearest): Likewise.
20275 (rint_towardzero_test_data): Likewise.
20276 (rint_test_towardzero): Likewise.
20277 (rint_downward_test_data): Likewise.
20278 (rint_test_downward): Likewise.
20279 (rint_upward_test_data): Likewise.
20280 (rint_test_upward): Likewise.
20281 (main): Don't call removed functions.
20283 2014-03-14 Roland McGrath <roland@hack.frob.com>
20285 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20286 "Compiled on ..." crapola. It is anti-useful.
20288 2014-03-14 Joseph Myers <joseph@codesourcery.com>
20290 * scripts/evaluate-test.sh: Handle fourth argument to determine
20291 whether test run should stop on failure.
20292 * Makeconfig (stop-on-test-failure): New variable.
20293 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20294 $(stop-on-test-failure).
20295 * Makefile (tests): Give a summary of results from testing and
20296 exit with failure status if they include an ERROR or FAIL.
20297 (xtests): Likewise.
20298 * manual/install.texi (Configuring and compiling): Mention
20299 stop-on-test-failure=y.
20300 * INSTALL: Regenerated.
20302 2014-03-14 Roland McGrath <roland@hack.frob.com>
20304 * scripts/versionlist.awk: New file.
20305 * Makerules [$(build-shared) = yes]
20306 (postclean-generated): Add Versions.def, not Versions.def.v and
20308 ($(common-objpfx)Versions.def.v.i): Target removed.
20309 ($(common-objpfx)Versions.def): New target.
20310 ($(common-objpfx)Versions.all): Depend on that rather that
20311 $(common-objpfx)Versions.def.v.
20312 * Versions.def: File removed.
20314 * Makeconfig (+gccwarn): Add -Wundef.
20315 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20316 a dl-sysdep.h breaking its contract.
20317 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20318 * include/stackinfo.h: New file.
20319 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20320 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20321 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20322 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20323 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20324 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20325 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20326 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20327 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20328 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20329 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20330 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20331 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20332 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20333 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20335 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20338 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20340 * math/libm-test.inc (round_test_data): Add more tests.
20343 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20345 * math/libm-test.inc (nearbyint_test_data): Add more tests.
20348 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20350 * math/libm-test.inc (ceil_test_data): Add more tests.
20352 * math/libm-test.inc (trunc_test_data): Add more tests related to
20355 2014-03-14 Roland McGrath <roland@hack.frob.com>
20357 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20358 with #if rather than #ifdef.
20359 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20361 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
20363 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20364 first. Disable AVX-512 GCC support if assembler doesn't support
20366 * sysdeps/x86_64/configure: Regenerated.
20368 2014-03-13 Carlos O'Donell <carlos@redhat.com>
20370 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20371 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20372 (__old_pthread_attr_setstack): Likewise.
20373 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20374 [!_STACK_GROWS_DOWN]: Likewise.
20376 2014-03-13 Mike Frysinger <vapier@gentoo.org>
20378 * config.make.in (have-bash2): Delete.
20379 * configure.ac (libc_cv_have_bash2): Delete.
20380 * configure: Regenerate.
20381 * elf/Makefile (common-ldd-rewrite): Rename to ...
20382 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
20383 (sh-ldd-rewrite): Delete.
20384 (bash-ldd-rewrite): Delete.
20385 (have-bash2): Delete checks.
20386 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20389 * config.make.in (have-ksh): Delete.
20391 * configure.ac (libc_cv_have_ksh): Delete.
20392 * configure: Regenerate.
20394 * elf/Makefile: Delete $(have-ksh) check.
20395 ($(objpfx)sotruss): Change KSH to BASH.
20396 * elf/sotruss.ksh: Rename to ...
20397 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
20398 function style to match POSIX. Drop ksh vim mode setting.
20400 * manual/time.texi (Specifying the Time Zone with TZ): Change
20401 Tuesday to Thursday.
20403 * debug/tst-longjmp_chk2.c: Update header comment.
20404 (stackoverflow_handler): Add comment. Call assert on pass value.
20406 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
20409 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20410 (HAVE_AVX512_ASM_SUPPORT): Likewise.
20411 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20412 (La_x86_64_vector): Add zmm.
20413 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20414 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20415 ($(objpfx)tst-audit10): New target.
20416 ($(objpfx)tst-audit10.out): Likewise.
20417 (tst-audit10-ENV): New.
20418 (AVX512-CFLAGS): Likewise.
20419 (CFLAGS-tst-audit10.c): Likewise.
20420 (CFLAGS-tst-auditmod10a.c): Likewise.
20421 (CFLAGS-tst-auditmod10b.c): Likewise.
20422 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20423 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20424 * sysdeps/x86_64/configure: Regenerated.
20425 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20426 AVX-512 zmm register support.
20427 (_dl_x86_64_save_sse): Likewise.
20428 (_dl_x86_64_restore_sse): Likewise.
20429 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20430 size vector registers.
20431 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20432 (ZMM_SIZE): Likewise.
20433 * sysdeps/x86_64/tst-audit10.c: New file.
20434 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20435 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20437 2014-03-13 Roland McGrath <roland@hack.frob.com>
20439 * configure.ac (HAVE_EHDR_START): New check.
20440 * configure: Regenerated.
20441 * config.h.in (HAVE_EHDR_START): New #undef.
20442 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20443 assuming the lowest-addressed segment maps the start of the file.
20445 2014-03-13 Joseph Myers <joseph@codesourcery.com>
20447 * INSTALL: Regenerated.
20449 2014-03-13 Will Newton <will.newton@linaro.org>
20451 * manual/setjmp.texi (System V contexts): Improve
20452 clarity and grammar of documentation.
20454 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
20457 * elf/Makefile (tests): Add tst-pie2.
20458 (tests-pie): Add tst-pie2.
20459 * elf/tst-pie2.c: New file.
20460 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20462 * elf/rtld.c (map_doit): Load executable as lt_executable.
20463 (dl_main): Likewise.
20465 2014-03-12 Joseph Myers <joseph@codesourcery.com>
20468 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20469 (__ASSUME_PSELECT): Undefine.
20471 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20474 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20475 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20477 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20478 selector for static builds.
20480 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20483 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20486 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20488 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20489 IFUNC selector for static builds.
20491 2014-03-11 Joseph Myers <joseph@codesourcery.com>
20493 * sysdeps/mips/math_private.h [__mips_hard_float]
20494 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20495 libc_feresetround_mips_ctx.
20496 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20497 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20498 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20501 * math/s_nextafter.c (__nextafter): Do not return value from
20502 overflowing computation.
20503 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20504 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20505 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20507 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20509 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20510 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20512 2014-03-11 Roland McGrath <roland@hack.frob.com>
20514 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20515 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20516 Move sfi_sp use from the load-multiple (that no longer sets sp) to
20517 the new mov targetting sp.
20519 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20522 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20523 Define it for static builds as well.
20524 (NO_BZERO_IMPL): Likewise.
20526 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20528 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20529 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20530 multiarch strspn for PPC64.
20531 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20532 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20534 (__libc_ifunc_impl_list): Likewise.
20535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20536 multiarch optimizations
20537 * string/strspn.c (strspn): Using macro to redefine symbol name.
20539 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20540 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20542 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20543 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20544 multiarch strncat for PPC64.
20545 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20546 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20548 (__libc_ifunc_impl_list): Likewise.
20549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20550 multiarch optimizations
20552 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20555 * nscd/nscd.service: Make service type forking.
20557 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20559 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20560 sign in non default rounding modes.
20561 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20563 2014-03-08 Joseph Myers <joseph@codesourcery.com>
20565 * math/libm-test.inc (ALL_RM_TEST): New macro.
20566 (ceil_test): Use ALL_RM_TEST.
20567 (cimag_test): Likewise.
20568 (conj_test): Likewise.
20569 (copysign_test): Likewise.
20570 (cproj_test): Likewise.
20571 (creal_test): Likewise.
20572 (fabs_test): Likewise.
20573 (floor_test): Likewise.
20574 (fmax_test): Likewise.
20575 (fmin_test): Likewise.
20576 (fmod_test): Likewise.
20577 (fpclassify_test): Likewise.
20578 (frexp_test): Likewise.
20579 (ilogb_test): Likewise.
20580 (isfinite_test): Likewise.
20581 (finite_test): Likewise.
20582 (isgreater_test): Likewise.
20583 (isgreaterequal_test): Likewise.
20584 (isinf_test): Likewise.
20585 (isless_test): Likewise.
20586 (islessequal_test): Likewise.
20587 (islessgreater_test): Likewise.
20588 (isnan_test): Likewise.
20589 (isnormal_test): Likewise.
20590 (issignaling_test): Likewise.
20591 (isunordered_test): Likewise.
20592 (logb_test): Likewise.
20593 (logb_downward_test_data): Remove.
20594 (logb_test_downward): Likewise.
20595 (lround_test): Use ALL_RM_TEST.
20596 (llround_test): Likewise.
20597 (modf_test): Likewise.
20598 (nexttoward_test): Likewise.
20599 (remainder_test): Likewise.
20600 (drem_test): Likewise.
20601 (remainder_tonearest_test_data): Likewise.
20602 (remainder_test_tonearest): Likewise.
20603 (drem_test_tonearest): Likewise.
20604 (remainder_towardzero_test_data): Likewise.
20605 (remainder_test_towardzero): Likewise.
20606 (drem_test_towardzero): Likewise.
20607 (remainder_downward_test_data): Likewise.
20608 (remainder_test_downward): Likewise.
20609 (drem_test_downward): Likewise.
20610 (remainder_upward_test_data): Likewise.
20611 (remainder_test_upward): Likewise.
20612 (drem_test_upward): Likewise.
20613 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
20614 (round_test): Use ALL_RM_TEST.
20615 (signbit_test): Likewise.
20616 (trunc_test): Likewise.
20617 (significand_test): Likewise.
20618 (main): Don't call removed functions.
20620 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20623 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20624 || __USE_XOPEN2K8].
20625 (ILL_ILLOPN): Likewise.
20626 (ILL_ILLADR): Likewise.
20627 (ILL_ILLTRP): Likewise.
20628 (ILL_PRVOPC): Likewise.
20629 (ILL_PRVREG): Likewise.
20630 (ILL_COPROC): Likewise.
20631 (ILL_BADSTK): Likewise.
20632 (FPE_INTDIV): Likewise.
20633 (FPE_INTOVF): Likewise.
20634 (FPE_FLTDIV): Likewise.
20635 (FPE_FLTOVF): Likewise.
20636 (FPE_FLTUND): Likewise.
20637 (FPE_FLTRES): Likewise.
20638 (FPE_FLTINV): Likewise.
20639 (FPE_FLTSUB): Likewise.
20640 (SEGV_MAPERR): Likewise.
20641 (SEGV_ACCERR): Likewise.
20642 (BUS_ADRALN): Likewise.
20643 (BUS_ADRERR): Likewise.
20644 (BUS_OBJERR): Likewise.
20645 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20646 (TRAP_TRACE): Likewise.
20647 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20649 (CLD_KILLED): Likewise.
20650 (CLD_DUMPED): Likewise.
20651 (CLD_TRAPPED): Likewise.
20652 (CLD_STOPPED): Likewise.
20653 (CLD_CONTINUED): Likewise.
20654 (POLL_IN): Likewise.
20655 (POLL_OUT): Likewise.
20656 (POLL_MSG): Likewise.
20657 (POLL_ERR): Likewise.
20658 (POLL_PRI): Likewise.
20659 (POLL_HUP): Likewise.
20660 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20662 (ILL_ILLOPN): Likewise.
20663 (ILL_ILLADR): Likewise.
20664 (ILL_ILLTRP): Likewise.
20665 (ILL_PRVOPC): Likewise.
20666 (ILL_PRVREG): Likewise.
20667 (ILL_COPROC): Likewise.
20668 (ILL_BADSTK): Likewise.
20669 (FPE_INTDIV): Likewise.
20670 (FPE_INTOVF): Likewise.
20671 (FPE_FLTDIV): Likewise.
20672 (FPE_FLTOVF): Likewise.
20673 (FPE_FLTUND): Likewise.
20674 (FPE_FLTRES): Likewise.
20675 (FPE_FLTINV): Likewise.
20676 (FPE_FLTSUB): Likewise.
20677 (SEGV_MAPERR): Likewise.
20678 (SEGV_ACCERR): Likewise.
20679 (BUS_ADRALN): Likewise.
20680 (BUS_ADRERR): Likewise.
20681 (BUS_OBJERR): Likewise.
20682 (BUS_MCEERR_AR): Likewise.
20683 (BUS_MCEERR_AO): Likewise.
20684 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20685 (TRAP_TRACE): Likewise.
20686 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20688 (CLD_KILLED): Likewise.
20689 (CLD_DUMPED): Likewise.
20690 (CLD_TRAPPED): Likewise.
20691 (CLD_STOPPED): Likewise.
20692 (CLD_CONTINUED): Likewise.
20693 (POLL_IN): Likewise.
20694 (POLL_OUT): Likewise.
20695 (POLL_MSG): Likewise.
20696 (POLL_ERR): Likewise.
20697 (POLL_PRI): Likewise.
20698 (POLL_HUP): Likewise.
20699 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20700 (ILL_ILLOPN): Likewise.
20701 (ILL_ILLADR): Likewise.
20702 (ILL_ILLTRP): Likewise.
20703 (ILL_PRVOPC): Likewise.
20704 (ILL_PRVREG): Likewise.
20705 (ILL_COPROC): Likewise.
20706 (ILL_BADSTK): Likewise.
20707 (FPE_INTDIV): Likewise.
20708 (FPE_INTOVF): Likewise.
20709 (FPE_FLTDIV): Likewise.
20710 (FPE_FLTOVF): Likewise.
20711 (FPE_FLTUND): Likewise.
20712 (FPE_FLTRES): Likewise.
20713 (FPE_FLTINV): Likewise.
20714 (FPE_FLTSUB): Likewise.
20715 (SEGV_MAPERR): Likewise.
20716 (SEGV_ACCERR): Likewise.
20717 (BUS_ADRALN): Likewise.
20718 (BUS_ADRERR): Likewise.
20719 (BUS_OBJERR): Likewise.
20720 (BUS_MCEERR_AR): Likewise.
20721 (BUS_MCEERR_AO): Likewise.
20722 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20723 (TRAP_TRACE): Likewise.
20724 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20726 (CLD_KILLED): Likewise.
20727 (CLD_DUMPED): Likewise.
20728 (CLD_TRAPPED): Likewise.
20729 (CLD_STOPPED): Likewise.
20730 (CLD_CONTINUED): Likewise.
20731 (POLL_IN): Likewise.
20732 (POLL_OUT): Likewise.
20733 (POLL_MSG): Likewise.
20734 (POLL_ERR): Likewise.
20735 (POLL_PRI): Likewise.
20736 (POLL_HUP): Likewise.
20737 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20739 (ILL_ILLOPN): Likewise.
20740 (ILL_ILLADR): Likewise.
20741 (ILL_ILLTRP): Likewise.
20742 (ILL_PRVOPC): Likewise.
20743 (ILL_PRVREG): Likewise.
20744 (ILL_COPROC): Likewise.
20745 (ILL_BADSTK): Likewise.
20746 (ILL_BADIADDR): Likewise.
20747 (ILL_BREAK): Likewise.
20748 (FPE_INTDIV): Likewise.
20749 (FPE_INTOVF): Likewise.
20750 (FPE_FLTDIV): Likewise.
20751 (FPE_FLTOVF): Likewise.
20752 (FPE_FLTUND): Likewise.
20753 (FPE_FLTRES): Likewise.
20754 (FPE_FLTINV): Likewise.
20755 (FPE_FLTSUB): Likewise.
20756 (FPE_DECOVF): Likewise.
20757 (FPE_DECDIV): Likewise.
20758 (FPE_DECERR): Likewise.
20759 (FPE_INVASC): Likewise.
20760 (FPE_INVDEC): Likewise.
20761 (SEGV_MAPERR): Likewise.
20762 (SEGV_ACCERR): Likewise.
20763 (SEGV_PSTKOVF): Likewise.
20764 (BUS_ADRALN): Likewise.
20765 (BUS_ADRERR): Likewise.
20766 (BUS_OBJERR): Likewise.
20767 (BUS_MCEERR_AR): Likewise.
20768 (BUS_MCEERR_AO): Likewise.
20769 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20770 (TRAP_TRACE): Likewise.
20771 (TRAP_BRANCH): Likewise.
20772 (TRAP_HWBKPT): Likewise.
20773 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20775 (CLD_KILLED): Likewise.
20776 (CLD_DUMPED): Likewise.
20777 (CLD_TRAPPED): Likewise.
20778 (CLD_STOPPED): Likewise.
20779 (CLD_CONTINUED): Likewise.
20780 (POLL_IN): Likewise.
20781 (POLL_OUT): Likewise.
20782 (POLL_MSG): Likewise.
20783 (POLL_ERR): Likewise.
20784 (POLL_PRI): Likewise.
20785 (POLL_HUP): Likewise.
20786 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20787 (ILL_ILLOPN): Likewise.
20788 (ILL_ILLADR): Likewise.
20789 (ILL_ILLTRP): Likewise.
20790 (ILL_PRVOPC): Likewise.
20791 (ILL_PRVREG): Likewise.
20792 (ILL_COPROC): Likewise.
20793 (ILL_BADSTK): Likewise.
20794 (FPE_INTDIV): Likewise.
20795 (FPE_INTOVF): Likewise.
20796 (FPE_FLTDIV): Likewise.
20797 (FPE_FLTOVF): Likewise.
20798 (FPE_FLTUND): Likewise.
20799 (FPE_FLTRES): Likewise.
20800 (FPE_FLTINV): Likewise.
20801 (FPE_FLTSUB): Likewise.
20802 (SEGV_MAPERR): Likewise.
20803 (SEGV_ACCERR): Likewise.
20804 (BUS_ADRALN): Likewise.
20805 (BUS_ADRERR): Likewise.
20806 (BUS_OBJERR): Likewise.
20807 (BUS_MCEERR_AR): Likewise.
20808 (BUS_MCEERR_AO): Likewise.
20809 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20810 (TRAP_TRACE): Likewise.
20811 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20813 (CLD_KILLED): Likewise.
20814 (CLD_DUMPED): Likewise.
20815 (CLD_TRAPPED): Likewise.
20816 (CLD_STOPPED): Likewise.
20817 (CLD_CONTINUED): Likewise.
20818 (POLL_IN): Likewise.
20819 (POLL_OUT): Likewise.
20820 (POLL_MSG): Likewise.
20821 (POLL_ERR): Likewise.
20822 (POLL_PRI): Likewise.
20823 (POLL_HUP): Likewise.
20824 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20825 (ILL_ILLOPN): Likewise.
20826 (ILL_ILLADR): Likewise.
20827 (ILL_ILLTRP): Likewise.
20828 (ILL_PRVOPC): Likewise.
20829 (ILL_PRVREG): Likewise.
20830 (ILL_COPROC): Likewise.
20831 (ILL_BADSTK): Likewise.
20832 (FPE_INTDIV): Likewise.
20833 (FPE_INTOVF): Likewise.
20834 (FPE_FLTDIV): Likewise.
20835 (FPE_FLTOVF): Likewise.
20836 (FPE_FLTUND): Likewise.
20837 (FPE_FLTRES): Likewise.
20838 (FPE_FLTINV): Likewise.
20839 (FPE_FLTSUB): Likewise.
20840 (SEGV_MAPERR): Likewise.
20841 (SEGV_ACCERR): Likewise.
20842 (BUS_ADRALN): Likewise.
20843 (BUS_ADRERR): Likewise.
20844 (BUS_OBJERR): Likewise.
20845 (BUS_MCEERR_AR): Likewise.
20846 (BUS_MCEERR_AO): Likewise.
20847 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20848 (TRAP_TRACE): Likewise.
20849 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20851 (CLD_KILLED): Likewise.
20852 (CLD_DUMPED): Likewise.
20853 (CLD_TRAPPED): Likewise.
20854 (CLD_STOPPED): Likewise.
20855 (CLD_CONTINUED): Likewise.
20856 (POLL_IN): Likewise.
20857 (POLL_OUT): Likewise.
20858 (POLL_MSG): Likewise.
20859 (POLL_ERR): Likewise.
20860 (POLL_PRI): Likewise.
20861 (POLL_HUP): Likewise.
20862 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20863 (ILL_ILLOPN): Likewise.
20864 (ILL_ILLADR): Likewise.
20865 (ILL_ILLTRP): Likewise.
20866 (ILL_PRVOPC): Likewise.
20867 (ILL_PRVREG): Likewise.
20868 (ILL_COPROC): Likewise.
20869 (ILL_BADSTK): Likewise.
20870 (FPE_INTDIV): Likewise.
20871 (FPE_INTOVF): Likewise.
20872 (FPE_FLTDIV): Likewise.
20873 (FPE_FLTOVF): Likewise.
20874 (FPE_FLTUND): Likewise.
20875 (FPE_FLTRES): Likewise.
20876 (FPE_FLTINV): Likewise.
20877 (FPE_FLTSUB): Likewise.
20878 (SEGV_MAPERR): Likewise.
20879 (SEGV_ACCERR): Likewise.
20880 (BUS_ADRALN): Likewise.
20881 (BUS_ADRERR): Likewise.
20882 (BUS_OBJERR): Likewise.
20883 (BUS_MCEERR_AR): Likewise.
20884 (BUS_MCEERR_AO): Likewise.
20885 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20886 (TRAP_TRACE): Likewise.
20887 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20889 (CLD_KILLED): Likewise.
20890 (CLD_DUMPED): Likewise.
20891 (CLD_TRAPPED): Likewise.
20892 (CLD_STOPPED): Likewise.
20893 (CLD_CONTINUED): Likewise.
20894 (POLL_IN): Likewise.
20895 (POLL_OUT): Likewise.
20896 (POLL_MSG): Likewise.
20897 (POLL_ERR): Likewise.
20898 (POLL_PRI): Likewise.
20899 (POLL_HUP): Likewise.
20900 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20901 (ILL_ILLOPN): Likewise.
20902 (ILL_ILLADR): Likewise.
20903 (ILL_ILLTRP): Likewise.
20904 (ILL_PRVOPC): Likewise.
20905 (ILL_PRVREG): Likewise.
20906 (ILL_COPROC): Likewise.
20907 (ILL_BADSTK): Likewise.
20908 (ILL_DBLFLT): Likewise.
20909 (ILL_HARDWALL): Likewise.
20910 (FPE_INTDIV): Likewise.
20911 (FPE_INTOVF): Likewise.
20912 (FPE_FLTDIV): Likewise.
20913 (FPE_FLTOVF): Likewise.
20914 (FPE_FLTUND): Likewise.
20915 (FPE_FLTRES): Likewise.
20916 (FPE_FLTINV): Likewise.
20917 (FPE_FLTSUB): Likewise.
20918 (SEGV_MAPERR): Likewise.
20919 (SEGV_ACCERR): Likewise.
20920 (BUS_ADRALN): Likewise.
20921 (BUS_ADRERR): Likewise.
20922 (BUS_OBJERR): Likewise.
20923 (BUS_MCEERR_AR): Likewise.
20924 (BUS_MCEERR_AO): Likewise.
20925 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20926 (TRAP_TRACE): Likewise.
20927 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20929 (CLD_KILLED): Likewise.
20930 (CLD_DUMPED): Likewise.
20931 (CLD_TRAPPED): Likewise.
20932 (CLD_STOPPED): Likewise.
20933 (CLD_CONTINUED): Likewise.
20934 (POLL_IN): Likewise.
20935 (POLL_OUT): Likewise.
20936 (POLL_MSG): Likewise.
20937 (POLL_ERR): Likewise.
20938 (POLL_PRI): Likewise.
20939 (POLL_HUP): Likewise.
20940 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20941 (ILL_ILLOPN): Likewise.
20942 (ILL_ILLADR): Likewise.
20943 (ILL_ILLTRP): Likewise.
20944 (ILL_PRVOPC): Likewise.
20945 (ILL_PRVREG): Likewise.
20946 (ILL_COPROC): Likewise.
20947 (ILL_BADSTK): Likewise.
20948 (FPE_INTDIV): Likewise.
20949 (FPE_INTOVF): Likewise.
20950 (FPE_FLTDIV): Likewise.
20951 (FPE_FLTOVF): Likewise.
20952 (FPE_FLTUND): Likewise.
20953 (FPE_FLTRES): Likewise.
20954 (FPE_FLTINV): Likewise.
20955 (FPE_FLTSUB): Likewise.
20956 (SEGV_MAPERR): Likewise.
20957 (SEGV_ACCERR): Likewise.
20958 (BUS_ADRALN): Likewise.
20959 (BUS_ADRERR): Likewise.
20960 (BUS_OBJERR): Likewise.
20961 (BUS_MCEERR_AR): Likewise.
20962 (BUS_MCEERR_AO): Likewise.
20963 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20964 (TRAP_TRACE): Likewise.
20965 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20967 (CLD_KILLED): Likewise.
20968 (CLD_DUMPED): Likewise.
20969 (CLD_TRAPPED): Likewise.
20970 (CLD_STOPPED): Likewise.
20971 (CLD_CONTINUED): Likewise.
20972 (POLL_IN): Likewise.
20973 (POLL_OUT): Likewise.
20974 (POLL_MSG): Likewise.
20975 (POLL_ERR): Likewise.
20976 (POLL_PRI): Likewise.
20977 (POLL_HUP): Likewise.
20978 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20979 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20982 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20983 before #include of <time.h>.
20984 [!__USE_XOPEN2K] (__need_timespec): Likewise.
20985 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20986 (test-xfail-UNIX98/sched.h/conform): Likewise.
20988 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
20990 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20991 error absence of trapping exception support.
20992 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20994 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20996 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20997 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20998 * timezone/Makefile (testdata): Move definition above include of
21000 (test-zones): New variable.
21001 (tests-special): Add zone files.
21002 (build-testdata): Use $(evaluate-test).
21004 * elf/Makefile (tests-special): Rename tests to end with .out.
21005 ($(objpfx)noload-mem): Likewise.
21006 ($(objpfx)tst-leaks1-mem): Likewise.
21007 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21008 * iconv/Makefile (xtests-special): Change test-iconvconfig to
21009 $(objpfx)test-iconvconfig.out.
21010 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
21011 set -e inside subshell and redirect output to file.
21012 * iconvdata/Makefile (generated): Rename tests to end with .out.
21014 (tests-special): Rename tests to end with .out.
21015 ($(objpfx)mtrace-tst-loading): Likewise.
21016 * intl/Makefile (generated): Likewise.
21017 (tests-special): Likewise.
21018 ($(objpfx)mtrace-tst-gettext): Likewise.
21019 * misc/Makefile (generated): Likewise.
21020 (tests-special): Likewise.
21021 ($(objpfx)tst-error1-mem): Likewise.
21022 * nptl/Makefile (tests-special): Likewise.
21023 ($(objpfx)tst-stack3-mem): Likewise.
21024 (generated): Likewise.
21025 * posix/Makefile (generated): Likewise.
21026 (tests-special): Likewise.
21027 (xtests-special): Likewise.
21028 ($(objpfx)tst-fnmatch-mem): Likewise.
21029 ($(objpfx)bug-regex2-mem): Likewise.
21030 ($(objpfx)bug-regex14-mem): Likewise.
21031 ($(objpfx)bug-regex21-mem): Likewise.
21032 ($(objpfx)bug-regex31-mem): Likewise.
21033 ($(objpfx)tst-vfork3-mem): Likewise.
21034 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21035 ($(objpfx)tst-pcre-mem): Likewise.
21036 ($(objpfx)tst-boost-mem): Likewise.
21037 ($(objpfx)bug-ga2-mem): Likewise.
21038 ($(objpfx)bug-glob2-mem): Likewise.
21039 * resolv/Makefile (generate): Likewise.
21040 (tests-special): Likewise.
21041 (xtests-special): Likewise.
21042 (generated): Likewise.
21043 ($(objpfx)mtrace-tst-leaks): Likewise.
21044 ($(objpfx)mtrace-tst-leaks2): Likewise.
21046 * scripts/merge-test-results.sh: New file.
21047 * Makefile (tests-special-notdir): New variable.
21048 (tests): Run merge-test-results.sh.
21049 (xtests): Likewise.
21050 * Rules (tests-special-notdir): New variable.
21051 (xtests-special-notdir): Likewise.
21052 (tests): Run merge-test-results.sh
21053 (xtests): Likewise.
21055 * Makeconfig (test-xfail-name): New variable.
21056 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21057 compute variable name for expected failures.
21058 * conform/Makefile (conformtest-headers-data): New variable.
21059 (conformtest-standards): Likewise.
21060 (conformtest-headers-ISO): Likewise.
21061 (conformtest-headers-ISO99): Likewise.
21062 (conformtest-headers-ISO11): Likewise.
21063 (conformtest-headers-POSIX): Likewise.
21064 (conformtest-headers-XPG3): Likewise.
21065 (conformtest-headers-XPG4): Likewise.
21066 (conformtest-headers-UNIX98): Likewise.
21067 (conformtest-headers-XOPEN2K): Likewise.
21068 (conformtest-headers-POSIX2008): Likewise.
21069 (conformtest-headers-XOPEN2K8): Likewise.
21070 (conformtest-header-list-base): Likewise.
21071 (conformtest-header-list-tests): Likewise.
21072 (conformtest-header-base): Likewise.
21073 (conformtest-header-tests): Likewise.
21074 (tests-special): Add $(conformtest-header-list-tests). If
21075 [$(fast-check) && !$(cross-compiling)], add
21076 $(conformtest-header-tests) instead of
21077 $(objpfx)run-conformtest.out.
21078 (generated): Add $(conformtest-header-list-base). If
21079 [$(fast-check) && !$(cross-compiling)], add
21080 $(conformtest-header-base). Remove previous setting.
21081 ($(conformtest-header-list-tests)): New target.
21082 (test-xfail-run-conformtest): Remove variable.
21083 ($(objpfx)run-conformtest.out): Remove target.
21084 (test-xfail-ISO11/complex.h/conform): New variable.
21085 (test-xfail-ISO11/stdalign.h/conform): Likewise.
21086 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21087 (test-xfail-XPG3/varargs.h/conform): Likewise.
21088 (test-xfail-XPG4/varargs.h/conform): Likewise.
21089 (test-xfail-UNIX98/varargs.h/conform): Likewise.
21090 (test-xfail-XPG4/ndbm.h/conform): Likewise.
21091 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21092 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21093 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21094 (test-xfail-XPG3/fcntl.h/conform): Likewise.
21095 (test-xfail-XPG3/ftw.h/conform): Likewise.
21096 (test-xfail-XPG3/grp.h/conform): Likewise.
21097 (test-xfail-XPG3/langinfo.h/conform): Likewise.
21098 (test-xfail-XPG3/limits.h/conform): Likewise.
21099 (test-xfail-XPG3/pwd.h/conform): Likewise.
21100 (test-xfail-XPG3/search.h/conform): Likewise.
21101 (test-xfail-XPG3/signal.h/conform): Likewise.
21102 (test-xfail-XPG3/stdio.h/conform): Likewise.
21103 (test-xfail-XPG3/stdlib.h/conform): Likewise.
21104 (test-xfail-XPG3/string.h/conform): Likewise.
21105 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21106 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21107 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21108 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21109 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21110 (test-xfail-XPG3/sys/types.h/conform): Likewise.
21111 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21112 (test-xfail-XPG3/termios.h/conform): Likewise.
21113 (test-xfail-XPG3/time.h/conform): Likewise.
21114 (test-xfail-XPG3/unistd.h/conform): Likewise.
21115 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21116 (test-xfail-XPG4/fcntl.h/conform): Likewise.
21117 (test-xfail-XPG4/langinfo.h/conform): Likewise.
21118 (test-xfail-XPG4/netdb.h/conform): Likewise.
21119 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21120 (test-xfail-XPG4/signal.h/conform): Likewise.
21121 (test-xfail-XPG4/stdio.h/conform): Likewise.
21122 (test-xfail-XPG4/stdlib.h/conform): Likewise.
21123 (test-xfail-XPG4/stropts.h/conform): Likewise.
21124 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21125 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21126 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21127 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21128 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21129 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21130 (test-xfail-XPG4/sys/time.h/conform): Likewise.
21131 (test-xfail-XPG4/sys/types.h/conform): Likewise.
21132 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21133 (test-xfail-XPG4/termios.h/conform): Likewise.
21134 (test-xfail-XPG4/ucontext.h/conform): Likewise.
21135 (test-xfail-XPG4/unistd.h/conform): Likewise.
21136 (test-xfail-XPG4/utmpx.h/conform): Likewise.
21137 (test-xfail-POSIX/sched.h/conform): Likewise.
21138 (test-xfail-POSIX/signal.h/conform): Likewise.
21139 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21140 (test-xfail-POSIX/tar.h/conform): Likewise.
21141 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21142 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21143 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21144 (test-xfail-UNIX98/netdb.h/conform): Likewise.
21145 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21146 (test-xfail-UNIX98/sched.h/conform): Likewise.
21147 (test-xfail-UNIX98/signal.h/conform): Likewise.
21148 (test-xfail-UNIX98/stdio.h/conform): Likewise.
21149 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21150 (test-xfail-UNIX98/stropts.h/conform): Likewise.
21151 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21152 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21153 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21154 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21155 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21156 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21157 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21158 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21159 (test-xfail-UNIX98/unistd.h/conform): Likewise.
21160 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21161 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21162 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21163 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21164 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21165 (test-xfail-XOPEN2K/math.h/conform): Likewise.
21166 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21167 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21168 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21169 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21170 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21171 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21172 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21173 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21174 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21175 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21176 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21177 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21178 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21179 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21180 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21181 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21182 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21183 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21184 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21185 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21186 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21187 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21188 (test-xfail-POSIX2008/signal.h/conform): Likewise.
21189 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21190 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21191 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21192 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21193 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21194 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21195 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21196 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21197 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21198 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21199 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21200 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21201 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21202 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21203 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21204 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21205 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21206 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21207 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21208 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21209 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21210 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21211 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21212 (conformtest-cc-flags): Likewise.
21213 ($(conformtest-header-tests): New target.
21214 * conform/check-header-lists.sh: New file.
21215 * conform/run-conformtest.sh: Remove.
21217 * conform/conformtest.pl: Allow ' and \ in values given for
21219 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21221 [POSIX] (sys/types.h): Likewise.
21222 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21224 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21226 * conform/data/signal.h-data (SIGIO): Remove expectation.
21227 [XPG3] (SIGBUS): Do not expect.
21228 [POSIX || XPG3] (SIGPOLL): Likewise.
21229 [POSIX || XPG3] (SIGPROF): Likewise.
21230 [POSIX || XPG3] (SIGSYS): Likewise.
21231 [XPG3] (SIGTRAP): Likewise.
21232 [POSIX || XPG3] (SIGURG): Likewise.
21233 [POSIX || XPG3] (SIGVTALRM): Likewise.
21234 [POSIX || XPG3] (SIGXCPU): Likewise.
21235 [POSIX || XPG3] (SIGXFSZ): Likewise.
21236 [POSIX] (SA_SIGINFO): Expect.
21237 [XPG3] (siginfo_t): Do not expect type or contents.
21238 [POSIX] (si_pid): Do not expect element.
21239 [POSIX] (si_uid): Likewise.
21240 [POSIX] (si_addr): Likewise.
21241 [POSIX] (si_status): Likewise.
21242 [POSIX] (si_band): Likewise.
21243 [XPG4] (si_value): Likewise.
21244 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21245 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21246 [POSIX || XPG3] (ILL_ILLADR): Likewise.
21247 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21248 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21249 [POSIX || XPG3] (ILL_PRVREG): Likewise.
21250 [POSIX || XPG3] (ILL_COPROC): Likewise.
21251 [POSIX || XPG3] (ILL_BADSTK): Likewise.
21252 [POSIX || XPG3] (FPE_INTDIV): Likewise.
21253 [POSIX || XPG3] (FPE_INTOVF): Likewise.
21254 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21255 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21256 [POSIX || XPG3] (FPE_FLTUND): Likewise.
21257 [POSIX || XPG3] (FPE_FLTRES): Likewise.
21258 [POSIX || XPG3] (FPE_FLTINV): Likewise.
21259 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21260 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21261 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21262 [POSIX || XPG3] (BUS_ADRALN): Likewise.
21263 [POSIX || XPG3] (BUS_ADRERR): Likewise.
21264 [POSIX || XPG3] (BUS_OBJERR): Likewise.
21265 [POSIX || XPG3] (CLD_EXITED): Likewise.
21266 [POSIX || XPG3] (CLD_KILLED): Likewise.
21267 [POSIX || XPG3] (CLD_DUMPED): Likewise.
21268 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21269 [POSIX || XPG3] (CLD_STOPPED): Likewise.
21270 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21271 [POSIX || XPG3] (POLL_IN): Likewise.
21272 [POSIX || XPG3] (POLL_OUT): Likewise.
21273 [POSIX || XPG3] (POLL_MSG): Likewise.
21274 [POSIX || XPG3] (POLL_ERR): Likewise.
21275 [POSIX || XPG3] (POLL_PRI): Likewise.
21276 [POSIX || XPG3] (POLL_HUP): Likewise.
21277 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21278 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21279 (SIG*): Do not allow.
21280 [XPG3] (si_*): Likewise.
21281 [XPG3] (SI_*): Likewise.
21282 [XPG3 || XPG4] (sigev_*): Likewise.
21283 [XPG3 || XPG4] (SIGEV_*): Likewise.
21284 [XPG3 || XPG4] (sival_*): Likewise.
21285 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21286 [POSIX || XPG3] (BUS_*): Likewise.
21287 [POSIX || XPG3] (CLD_*): Likewise.
21288 [POSIX || XPG3] (FPE_*): Likewise.
21289 [POSIX || XPG3] (ILL_*): Likewise.
21290 [POSIX || XPG3] (POLL_*): Likewise.
21291 [POSIX || XPG3] (SEGV_*): Likewise.
21292 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21293 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21294 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21295 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21296 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21297 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21298 Specify type and value.
21299 (TVERSLEN): Likewise.
21300 (REGTYPE): Likewise.
21301 (AREGTYPE): Likewise.
21302 (LNKTYPE): Likewise.
21303 (SYMTYPE): Likewise.
21304 (CHRTYPE): Likewise.
21305 (BLKTYPE): Likewise.
21306 (DIRTYPE): Likewise.
21307 (FIFOTYPE): Likewise.
21308 (CONTTYPE): Likewise.
21312 (TUREAD): Likewise.
21313 (TUWRITE): Likewise.
21314 (TUEXEC): Likewise.
21315 (TGREAD): Likewise.
21316 (TGWRITE): Likewise.
21317 (TGEXEC): Likewise.
21318 (TOREAD): Likewise.
21319 (TOWRITE): Likewise.
21320 (TOEXEC): Likewise.
21321 [POSIX] (TSVTX): Expect constant.
21323 2014-03-06 Joseph Myers <joseph@codesourcery.com>
21325 * Makefile (tests): Change dependencies to ....
21326 (tests-special): ... additions to this variable.
21327 (tests): Depend on $(tests-special).
21328 * Makerules (check-abi-list): New variable.
21329 (check-abi): Depend on $(check-abi-list).
21330 [$(subdir) = elf] (tests-special): Add
21331 $(objpfx)check-abi-libc.out.
21332 [$(build-shared) = yes && subdir] (tests-special): Add
21334 [$(build-shared) = yes && subdir] (tests): Do not depend on
21336 * Rules (tests): Depend on $(tests-special).
21337 (xtests): Depend on $(xtests-special).
21338 * catgets/Makefile (tests): Change dependencies to ....
21339 (tests-special): ... additions to this variable.
21340 * conform/Makefile (tests): Change dependencies to ....
21341 (tests-special): ... additions to this variable.
21342 * elf/Makefile (tests): Change dependencies to ....
21343 (tests-special): ... additions to this variable.
21344 * grp/Makefile (tests): Change dependencies to ....
21345 (tests-special): ... additions to this variable.
21346 * iconv/Makefile (xtests): Change dependencies to ....
21347 (xtests-special): ... additions to this variable.
21348 * iconvdata/Makefile (tests): Change dependencies to ....
21349 (tests-special): ... additions to this variable.
21350 * intl/Makefile (tests): Change dependencies to ....
21351 (tests-special): ... additions to this variable. Also add
21352 $(objpfx)tst-gettext.out.
21353 * io/Makefile (tests): Change dependencies to ....
21354 (tests-special): ... additions to this variable.
21355 * libio/Makefile (tests): Change dependencies to ....
21356 (tests-special): ... additions to this variable.
21357 * malloc/Makefile (tests): Change dependencies to ....
21358 (tests-special): ... additions to this variable.
21359 * misc/Makefile (tests): Change dependencies to ....
21360 (tests-special): ... additions to this variable.
21361 * nptl/Makefile (tests): Change dependencies to ....
21362 (tests-special): ... additions to this variable.
21363 * nptl_db/Makefile (tests): Change dependencies to ....
21364 (tests-special): ... additions to this variable.
21365 * posix/Makefile (tests): Change dependencies to ....
21366 (tests-special): ... additions to this variable.
21367 (xtests): Change dependencies to ....
21368 (xtests-special): ... additions to this variable.
21369 * resolv/Makefile (tests): Change dependencies to ....
21370 (tests-special): ... additions to this variable.
21371 (xtests): Change dependencies to ....
21372 (xtests-special): ... additions to this variable.
21373 * stdio-common/Makefile (tests): Change dependencies to ....
21374 (tests-special): ... additions to this variable.
21375 (do-tst-unbputc): Remove target.
21376 (do-tst-printf): Likewise.
21377 * stdlib/Makefile (tests): Change dependencies to ....
21378 (tests-special): ... additions to this variable.
21379 * string/Makefile (tests): Change dependencies to ....
21380 (tests-special): ... additions to this variable.
21381 * sysdeps/x86/Makefile (tests): Change dependencies to ....
21382 (tests-special): ... additions to this variable.
21384 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21386 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21388 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21389 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21391 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21392 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21393 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21394 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21395 * conform/data/libgen.h-data [XPG3]: Likewise.
21396 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21397 * conform/data/ndbm.h-data [XPG3]: Likewise.
21398 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21399 * conform/data/netdb.h-data [XPG3]: Likewise.
21400 * conform/data/netinet/in.h-data [XPG3]: Likewise.
21401 * conform/data/poll.h-data [XPG3]: Likewise.
21402 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21403 * conform/data/strings.h-data [XPG3]: Likewise.
21404 * conform/data/stropts.h-data [XPG3]: Likewise.
21405 * conform/data/sys/mman.h-data [XPG3]: Likewise.
21406 * conform/data/sys/resource.h-data [XPG3]: Likewise.
21407 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21409 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21410 * conform/data/sys/time.h-data [XPG3]: Likewise.
21411 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21412 * conform/data/sys/uio.h-data [XPG3]: Likewise.
21413 * conform/data/sys/un.h-data [XPG3]: Likewise.
21414 * conform/data/syslog.h-data [XPG3]: Likewise.
21415 * conform/data/ucontext.h-data [XPG3]: Likewise.
21416 * conform/data/utmpx.h-data [XPG3]: Likewise.
21417 * conform/data/varargs.h-data [UNIX98]: Enable file.
21419 * manual/Makefile (INSTALL_INFO): Remove variable setting.
21421 * math/libm-test.inc (struct test_f_f_data): Move expected results
21422 into structure for each rounding mode.
21423 (struct test_ff_f_data): Likewise.
21424 (struct test_ff_f_data_nexttoward): Likewise.
21425 (struct test_fi_f_data): Likewise.
21426 (struct test_fl_f_data): Likewise.
21427 (struct test_if_f_data): Likewise.
21428 (struct test_fff_f_data): Likewise.
21429 (struct test_c_f_data): Likewise.
21430 (struct test_f_f1_data): Likewise.
21431 (struct test_fF_f1_data): Likewise.
21432 (struct test_ffI_f1_data): Likewise.
21433 (struct test_c_c_data): Likewise.
21434 (struct test_cc_c_data): Likewise.
21435 (struct test_f_i_data): Likewise.
21436 (struct test_ff_i_data): Likewise.
21437 (struct test_f_l_data): Likewise.
21438 (struct test_f_L_data): Likewise.
21439 (struct test_fFF_11_data): Likewise.
21441 (RM_FE_DOWNWARD): Likewise.
21442 (RM_FE_TONEAREST): Likewise.
21443 (RM_FE_TOWARDZERO): Likewise.
21444 (RM_FE_UPWARD): Likewise.
21445 (RUN_TEST_LOOP_f_f): Update references to expected results.
21446 (RUN_TEST_LOOP_2_f): Likewise.
21447 (RUN_TEST_LOOP_fff_f): Likewise.
21448 (RUN_TEST_LOOP_c_f): Likewise.
21449 (RUN_TEST_LOOP_f_f1): Likewise.
21450 (RUN_TEST_LOOP_fF_f1): Likewise.
21451 (RUN_TEST_LOOP_fI_f1): Likewise.
21452 (RUN_TEST_LOOP_ffI_f1): Likewise.
21453 (RUN_TEST_LOOP_c_c): Likewise.
21454 (RUN_TEST_LOOP_cc_c): Likewise.
21455 (RUN_TEST_LOOP_f_i): Likewise.
21456 (RUN_TEST_LOOP_f_i_tg): Likewise.
21457 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21458 (RUN_TEST_LOOP_f_b): Likewise.
21459 (RUN_TEST_LOOP_f_b_tg): Likewise.
21460 (RUN_TEST_LOOP_f_l): Likewise.
21461 (RUN_TEST_LOOP_f_L): Likewise.
21462 (RUN_TEST_LOOP_fFF_11): Likewise.
21463 * math/gen-libm-test.pl (parse_args): Output four copies of
21464 expected results for each test.
21466 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21467 (__ASSUME_UTIMES): Remove.
21468 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21469 (__ASSUME_UTIMES): Likewise.
21471 * math/gen-auto-libm-tests.c: Update comment on output format.
21472 (output_for_one_input_case): Generate before-rounding and
21473 after-rounding information as conditions on output flags not
21474 floating-point format.
21475 * math/auto-libm-test-out: Regenerated.
21476 * math/gen-libm-test.pl (cond_value): New function.
21477 (or_cond_value): Use cond_value.
21478 (generate_testfile): Handle conditional exceptions.
21480 2014-03-05 Joseph Myers <joseph@codesourcery.com>
21482 * math/libm-test.inc (max_valid_error): New variable.
21483 (init_max_error): Take new argument specifying whether function
21484 results are exactly determined. Set max_valid_error and bound
21485 other variables for errors based on this argument.
21486 (set_max_error): Do not record results above max_valid_error.
21487 (check_float_internal): Only accept errors of up to 0.5ulps if
21488 also at most max_valid_error.
21489 (START): Take new argument EXACT and pass it to init_max_error.
21490 (acos_test): Update call to START.
21491 (acos_test_tonearest): Likewise.
21492 (acos_test_towardzero): Likewise.
21493 (acos_test_downward): Likewise.
21494 (acos_test_upward): Likewise.
21495 (acosh_test): Likewise.
21496 (asin_test): Likewise.
21497 (asin_test_tonearest): Likewise.
21498 (asin_test_towardzero): Likewise.
21499 (asin_test_downward): Likewise.
21500 (asin_test_upward): Likewise.
21501 (asinh_test): Likewise.
21502 (atan_test): Likewise.
21503 (atanh_test): Likewise.
21504 (atan2_test): Likewise.
21505 (cabs_test): Likewise.
21506 (cacos_test): Likewise.
21507 (cacosh_test): Likewise.
21508 (carg_test): Likewise.
21509 (casin_test): Likewise.
21510 (casinh_test): Likewise.
21511 (catan_test): Likewise.
21512 (catanh_test): Likewise.
21513 (cbrt_test): Likewise.
21514 (ccos_test): Likewise.
21515 (ccosh_test): Likewise.
21516 (ceil_test): Likewise.
21517 (cexp_test): Likewise.
21518 (cimag_test): Likewise.
21519 (clog_test): Likewise.
21520 (clog10_test): Likewise.
21521 (conj_test): Likewise.
21522 (copysign_test): Likewise.
21523 (cos_test): Likewise.
21524 (cos_test_tonearest): Likewise.
21525 (cos_test_towardzero): Likewise.
21526 (cos_test_downward): Likewise.
21527 (cos_test_upward): Likewise.
21528 (cosh_test): Likewise.
21529 (cosh_test_tonearest): Likewise.
21530 (cosh_test_towardzero): Likewise.
21531 (cosh_test_downward): Likewise.
21532 (cosh_test_upward): Likewise.
21533 (cpow_test): Likewise.
21534 (cproj_test): Likewise.
21535 (creal_test): Likewise.
21536 (csin_test): Likewise.
21537 (csinh_test): Likewise.
21538 (csqrt_test): Likewise.
21539 (ctan_test): Likewise.
21540 (ctan_test_tonearest): Likewise.
21541 (ctan_test_towardzero): Likewise.
21542 (ctan_test_downward): Likewise.
21543 (ctan_test_upward): Likewise.
21544 (ctanh_test): Likewise.
21545 (ctanh_test_tonearest): Likewise.
21546 (ctanh_test_towardzero): Likewise.
21547 (ctanh_test_downward): Likewise.
21548 (ctanh_test_upward): Likewise.
21549 (erf_test): Likewise.
21550 (erfc_test): Likewise.
21551 (exp_test): Likewise.
21552 (exp_test_tonearest): Likewise.
21553 (exp_test_towardzero): Likewise.
21554 (exp_test_downward): Likewise.
21555 (exp_test_upward): Likewise.
21556 (exp10_test): Likewise.
21557 (exp10_test_tonearest): Likewise.
21558 (exp10_test_towardzero): Likewise.
21559 (exp10_test_downward): Likewise.
21560 (exp10_test_upward): Likewise.
21561 (pow10_test): Likewise.
21562 (exp2_test): Likewise.
21563 (expm1_test): Likewise.
21564 (expm1_test_tonearest): Likewise.
21565 (expm1_test_towardzero): Likewise.
21566 (expm1_test_downward): Likewise.
21567 (expm1_test_upward): Likewise.
21568 (fabs_test): Likewise.
21569 (fdim_test): Likewise.
21570 (floor_test): Likewise.
21571 (fma_test): Likewise.
21572 (fma_test_towardzero): Likewise.
21573 (fma_test_downward): Likewise.
21574 (fma_test_upward): Likewise.
21575 (fmax_test): Likewise.
21576 (fmin_test): Likewise.
21577 (fmod_test): Likewise.
21578 (fpclassify_test): Likewise.
21579 (frexp_test): Likewise.
21580 (hypot_test): Likewise.
21581 (ilogb_test): Likewise.
21582 (isfinite_test): Likewise.
21583 (finite_test): Likewise.
21584 (isgreater_test): Likewise.
21585 (isgreaterequal_test): Likewise.
21586 (isinf_test): Likewise.
21587 (isless_test): Likewise.
21588 (islessequal_test): Likewise.
21589 (islessgreater_test): Likewise.
21590 (isnan_test): Likewise.
21591 (isnormal_test): Likewise.
21592 (issignaling_test): Likewise.
21593 (isunordered_test): Likewise.
21594 (j0_test): Likewise.
21595 (j1_test): Likewise.
21596 (jn_test): Likewise.
21597 (ldexp_test): Likewise.
21598 (lgamma_test): Likewise.
21599 (gamma_test): Likewise.
21600 (lrint_test): Likewise.
21601 (lrint_test_tonearest): Likewise.
21602 (lrint_test_towardzero): Likewise.
21603 (lrint_test_downward): Likewise.
21604 (lrint_test_upward): Likewise.
21605 (llrint_test): Likewise.
21606 (llrint_test_tonearest): Likewise.
21607 (llrint_test_towardzero): Likewise.
21608 (llrint_test_downward): Likewise.
21609 (llrint_test_upward): Likewise.
21610 (log_test): Likewise.
21611 (log10_test): Likewise.
21612 (log1p_test): Likewise.
21613 (log2_test): Likewise.
21614 (logb_test): Likewise.
21615 (logb_test_downward): Likewise.
21616 (lround_test): Likewise.
21617 (llround_test): Likewise.
21618 (modf_test): Likewise.
21619 (nearbyint_test): Likewise.
21620 (nextafter_test): Likewise.
21621 (nexttoward_test): Likewise.
21622 (pow_test): Likewise.
21623 (pow_test_tonearest): Likewise.
21624 (pow_test_towardzero): Likewise.
21625 (pow_test_downward): Likewise.
21626 (pow_test_upward): Likewise.
21627 (remainder_test): Likewise.
21628 (drem_test): Likewise.
21629 (remainder_test_tonearest): Likewise.
21630 (drem_test_tonearest): Likewise.
21631 (remainder_test_towardzero): Likewise.
21632 (drem_test_towardzero): Likewise.
21633 (remainder_test_downward): Likewise.
21634 (drem_test_downward): Likewise.
21635 (remainder_test_upward): Likewise.
21636 (drem_test_upward): Likewise.
21637 (remquo_test): Likewise.
21638 (rint_test): Likewise.
21639 (rint_test_tonearest): Likewise.
21640 (rint_test_towardzero): Likewise.
21641 (rint_test_downward): Likewise.
21642 (rint_test_upward): Likewise.
21643 (round_test): Likewise.
21644 (scalb_test): Likewise.
21645 (scalbn_test): Likewise.
21646 (scalbln_test): Likewise.
21647 (signbit_test): Likewise.
21648 (sin_test): Likewise.
21649 (sin_test_tonearest): Likewise.
21650 (sin_test_towardzero): Likewise.
21651 (sin_test_downward): Likewise.
21652 (sin_test_upward): Likewise.
21653 (sincos_test): Likewise.
21654 (sinh_test): Likewise.
21655 (sinh_test_tonearest): Likewise.
21656 (sinh_test_towardzero): Likewise.
21657 (sinh_test_downward): Likewise.
21658 (sinh_test_upward): Likewise.
21659 (sqrt_test): Likewise.
21660 (sqrt_test_tonearest): Likewise.
21661 (sqrt_test_towardzero): Likewise.
21662 (sqrt_test_downward): Likewise.
21663 (sqrt_test_upward): Likewise.
21664 (tan_test): Likewise.
21665 (tan_test_tonearest): Likewise.
21666 (tan_test_towardzero): Likewise.
21667 (tan_test_downward): Likewise.
21668 (tan_test_upward): Likewise.
21669 (tanh_test): Likewise.
21670 (tgamma_test): Likewise.
21671 (trunc_test): Likewise.
21672 (y0_test): Likewise.
21673 (y1_test): Likewise.
21674 (yn_test): Likewise.
21675 (significand_test): Likewise.
21677 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21678 individual tests in comment.
21679 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21680 (prev_max_error): New variable.
21681 (prev_real_max_error): Likewise.
21682 (prev_imag_max_error): Likewise.
21683 (compare_ulp_data): Don't refer to test names in comment.
21684 (find_test_ulps): Remove function.
21685 (find_function_ulps): Likewise.
21686 (find_complex_function_ulps): Likewise.
21687 (init_max_error): Take function name as argument. Look up ulps
21689 (print_ulps): Remove function.
21690 (print_max_error): Use prev_max_error instead of calling
21691 find_function_ulps.
21692 (print_complex_max_error): Use prev_real_max_error and
21693 prev_imag_max_error instead of calling find_complex_function_ulps.
21694 (check_float_internal): Take max_ulp parameter instead of calling
21695 find_test_ulps. Don't call print_ulps.
21696 (check_float): Update call to check_float_internal.
21697 (check_complex): Update calls to check_float_internal.
21698 (START): Pass argument to init_max_error.
21699 * math/gen-libm-test.pl (%results): Don't include "kind"
21701 (parse_ulps): Don't handle ulps of individual tests.
21702 (print_ulps_file): Likewise.
21703 (output_ulps): Likewise.
21704 * math/README.libm-test: Update.
21705 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21707 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21708 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21709 * sysdeps/arm/libm-test-ulps: Likewise.
21710 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21711 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21712 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21713 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21714 * sysdeps/microblaze/libm-test-ulps: Likewise.
21715 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21716 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21717 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21718 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21719 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21720 * sysdeps/sh/libm-test-ulps: Likewise.
21721 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21722 * sysdeps/tile/libm-test-ulps: Likewise.
21723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21725 2014-03-04 Joseph Myers <joseph@codesourcery.com>
21727 * math/libm-test.inc (print_complex_max_error): Check separately
21728 whether real and imaginary errors are within allowed range and
21729 pass 0 to print_complex_function_ulps instead of value within
21732 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21734 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21736 (get_handles_fopen): Likewise.
21737 (do_write_test): Likewise.
21739 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21741 * libio/fileops.c (do_ftell): Use cached offset when
21743 * libio/iofwide.c (do_ftell_wide): Likewise.
21744 * libio/iofdopen.c (_IO_new_fdopen): Don't use
21746 * libio/wfileops.c (_IO_fwide): Don't cache offset.
21749 * libio/libioP.h (get_file_offset): New function.
21750 * libio/fileops.c (get_file_offset): Likewise.
21751 (do_ftell): Likewise.
21752 (_IO_new_file_seekoff): Split out ftell logic.
21753 * libio/wfileops.c (do_ftell_wide): Likewise.
21754 (_IO_wfile_seekoff): Split out ftell logic.
21755 * libio/tst-ftell-active-handler.c: New test case.
21756 * libio/Makefile (tests): Add it.
21758 2014-03-03 Roland McGrath <roland@hack.frob.com>
21760 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21761 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21763 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21766 * nscd/connections.c (nscd_init): Call do_exit.
21767 (start_threads): Call do_exit and notify_parent.
21768 (begin_drop_privileges): Call do_exit.
21769 (finish_drop_privileges): Likewise.
21770 * nscd/selinux.c (preserve_capabilities): Likewise.
21771 (install_real_capabilities): Likewise.
21772 (nscd_selinux_enabled): Likewise.
21773 (avc_create_thread): Likewise.
21774 (avc_alloc_lock): Likewise.
21775 (nscd_avc_init): Likewise.
21776 * nscd/nscd.c (parent_fd): New static variable.
21777 (main): Create a pipe between parent and child processes.
21778 Skip closing parent_fd.
21779 (monitor_child): New function.
21780 (do_exit): Likewise.
21781 (notify_parent): Likewise.
21782 * nscd/nscd.h (notify_parent): Likewise.
21783 (do_exit): Likewise.
21785 2014-03-03 Carlos O'Donell <carlos@redhat.com>
21787 * malloc/malloc.c (__libc_calloc): Revert last change.
21789 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21793 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21795 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21796 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21798 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21799 (__libc_ifunc_impl_list): Likewise.
21800 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21801 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21802 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21803 * string/strrchr.c: Define STRRCHR.
21805 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
21807 * benchtest/bench-strtok.c (simple_strtok): Delete.
21808 (strtok_string): Use as benchmark.
21809 * string/strtok (STRTOK): New macro.
21811 2014-02-28 Carlos O'Donell <carlos@redhat.com>
21813 * manual/threads.texi: Add header and standard comments to all
21816 * elf/dl-lookup.c (check_match): New function.
21817 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21818 (do_lookup_x): Remove nested function check_match. Use non-nested
21819 function check_match.
21821 2014-02-28 Roland McGrath <roland@hack.frob.com>
21823 * csu/Makefile (generated, before-compile): Use += rather than =.
21824 * catgets/Makefile (generated, generated-dirs): Likewise.
21825 * debug/Makefile (generated): Likewise.
21826 * dlfcn/Makefile (generated): Likewise.
21827 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21828 * iconvdata/Makefile (before-compile, generated): Likewise.
21829 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21830 * libio/Makefile (generated): Likewise.
21831 * malloc/Makefile (generated): Likewise.
21832 * manual/Makefile (generated, generated-dirs): Likewise.
21833 * misc/Makefile (generated): Likewise.
21834 * posix/Makefile (generated): Likewise.
21835 * resolv/Makefile (generated): Likewise.
21836 * sunrpc/Makefile (generated, generated-dirs): Likewise.
21837 * timezone/Makefile (generated, generated-dirs): Likewise.
21839 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21841 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21843 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21844 power8 implementation.
21845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21846 file: POWER8 llround ifunc implementation.
21847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21848 (__lllround): Add POWER8 implementation.
21849 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21850 POWER8 llround implementation.
21852 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21853 power8 implementation.
21854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21855 file: POWER8 llrint ifunc implementation.
21856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21857 Add POWER8 implementation.
21858 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21859 POWER8 llrint implementation.
21861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21862 power8 implementation.
21863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21864 file: POWER8 finite ifunc implementation.
21865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21866 Add POWER8 implementation.
21867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21869 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21870 POWER8 finite implementation.
21871 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21873 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21874 power8 implementation.
21875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21876 file: POWER8 isinf ifunc implementation.
21877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21878 POWER8 implementation.
21879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21881 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21882 isinf implementation.
21883 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21885 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21886 (INIT_ARCH): Add hwcap2 initialization.
21887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21888 power8 implementation.
21889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21890 file: POWER8 isnan ifunc implementation.
21891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21892 POWER8 implementation.
21893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21895 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21896 isnan implementation.
21897 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21899 2014-02-27 Joey Ye <joey.ye@arm.com>
21901 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21902 (_FP_NANFRAC_Q): Set to zero.
21904 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21907 * math/auto-libm-test-in: New test inputs.
21908 * math/auto-libm-test-out: Regenerate.
21909 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21912 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21914 2014-02-27 Joseph Myers <joseph@codesourcery.com>
21916 * scripts/evaluate-test.sh: Take new argument indicating whether
21917 failure is expected.
21918 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21919 indicating whether failure is expected.
21920 * conform/Makefile (test-xfail-run-conformtest): New variable.
21921 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21923 * posix/Makefile (test-xfail-annexc): New variable.
21924 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21926 2014-02-26 Joseph Myers <joseph@codesourcery.com>
21928 * argp/Makefile: Include Makeconfig immediately after defining
21930 * assert/Makefile: Likewise.
21931 * benchtests/Makefile: Likewise.
21932 * catgets/Makefile: Likewise.
21933 * conform/Makefile: Likewise.
21934 * crypt/Makefile: Likewise.
21935 * csu/Makefile: Likewise.
21936 (all): Remove target.
21937 * ctype/Makefile: Include Makeconfig immediately after defining
21939 * debug/Makefile: Likewise.
21940 * dirent/Makefile: Likewise.
21941 * dlfcn/Makefile: Likewise.
21942 * gmon/Makefile: Likewise.
21943 * gnulib/Makefile: Likewise.
21944 * grp/Makefile: Likewise.
21945 * gshadow/Makefile: Likewise.
21946 * hesiod/Makefile: Likewise.
21947 * hurd/Makefile: Likewise.
21948 (all): Remove target.
21949 * iconvdata/Makefile: Include Makeconfig immediately after
21951 * inet/Makefile: Likewise.
21952 * intl/Makefile: Likewise.
21953 * io/Makefile: Likewise.
21954 * libio/Makefile: Likewise.
21955 (all): Remove target.
21956 * locale/Makefile: Include Makeconfig immediately after defining
21958 * login/Makefile: Likewise.
21959 * mach/Makefile: Likewise.
21960 (all): Remove target.
21961 * malloc/Makefile: Include Makeconfig immediately after defining
21963 (all): Remove target.
21964 * manual/Makefile: Include Makeconfig immediately after defining
21966 * math/Makefile: Likewise.
21967 * misc/Makefile: Likewise.
21968 * nis/Makefile: Likewise.
21969 * nss/Makefile: Likewise.
21970 * po/Makefile: Likewise.
21971 (all): Remove target.
21972 * posix/Makefile: Include Makeconfig immediately after defining
21974 * pwd/Makefile: Likewise.
21975 * resolv/Makefile: Likewise.
21976 * resource/Makefile: Likewise.
21977 * rt/Makefile: Likewise.
21978 * setjmp/Makefile: Likewise.
21979 * shadow/Makefile: Likewise.
21980 * signal/Makefile: Likewise.
21981 * socket/Makefile: Likewise.
21982 * soft-fp/Makefile: Likewise.
21983 * stdio-common/Makefile: Likewise.
21984 * stdlib/Makefile: Likewise.
21985 * streams/Makefile: Likewise.
21986 * string/Makefile: Likewise.
21987 * sunrpc/Makefile: Likewise.
21988 (all): Remove target.
21989 * sysvipc/Makefile: Include Makeconfig immediately after defining
21991 * termios/Makefile: Likewise.
21992 * time/Makefile: Likewise.
21993 * timezone/Makefile: Likewise.
21994 (all): Remove target.
21995 * wcsmbs/Makefile: Include Makeconfig immediately after defining
21997 * wctype/Makefile: Likewise.
21999 2014-02-26 Steve Ellcey <sellcey@mips.com>
22001 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22002 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22003 (libc_feholdexcept_setround_mips): Ditto.
22004 (libc_feholdsetround): New.
22005 (libc_feholdsetroundf): New.
22006 (libc_feholdsetroundl): New.
22007 (libc_feupdateenv_test_mips): New.
22008 (libc_feupdateenv_test): New.
22009 (libc_feupdateenv_testf): New.
22010 (libc_feupdateenv_testl): New.
22011 (libc_feresetround): New.
22012 (libc_feresetroundf): New.
22013 (libc_feresetroundl): New.
22014 (libc_fetestexcept_mips): New.
22015 (libc_fetestexcept): New.
22016 (libc_fetestexceptf): New.
22017 (libc_fetestexceptl): New.
22018 (HAVE_RM_CTX): New.
22019 (libc_feholdexcept_setround_mips_ctx): New.
22020 (libc_feholdexcept_setround_ctx): New.
22021 (libc_feholdexcept_setroundf_ctx): New.
22022 (libc_feholdexcept_setroundl_ctx): New.
22023 (libc_fesetenv_mips_ctx): New.
22024 (libc_fesetenv_ctx): New.
22025 (libc_fesetenv_ctxf): New.
22026 (libc_fesetenv_ctxl): New.
22027 (libc_feupdateenv_mips_ctx): New.
22028 (libc_feupdateenv_ctx): New.
22029 (libc_feupdateenvf_ctx): New.
22030 (libc_feupdateenvl_ctx): New.
22031 (libc_feholdsetround_mips_ctx): New.
22032 (libc_feholdsetround_ctx): New.
22033 (libc_feholdsetroundf_ctx): New.
22034 (libc_feholdsetroundl_ctx): New.
22035 (libc_feresetround_mips_ctx): New.
22036 (libc_feresetround_ctx): New.
22037 (libc_feresetroundf_ctx): New.
22038 (libc_feresetroundl_ctx): New.
22040 2014-02-26 Carlos O'Donell <carlos@redhat.com>
22042 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22044 * manual/ipc.texi: New file.
22045 * manual/Makefile (chapters): Add ipc.
22046 * manual/job.texi: Add "Inter-Process Communication" to next.
22047 * manual/process.texi: Add "Inter-Process Communication" to prev.
22049 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22053 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
22055 * malloc/malloc.c (__libc_calloc): Simplify implementation.
22057 * manual/arith.texi: Fix spaces after sentences.
22058 * manual/charset.texi: Likewise.
22059 * manual/errno.texi: Likewise.
22060 * manual/install.texi: Likewise.
22061 * manual/llio.texi: Likewise.
22062 * manual/locale.texi: Likewise.
22063 * manual/maint.texi: Likewise.
22064 * manual/math.texi: Likewise.
22065 * manual/memory.texi: Likewise.
22066 * manual/message.texi: Likewise.
22067 * manual/probes.texi: Likewise.
22068 * manual/resource.texi: Likewise.
22069 * manual/signal.texi: Likewise.
22070 * manual/socket.texi: Likewise.
22071 * manual/stdio.texi: Likewise.
22072 * manual/string.texi: Likewise.
22073 * manual/time.texi: Likewise.
22074 * manual/users.texi: Likewise.
22076 2014-02-25 Carlos O'Donell <carlos@redhat.com>
22079 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22080 _DEFAULT_SOURCE is defined.
22082 2014-02-25 Ulrich Drepper <drepper@gmail.com>
22083 Carlos O'Donell <carlos@redhat.com>
22086 * elf/dl-tls.c (_dl_count_modids): New function.
22087 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22088 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22089 audit library and increment generation counter.
22090 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22091 * elf/tst-audit9.c: New file.
22092 * elf/tst-auditmod9a.c: New file.
22093 * elf/tst-auditmod9b.c: New file.
22094 * elf/Makefile: Add rules to build and run tst-audit9.
22096 2014-02-25 Florian Weimer <fweimer@redhat.com>
22099 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22101 2014-02-25 Will Newton <will.newton@linaro.org>
22103 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22104 (__longjmp): Restore sp and lr before restoring callee
22105 saved registers. Add longjmp and longjmp_target
22106 SystemTap probe point.
22107 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22108 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22109 Define to zero to match jmpbuf layout.
22110 * sysdeps/arm/setjmp.S: Include stap-probe.h.
22111 (__sigsetjmp): Save sp and lr before saving callee
22112 saved registers. Add setjmp SystemTap probe point.
22114 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22116 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22118 2014-02-24 Andreas Schwab <schwab@suse.de>
22121 * elf/pldd.c (wait_for_ptrace_stop): New function.
22122 (main): Call it after attaching.
22124 2014-02-22 Roland McGrath <roland@hack.frob.com>
22126 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22127 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22128 Versions files is now verboten.
22129 * hurd/Versions (libc: GLIBC_2.0):
22130 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22131 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22132 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22133 * mach/Versions: Likewise.
22135 * csu/Versions: Remove unused %include.
22136 * resolv/Versions: Likewise.
22138 2014-02-21 Joseph Myers <joseph@codesourcery.com>
22140 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22141 ($(objpfx)check-local-headers.out): Likewise.
22142 ($(objpfx)begin-end-check.out): Likewise.
22143 * Makerules (check-abi-%.out): Likewise.
22144 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22145 ($(objpfx)test2.cat): Likewise.
22146 ($(objpfx)de/libc.cat): Likewise.
22147 ($(objpfx)test-gencat.out): Likewise.
22148 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22149 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22150 ($(objpfx)noload-mem): Likewise.
22151 ($(objpfx)tst-pathopt.out): Likewise.
22152 ($(objpfx)tst-rtld-load-self.out): Likewise.
22153 ($(objpfx)tst-array1-cmp.out): Likewise.
22154 ($(objpfx)tst-array1-static-cmp.out): Likewise.
22155 ($(objpfx)tst-array2-cmp.out): Likewise.
22156 ($(objpfx)tst-array3-cmp.out): Likewise.
22157 ($(objpfx)tst-array4-cmp.out): Likewise.
22158 ($(objpfx)tst-array5-cmp.out): Likewise.
22159 ($(objpfx)tst-array5-static-cmp.out): Likewise.
22160 ($(objpfx)check-textrel.out): Likewise.
22161 ($(objpfx)check-execstack.out): Likewise.
22162 ($(objpfx)check-localplt.out): Likewise.
22163 ($(objpfx)order2-cmp.out): Likewise.
22164 ($(objpfx)tst-leaks1-mem): Likewise.
22165 ($(objpfx)tst-leaks1-static-mem): Likewise.
22166 ($(objpfx)tst-initorder-cmp.out): Likewise.
22167 ($(objpfx)tst-initorder2-cmp.out): Likewise.
22168 ($(objpfx)tst-unused-dep.out): Likewise.
22169 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22170 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22171 * iconv/Makefile (test-iconvconfig): Likewise.
22172 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22173 ($(objpfx)iconv-test.out): Likewise.
22174 ($(objpfx)tst-tables.out): Likewise.
22175 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22176 ($(objpfx)tst-gettext.out): Likewise.
22177 ($(objpfx)tst-translit.out): Likewise.
22178 ($(objpfx)tst-gettext2.out): Likewise.
22179 ($(objpfx)tst-gettext4.out): Likewise.
22180 ($(objpfx)tst-gettext6.out): Likewise.
22181 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22182 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22183 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22184 ($(objpfx)tst-fopenloc-mem.out): Likewise.
22185 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22186 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22187 * posix/Makefile ($(objpfx)globtest.out): Likewise.
22188 ($(objpfx)wordexp-tst.out): Likewise.
22189 ($(objpfx)annexc.out): Likewise.
22190 ($(objpfx)tst-fnmatch-mem): Likewise.
22191 ($(objpfx)bug-regex2-mem): Likewise.
22192 ($(objpfx)bug-regex14-mem): Likewise.
22193 ($(objpfx)bug-regex21-mem): Likewise.
22194 ($(objpfx)bug-regex31-mem): Likewise.
22195 ($(objpfx)tst-vfork3-mem): Likewise.
22196 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22197 ($(objpfx)tst-pcre-mem): Likewise.
22198 ($(objpfx)tst-boost-mem): Likewise.
22199 ($(objpfx)tst-getconf.out): Likewise.
22200 ($(objpfx)bug-ga2-mem): Likewise.
22201 ($(objpfx)bug-glob2-mem): Likewise.
22202 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22203 ($(objpfx)mtrace-tst-leaks2): Likewise.
22204 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22205 ($(objpfx)tst-printf.out): Likewise.
22206 ($(objpfx)tst-setvbuf1.out): Likewise.
22207 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22208 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22209 ($(objpfx)tst-fmtmsg.out): Likewise.
22210 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22211 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22213 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22214 * bits/sigaction.h [__USE_MISC]: Likewise.
22215 * bits/waitstatus.h: Update #endif comments.
22216 * ctype/ctype.h: Likewise.
22217 * dirent/dirent.h: Likewise.
22218 [__USE_MISC]: Remove redundant conditionals.
22219 * grp/grp.h: Update #endif comments.
22220 [__USE_GNU]: Remove redundant conditionals.
22221 [__USE_MISC]: Likewise.
22222 * inet/netinet/in.h [__USE_GNU]: Likewise.
22223 * io/sys/stat.h [__USE_MISC]: Likewise.
22224 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22225 * libio/bits/stdio.h: Update #endif comments.
22226 [__USE_MISC]: Remove redundant conditionals.
22227 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22228 * libio/stdio.h: Update #endif comments.
22229 [__USE_MISC]: Remove redundant conditionals.
22230 * math/bits/math-finite.h [__USE_MISC]: Likewise.
22231 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22232 * math/math.h: Update #else and #endif comments.
22233 [__USE_MISC]: Remove redundant conditionals.
22234 * misc/sys/uio.h: Update #endif comments.
22235 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22236 * posix/glob.h [__USE_MISC]: Likewise.
22237 * posix/sys/types.h: Update #endif comments.
22238 [__USE_MISC]: Remove redundant conditionals.
22239 * posix/sys/wait.h: Update #endif comments.
22240 [__USE_MISC]: Remove redundant conditionals.
22241 * posix/unistd.h: Update #endif comments.
22242 [__USE_MISC]: Remove redundant conditionals.
22243 * pwd/pwd.h [__USE_GNU]: Likewise.
22244 [__USE_MISC]: Likewise.
22245 * resolv/netdb.h [__USE_GNU]: Likewise.
22246 * signal/signal.h: Update #endif comments.
22247 [__USE_MISC]: Remove redundant conditionals.
22248 * stdlib/stdlib.h: Update #else and #endif comments.
22249 [__USE_MISC]: Remove redundant conditionals.
22250 [__USE_GNU]: Likewise.
22251 * string/bits/string2.h [__USE_MISC]: Likewise.
22252 * string/string.h: Update #endif comments.
22253 [__USE_MISC]: Remove redundant conditionals.
22254 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22256 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22257 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22258 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22260 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22262 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22264 [__USE_MISC]: Remove redundant conditionals.
22265 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22266 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22267 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22268 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22269 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22271 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22272 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22274 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22275 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22277 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22279 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22280 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22282 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22284 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22285 * sysdeps/x86/bits/string.h: Update #endif comments.
22286 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22288 * time/sys/time.h: Update #endif comments.
22289 * time/time.h: Likewise.
22290 [__USE_MISC]: Remove redundant conditionals.
22292 2014-02-21 Yury Gribov <y.gribov@samsung.com>
22295 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22297 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
22299 * Versions.def (librt): Add GLIBC_2.17.
22301 2014-02-21 Adam Conrad <adconrad@0c3.net>
22303 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22304 synonym for _SYS_AUXV_H to allow direct inclusion.
22305 * sysdeps/sparc/bits/hwcap.h: Likewise.
22306 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22307 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22308 * sysdeps/sparc/sysdep.h: Likewise.
22310 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22312 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22314 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22316 * benchtests/bench-strrchr.c: Print length instead of position.
22318 2014-02-20 Joseph Myers <joseph@codesourcery.com>
22321 * sysdeps/unix/sysv/linux/kernel-features.h
22322 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22323 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22324 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22325 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22327 [__i386__ || __powerpc__ || __sh__ || __sparc__]
22328 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22329 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22330 (__ASSUME_SENDMMSG): Define instead of using previous
22331 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22332 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22333 (__ASSUME_SENDMMSG_SYSCALL): Define.
22334 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22335 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22337 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22338 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22340 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22341 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22343 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22344 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22345 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22346 [__ASSUME_SENDMMSG]: Change conditionals to
22347 [__ASSUME_SENDMMSG_SOCKETCALL].
22348 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22349 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22351 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22352 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22354 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22355 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22356 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22357 [!__ASSUME_SENDMMSG]: Change conditional to
22358 [!__ASSUME_SENDMMSG_SOCKETCALL].
22359 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22360 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22364 * sysdeps/unix/sysv/linux/kernel-features.h
22365 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22366 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22367 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22368 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22369 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22370 [__i386__ || __sparc__]
22371 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22372 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22373 (__ASSUME_RECVMMSG): Define instead of using previous
22374 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22375 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22376 (__ASSUME_RECVMMSG_SYSCALL): Define.
22377 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22378 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22380 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22381 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22383 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22384 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22386 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22387 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22388 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22389 [__ASSUME_RECVMMSG]: Change condition to
22390 [__ASSUME_RECVMMSG_SOCKETCALL].
22391 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22392 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22394 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22395 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22396 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22398 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22399 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22400 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22401 [!__ASSUME_RECVMMSG]: Change condition to
22402 [!__ASSUME_RECVMMSG_SOCKETCALL].
22403 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22404 (__ASSUME_RECVMMSG_SYSCALL): Define.
22407 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22408 __powerpc__ || __s390__ || __sh__ || __sparc__]
22409 (__ASSUME_SOCKETCALL): Define.
22410 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22411 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22412 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22413 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22414 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22415 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22416 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22417 (__ASSUME_ACCEPT4): Define instead of using previous
22418 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22419 __powerpc__ || __sparc__ || __s390__)] condition.
22420 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22421 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22422 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22423 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22424 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22425 [!__ASSUME_ACCEPT4]: Change condition to
22426 [!__ASSUME_ACCEPT4_SOCKETCALL].
22427 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22428 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
22429 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22430 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22431 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22432 __ASSUME_ACCEPT4_SYSCALL.
22433 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22434 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22435 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22436 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22437 __ASSUME_ACCEPT4_SYSCALL.
22438 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22439 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22440 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22441 [__ASSUME_ACCEPT4]: Change condition to
22442 [__ASSUME_ACCEPT4_SOCKETCALL].
22443 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22444 (__ASSUME_SOCKETCALL): Define.
22445 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22446 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22447 (__ASSUME_SOCKETCALL): Define.
22448 (__ASSUME_ACCEPT4): Remove.
22449 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22451 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22452 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22454 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22455 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22457 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22459 (HWCAP_ARM_LPAE): Likewise.
22460 (HWCAP_ARM_EVTSTRM): Likewise.
22461 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22462 Add vpfd32, lpae and evtstrm.
22463 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22466 2014-02-19 Joseph Myers <joseph@codesourcery.com>
22468 * math/auto-libm-test-in: Add tests of clog10.
22469 * math/auto-libm-test-out: Regenerated.
22470 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22471 * sysdeps/i386/fpu/libm-test-ulps: Update.
22472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22474 2014-02-18 Andreas Schwab <schwab@suse.de>
22477 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22478 Store non-zero if the second buffer was newly allocated.
22479 (send_dg): Likewise.
22480 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22481 to send_vc and send_dg.
22482 (res_nsend): Pass NULL for ansp2_malloced.
22483 * resolv/res_query.c (__libc_res_nquery): Add parameter
22484 answerp2_malloced and pass it down to __libc_res_nsend.
22485 (res_nquery): Pass additional NULL to __libc_res_nquery.
22486 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22487 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
22488 second answer buffer if answerp2_malloced was set.
22489 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22490 (__libc_res_nquerydomain): Add parameter
22491 answerp2_malloced and pass it down to __libc_res_nquery.
22492 (res_nquerydomain): Pass additional NULL to
22493 __libc_res_nquerydomain.
22494 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22495 additional NULL to __libc_res_nsend and __libc_res_nquery.
22496 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22497 additional NULL to __libc_res_nsearch.
22498 (_nss_dns_gethostbyname4_r): Revert last change. Use new
22499 parameter of __libc_res_nsearch to check for separately allocated
22501 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22503 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22504 additional NULL to __libc_res_nquery.
22505 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22506 __libc_res_nsearch.
22507 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22508 * include/resolv.h: Update prototypes of __libc_res_nquery,
22509 __libc_res_nsearch, __libc_res_nsend.
22511 2014-02-18 Joseph Myers <joseph@codesourcery.com>
22513 * math/auto-libm-test-in: Add tests of fma.
22514 * math/auto-libm-test-out: Regenerated.
22515 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22516 (fma_towardzero_test_data): Likewise.
22517 (fma_downward_test_data): Likewise.
22518 (fma_upward_test_data): Likewise.
22519 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22521 (rounding_modes): Add values for new field.
22522 (func_calc_method): Add value mpfr_fff_f.
22523 (func_calc_desc): Add mpfr_fff_f union field.
22524 (test_function): Add field exact_args.
22525 (FUNC): Add macro argument EXACT_ARGS.
22526 (FUNC_mpfr_f_f): Update call to FUNC.
22527 (FUNC_mpfr_f_f): Likewise.
22528 (FUNC_mpfr_ff_f): Likewise.
22529 (FUNC_mpfr_if_f): Likewise.
22530 (FUNC_mpc_c_f): Likewise.
22531 (FUNC_mpc_c_c): Likewise.
22532 (test_functions): Add fma. Update calls to FUNC.
22533 (handle_input_arg): Add argument exact_args.
22534 (add_test): Update call to handle_input_arg.
22535 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
22536 (output_for_one_input_case): Update call to calc_generic_results.
22537 Recalculate exact zero results in each rounding mode.
22539 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22540 non-negative before setting low bit.
22541 * math/auto-libm-test-in: Mark one asin test possibly having
22542 spurious underflow.
22543 * math/auto-libm-test-out: Regenerated.
22544 * sysdeps/i386/fpu/libm-test-ulps: Update.
22545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22547 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
22549 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22550 * sysdeps/unix/sysv/linux/microblaze: Move directory from
22551 ports/sysdeps/unix/sysv/linux/microblaze.
22552 * README: Add missing listing for microblaze*-*-linux-gnu.
22554 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
22556 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22559 2014-02-16 Mike Frysinger <vapier@gentoo.org>
22561 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22562 * sysdeps/unix/sysv/linux/ia64: Move directory from
22563 ports/sysdeps/unix/sysv/linux/ia64.
22564 * README: Update listing for ia64-*-linux-gnu.
22566 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
22567 Joseph Myers <joseph@codesourcery.com>
22569 * Makeconfig (test-name): New variable.
22570 (evaluate-test): Likewise.
22571 * Makerules (do-test-clean): Remove .test-result files.
22572 (common-mostlyclean): Likewise.
22573 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22574 * scripts/evaluate-test.sh: New file.
22576 2014-02-14 Joseph Myers <joseph@codesourcery.com>
22578 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22579 separate $(objpfx)tst-fopenloc-cmp.out and
22580 $(objpfx)tst-fopenloc-mem.out targets.
22581 (tests): Update dependencies.
22582 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22583 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22584 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22585 (tst-rxspencer-no-utf8-ARGS): New variable.
22586 (tst-rxspencer-no-utf8-ENV): Likewise.
22587 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22588 instead of $(objpfx)tst-rxspencer-mem.
22589 ($(objpfx)tst-rxspencer-mem): Change target to
22590 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
22591 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22592 * posix/tst-rxspencer-no-utf8.c: New file.
22594 * elf/Makefile ($(objpfx)order.out): Remove rule.
22595 [$(run-built-tests) = yes] (tests): Depend on
22596 $(objpfx)order-cmp.out.
22597 ($(objpfx)order-cmp.out): New rule.
22598 [$(run-built-tests) = yes] (tests): Depend on
22599 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22600 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22601 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22602 $(objpfx)tst-array5-static-cmp.out.
22603 ($(objpfx)tst-array1.out): Remove rule.
22604 ($(objpfx)tst-array1-cmp.out): New rule.
22605 ($(objpfx)tst-array1-static.out): Remove rule.
22606 ($(objpfx)tst-array1-static-cmp.out): New rule.
22607 ($(objpfx)tst-array2.out): Remove rule.
22608 ($(objpfx)tst-array2-cmp.out): New rule.
22609 ($(objpfx)tst-array3.out): Remove rule.
22610 ($(objpfx)tst-array3-cmp.out): New rule.
22611 ($(objpfx)tst-array4.out): Remove rule.
22612 ($(objpfx)tst-array4-cmp.out): New rule.
22613 ($(objpfx)tst-array5.out): Remove rule.
22614 ($(objpfx)tst-array5-cmp.out): New rule.
22615 ($(objpfx)tst-array5-static.out): Remove rule.
22616 ($(objpfx)tst-array5-static-cmp.out): New rule.
22617 [$(run-built-tests) = yes] (tests): Depend on
22618 $(objpfx)order2-cmp.out.
22619 ($(objpfx)order2.out): Remove rule.
22620 ($(objpfx)order2-cmp.out): New rule.
22621 ($(objpfx)tst-initorder.out): Remove rule.
22622 [$(run-built-tests) = yes] (tests): Depend on
22623 $(objpfx)tst-initorder-cmp.out.
22624 ($(objpfx)tst-initorder-cmp.out): New rule.
22625 ($(objpfx)tst-initorder2.out): Remove rule.
22626 [$(run-built-tests) = yes] (tests): Depend on
22627 $(objpfx)tst-initorder2-cmp.out.
22628 ($(objpfx)tst-initorder2-cmp.out): New rule.
22629 [$(run-built-tests) = yes] (tests): Depend on
22630 $(objpfx)tst-unused-dep-cmp.out.
22631 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22632 ($(objpfx)tst-unused-dep-cmp.out): New rule.
22633 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22634 on $(objpfx)tst-setvbuf1-cmp.out.
22635 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22636 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22637 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22638 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22639 ($(objpfx)tst-svc.out): Remove rule.
22640 ($(objpfx)tst-svc-cmp.out): New rule.
22642 2014-02-13 Joseph Myers <joseph@codesourcery.com>
22644 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22645 * ctype/ctype.h [__USE_MISC]: Likewise.
22646 * dirent/dirent.h [__USE_MISC]: Likewise.
22647 * grp/grp.h [__USE_MISC]: Likewise.
22648 * io/fcntl.h [__USE_MISC]: Likewise.
22649 * io/sys/stat.h [__USE_MISC]: Likewise.
22650 * libio/stdio.h [__USE_MISC]: Likewise.
22651 * posix/unistd.h [__USE_MISC]: Likewise.
22652 * pwd/pwd.h [__USE_MISC]: Likewise.
22653 * stdlib.h [__USE_MISC]: Likewise.
22654 * string/bits/string2.h [__USE_MISC]: Likewise.
22655 * string/string.h [__USE_MISC]: Likewise.
22656 * time/time.h [__USE_MISC]: Likewise.
22658 2014-02-13 Andreas Schwab <schwab@suse.de>
22661 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22662 second answer buffer if it was separately allocated.
22664 2014-02-12 Joseph Myers <joseph@codesourcery.com>
22666 * sysdeps/mips/math-tests.h: Include <features.h>.
22667 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22668 (ROUNDING_TESTS_long_double): Do not define.
22669 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22670 (EXCEPTION_TESTS_long_double): Likewise.
22671 * sysdeps/mips/mips64/libm-test-ulps: Update.
22673 * include/features.h (__USE_BSD): Remove macro definitions.
22674 (__USE_SVID): Likewise.
22675 (_BSD_SOURCE): Likewise.
22676 (_SVID_SOURCE): Likewise.
22677 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22678 from definition of _DEFAULT_SOURCE.
22679 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22681 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22682 * bits/mman.h [__USE_BSD]: Likewise.
22683 * bits/termios.h [__USE_BSD]: Likewise.
22684 * bits/waitstatus.h [__USE_BSD]: Likewise.
22685 * ctype/ctype.h [__USE_SVID]: Likewise.
22686 * dirent/dirent.h [__USE_BSD]: Likewise.
22687 * grp/grp.h [__USE_SVID]: Likewise.
22688 [__USE_BSD]: Likewise.
22689 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22690 * io/fcntl.h [__USE_BSD]: Likewise.
22691 * io/ftw.h [__USE_BSD]: Likewise.
22692 * io/sys/stat.h [__USE_BSD]: Likewise.
22693 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22694 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22695 * libio/stdio.h [__USE_SVID]: Likewise.
22696 [__USE_BSD]: Likewise.
22697 * math/math.h [__USE_SVID]: Likewise.
22698 [__USE_BSD]: Likewise.
22699 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22700 * misc/bits/syslog.h [__USE_BSD]: Likewise.
22701 * misc/search.h [__USE_SVID]: Likewise.
22702 * misc/sys/mman.h [__USE_BSD]: Likewise.
22703 * misc/sys/syslog.h [__USE_BSD]: Likewise.
22704 * misc/sys/uio.h [__USE_BSD]: Likewise.
22705 * posix/bits/unistd.h [__USE_BSD]: Likewise.
22706 * posix/glob.h [__USE_BSD]: Likewise.
22707 * posix/regex.h [__USE_BSD]: Likewise.
22708 * posix/sys/types.h [__USE_BSD]: Likewise.
22709 [__USE_SVID]: Likewise.
22710 * posix/sys/utsname.h [__USE_SVID]: Likewise.
22711 * posix/sys/wait.h [__USE_BSD]: Likewise.
22712 [__USE_SVID]: Likewise.
22713 * posix/unistd.h [__USE_BSD]: Likewise.
22714 [__USE_SVID]: Likewise.
22715 * pwd/pwd.h [__USE_SVID]: Likewise.
22716 * resolv/netdb.h [__USE_BSD]: Likewise.
22717 * setjmp/setjmp.h [__USE_BSD]: Likewise.
22718 * signal/signal.h [__USE_BSD]: Likewise.
22719 [__USE_SVID]: Likewise.
22720 * socket/sys/socket.h [__USE_BSD]: Likewise.
22721 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22722 * stdlib/stdlib.h [__USE_BSD]: Likewise.
22723 [__USE_SVID]: Likewise.
22724 * string/bits/string2.h [__USE_BSD]: Likewise.
22725 [__USE_SVID]: Likewise.
22726 * string/bits/string3.h [__USE_BSD]: Likewise.
22727 * string/endian.h [__USE_BSD]: Likewise.
22728 * string/string.h [__USE_SVID]: Likewise.
22729 [__USE_BSD]: Likewise.
22730 * string/strings.h [__USE_BSD]: Likewise.
22731 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22732 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22733 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22734 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22735 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22736 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22738 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22740 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22741 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22743 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22744 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22746 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22748 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22749 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22750 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22752 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22754 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22755 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22756 * termios/termios.h [__USE_BSD]: Likewise.
22757 * time/sys/time.h [__USE_BSD]: Likewise.
22758 * time/time.h [__USE_BSD]: Likewise.
22759 [__USE_SVID]: Likewise.
22761 * Makefile (subdir_targets): Remove subdir_lint.out.
22763 * stdio-common/Makefile (do-tst-unbputc): Remove target.
22764 (do-tst-printf): Likewise.
22765 (tests): Depend directly on $(objpfx)tst-unbputc.out and
22766 $(objpfx)tst-printf.out.
22768 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22770 * Makerules (check-abi-%): Change target to
22771 $(objpfx)check-abi-%.out.
22772 (check-abi target): Update dependencies.
22773 (check-abi-pattern variable): Redirect output of diff to $@.
22774 (check-abi variable): Likewise.
22775 * elf/Makefile (check-abi): Update dependencies.
22777 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22779 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22780 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22782 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22783 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22784 value has largest subnormal exponent.
22785 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22786 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22787 * sysdeps/aarch64/soft-fp/sfp-machine.h
22788 (_FP_TININESS_AFTER_ROUNDING): New macro.
22789 * sysdeps/alpha/soft-fp/sfp-machine.h
22790 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22791 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22793 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22794 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22795 * sysdeps/mips/soft-fp/sfp-machine.h
22796 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22797 * sysdeps/powerpc/soft-fp/sfp-machine.h
22798 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22799 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22801 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22802 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22803 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22804 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22805 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22808 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
22811 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22814 2014-02-12 Richard Henderson <rth@redhat.com>
22816 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22817 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22818 * sysdeps/unix/sysv/linux/alpha: Move directory from
22819 ports/sysdeps/unix/sysv/linux/alpha.
22820 * README: Update listing for alpha-*-linux-gnu.
22822 2014-02-11 Joseph Myers <joseph@codesourcery.com>
22824 * include/features.h: Update comment documenting feature test
22826 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
22828 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22829 (_SVID_SOURCE): Likewise.
22830 (_DEFAULT_SOURCE): Update description of default features.
22831 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22833 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22834 (S_ISVTX): Likewise.
22835 * manual/math.texi (Mathematical Constants): Likewise.
22836 * manual/signal.texi (Interrupted Primitives): Likewise.
22837 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22838 * math/test-matherr.c (_SVID_SOURCE): Do not define.
22839 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22840 Don't refer to _SVID_SOURCE in warning text.
22842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22844 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22846 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22847 * sysdeps/mips/dl-lookup.c: Remove.
22848 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22850 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22853 * math/auto-libm-test-in: Add testcase for expl.
22854 * math/auto-libm-test-out: Regenerate.
22855 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22856 calculation of unsafe.
22857 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22859 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
22861 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22862 * sysdeps/unix/sysv/linux/aarch64: Move directory from
22863 ports/sysdeps/unix/sysv/linux/aarch64.
22864 * README: Update listing for aarch64*-*-linux-gnu.
22866 2014-02-11 Will Newton <will.newton@linaro.org>
22868 * manual/probes.texi (Mathematical Function Probes): Use
22869 "triggered" instead of "hit".
22871 * manual/probes.texi (Internal Probes): Add documentation
22872 of setjmp, longjmp and longjmp_target probes.
22874 * include/stap-probe.h: Add comment about probe argument
22877 * malloc/mtrace.c (attribute_hidden): Remove unused macro
22878 definition. (tr_where, tr_freehook, tr_mallochook,
22879 tr_reallochook, tr_memalignhook): Use ANSI protoype.
22881 2014-02-11 David S. Miller <davem@davemloft.net>
22883 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22884 processing int_tests.
22886 2014-02-10 Joseph Myers <joseph@codesourcery.com>
22888 * sysdeps/mips: Move directory from ports/sysdeps/mips.
22889 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22890 * sysdeps/unix/sysv/linux/mips: Move directory from
22891 ports/sysdeps/unix/sysv/linux/mips.
22892 * README: Update listing for mips-*-linux-gnu and
22893 mips64-*-linux-gnu.
22895 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
22897 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22898 * sysdeps/unix/sysv/linux/m68k: Move directory from
22899 ports/sysdeps/unix/sysv/linux/m68k.
22900 * README: Update listing for m68k-*-linux-gnu.
22902 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
22904 * sysdeps/tile: Move directory from ports/sysdeps/tile.
22905 * sysdeps/unix/sysv/linux/generic: Move directory from
22906 ports/sysdeps/unix/sysv/linux/generic.
22907 * sysdeps/unix/sysv/linux/tile: Move directory from
22908 ports/sysdeps/unix/sysv/linux/tile.
22909 * README: Update listing for tile*-*-linux-gnu.
22911 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
22913 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22915 * benchtests/bench-memmem.c (simple_memmem): Likewise.
22916 * catgets/open_catalog.c (__open_catalog): Likewise.
22917 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22918 * debug/confstr_chk.c: Likewise.
22919 * debug/fread_chk.c (__fread_chk): Likewise.
22920 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22921 * debug/getgroups_chk.c: Likewise.
22922 * debug/mbsnrtowcs_chk.c: Likewise.
22923 * debug/mbsrtowcs_chk.c: Likewise.
22924 * debug/mbstowcs_chk.c: Likewise.
22925 * debug/memcpy_chk.c: Likewise.
22926 * debug/memmove_chk.c: Likewise.
22927 * debug/mempcpy_chk.c: Likewise.
22928 * debug/memset_chk.c: Likewise.
22929 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22930 * debug/strcat_chk.c (__strcat_chk): Likewise.
22931 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22932 * debug/strncat_chk.c (__strncat_chk): Likewise.
22933 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22934 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22935 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22936 * debug/wcpncpy_chk.c: Likewise.
22937 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22938 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22939 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22940 * debug/wcsncpy_chk.c: Likewise.
22941 * debug/wcsnrtombs_chk.c: Likewise.
22942 * debug/wcsrtombs_chk.c: Likewise.
22943 * debug/wcstombs_chk.c: Likewise.
22944 * debug/wmemcpy_chk.c: Likewise.
22945 * debug/wmemmove_chk.c: Likewise.
22946 * debug/wmempcpy_chk.c: Likewise.
22947 * debug/wmemset_chk.c: Likewise.
22948 * dirent/scandirat.c (SCANDIRAT): Likewise.
22949 * dlfcn/dladdr1.c (dladdr1): Likewise.
22950 * dlfcn/dladdr.c (dladdr): Likewise.
22951 * dlfcn/dlclose.c (dlclose_doit): Likewise.
22952 * dlfcn/dlerror.c (__dlerror): Likewise.
22953 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22954 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22955 * dlfcn/dlopen.c (dlopen_doit): Likewise.
22956 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22957 * dlfcn/dlsym.c (dlsym_doit): Likewise.
22958 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22959 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22960 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22962 * elf/dl-conflict.c: Likewise.
22963 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22964 * elf/dl-dst.h: Likewise.
22965 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22966 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22967 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22968 * elf/dl-init.c (call_init, _dl_init): Likewise.
22969 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22970 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22971 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22973 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22975 * elf/dl-minimal.c (__libc_memalign): Likewise.
22976 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22977 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22978 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22979 * elf/dl-sym.c (do_sym): Likewise.
22980 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22981 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22982 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22983 * elf/dl-writev.h (_dl_writev): Likewise.
22984 * elf/ldconfig.c (search_dir): Likewise.
22985 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22986 (dl_main): Likewise.
22987 * elf/setup-vdso.h (setup_vdso): Likewise.
22988 * grp/compat-initgroups.c (compat_call): Likewise.
22989 * grp/fgetgrent.c (fgetgrent): Likewise.
22990 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22991 * grp/putgrent.c (putgrent): Likewise.
22992 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22994 * hurd/hurdinit.c: Likewise.
22995 * iconvdata/8bit-gap.c (struct): Likewise.
22996 * iconvdata/ansi_x3.110.c : Likewise.
22997 * iconvdata/big5.c : Likewise.
22998 * iconvdata/big5hkscs.c : Likewise.
22999 * iconvdata/cp1255.c: Likewise.
23000 * iconvdata/cp1258.c : Likewise.
23001 * iconvdata/cp932.c : Likewise.
23002 * iconvdata/euc-cn.c: Likewise.
23003 * iconvdata/euc-jisx0213.c : Likewise.
23004 * iconvdata/euc-jp.c: Likewise.
23005 * iconvdata/euc-jp-ms.c : Likewise.
23006 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23007 * iconvdata/gb18030.c : Likewise.
23008 * iconvdata/gbbig5.c (const): Likewise.
23009 * iconvdata/gbgbk.c: Likewise.
23010 * iconvdata/gbk.c : Likewise.
23011 * iconvdata/ibm1364.c : Likewise.
23012 * iconvdata/ibm930.c : Likewise.
23013 * iconvdata/ibm932.c: Likewise.
23014 * iconvdata/ibm933.c : Likewise.
23015 * iconvdata/ibm935.c : Likewise.
23016 * iconvdata/ibm937.c : Likewise.
23017 * iconvdata/ibm939.c : Likewise.
23018 * iconvdata/ibm943.c: Likewise.
23019 * iconvdata/iso_11548-1.c: Likewise.
23020 * iconvdata/iso-2022-cn.c : Likewise.
23021 * iconvdata/iso-2022-cn-ext.c : Likewise.
23022 * iconvdata/iso-2022-jp-3.c: Likewise.
23023 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23024 * iconvdata/iso-2022-kr.c : Likewise.
23025 * iconvdata/iso646.c (gconv_end): Likewise.
23026 * iconvdata/iso_6937-2.c : Likewise.
23027 * iconvdata/iso_6937.c : Likewise.
23028 * iconvdata/iso8859-1.c: Likewise.
23029 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23030 * iconvdata/shift_jisx0213.c : Likewise.
23031 * iconvdata/sjis.c : Likewise.
23032 * iconvdata/t.61.c : Likewise.
23033 * iconvdata/tcvn5712-1.c : Likewise.
23034 * iconvdata/tscii.c: Likewise.
23035 * iconvdata/uhc.c : Likewise.
23036 * iconvdata/unicode.c (gconv_end): Likewise.
23037 * iconvdata/utf-16.c (gconv_end): Likewise.
23038 * iconvdata/utf-32.c (gconv_end): Likewise.
23039 * iconvdata/utf-7.c (base64): Likewise.
23040 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23041 * iconv/gconv_close.c (__gconv_close): Likewise.
23042 * iconv/gconv_open.c (__gconv_open): Likewise.
23043 * iconv/gconv_simple.c (internal_ucs4_loop_single)
23044 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23045 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23046 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23047 (ucs4le_internal_loop_single): Likewise.
23048 * iconv/iconv.c (iconv): Likewise.
23049 * iconv/iconv_close.c: Likewise.
23050 * iconv/loop.c (SINGLE): Likewise.
23051 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23052 * include/atomic.h: Likewise.
23053 * inet/inet6_option.c (option_alloc): Likewise.
23054 * intl/bindtextdom.c (set_binding_values): Likewise.
23055 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23056 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23057 * intl/localealias.c (read_alias_file): Likewise.
23058 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23059 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23060 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23061 * libio/fmemopen.c (fmemopen): Likewise.
23062 * libio/iofgets.c (_IO_fgets): Likewise.
23063 * libio/iofgets_u.c (fgets_unlocked): Likewise.
23064 * libio/iofgetws.c (fgetws): Likewise.
23065 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23066 * libio/iogetdelim.c (_IO_getdelim): Likewise.
23067 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23068 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23069 * locale/findlocale.c (_nl_find_locale): Likewise.
23070 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23071 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23073 * locale/setlocale.c (setlocale): Likewise.
23074 * login/programs/pt_chown.c (main): Likewise.
23075 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23076 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23077 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23078 (mmap, mmap64, mremap, munmap): Likewise.
23079 * math/e_exp2l.c: Likewise.
23080 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23081 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23082 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23083 * math/s_catan.c (__catan): Likewise.
23084 * math/s_catanf.c (__catanf): Likewise.
23085 * math/s_catanh.c (__catanh): Likewise.
23086 * math/s_catanhf.c (__catanhf): Likewise.
23087 * math/s_catanhl.c (__catanhl): Likewise.
23088 * math/s_catanl.c (__catanl): Likewise.
23089 * math/s_ccosh.c (__ccosh): Likewise.
23090 * math/s_ccoshf.c (__ccoshf): Likewise.
23091 * math/s_ccoshl.c (__ccoshl): Likewise.
23092 * math/s_cexp.c (__cexp): Likewise.
23093 * math/s_cexpf.c (__cexpf): Likewise.
23094 * math/s_cexpl.c (__cexpl): Likewise.
23095 * math/s_clog10.c (__clog10): Likewise.
23096 * math/s_clog10f.c (__clog10f): Likewise.
23097 * math/s_clog10l.c (__clog10l): Likewise.
23098 * math/s_clog.c (__clog): Likewise.
23099 * math/s_clogf.c (__clogf): Likewise.
23100 * math/s_clogl.c (__clogl): Likewise.
23101 * math/s_csin.c (__csin): Likewise.
23102 * math/s_csinf.c (__csinf): Likewise.
23103 * math/s_csinh.c (__csinh): Likewise.
23104 * math/s_csinhf.c (__csinhf): Likewise.
23105 * math/s_csinhl.c (__csinhl): Likewise.
23106 * math/s_csinl.c (__csinl): Likewise.
23107 * math/s_csqrt.c (__csqrt): Likewise.
23108 * math/s_csqrtf.c (__csqrtf): Likewise.
23109 * math/s_csqrtl.c (__csqrtl): Likewise.
23110 * math/s_ctan.c (__ctan): Likewise.
23111 * math/s_ctanf.c (__ctanf): Likewise.
23112 * math/s_ctanh.c (__ctanh): Likewise.
23113 * math/s_ctanhf.c (__ctanhf): Likewise.
23114 * math/s_ctanhl.c (__ctanhl): Likewise.
23115 * math/s_ctanl.c (__ctanl): Likewise.
23116 * math/w_pow.c: Likewise.
23117 * math/w_powf.c: Likewise.
23118 * math/w_powl.c: Likewise.
23119 * math/w_scalb.c (sysv_scalb): Likewise.
23120 * math/w_scalbf.c (sysv_scalbf): Likewise.
23121 * math/w_scalbl.c (sysv_scalbl): Likewise.
23122 * misc/error.c (error_tail): Likewise.
23123 * misc/pselect.c (__pselect): Likewise.
23124 * nis/nis_callback.c (__nis_create_callback): Likewise.
23125 * nis/nis_call.c (__nisfind_server): Likewise.
23126 * nis/nis_creategroup.c (nis_creategroup): Likewise.
23127 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23128 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23129 * nis/nis_getservlist.c (nis_getservlist): Likewise.
23130 * nis/nis_lookup.c (nis_lookup): Likewise.
23131 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23132 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23133 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23134 * nis/nis_xdr.c (xdr_endpoint): Likewise.
23135 * nis/nss_compat/compat-grp.c (getgrent_next_file)
23136 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23137 * nis/nss_compat/compat-initgroups.c (add_group)
23138 (internal_getgrent_r): Likewise.
23139 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23140 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23141 * nis/nss_compat/compat-spwd.c (getspent_next_file)
23142 (internal_getspnam_r): Likewise.
23143 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23144 (_nss_nis_getaliasbyname_r): Likewise.
23145 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23146 (_nss_nis_getntohost_r): Likewise.
23147 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23148 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23149 (_nss_nis_getgrgid_r): Likewise.
23150 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23151 (internal_nis_gethostent_r, internal_gethostbyname2_r)
23152 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23153 (_nss_nis_gethostbyname4_r): Likewise.
23154 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23155 (initgroups_netid): Likewise.
23156 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23157 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23158 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23159 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23160 (_nss_nis_getprotobynumber_r): Likewise.
23161 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23162 (_nss_nis_getsecretkey): Likewise.
23163 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23164 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23165 (_nss_nis_getpwuid_r): Likewise.
23166 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23167 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23168 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23169 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23170 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23171 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23172 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23174 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23175 (_nss_nisplus_getntohost_r): Likewise.
23176 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23177 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23178 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23179 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23181 * nis/nss_nisplus/nisplus-initgroups.c
23182 (_nss_nisplus_initgroups_dyn): Likewise.
23183 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23184 (_nss_nisplus_getnetbyaddr_r): Likewise.
23185 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23186 (_nss_nisplus_getprotobynumber_r): Likewise.
23187 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23188 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23189 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23191 * nis/nss_nisplus/nisplus-service.c
23192 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23193 (_nss_nisplus_getservbyport_r): Likewise.
23194 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23195 (_nss_nisplus_getspnam_r): Likewise.
23196 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23198 * nscd/aicache.c (addhstaiX): Likewise.
23199 * nscd/cache.c (cache_search, prune_cache): Likewise.
23200 * nscd/connections.c (register_traced_file, send_ro_fd)
23201 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23202 (main_loop_epoll): Likewise.
23203 * nscd/grpcache.c (addgrbyX): Likewise.
23204 * nscd/hstcache.c (addhstbyX): Likewise.
23205 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23206 * nscd/mem.c (gc, mempool_alloc): Likewise.
23207 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23208 (addinnetgrX): Likewise.
23209 * nscd/nscd-client.h (__nscd_acquire_maplock)
23210 (__nscd_drop_map_ref): Likewise.
23211 * nscd/nscd_getai.c (__nscd_getai): Likewise.
23212 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23213 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23215 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23216 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23217 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23218 (__nscd_get_map_ref): Likewise.
23219 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23220 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23222 * nscd/pwdcache.c (addpwbyX): Likewise.
23223 * nscd/selinux.c (preserve_capabilities): Likewise.
23224 * nscd/servicescache.c (addservbyX): Likewise.
23225 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23226 * posix/fnmatch.c (fnmatch): Likewise.
23227 * posix/getopt.c (_getopt_internal_r): Likewise.
23228 * posix/glob.c (glob, glob_in_dir): Likewise.
23229 * posix/wordexp.c (exec_comm_child): Likewise.
23230 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23231 (getanswer_r, gaih_getanswer_slice): Likewise.
23232 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23233 * resolv/res_init.c: Likewise.
23234 * resolv/res_mkquery.c (res_nmkquery): Likewise.
23235 * resolv/res_query.c (__libc_res_nquery): Likewise.
23236 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23238 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23239 * stdio-common/perror.c (perror): Likewise.
23240 * stdio-common/printf_fp.c (___printf_fp): Likewise.
23241 * stdio-common/tmpnam.c (tmpnam): Likewise.
23242 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23243 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23244 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23246 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23247 * stdlib/putenv.c (putenv): Likewise.
23248 * stdlib/setenv.c (__add_to_environ): Likewise.
23249 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23250 * stdlib/strtol_l.c (INTERNAL): Likewise.
23251 * string/memmem.c (memmem): Likewise.
23252 * string/strerror.c (strerror): Likewise.
23253 * string/strnlen.c (__strnlen): Likewise.
23254 * string/test-memmem.c (simple_memmem): Likewise.
23255 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23256 * sunrpc/pm_getport.c (__get_socket): Likewise.
23257 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23258 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23259 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23260 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23262 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23263 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23264 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23265 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23266 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23267 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23269 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23271 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23272 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23273 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23274 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23275 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23277 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23278 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23279 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23280 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23281 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23282 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23284 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23286 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23288 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23289 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23290 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23291 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23292 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23293 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23294 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23295 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23296 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23297 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23298 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23299 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23300 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23301 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23302 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23303 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23305 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23307 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23309 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23311 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23312 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23313 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23315 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23316 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23317 * sysdeps/posix/opendir.c (__opendirat): Likewise.
23318 * sysdeps/posix/sleep.c: Likewise.
23319 * sysdeps/posix/tempname.c: Likewise.
23320 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23321 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23323 * sysdeps/powerpc/powerpc32/dl-machine.h
23324 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23325 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23326 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23327 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23328 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23330 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23331 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23332 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23333 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23334 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23335 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23336 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23337 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23338 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23339 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23340 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23341 (elf_machine_lazy_rel): Likewise.
23342 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23343 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23344 (elf_machine_lazy_rel): Likewise.
23345 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23346 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23347 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23348 * sysdeps/unix/grantpt.c (grantpt): Likewise.
23349 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23350 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23351 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23352 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23354 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23355 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23356 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23357 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23358 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23359 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23360 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23361 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23362 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23363 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23364 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23366 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23367 (__posix_fallocate64_l64): Likewise.
23368 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23369 (posix_fallocate): Likewise.
23370 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23372 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23373 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23374 (getifaddrs_internal): Likewise.
23375 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23376 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23377 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23378 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23379 * sysdeps/unix/sysv/linux/posix_fallocate64.c
23380 (__posix_fallocate64_l64): Likewise.
23381 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23383 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23384 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23385 (__get_clockfreq): Likewise.
23386 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23387 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23388 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23389 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23390 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23391 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23392 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23393 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23395 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23396 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23397 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23398 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23399 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23400 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23401 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23403 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23404 (posix_fallocate): Likewise.
23405 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23406 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23407 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23408 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23409 (elf_machine_rela, elf_machine_rela_relative)
23410 (elf_machine_lazy_rel): Likewise.
23411 * time/asctime.c (asctime_internal): Likewise.
23412 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23413 * time/tzset.c (__tzset_parse_tz): Likewise.
23414 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23415 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23416 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23417 * wcsmbs/wcsmbsload.h: Likewise.
23420 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23422 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23423 (arena_get2): Remove THREAD_STATS conditionals.
23424 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23425 (__malloc_stats, int): Likewise.
23427 2014-02-08 Mike Frysinger <vapier@gentoo.org>
23429 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23430 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
23432 * manual/setjmp.texi: Fix typos/grammar errors.
23434 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23435 Only return early when n is <= 0. Delete unused return statement.
23437 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23438 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23439 * debug/tst-longjmp_chk3.c: New file.
23441 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23442 (test_main): Replace code with set_fortify_handler call.
23443 * debug/test-strcpy_chk.c: Likewise.
23444 * debug/tst-chk1.c: Likewise.
23445 * debug/tst-longjmp_chk.c: Likewise.
23446 * test-skeleton.c: Include fcntl.h & paths.h
23447 (set_fortify_handler): Define.
23449 * debug/tst-longjmp_chk.c: Add header comment and include
23450 ../test-skeleton.c.
23451 (do_test): Mark static.
23452 (TEST_FUNCTION): Define.
23454 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23455 (IP_PMTUDISC_INTERFACE): Likewise.
23456 (IP_MULTICAST_IF): Likewise.
23457 (IP_MULTICAST_TTL): Likewise.
23458 (IP_MULTICAST_LOOP): Likewise.
23459 (IP_ADD_MEMBERSHIP): Likewise.
23460 (IP_DROP_MEMBERSHIP): Likewise.
23461 (IP_UNBLOCK_SOURCE): Likewise.
23462 (IP_BLOCK_SOURCE): Likewise.
23463 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23464 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23465 (IP_MSFILTER): Likewise.
23466 (MCAST_JOIN_GROUP): Likewise.
23467 (MCAST_BLOCK_SOURCE): Likewise.
23468 (MCAST_UNBLOCK_SOURCE): Likewise.
23469 (MCAST_LEAVE_GROUP): Likewise.
23470 (MCAST_JOIN_SOURCE_GROUP): Likewise.
23471 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23472 (MCAST_MSFILTER): Likewise.
23473 (IP_MULTICAST_ALL): Likewise.
23474 (IP_UNICAST_IF): Likewise.
23476 * timezone/Makefile: Delete $(have-ksh) check.
23477 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23478 * timezone/tzselect.ksh: Add +x mode bits.
23480 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23481 (ANON_INODE_FS_MAGIC): Likewise.
23482 (BDEVFS_MAGIC): Likewise.
23483 (BINFMTFS_MAGIC): Likewise.
23484 (BTRFS_TEST_MAGIC): Likewise.
23485 (CRAMFS_MAGIC_WEND): Likewise.
23486 (DEBUGFS_MAGIC): Likewise.
23487 (ECRYPTFS_SUPER_MAGIC): Likewise.
23488 (EXT3_SUPER_MAGIC): Likewise.
23489 (EXT4_SUPER_MAGIC): Likewise.
23490 (FUTEXFS_SUPER_MAGIC): Likewise.
23491 (HOSTFS_SUPER_MAGIC): Likewise.
23492 (HUGETLBFS_MAGIC): Likewise.
23493 (MINIX3_SUPER_MAGIC): Likewise.
23494 (MTD_INODE_FS_MAGIC): Likewise.
23495 (NILFS_SUPER_MAGIC): Likewise.
23496 (OPENPROM_SUPER_MAGIC): Likewise.
23497 (PIPEFS_MAGIC): Likewise.
23498 (PSTOREFS_MAGIC): Likewise.
23499 (QNX6_SUPER_MAGIC): Likewise.
23500 (RAMFS_MAGIC): Likewise.
23501 (REISERFS_SUPER_MAGIC_STRING): Likewise.
23502 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23503 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23504 (SECURITYFS_MAGIC): Likewise.
23505 (SELINUX_MAGIC): Likewise.
23506 (SMACK_MAGIC): Likewise.
23507 (SOCKFS_MAGIC): Likewise.
23508 (SQUASHFS_MAGIC): Likewise.
23509 (STACK_END_MAGIC): Likewise.
23510 (TMPFS_MAGIC): Likewise.
23511 (USBDEVICE_SUPER_MAGIC): Likewise.
23512 (V9FS_MAGIC): Likewise.
23513 (XENFS_SUPER_MAGIC): Likewise.
23514 (CRAMFS_MAGIC): Fix typo in comment.
23515 (EXT2_SUPER_MAGIC): Update comment.
23516 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23518 2014-02-08 Joseph Myers <joseph@codesourcery.com>
23520 * sysdeps/arm: Move directory from ports/sysdeps/arm.
23521 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23522 * sysdeps/unix/sysv/linux/arm: Move directory from
23523 ports/sysdeps/unix/sysv/linux/arm.
23524 * README: Update listing for arm-*-linux-gnueabi.
23526 * README: Remove mention of am33.
23528 2014-02-07 Roland McGrath <roland@hack.frob.com>
23530 * bits/sigset.h (__sigemptyset): Use a statement expression rather
23531 than the comma operator, to avoid "rhs of comma has no effect"
23533 (__sigfillset, __sigandset, __sigorset): Likewise.
23534 * include/signal.h (__sigemptyset): Likewise.
23535 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23537 2014-02-07 Allan McRae <allan@archlinux.org>
23539 * version.h (RELEASE): Set to "development".
23540 (VERSION): Set to "2.19.90"
23541 * NEWS: Add 2.20 section.
23543 2014-02-06 Carlos O'Donell <carlos@redhat.com>
23546 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23548 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23550 * manual/contrib.texi: Update entry for Carlos O'Donell,
23551 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23553 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
23555 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23557 * sysdeps/unix/sysv/linux/kernel-features.h
23558 [__LINUX_KERNEL_VERSION >= 0x020621]
23559 (__ASSUME_PROC_PID_TASK_COMM): Define.
23561 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23564 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23565 conversion when destination buffer does not have enough space.
23566 * libio/tst-ftell-partial-wide.c: New test case.
23567 * libio/Makefile (tests): Add tst-ftell-partial-wide.
23569 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23570 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
23571 Leonard and Allan McRae.
23573 2014-02-04 David S. Miller <davem@davemloft.net>
23575 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23578 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23607 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23609 * nptl/shlib-versions: Change powerpc*le start to 2.17.
23610 * shlib-versions: Likewise.
23612 2014-02-04 Roland McGrath <roland@hack.frob.com>
23613 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23615 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23616 (abilist-pattern): New variable, set to %-le.abilist.
23618 * Makerules (abilist-pattern): New variable.
23619 (vpath): Use $(abilist-pattern) in place of %.abilist.
23620 (check-abi-% pattern rule): Likewise.
23621 (check-abi, update-abi): Likewise.
23623 2014-02-04 Eric Wong <normalperson@yhbt.net>
23625 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23627 2014-02-03 Carlos O'Donell <carlos@redhat.com>
23629 * manual/startup.texi: Add next, previous, and top entries for
23630 the `Program Arguments' and `Environment Variables' nodes.
23632 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
23634 * manual/macros.texi: Add comments before MTASC-safety macros.
23636 * manual/users.texi: Document MTASC-safety properties.
23638 * manual/threads.texi (pthread_key_create, pthread_key_delete)
23639 (pthread_getspecific, pthread_setspecific): Format with
23640 @deftypefun, and add @safety note.
23641 * manual/signal.texi: Move comments that analyze the above
23642 functions to their home place.
23644 2014-02-03 Allan McRae <allan@archlinux.org>
23646 * po/sl.po: Update Slovenian translation from translation project.
23648 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
23650 * manual/time.texi (timegm): Add missing blank after @c.
23651 Reported by Joseph Myers <joseph@codesourcery.com>.
23653 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
23655 * manual/check-safety.sh: New.
23656 * manual/Makefile ($(objpfx)stamp-summary): Run it.
23658 * manual/terminal.texi: Document MTASC-safety properties.
23660 * manual/filesys.texi: Document MTASC-safety properties.
23662 * manual/errno.texi: Document MTASC-safety properties.
23664 * manual/intro.texi: Document safety identifiers and
23667 * manual/string.texi (wcstok): Fix prototype.
23668 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23670 * manual/time.texi: Document MTASC-safety properties.
23672 * manual/string.texi: Document MTASC-safety properties.
23674 * manual/threads.texi: Document MTASC-safety properties.
23676 * manual/stdio.texi: Document MTASC-safety properties.
23678 * manual/syslog.texi: Document MTASC-safety properties.
23680 * manual/sysinfo.texi: Document MTASC-safety properties.
23682 * manual/startup.texi: Document MTASC-safety properties.
23684 * manual/socket.texi: Document MTASC-safety properties.
23686 * manual/signal.texi: Document MTASC-safety properties.
23688 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
23690 * manual/setjmp.texi: Document MTASC-safety properties.
23692 * manual/search.texi: Document MTASC-safety properties.
23694 * manual/resource.texi: Document MTASC-safety properties.
23696 * manual/process.texi: Document MTASC-safety properties.
23698 * manual/platform.texi: Document MTASC-safety properties.
23700 * manual/pipe.texi: Document MTASC-safety properties.
23702 * manual/pattern.texi: Document MTASC-safety properties.
23704 * manual/message.texi: Document MTASC-safety properties.
23707 * manual/memory.texi: Document MTASC-safety properties.
23709 * manual/math.texi: Document MTASC-safety properties.
23711 * manual/locale.texi: Document MTASC-safety properties.
23713 * manual/llio.texi: Document MTASC-safety properties.
23715 * manual/libdl.texi: New.
23717 * manual/lang.texi: Document MTASC-safety properties.
23719 * manual/job.texi: Document MTASC-safety properties.
23721 * manual/getopt.texi: Document MTASC-safety properties.
23723 * manual/ctype.texi: Document MTASC-safety properties.
23725 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
23728 * csu/libc-tls.c (static_map): Remove variable.
23729 (__libc_setup_tls): Use main executable's link map for TLS data.
23730 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23731 casing for LM_ID_BASE and GL(dl_nns).
23732 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23733 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
23734 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23735 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23736 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23738 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23741 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
23743 * manual/debug.texi: Document MTASC-safety properties.
23745 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
23748 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23749 of __x86_64__ when disabling x87 inline functions.
23751 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
23753 * manual/charset.texi: Document MTASC-safety properties.
23755 * manual/crypt.texi: Document MTASC-safety properties.
23757 * manual/conf.texi: Document MTASC-safety properties.
23759 * manual/arith.texi: Document MTASC-safety properties.
23761 * manual/argp.texi: Document MTASC-safety properties.
23763 * manual/macros.texi: Introduce macros to document multi
23764 thread, asynchronous signal and asynchronous cancellation
23766 * manual/intro.texi: Introduce the properties themselves.
23768 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23770 * sysdeps/sh/sh4/Makefile: New file.
23772 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
23774 * math/gen-libm-test.pl ($srcdir): New variable.
23775 ($auto_input): Use it.
23777 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23780 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23781 access beyond array bounds when parsing netgroups file.
23783 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23784 the old buffer before realloc.
23786 2014-01-27 Allan McRae <allan@archlinux.org>
23788 * po/fr.po: Update French translation from translation project.
23790 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23792 * sysdeps/sh/libm-test-ulps: Regenerate.
23794 2014-01-24 David S. Miller <davem@davemloft.net>
23796 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23798 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23800 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23801 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23803 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23806 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23807 string pointers after reallocation.
23809 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23811 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23812 __SH4A__ instead of __SH_FPU_ANY__.
23814 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23816 * sysdeps/sh/fpu_control.h: New file.
23817 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23818 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23819 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23820 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23821 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23822 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23823 * sysdeps/sh/sys/ucontext.h: Remove.
23824 * sysdeps/sh/sys: Remove directory.
23826 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23828 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23829 s390/sys/ucontext.h.
23830 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23831 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23833 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
23836 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23838 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23841 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23842 Adjust the vDSO correctly for internal calls.
23843 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23845 2014-01-20 Allan McRae <allan@archlinux.org>
23847 * po/ca.po: Update Catalan translation from translation project.
23849 2014-01-16 Mike Frysinger <vapier@gentoo.org>
23851 * sysdeps/s390/sotruss-lib.c: New file.
23853 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23856 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23857 (__GI___gettimeofday): Alias for a different internal symbol to avoid
23858 local calls issues by not having a PLT stub required for IFUNC calls.
23859 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23861 2014-01-16 Joseph Myers <joseph@codesourcery.com>
23863 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23864 * math/test-fpucw-static.c: Likewise.
23866 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23869 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23871 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23873 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23874 implementation for powerpc.
23876 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
23879 * sysdeps/posix/system.c (__libc_system): Do not enable
23880 asynchronous cancellation.
23882 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23885 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23886 handling only for numbers special also in the IEEE case.
23888 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23890 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23892 2014-01-11 Allan McRae <allan@archlinux.org>
23894 * po/bg.po: Update Bulgarian translation from translation project.
23896 * po/de.po: Update German translation from translation project.
23898 2014-01-10 Roland McGrath <roland@hack.frob.com>
23900 * sysdeps/generic/gcc-compat.h: New file.
23902 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23904 * benchtests/asin-inputs: Correct slow inputs.
23905 * benchtests/acos-inputs: Likewise.
23907 2014-01-10 Allan McRae <allan@archlinux.org>
23909 * po:sv.po: Update Swedish translation from translation project.
23911 * po/vi.po: Update Vietnamese translation from translation project.
23913 * po/eo.po: Update Esperanto translation from translation project.
23915 * po/cs.po: Update Czech translation from translation project.
23917 * po/nl.po: Update Dutch translation from translation project.
23919 * po/pl.po: Update Polish translation from translation project.
23921 * po/ru.po: Update Russian translation from translation project.
23923 * po/uk.po: Update Ukrainian translation from translation project.
23925 2014-01-08 Brooks Moses <bmoses@google.com>
23927 * elf/dl-load.c: Fix comment typo.
23929 2014-01-08 Carlos O'Donell <carlos@redhat.com>
23931 * po/header.pot: Rename to...
23932 * po/pot.header: ... this.
23933 * po/Makefile: Use pot.header.
23935 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
23936 Maxim Kuvyrkov <maxim@kugelworks.com>
23939 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23940 SRC and DEST against LEN.
23942 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23945 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23947 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23949 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23953 2014-01-08 Joseph Myers <joseph@codesourcery.com>
23956 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23957 for large positive arguments.
23959 2014-01-07 Joseph Myers <joseph@codesourcery.com>
23961 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23963 * math/auto-libm-test-in: Mark various tests with
23964 xfail-rounding:ldbl-128ibm.
23965 * math/auto-libm-test-out: Regenerated.
23968 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23969 Increase overflow threshold.
23971 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
23974 * stdio-common/vfprintf.c: Check for integer overflow.
23976 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23978 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23979 the first argument and return value of __tls_get_addr_internal.
23981 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23983 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23984 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23986 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23988 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23989 * sysdeps/s390/rtld-global-offsets.sym: New file.
23990 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23992 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23993 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23994 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23996 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23997 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24003 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24004 halfs of GPRs for high_gprs contexts.
24005 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24006 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
24008 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24010 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24012 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24013 for high GPRs (uc_high_gprs) and for future extensions
24015 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24016 for future extensions (__reserved).
24017 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24019 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24020 SC_HIGHGPRS offset definition.
24021 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24022 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24024 * Versions.def: Add GLIBC_2.19 for libpthread.
24025 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24026 siglongjmp for libpthread with GLIBC_2.19 symver.
24027 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24028 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24029 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24030 * sysdeps/s390/__longjmp.c: New file.
24031 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24032 * sysdeps/s390/longjmp.c: New file.
24033 * sysdeps/s390/setjmp.S: New file.
24034 * sysdeps/s390/sigjmp.S: New file.
24035 * sysdeps/s390/v1-longjmp.c: New file.
24036 * sysdeps/s390/v1-setjmp.h: New file.
24037 * sysdeps/s390/v1-sigjmp.c: New file.
24038 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24039 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24040 GLIBC_2.19 version.
24041 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24042 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24043 versioned symbols for ____longjmp_chk.
24044 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24054 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24055 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24056 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24057 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24058 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24059 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24060 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24061 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24062 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24063 * sysdeps/s390/rtld-__longjmp.c: New file.
24064 * sysdeps/s390/rtld-setjmp.S: New file.
24066 2014-01-06 Joseph Myers <joseph@codesourcery.com>
24069 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24070 Return -__logl (x) for small positive arguments without evaluating
24073 2014-01-06 Mike Frysinger <vapier@gentoo.org>
24075 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24077 (__ptrace_peeksiginfo_args): ... this.
24078 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24079 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24080 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24082 2014-01-06 Allan McRae <allan@archlinux.org>
24084 * inet/netinet/in.h: Fix typo in comment.
24086 2014-01-05 Andreas Jaeger <aj@suse.de>
24088 * sysdeps/i386/fpu/libm-test-ulps: Update.
24090 2014-01-05 Allan McRae <allan@archlinux.org>
24092 * po/libc.pot: Regenerated.
24094 * malloc/memusagestat.c: Fix gettext call formatting.
24096 2014-01-04 Sami Kerola <kerolasa@iki.fi>
24098 * nscd/nscd.c: Improve usage() output.
24100 2014-01-04 Mike Frysinger <vapier@gentoo.org>
24102 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24103 * sysdeps/unix/sysv/linux/configure: Regenerated.
24104 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24105 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24107 2014-01-03 Joseph Myers <joseph@codesourcery.com>
24110 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24111 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24113 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24115 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24116 extra tokens at end of #undef directive.
24117 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24118 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24119 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24121 2014-01-03 Joseph Myers <joseph@codesourcery.com>
24123 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24125 * math/auto-libm-test-in: Mark various tests with
24126 xfail-rounding:ldbl-128ibm.
24127 * math/auto-libm-test-out: Regenerated.
24129 2014-01-02 Joseph Myers <joseph@codesourcery.com>
24132 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24133 numbers with subnormal high part when calculating exponent.
24136 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24140 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24142 (__ieee754_acoshl): Use __log1pl not __log1p.
24144 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
24146 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24147 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24148 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24149 (grow_heap, heap_trim, _int_new_arena, get_free_list)
24150 (reused_arena, arena_get2): Convert to GNU style.
24151 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24152 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24153 (memalign_check, __malloc_set_state): Likewise.
24154 * malloc/mallocbug.c (main): Likewise.
24155 * malloc/malloc.c (__malloc_assert, malloc_init_state)
24156 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24157 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24158 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24159 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24160 (__posix_memalign, malloc_info): Likewise.
24161 * malloc/malloc.h: Likewise.
24162 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24163 (mallochook, memalignhook, reallochook, mabort): Likewise.
24164 * malloc/mcheck.h: Likewise.
24165 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24166 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24167 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24168 * malloc/morecore.c (__default_morecore): Likewise.
24169 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24170 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24171 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24172 (print_and_abort): Likewise.
24173 * malloc/obstack.h: Likewise.
24174 * malloc/set-freeres.c (__libc_freeres): Likewise.
24175 * malloc/tst-mallocstate.c (main): Likewise.
24176 * malloc/tst-mtrace.c (main): Likewise.
24177 * malloc/tst-realloc.c (do_test): Likewise.
24179 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24182 * nscd/netgroupcache.c (do_notfound): New function.
24183 (addgetnetgrentX): Use it.
24186 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24187 NSS_STATUS_NOTFOUND.
24189 2014-01-01 Joseph Myers <joseph@codesourcery.com>
24191 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24194 2014-01-01 Allan McRae <allan@archlinux.org>
24196 * scripts/update-copyrights: Update configure input file suffix.
24198 * NEWS: Update copyright year.
24199 * catgets/gencat.c: Likewise.
24200 * csu/version.c: Likewise.
24201 * debug/catchsegv.sh: Likewise.
24202 * debug/pcprofiledump.c: Likewise.
24203 * debug/xtrace.sh: Likewise.
24204 * elf/ldconfig.c: Likewise.
24205 * elf/ldd.bash.in: Likewise.
24206 * elf/pldd.c: Likewise.
24207 * elf/sotruss.ksh: Likewise.
24208 * elf/sprof.c: Likewise.
24209 * iconv/iconv_prog.c: Likewise.
24210 * iconv/iconvconfig.c: Likewise.
24211 * locale/programs/locale.c: Likewise.
24212 * locale/programs/localedef.c: Likewise.
24213 * login/programs/pt_chown.c: Likewise.
24214 * malloc/memusage.sh: Likewise.
24215 * malloc/memusagestat.c: Likewise.
24216 * malloc/mtrace.pl: Likewise.
24217 * manual/libc.texinfo: Likewise.
24218 * nscd/nscd.c: Likewise.
24219 * nss/getent.c: Likewise.
24220 * nss/makedb.c: Likewise.
24221 * posix/getconf.c: Likewise.
24222 * scripts/test-installation.pl: Likewise.
24224 * All files with FSF copyright notices: Update copyright dates
24225 using scripts/update-copyrights.
24226 * intl/plural.c: Regenerated.
24227 * locale/programs/charmap-kw.h: Likewise.
24228 * locale/programs/locfile-kw.h: Likewise.
24230 2013-12-31 Mike Frysinger <vapier@gentoo.org>
24232 * sysdeps/unix/sysv/linux/configure: Regenerated.
24233 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24234 the linux/fanotify.h header.
24235 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24236 HAVE_LINUX_FANOTIFY_H is defined.
24238 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24240 * benchtests/cos-inputs: New inputs.
24241 * benchtests/sin-inputs: Likewise.
24243 * benchtests/atan-inputs: New inputs. Fix name of multiple
24244 precision fallback inputs.
24246 * benchtests/atanh-inputs: New inputs.
24247 * benchtests/tanh-inputs: Likewise.
24249 * benchtests/acosh-inputs: New inputs.
24250 * benchtests/asinh-inputs: Likewise.
24252 * benchtests/cosh-inputs: New inputs.
24253 * benchtests/sinh-inputs: Likewise.
24255 * benchtests/acos-inputs: Add more inputs.
24256 * benchtests/asin-inputs: Likewise.
24258 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
24261 * manual/arith.texi: Fix spelling.
24262 * manual/charset.texi: Likewise.
24263 * manual/errno.texi: Likewise.
24264 * manual/filesys.texi: Likewise.
24265 * manual/lang.texi: Likewise.
24266 * manual/llio.texi: Likewise.
24267 * manual/locale.texi: Likewise.
24268 * manual/message.texi: Likewise.
24269 * manual/resource.texi: Likewise.
24270 * manual/search.texi: Likewise.
24271 * manual/setjmp.texi: Likewise.
24272 * manual/stdio.texi: Likewise.
24273 * manual/string.texi: Likewise.
24274 * manual/sysinfo.texi: Likewise.
24275 * manual/time.texi: Likewise.
24277 2013-12-27 Carlos O'Donell <carlos@redhat.com>
24279 * po/sl.po: New file.
24281 2013-12-27 Mike Frysinger <vapier@gentoo.org>
24283 * .gitignore: Add core/.gdbinit/.gdb_history.
24285 2013-12-27 Allan McRae <allan@archlinux.org>
24288 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24289 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24291 2013-12-24 Brooks Moses <bmoses@google.com>
24293 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24294 all compilers that claim C++98 compliance, not just GCC.
24295 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24298 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24300 * NEWS: Restore accidentally deleted bug-fix entries.
24302 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24303 Ondřej Bílka <neleai@seznam.cz>
24306 * malloc/malloc.c (_int_free): Perform sanity check only if we
24309 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
24312 * manual/stdio.texi (String Input Conversions): Clarify that character
24313 classes are not supported.
24315 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24319 2013-12-22 Joseph Myers <joseph@codesourcery.com>
24322 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24323 Calculate results for small negative arguments directly rather
24324 than using reflection formula with special underflow handling.
24326 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24327 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24328 sysdeps/unix/bsd/bsd4.4/syscalls.list.
24329 (fchflags): Likewise.
24330 (revoke): Likewise.
24331 (setlogin): Likewise.
24332 (sigaltstack): Likewise.
24334 (sigblock): Remove.
24335 (sigsetmask): Likewise.
24337 (waitpid): Likewise.
24338 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24339 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24341 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24342 * sysdeps/unix/bsd/Makefile: ... here.
24343 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24344 * sysdeps/unix/bsd/Versions: ... here.
24345 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24346 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24347 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24348 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24349 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24350 * sysdeps/unix/bsd/sigblock.c: ... here.
24351 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24352 * sysdeps/unix/bsd/sigsetmask.c: ... here.
24353 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24354 * sysdeps/unix/bsd/sigvec.c: ... here.
24355 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24356 * sysdeps/unix/bsd/tcdrain.c: ... here.
24357 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24358 * sysdeps/unix/bsd/tcgetattr.c: ... here.
24359 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24360 * sysdeps/unix/bsd/tcsetattr.c: ... here.
24361 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24362 * sysdeps/unix/bsd/wait.c: ... here.
24363 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24364 * sysdeps/unix/bsd/wait3.c: ... here.
24365 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24366 * sysdeps/unix/bsd/waitpid.c: ... here.
24368 2013-12-21 Joseph Myers <joseph@codesourcery.com>
24371 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24372 round-to-nearest for [!USE_AS_EXPM1L].
24373 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24374 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
24375 more tests of exp and exp10. Expect some exp10 tests to miss
24376 exceptions or fail in directed rounding modes.
24377 * math/auto-libm-test-out: Regenerated.
24378 * math/libm-test.inc (exp10_tonearest_test_data): New array.
24379 (exp10_test_tonearest): New function.
24380 (exp10_towardzero_test_data): New array.
24381 (exp10_test_towardzero): New function.
24382 (exp10_downward_test_data): New array.
24383 (exp10_test_downward): New function.
24384 (exp10_upward_test_data): New array.
24385 (exp10_test_upward): New function.
24386 (main): Call the new functions.
24387 * sysdeps/i386/fpu/libm-test-ulps: Update.
24388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24390 2013-12-20 Joseph Myers <joseph@codesourcery.com>
24392 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24393 asinh, atan, atan2, atanh, cbrt, cos and cosh.
24394 * math/auto-libm-test-out: Regenerated.
24395 * math/libm-test.inc (acosh_test_data): Add more tests.
24396 (atanh_test_data): Likewise.
24397 (ceil_test_data): Likewise.
24398 (copysign_test_data): Likewise.
24399 * sysdeps/i386/fpu/libm-test-ulps: Update.
24400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24402 * timezone/checktab.awk: Update from tzcode 2013i.
24403 * timezone/private.h: Likewise.
24404 * timezone/scheck.c: Likewise.
24405 * timezone/tzfile.h: Likewise.
24406 * timezone/tzselect.ksh: Likewise.
24407 * timezone/zdump.c: Likewise.
24408 * timezone/zic.c: Likewise.
24410 * math/auto-libm-test-in: Add tests of cpow.
24411 * math/auto-libm-test-out: Regenerated.
24412 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24413 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24415 (func_calc_desc): Add mpc_cc_c union field.
24416 (test_functions): Add cpow.
24417 (special_fill_2pi): New function.
24418 (special_real_inputs): Add 2pi.
24419 (calc_generic_results): Handle mpc_cc_c.
24420 * sysdeps/i386/fpu/libm-test-ulps: Update.
24421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24423 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24424 csqrt, ctan and ctanh.
24425 * math/auto-libm-test-out: Regenerated.
24426 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24427 (TEST_COND_x86): Likewise.
24428 (ccos_test_data): Use AUTO_TESTS_c_c.
24429 (ccosh_test_data): Likewise.
24430 (cexp_test_data): Likewise.
24431 (clog_test_data): Likewise.
24432 (csqrt_test_data): Likewise.
24433 (ctan_test_data): Likewise.
24434 (ctan_tonearest_test_data): Likewise.
24435 (ctan_towardzero_test_data): Likewise.
24436 (ctan_downward_test_data): Likewise.
24437 (ctan_upward_test_data): Likewise.
24438 (ctanh_test_data): Likewise.
24439 (ctanh_tonearest_test_data): Likewise.
24440 (ctanh_towardzero_test_data): Likewise.
24441 (ctanh_downward_test_data): Likewise.
24442 (ctanh_upward_test_data): Likewise.
24443 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24445 (func_calc_desc): Add mpc_c_c union field.
24446 (FUNC_mpc_c_c): New macro.
24447 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24448 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24450 (special_fill_min_subnorm_p120): New function.
24451 (special_real_inputs): Add min_subnorm_p120.
24452 (calc_generic_results): Handle mpc_c_c.
24453 * sysdeps/i386/fpu/libm-test-ulps: Update.
24454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24456 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24458 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24459 (do_sin_slow): New functions.
24460 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24461 (cslow2, csloww1, csloww2): Use the new functions.
24463 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24464 Use M to change sign of result instead of X. Assume X is
24466 (csloww1): Likewise.
24470 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24471 arguments A and DA.
24475 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24477 (sloww1): Don't adjust sign of DX.
24478 (csloww1): Likewise.
24479 (sloww2): Use X directly and don't adjust sign of DX.
24480 (csloww2): Likewise.
24482 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24484 * math/auto-libm-test-in: Add tests of cabs and carg.
24485 * math/auto-libm-test-out: Regenerated.
24486 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24487 (carg_test_data): Likewise.
24488 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24490 (func_calc_desc): Add mpc_c_f union field.
24491 (test_functions): Add cabs and carg.
24492 (calc_generic_results): Handle mpc_c_f.
24494 * sysdeps/powerpc/powerpc32/libgcc-compat.S
24495 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24496 as a macro and a compat symbol.
24497 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24498 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24499 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24500 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24501 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24502 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24504 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24506 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24508 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24510 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24512 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24514 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24515 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24518 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24522 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24524 * manual/texinfo.tex: Update to version 2013-11-26.10 with
24525 trailing whitespace removed.
24526 * scripts/config.guess: Update to version 2013-11-29.
24527 * scripts/config.sub: Update to version 2013-10-01.
24529 * math/auto-libm-test-in: Add tests of sincos.
24530 * math/auto-libm-test-out: Regenerated.
24531 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24532 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24534 (func_calc_desc): Add mpfr_f_11 union field.
24535 (test_functions): Add sincos.
24536 (calc_generic_results): Handle mpfr_f_11.
24537 * sysdeps/i386/fpu/libm-test-ulps: Update.
24538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24540 2013-12-19 Andreas Schwab <schwab@suse.de>
24542 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24544 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24545 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24546 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24548 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24550 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24551 * sysdeps/i386/fpu/libm-test-ulps: Update.
24552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24555 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24556 round-to-nearest mode when using frndint.
24557 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24558 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24559 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24561 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
24563 * math/auto-libm-test-out: Regenerated.
24564 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24565 (TEST_COND_x86): Likewise.
24566 (expm1_tonearest_test_data): New array.
24567 (expm1_test_tonearest): New function.
24568 (expm1_towardzero_test_data): New array.
24569 (expm1_test_towardzero): New function.
24570 (expm1_downward_test_data): New array.
24571 (expm1_test_downward): New function.
24572 (expm1_upward_test_data): New array.
24573 (expm1_test_upward): New function.
24574 (main): Run the new test functions.
24575 * sysdeps/i386/fpu/libm-test-ulps: Update.
24576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24578 * include/features.h: Update comment documenting feature test
24579 macros. Mention _DEFAULT_SOURCE in comment.
24580 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24581 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24582 _BSD_SOURCE and _SVID_SOURCE.
24583 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24584 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24585 !_SVID_SOURCE]: Likewise.
24586 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24587 (__USE_POSIX_IMPLICITLY): Define.
24588 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24589 (_POSIX_SOURCE): Undefine and redefine.
24590 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24591 (_POSIX_C_SOURCE): Likewise.
24592 * manual/creature.texi (_DEFAULT_SOURCE): Document.
24593 (Feature Test Macros): Update documentation of default features.
24595 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24597 * benchtests/Makefile: Add bench-strtok.
24598 * benchtests/bench-strtok.c: New file: strtok benchtest.
24600 2013-12-19 Allan McRae <allan@archlinux.org>
24602 * manual/install.texi: Suppress menu for plain text output.
24603 * INSTALL: Regenerated.
24605 2013-12-18 Brooks Moses <bmoses@google.com>
24608 * misc/getauxval.c: Include errno.h.
24609 (__getauxval): Set errno to ENOENT if the requested type is not
24611 * misc/sys/auxv.h (getauxval): Document that it may set errno;
24612 don't declare with __attribute_const__.
24613 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24614 * manual/startup.texi: Document that getauxval sets errno.
24616 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24618 * math/auto-libm-test-in: Add tests of jn and yn.
24619 * math/auto-libm-test-out: Regenerated.
24620 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24621 (yn_test_data): Likewise.
24622 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24624 (func_calc_desc): Add mpfr_if_f union field.
24625 (FUNC_mpfr_if_f): New macro.
24626 (test_functions): Add jn and yn.
24627 (calc_generic_results): Assert type of second input for
24628 mpfr_ff_f. Handle mpfr_if_f.
24629 (output_for_one_input_case): Disable all checking for arguments
24630 fitting floating-point types in case of an integer argument.
24631 * sysdeps/i386/fpu/libm-test-ulps: Update.
24632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24635 Don't expect fegetround reference in libm.so.
24637 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24639 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24640 $(config-cflags-nofma).
24642 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24644 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24645 * math/auto-libm-test-out: Regenerated.
24648 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24649 to determine exponent and adjust argument to have exponent of -1.
24650 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24652 * math/auto-libm-test-out: Regenerated.
24653 * sysdeps/i386/fpu/libm-test-ulps: Update.
24654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24656 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
24658 * manual/probes.texi: Remove cases when per-thread arenas are
24661 2013-12-18 Andreas Schwab <schwab@suse.de>
24663 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24664 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24665 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24666 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24667 * sysdeps/i386/i686/multiarch/Makefile: Update.
24668 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24670 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24672 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24673 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24675 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
24678 Support TZ transition times < 00:00:00.
24679 This is needed for version-3 tz-format files; it supports time
24680 stamps past 2037 for America/Godthab (the only entry in the tz
24681 database for which this change is relevant).
24682 * manual/time.texi (TZ Variable): Document transition times
24683 from -167:59:59 through -00:00:01.
24684 * time/tzset.c (tz_rule): Time of day is now signed.
24685 (__tzset_parse_tz): Parse negative time of day.
24687 Document TZ transition times >= 25:00:00.
24688 * manual/time.texi (TZ Variable): Document transition times from
24689 25:00:00 through 167:59:59. These are already supported, and this
24690 support will help with version-3 tz-format files.
24692 * manual/time.texi (TZ Variable): Modernize North America example
24693 to reflect current (i.e., 2007-and-later) daylight saving rules.
24695 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24697 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24699 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24700 * sysdeps/unix/bsd/bits/stat.h: Likewise.
24701 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24702 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24703 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24704 * sysdeps/unix/bsd/bsdstat.h: Likewise.
24705 * sysdeps/unix/bsd/clock.c: Likewise.
24706 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24707 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24708 * sysdeps/unix/bsd/init-posix.c: Likewise.
24709 * sysdeps/unix/bsd/poll.c: Likewise.
24710 * sysdeps/unix/bsd/ptsname.c: Likewise.
24711 * sysdeps/unix/bsd/seekdir.c: Likewise.
24712 * sysdeps/unix/bsd/setegid.c: Likewise.
24713 * sysdeps/unix/bsd/seteuid.c: Likewise.
24714 * sysdeps/unix/bsd/setgid.c: Likewise.
24715 * sysdeps/unix/bsd/setrgid.c: Likewise.
24716 * sysdeps/unix/bsd/setruid.c: Likewise.
24717 * sysdeps/unix/bsd/setsid.c: Likewise.
24718 * sysdeps/unix/bsd/setuid.c: Likewise.
24719 * sysdeps/unix/bsd/sigaction.c: Likewise.
24720 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24721 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24722 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24723 * sysdeps/unix/bsd/telldir.c: Likewise.
24724 * sysdeps/unix/bsd/times.c: Likewise.
24725 * sysdeps/unix/bsd/usleep.c: Likewise.
24727 * misc/Makefile (install-lib): Remove libbsd-compat.a.
24728 ($(objpfx)libbsd-compat.a): Remove rule.
24730 * include/features.h (__FAVOR_BSD): Do not define.
24731 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24732 features conflicting with POSIX.
24733 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24734 (_BSD_SOURCE): Remove description of not being a subset of other
24735 feature test macros.
24736 * manual/job.texi (getpgrp): Do not document BSD version.
24737 (getpgid): Do not document by reference to BSD getpgrp.
24738 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24739 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24740 * signal/signal.h [__FAVOR_BSD]: Likewise.
24741 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24742 instead of making contents conditional on [__FAVOR_BSD].
24743 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24745 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24749 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24752 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24753 values below 2**-450, not 2**-500.
24754 * math/auto-libm-test-in: Don't allow spurious underflow from
24756 * math/auto-libm-test-out: Regenerated.
24760 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24761 values of ha and hb and sort them after adjusting subnormal
24763 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24765 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24766 values of ea and eb and sort them after adjusting subnormal
24768 * math/auto-libm-test-in: Do not expect some hypot tests of
24769 subnormals to fail. Add more hypot tests.
24770 * math/auto-libm-test-out: Regenerated.
24772 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24775 * sysdeps/sh/s_fma.c: New file.
24776 * sysdeps/sh/s_fmaf.c: New file.
24777 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
24779 * sysdeps/sh/Implies: Add sh/soft-fp.
24781 2013-12-16 Roland McGrath <roland@hack.frob.com>
24783 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
24784 level of indirection to members `objname', `errstring', `malloced'.
24785 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24786 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
24787 it as the __longjmp argument (just pass 1 instead).
24788 (_dl_catch_error): Initialize C with argument pointers and address of
24789 volatile local ERRCODE rather than copying values out of C at return.
24791 2013-12-16 Joseph Myers <joseph@codesourcery.com>
24793 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24794 * math/auto-libm-test-out: Regenerated.
24795 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24796 (hypot_test_data): Likewise.
24797 (pow_test_data): Likewise.
24798 (pow_tonearest_test_data): Likewise.
24799 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24801 (func_calc_desc): Add mpfr_ff_f union field.
24802 (FUNC_mpfr_ff_f): New macro.
24803 (test_functions): Add atan2, hypot and pow.
24804 (special_fill_min): New function.
24805 (special_fill_minus_min): Likewise.
24806 (special_fill_min_subnorm): Likewise.
24807 (special_fill_minus_min_subnorm): Likewise.
24808 (special_real_inputs): Add min, -min, min_subnorm and
24810 (calc_generic_results): Handle mpfr_ff_f.
24811 * sysdeps/i386/fpu/libm-test-ulps: Update.
24812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24814 2013-12-16 Will Newton <will.newton@linaro.org>
24816 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24817 (Aligned Memory Blocks): Add documentation for aligned_alloc
24818 and suggest it as an alternative to posix_memalign.
24819 (Hooks for Malloc): Document __memalign_hook is also called
24820 for aligned_alloc. (Summary of Malloc): Add summary for
24821 aligned alloc. Document __memalign_hook is also called
24824 2013-12-16 Will Newton <will.newton@linaro.org>
24826 * manual/memory.texi (Malloc Examples): Clarify default
24827 alignment documentation. Suggest posix_memalign rather
24828 than memalign or valloc.
24829 (Aligned Memory Blocks): Remove suggestion to use memalign
24830 or valloc. Remove obsolete comment about BSD.
24831 Document memalign errno values and mark the function obsolete.
24832 Document posix_memalign returned error codes. Mark valloc
24833 as obsolete. (Hooks for Malloc): __memalign_hook is also
24834 called for posix_memalign and valloc.
24835 (Summary of Malloc): Add posix_memalign to function summary.
24836 __memalign_hook is also called for posix_memalign and valloc.
24838 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24840 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24844 (sloww): Use mynumber union. Expand ternary operator into
24845 if-else statements.
24846 (cslow): use mynumber union.
24848 2013-12-16 Allan McRae <allan@archlinux.org>
24850 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24851 * configure: Regenerated.
24853 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24856 * configure.ac: Added --enable-maintainer-mode. Check for
24857 autoconf when enabled.
24858 * configure: Regenerated.
24860 * nscd/nscd.service: New file.
24861 * nscd/nscd.tmpfiles: New file.
24863 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
24866 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24867 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24868 * sysdeps/x86_64/multiarch/strstr.c: ... here.
24869 (strstr): Add __strstr_sse2_unaligned ifunc.
24870 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24871 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24872 (strcasestr): Remove __strcasestr_sse42 ifunc.
24873 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24874 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24877 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24879 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24880 * sysdeps/sh/bits/fenv.h: ... here.
24881 * sysdeps/sh/sh4/fpu/bits: Remove directory.
24883 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24885 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24888 hypotf multiarch implementations.
24889 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24890 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24891 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24892 multiarch hypot for PPC64.
24893 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24894 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24895 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24896 multiarch hypotf for PPC64.
24898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24899 modff multiarch implementations.
24900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24903 multiarch modf for PPC64.
24904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24907 multiarch modff for PPC64.
24909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24910 and logl multiarch implementations.
24911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24914 multiarch logb for PPC64.
24915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24918 multiarch logb for PPC64.
24919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24922 multiarch logb for PPC64.
24924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24925 isinff multiarch implementation.
24926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24930 multiarch isinf for PPC64.
24931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24934 multiarch isinff for PPC64.
24936 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24937 finitef multiarch implementation.
24938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24942 multiarch finite for PPC64.
24943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24946 multiarch finitef for PPC64.
24948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24949 lrint multiarch implementation.
24950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24954 multiarch llrint for PPC64.
24955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24956 multiarch lrint for PPC64.
24958 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24959 copysignf multiarch implementation.
24960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24965 multiarch copysign for PPC64.
24966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24967 multiarch copysignf for PPC64.
24969 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24970 multiarch implementation.
24971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24979 multiarch llround for PPC64.
24980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24981 multiarch trunc for PPC64.
24982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24983 multiarch truncf for PPC64.
24985 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24986 multiarch implementation.
24987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24995 multiarch llround for PPC64.
24996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24997 multiarch round for PPC64.
24998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24999 multiarch roundf for PPC64.
25001 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25002 multiarch implementation.
25003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25011 multiarch llround for PPC64.
25012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25013 multiarch floor for PPC64.
25014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25015 multiarch floorf for PPC64.
25017 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25018 multiarch implementation.
25019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25027 multiarch llround for PPC64.
25028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25029 multiarch ceil for PPC64.
25030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25031 multiarch ceilf for PPC64.
25033 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25034 multiarch implementation.
25035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25042 multiarch llround for PPC64.
25043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25044 multiarch lround for PPC64.
25046 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25047 multiarch implementation.
25048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25055 multiarch isnan for PPC64.
25056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25057 multiarch isnanf for PPC64.
25059 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25060 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25061 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25062 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25063 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25066 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25067 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25068 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25069 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25071 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25072 multiarch implementations.
25073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25074 (__libc_ifunc_impl_list): Likewise.
25075 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25076 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25077 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25078 multiarch stpcpy for PPC64.
25080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25081 multiarch implementations.
25082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25083 (__libc_ifunc_impl_list): Likewise.
25084 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25085 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25086 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25087 multiarch strcpy for PPC64.
25089 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25090 redefine function name.
25091 (_wordcopy_fwd_dest_aligned): Likewise.
25092 (_wordcopy_bwd_aligned): Likewise.
25093 (_wordcopy_bwd_dest_aligned): Likewise.
25094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25095 multiarch implementations.
25096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25097 (__libc_ifunc_impl_list): Likewise.
25098 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25099 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25100 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25101 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25102 multiarch wcscpy for PPC64.
25104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25105 multiarch implementations.
25106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25107 (__libc_ifunc_impl_list): Likewise.
25108 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25109 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25110 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25111 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25112 multiarch wcscpy for PPC64.
25114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25115 multiarch implementations.
25116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25117 (__libc_ifunc_impl_list): Likewise.
25118 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25119 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25120 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25121 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25122 multiarch wcsrchr for PPC64.
25124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25125 multiarch implementations.
25126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25127 (__libc_ifunc_impl_list): Likewise.
25128 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25129 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25130 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25131 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25132 multiarch wcschr for PPC64.
25134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25135 multiarch implementations.
25136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25137 (__libc_ifunc_impl_list): Likewise.
25138 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25139 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25140 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25141 multiarch strchrnul for PPC64.
25143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25146 (__libc_ifunc_impl_list): Likewise.
25147 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25148 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25149 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25150 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25153 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25156 (__libc_ifunc_impl_list): Likewise.
25157 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25158 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25159 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25160 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25163 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25164 multiarch implementations.
25165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25166 (__libc_ifunc_impl_list): Likewise.
25167 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25168 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25169 strncasecmp for PPC64.
25170 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25171 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25172 multiarch strncasecmp_l for PPC64.
25174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25175 multiarch implementations.
25176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25177 (__libc_ifunc_impl_list): Likewise.
25178 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25179 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25180 multiarch strcasecmp for PPC64.
25181 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25183 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25184 multiarch strcasecmp_l for PPC64.
25186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25189 (__libc_ifunc_impl_list): Likewise.
25190 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25191 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25192 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25198 (__libc_ifunc_impl_list): Likewise.
25199 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25200 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25201 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25207 (__libc_ifunc_impl_list): Likewise.
25208 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25209 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25210 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25211 rawmemrchr for PPC64.
25213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25216 (__libc_ifunc_impl_list): Likewise.
25217 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25218 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25219 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25225 (__libc_ifunc_impl_list): Likewise.
25226 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25227 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25228 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25234 (__libc_ifunc_impl_list): Likewise.
25235 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25236 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25237 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25240 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25241 avoid cretion of __bzero symbol.
25242 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25244 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25246 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25248 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25249 multiarch implementations.
25250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25251 (__libc_ifunc_impl_list): Likewise.
25252 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25253 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25254 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25255 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25257 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25258 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25259 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25260 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25261 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25263 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25265 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25269 (__libc_ifunc_impl_list): Likewise.
25270 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25271 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25272 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25273 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25277 multiarch for POWER/PPC64.
25278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25279 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25280 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25281 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25282 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25283 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25284 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25285 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25286 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25289 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25290 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25291 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25292 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25293 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25294 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25295 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25296 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25297 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25298 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25299 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25300 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25301 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25302 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25303 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25312 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25314 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25316 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25318 * benchtests/Makefile (bench): Add exp2 and log2.
25319 (LDLIBS-bench-exp2): Add -lm.
25320 (LDLIBS-bench-log2): Likewise.
25321 * benchtests/exp2-inputs: New inputs file.
25322 * benchtests/log2-inputs: New inputs file.
25323 * benchtests/log-inputs: Add new inputs.
25324 * benchtests/tan-inputs: Likewise.
25326 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25328 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25330 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25331 (csloww2): ... from here.
25333 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25334 instead of structures.
25335 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25336 (POLYNOMIAL): Likewise.
25337 (TAYLOR_SLOW): Likewise.
25343 (sloww1); Likewise.
25344 (sloww2): Likewise.
25345 (bsloww1): Likewise.
25346 (bsloww2): Likewise.
25347 (cslow2): Likewise.
25348 (csloww): Likewise.
25349 (csloww1): Likewise.
25350 (csloww2): Likewise.
25352 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
25354 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25355 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25356 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25357 * malloc/hooks.c (realloc_check): Likewise.
25359 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25360 * malloc/arena.c: Remove PER_THREAD conditional.
25361 [!PER_THREAD]: Remove code.
25362 (ptmalloc_unlock_all2): Likewise.
25363 (ptmalloc_init): Likewise.
25364 (_int_new_arena): Likewise.
25365 (arena_get2): Likewise.
25366 * malloc/hooks.c (__malloc_get_state): Likewise.
25367 (__malloc_set_state): Likewise.
25368 * malloc/malloc.c: Likewise.
25369 (struct malloc_state): Likewise.
25370 (struct malloc_par): Likewise.
25371 (__libc_realloc): Likewise.
25372 (__libc_mallopt): Likewise.
25374 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25376 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25378 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
25380 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25381 macro to a function. Check for zero perturb_byte.
25382 (_int_malloc, _int_free): Remove zero perturb_byte checks.
25384 * malloc/malloc.c: (force_reg): Remove.
25385 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25386 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25387 force_reg by atomic_forced_read.
25388 * malloc/arena.c (ptmalloc_init): Likewise.
25389 * malloc/hooks.c (top_check): Likewise.
25391 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25395 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
25397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25399 2013-12-08 Joseph Myers <joseph@codesourcery.com>
25401 * math/auto-libm-test-in: Add tests of lgamma.
25402 * math/auto-libm-test-out: Regenerated.
25403 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25404 (M_LOG_2_SQRT_PIl): Likewise.
25405 (lgamma_test_data): Use AUTO_TESTS_f_f1.
25406 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25408 (func_calc_desc): Add mpfr_f_f1 union field.
25409 (ARGS1): New macro.
25417 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25418 (test_functions): Add lgamma.
25419 (calc_generic_results): Handle mpfr_f_f1.
25420 * sysdeps/i386/fpu/libm-test-ulps: Update.
25421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25423 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25425 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25426 __mpn_add_n for PowerPC64/POWER7.
25427 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25428 __mpn_sub_n for PowerPC64/POWER7.
25430 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25431 __mpn_addmul_1 for PowerPC64.
25432 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25433 __mpn_submul_1 for PowerPC64.
25434 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25436 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25439 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
25442 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25444 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25446 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25448 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25449 add multiarch folders.
25450 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25451 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25452 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25453 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25454 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25455 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25456 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25457 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25458 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25459 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25460 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25469 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25475 multiarch __ieee754_hypot for PowerPC32.
25476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25481 multiarch __ieee754_hypotf for PowerPC32.
25483 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25484 long_double_symbol only if __logbl is defined.
25485 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25486 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25487 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25488 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25489 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25490 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25491 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25492 path for implementation.
25493 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25494 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25496 logb, and logbl multiarch implementations for PowerPC32.
25497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25502 multiarch logb for PowerPC32.
25503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25508 multiarch logbf for PowerPC32.
25509 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25513 multiarch logbl implementation for PowerPC32.
25515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25516 and modff multiarch implementations.
25517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25522 multiarch modf for PowerPC32.
25523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25528 multiarch modff for PowerPC32.
25530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25531 and lrintf multiarch implementations.
25532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25537 multiarch lrint for PowerPC32.
25538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25539 file: multiarch lrintf for PowerPC32.
25541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25542 and lroundf multiarch implementations.
25543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25550 multiarch lround for PowerPC32.
25551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25552 file: multiarch lroundf for PowerPC32.
25554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25555 copysign and copysignf multiarch implementations.
25556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25561 file: multiarch copysign for PowerPC32.
25562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25563 file: multiarch copysignf for PowerPC32.
25565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25566 and truncf multiarch implementations.
25567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25572 multiarch trunc for PowerPC32.
25573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25578 multiarch truncf for PowerPC32.
25580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25581 and roundf multiarch implementations.
25582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25587 multiarch round for PowerPC32.
25588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25593 multiarch roundf for PowerPC32.
25595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25596 and floorf multiarch implementations.
25597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25602 multiarch floor for PowerPC32.
25603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25608 multiarch floorf for PowerPC32.
25610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25611 and ceilf multiarch implementations.
25612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25617 multiarch ceil for PowerPC32.
25618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25623 multiarch ceilf for PowerPC32.
25625 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25627 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25628 FINITEF is defined.
25629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25630 and finitef multiarch implementations.
25631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25636 multiarch finite for PowerPC32.
25637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25640 file: multiarch finitef for PowerPC32.
25642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25643 and isinff multiarch implementations.
25644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25649 multiarch isinf for PowerPC32.
25650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25653 multiarch isinff for PowerPC32.
25655 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25656 alias when __isnan is defined.
25657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25658 and isnanf multiarch implementations.
25659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25668 multiarch isnan for PowerPC32.
25669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25674 multiarch isnanf for PowerPC32.
25676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25677 and sqrtf multiarch implementations.
25678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25683 multiarch sqrt for PowerPC32.
25684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25689 multiarch sqrtf for PowerPC32.
25691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25692 and llroundf multiarch implementations.
25693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25700 file: multiarch llround for PowerPC32.
25701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25702 file: multiarch llroundf for PowerPC32.
25704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25705 multiarch PowerPC32 fpu implementations.
25706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25711 multiarch llrint for PowerPC32.
25712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25721 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25723 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25725 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25727 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25728 multiarch wordcopy for PPC32.
25729 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25731 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25732 (__libc_ifunc_impl_list): Likewise.
25733 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25734 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25735 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25736 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25737 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25738 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25740 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25741 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25743 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25745 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25747 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25748 multiarch wcscpy for PPC32.
25749 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25751 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25752 (__libc_ifunc_impl_list): Likewise.
25753 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25754 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25755 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25756 sysdeps/powerpc/power6/wcscpy.c.
25758 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25759 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25761 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25763 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25765 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25766 multiarch wcsrchr for PPC32.
25767 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25769 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25770 (__libc_ifunc_impl_list): Likewise.
25771 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25772 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25773 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25774 sysdeps/powerpc/power6/wcsrchr.c.
25776 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25778 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25780 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25781 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25782 multiarch wcschr for PPc32.
25783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25786 (__libc_ifunc_impl_list): Likewise.
25787 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25788 * sysdeps/powerpc/power6/wcschr.c: ... to here.
25789 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25790 sysdeps/powerpc/power6/wcschr.c.
25792 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25793 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25795 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25796 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25797 file: multiarch strchr for PPC32.
25798 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25800 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25801 (__libc_ifunc_impl_list): Likewise.
25803 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25805 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25807 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25809 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25810 multiarch strchrnul for PPC32.
25811 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25813 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25814 (__libc_ifunc_impl_list): Likewise.
25816 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25818 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25819 multiarch strncasecmp for PPC32.
25820 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25822 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25823 multiarch strncasecmp_l for PPC32.
25824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25825 strncasecmp multiarch objects.
25826 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25827 (__libc_ifunc_impl_list): Likewise.
25829 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25831 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25832 multiarch strncasecmp for PPC32.
25833 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25835 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25836 multiarch strcasecmp_l for PPC32.
25837 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25839 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25840 (__libc_ifunc_impl_list): Likewise.
25842 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25844 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25846 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25847 multiarch strncmp for PPC32.
25848 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25850 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25851 (__libc_ifunc_impl_list): Likewise.
25853 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25854 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25856 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25857 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25858 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25860 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25861 (__libc_ifunc_impl_list): Likewise.
25863 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25865 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25867 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25871 (__libc_ifunc_impl_list): Likewise.
25873 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25875 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25877 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25878 multiarch rawmemchr for PPC32.
25879 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25881 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25882 (__libc_ifunc_impl_list): Likewise.
25884 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25886 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25888 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25889 file: memrchr multiarch for PPC32.
25890 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25892 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25893 (__libc_ifunc_impl_list): Likewise.
25895 * string/memchr.c (__memchr): Using macro to redefine symbol name.
25896 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25898 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25899 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25900 multiarch memchr for PPC32.
25901 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25904 (__libc_ifunc_impl_list): Likewise.
25906 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25907 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25909 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25911 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25912 file: multiarch mempcpy for PPC32.
25913 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25915 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25916 (__libc_ifunc_impl_list): Likewise.
25918 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25919 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25920 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25921 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25922 multiarch bzero for PPC32.
25923 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25925 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25927 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25928 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25929 file: multiarch memset for PPC32.
25930 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25931 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25932 memset multiarch objects.
25933 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25934 (__libc_ifunc_impl_list): Likewise.
25936 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25938 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25939 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25941 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25944 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25945 (__libc_ifunc_impl_list): Likewise.
25947 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25948 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25949 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25951 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25953 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25955 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25956 multiarch memcpy for PPC32.
25957 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25959 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25960 (__libc_ifunc_impl_list): Likewise.
25962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25963 support multiarch for POWER/PPC32.
25964 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25966 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25968 Implies file to make multiarch folder appers before the fpu and
25969 default folder for power4 configuration.
25971 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25973 * scripts/bench.pl: Append volatile keyword to type.
25975 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25977 * sysdeps/sh/sotruss-lib.c: New file.
25978 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25980 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25984 2013-12-05 Joseph Myers <joseph@codesourcery.com>
25987 * math/w_tgamma.c: Include <errno.h>.
25988 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
25989 * math/w_tgammaf.c: Include <errno.h>.
25990 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
25991 * math/w_tgammal.c: Include <errno.h>.
25992 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
25993 * math/auto-libm-test-in: Do not allow missing errno on tgamma
25994 underflow. Add more tgamma tests.
25995 * math/auto-libm-test-out: Regenerated.
25996 * sysdeps/i386/fpu/libm-test-ulps: Update.
25997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25999 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26000 sin, sinh, tan, tanh, tgamma, y0 and y1.
26001 * math/auto-libm-test-out: Regenerated.
26002 * math/libm-test.inc (TEST_COND_x86_64): New macro.
26003 (TEST_COND_x86): Likewise.
26004 (M_E2l): Remove macro.
26006 (M_2_SQRT_PIl): Likewise.
26007 (M_SQRT_PIl): Likewise.
26008 (M_1_DIV_El): Likewise.
26009 (log_test_data): Use AUTO_TESTS_f_f.
26010 (log10_test_data): Likewise.
26011 (log1p_test_data): Likewise.
26012 (log2_test_data): Likewise.
26013 (sin_test_data): Likewise.
26014 (sin_tonearest_test_data): Likewise.
26015 (sin_towardzero_test_data): Likewise.
26016 (sin_downward_test_data): Likewise.
26017 (sin_upward_test_data): Likewise.
26018 (sinh_test_data): Likewise.
26019 (sinh_tonearest_test_data): Likewise.
26020 (sinh_towardzero_test_data): Likewise.
26021 (sinh_downward_test_data): Likewise.
26022 (sinh_upward_test_data): Likewise.
26023 (tan_test_data): Likewise.
26024 (tan_tonearest_test_data): Likewise.
26025 (tan_towardzero_test_data): Likewise.
26026 (tan_downward_test_data): Likewise.
26027 (tan_upward_test_data): Likewise.
26028 (tanh_test_data): Likewise.
26029 (tgamma_test_data): Likewise.
26030 (y0_test_data): Likewise.
26031 (y1_test_data): Likewise.
26032 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26033 (special_real_inputs): Add pi/4.
26034 * sysdeps/i386/fpu/libm-test-ulps: Update.
26035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26037 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26039 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26040 "longjmp_target" static probes.
26041 (__longjmp): Rename to __longjmp_symbol.
26042 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26043 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26044 on which longjmp to generate.
26045 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26046 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26048 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26049 (__sigjmp_save): Rename to __sigjmp_save_symbol.
26050 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26051 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26052 and __sigjmp_save_symbol based on which sigsetjmp to generated.
26053 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26055 __longjmp_symbol based on which __longjmp to generate.
26056 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26058 (setjmp): Rename to setjmp_symbol.
26059 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26060 (_setjmp): Rename to _setjmp_symbol.
26061 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26062 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26063 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26064 which setjmp to generate.
26065 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26066 "longjmp_target" static probes.
26068 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26070 * benchtests/README: Add note about output arguments.
26071 * benchtests/bench-sincos.c: Remove file.
26072 * benchtests/sincos-inputs: New file.
26073 * scripts/bench.pl: Identify output arguments and define
26074 static variables for them.
26076 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26079 * Makefile (INSTALL): Add install-plain.texi as the primary
26081 * manual/install-plain.texi: New file.
26082 * manual/install.texi: Include node directive only for
26083 non-plaintext output.
26085 2013-12-04 Joseph Myers <joseph@codesourcery.com>
26087 * stdlib/longlong.h: Update from GCC.
26091 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26092 * math/w_j0f.c (y0f): Likewise.
26093 * math/w_j0l.c (__y0l): Likewise.
26094 * math/w_j1.c (y1): Likewise.
26095 * math/w_j1f.c (y1f): Likewise.
26096 * math/w_j1l.c (__y1l): Likewise
26097 * math/w_jn.c (yn): Likewise.
26098 * math/w_jnf.c (ynf): Likewise.
26099 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26100 Bessel function pole errors in _POSIX_ mode. Use NAN as return
26101 value for Bessel function domain errors outside _SVID_ mode.
26102 Adjust sign of return value for yn (negative integer, 0).
26103 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26104 by zero in return for negative x and set sign appropriately for
26106 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26107 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26108 * math/libm-test.inc (y0_test_data): Add more tests and adjust
26109 expectations in error cases.
26110 (y1_test_data): Likewise.
26111 (yn_test_data): Likewise.
26112 * sysdeps/i386/fpu/libm-test-ulps: Update.
26113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26115 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26117 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26118 "64" to "64-v1". Add "64-v2".
26119 (abi-64-options): Rename to ...
26120 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
26121 (abi-64-condition): Rename to ...
26122 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
26123 (abi-64-ld-soname): Rename to ...
26124 (abi-64-v1-ld-soname): ... this.
26125 (abi-64-v2-options): Define.
26126 (abi-64-v2-condition): Likewise.
26127 (abi-64-v2-ld-soname): Likewise.
26128 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26129 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26134 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26135 Alan Modra <amodra@gmail.com>
26137 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26138 New versions for use with the ELFv2 ABI.
26139 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26140 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26142 (struct La_ppc64v2_retval): Likewise.
26143 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26144 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26145 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26146 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26147 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26148 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26149 Do not save or restore CR.
26150 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26151 (_dl_profile_resolve): Do no save or restore CR. Support extended
26152 return values for ELFv2 ABI. Fix location of FPR return registers.
26153 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26154 updated values for _CALL_ELF == 2.
26155 (La_regs, La_retval, int_retval): Likewise.
26157 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26159 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26160 (FRAME_MIN_SIZE_PARM): Likewise.
26161 (FRAME_BACKCHAIN): Likewise.
26162 (FRAME_CR_SAVE): Likewise.
26163 (FRAME_LR_SAVE): Likewise.
26164 (FRAME_TOC_SAVE): Likewise.
26165 (FRAME_PARM_SAVE): Likewise.
26166 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26167 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26168 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26169 (call_mcount_parm_offset): New macro.
26170 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26171 (PROF): Use symbolic stack frame offsets.
26172 (TAIL_CALL_SYSCALL_ERROR): Likewise.
26173 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26174 Redefine in terms of FRAME_MIN_SIZE.
26175 (_dl_runtime_resolve): Use symbolic stack frame offsets.
26176 (_dl_profile_resolve): Likewise. Update comment.
26177 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26178 symbols stack frame offsets.
26179 (__sigsetjmp): Likewise.
26180 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26181 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26182 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26183 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26186 (FRAME_BACKCHAIN): Remove.
26187 (FRAME_CR_SAVE): Likewise.
26188 (FRAME_LR_SAVE): Likewise.
26189 (FRAME_COMPILER_DW): Likewise.
26190 (FRAME_LINKER_DW): Likewise.
26191 (FRAME_TOC_SAVE): Likewise.
26192 (FRAME_PARM_SAVE): Likewise.
26193 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26194 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26195 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26197 (CHECK_SP): Use symbolic stack frame offsets.
26198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26199 zone" instead of caller's parameter save area for temp storage.
26200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26201 Likewise. Also, use symbolic stack frame offsets.
26202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26203 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26204 our own stack frame instead of the caller's.
26205 (__socket): Use symbolic stack frame offsets.
26207 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26208 Alan Modra <amodra@gmail.com>
26210 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26212 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26213 (PPC64_LOCAL_ENTRY_OFFSET): Define.
26214 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26216 (elf_machine_fixup_plt): Call it.
26217 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
26219 (elf_machine_rela): Update call to elf_machine_plt_conflict.
26220 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26221 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26222 r2 before calling target.
26224 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26225 Alan Modra <amodra@gmail.com>
26227 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26228 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26229 versions of macros to support ELFv2 ABI.
26230 (LOCALENTRY): New macro.
26231 (ENTRY, EALIGN): Use it.
26232 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26233 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26234 fall through into ENTRY entry point.
26235 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26236 Only define if _CALL_ELF != 2.
26238 (elf_machine_matches_host): Verify ABI version matches.
26239 (RTLD_START): Use LOCALENTRY.
26240 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26241 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26242 (PLT_ENTRY_WORDS): New macro.
26243 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26244 (elf_machine_runtime_setup): Support ELFv2 ABI.
26245 (elf_machine_fixup_plt): Likewise.
26246 (elf_machine_plt_conflict): Likewise.
26247 (resolve_ifunc): Likewise.
26248 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26249 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26252 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26254 (makecontext): Support ELFv2 ABI.
26255 * elf/elf.h (EF_PPC64_ABI): Define.
26257 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26259 * sysdeps/powerpc/powerpc64/sysdep.h
26260 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26261 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26262 (ENTRY) [ASSEMBLER]: ... but instead here ...
26263 (EALIGN) [ASSEMBLER]: ... and here.
26264 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26265 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26266 (ENTRY_2) [!ASSEMBLER]: Use it.
26267 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26268 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
26269 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26270 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26271 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26273 Use PPC64_LOAD_FUNCPTR.
26275 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26277 2013-12-04 Alan Modra <amodra@gmail.com>
26279 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26280 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26281 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26282 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26284 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26285 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26286 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26287 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26288 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26289 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26291 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26294 (__makecontext): Fix incorrect CFI when backtracing out of
26295 context created via makecontext.
26296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26297 (__setcontext): Fix incorrect CFI during switch to new context.
26298 (__novec_setcontext): Likewise.
26300 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26303 * time/strptime_l.c (__strptime_internal): Allow modifiers
26305 * time/tst-strptime.c (day_tests): Add testcase.
26307 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26309 * scripts/bench.pl: Skip over blank lines.
26311 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
26314 * manual/time.texi (Calendar Time): Clarify what timezone functions
26317 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26321 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26323 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26325 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26326 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26327 * debug/memset_chk.c (__memset_chk): Likewise.
26328 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26329 * debug/strncpy_chk.c: Likewise.
26331 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26335 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26336 (__ieee754_exp): For possibly underflowing results, check size of
26337 result and force underflow exception if required.
26338 * math/auto-libm-test-in: Add more tests of exp.
26339 * math/auto-libm-test-out: Regenerated.
26340 * sysdeps/i386/fpu/libm-test-ulps: Update.
26341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26344 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26345 * math/w_exp2f.c (__exp2f): Likewise.
26346 * math/w_exp2l.c (__exp2l): Likewise.
26347 * math/auto-libm-test-in: Do not allow missing errno on exp2
26349 * math/auto-libm-test-out: Regenerated.
26351 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
26354 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26355 handle filename validation.
26356 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26359 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26362 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26363 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26364 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26366 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26367 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26368 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26369 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26370 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26371 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26372 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26373 * math/auto-libm-test-in: Don't allow missing errno from erfc.
26374 Add more erfc tests.
26375 * math/auto-libm-test-out: Regenerated.
26376 * sysdeps/i386/fpu/libm-test-ulps: Update.
26377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26379 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26380 exp2, expm1, j0 and j1.
26381 * math/auto-libm-test-out: Regenerated.
26382 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26383 (erfc_test_data): Likewise.
26384 (exp_test_data): Likewise.
26385 (exp_tonearest_test_data): Likewise.
26386 (exp_towardzero_test_data): Likewise.
26387 (exp_downward_test_data): Likewise.
26388 (exp_upward_test_data): Likewise.
26389 (exp10_test_data): Likewise.
26390 (exp2_test_data): Likewise.
26391 (expm1_test_data): Likewise.
26392 (j0_test_data): Likewise.
26393 (j1_test_data): Likewise.
26394 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26395 (input_flag_type): Add flag_xfail_rounding.
26396 (input_flags): Add xfail-rounding.
26397 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26398 (output_for_one_input_case): Handle flag_xfail_rounding.
26399 * sysdeps/i386/fpu/libm-test-ulps: Update.
26400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26402 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
26405 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26408 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26411 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26412 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26413 (STAP_PROBE0): New macro.
26414 (STAP_PROBE1): Likewise.
26415 (STAP_PROBE2): Likewise.
26416 (STAP_PROBE3): Likewise.
26417 (STAP_PROBE4): Likewise.
26419 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
26421 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26423 2013-12-02 Steve Ellcey <sellcey@mips.com>
26425 * benchtests/Makefile (bench): Add sqrt.
26426 (LDLIBS-bench-sqrt): New.
26427 * benchtests/sqrt-input: New.
26429 2013-12-02 Pavel Simerda <psimerda@redhat.com>
26431 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26432 (GAIH_EAI): Likewise.
26433 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26434 (gaih_inet): Likewise.
26435 (getaddrinfo): Don't use GAIH_EAI.
26437 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26438 (struct gaih): Remove definition.
26440 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26442 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26443 Use HERRNOP directly.
26445 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26449 2013-11-30 Joseph Myers <joseph@codesourcery.com>
26451 * math/gen-auto-libm-tests.c (test_functions): Add more
26452 single-argument functions.
26453 (special_fill_pi_2): New function.
26454 (special_fill_minus_pi_2): Likewise.
26455 (special_fill_pi_6): Likewise.
26456 (special_fill_minus_pi_6): Likewise.
26457 (special_fill_pi_3): Likewise.
26458 (special_fill_2pi_3): Likewise.
26459 (special_fill_e): Likewise.
26460 (special_fill_1_e): Likewise.
26461 (special_fill_e_minus_1): Likewise.
26462 (special_real_inputs): Add more special inputs.
26463 (output_for_one_input_case): Do not require ERANGE on underflow to
26464 zero if round-to-nearest result does not underflow to zero, unless
26465 exact results required.
26466 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26467 atan, atanh, cbrt, cos and cosh.
26468 * math/auto-libm-test-out: Regenerated.
26469 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26470 (acos_tonearest_test_data): Likewise.
26471 (acos_towardzero_test_data): Likewise.
26472 (acos_downward_test_data): Likewise.
26473 (acos_upward_test_data): Likewise.
26474 (acosh_test_data): Likewise.
26475 (asin_test_data): Likewise.
26476 (asin_tonearest_test_data): Likewise.
26477 (asin_towardzero_test_data): Likewise.
26478 (asin_upward_test_data): Likewise.
26479 (asinh_test_data): Likewise.
26480 (atan_test_data): Likewise.
26481 (atanh_test_data): Likewise.
26482 (cbrt_test_data): Likewise.
26483 (cos_test_data): Likewise.
26484 (cos_tonearest_test_data): Likewise.
26485 (cos_towardzero_test_data): Likewise.
26486 (cos_downward_test_data): Likewise.
26487 (cos_upward_test_data): Likewise.
26488 (cosh_test_data): Likewise.
26489 (cosh_tonearest_test_data): Likewise.
26490 (cosh_towardzero_test_data): Likewise.
26491 (cosh_downward_test_data): Likewise.
26492 (cosh_upward_test_data): Likewise.
26493 * sysdeps/i386/fpu/libm-test-ulps: Update.
26494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26496 2013-11-29 Joseph Myers <joseph@codesourcery.com>
26499 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26500 * math/w_exp10f.c (__exp10f): Likewise.
26501 * math/w_exp10l.c (__exp10l): Likewise.
26502 * math/libm-test.inc (exp10_test_data): Add more tests and expect
26503 errno settings in existing tests.
26506 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26507 precision control set to double precision.
26508 * sysdeps/i386/fpu/w_sqrt.c: New file.
26509 * math/auto-libm-test-in: Add more tests.
26510 * math/auto-libm-test-out: Update.
26512 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26513 (sqrt_test_tonearest): New function.
26514 (sqrt_towardzero_test_data): New variable.
26515 (sqrt_test_towardzero): New function.
26516 (sqrt_downward_test_data): New variable.
26517 (sqrt_test_downward): New function.
26518 (sqrt_upward_test_data): New variable.
26519 (sqrt_test_upward): New function.
26520 (main): Call the new functions.
26522 * math/gen-auto-libm-tests.c: New file.
26523 * math/auto-libm-test-in: Likewise.
26524 * math/auto-libm-test-out: New generated file.
26525 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26527 (%beautify): Add generated representations of zero.
26528 (top level): Set $auto_input and call parse_auto_input.
26529 (beautify): Remove trailing "f" from hex float constants.
26530 (parse_args): Handle XFAIL_TEST.
26531 (convert_condition): New function.
26532 (or_value): Likewise.
26533 (or_cond_value): Likewise.
26534 (generate_testfile): Handle AUTO_TESTS_* lines.
26535 (parse_auto_input): New function.
26536 * math/libm-test.inc (XFAIL_TEST): New macro.
26537 (ERRNO_UNCHANGED): Update value.
26538 (ERRNO_EDOM): Likewise.
26539 (ERRNO_ERANGE): Likewise.
26540 (IGNORE_RESULT): Likewise.
26541 (TEST_COND_flt_32): New macro.
26542 (TEST_COND_dbl_64): Likewise.
26543 (TEST_COND_ldbl_96_intel): Likewise.
26544 (TEST_COND_ldbl_96_m68k): Likewise.
26545 (TEST_COND_ldbl_128): Likewise.
26546 (TEST_COND_ldbl_128ibm): Likewise.
26547 (TEST_COND_long32): Likewise.
26548 (TEST_COND_long64): Likewise.
26549 (TEST_COND_before_rounding): Likewise.
26550 (TEST_COND_after_rounding): Likewise.
26551 (enable_test): Handle XFAIL_TEST flag.
26552 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26553 with finite results.
26554 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26555 auto-libm-test-out.
26557 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26558 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26561 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26562 __tls_get_addr_internal instead of __tls_get_offset in order to
26563 avoid GOT pointer dependency. Make rtld export
26564 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26565 __tls_get_addr since we are a __tls_get_offset platform.
26566 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26567 GOT pointer being set up before.
26568 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26570 2013-11-28 Joseph Myers <joseph@codesourcery.com>
26572 * manual/math.texi (Errors in Math Functions): Document accuracy
26576 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26577 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26578 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26579 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26580 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26581 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26582 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26583 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26584 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26585 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26586 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26587 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26588 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26589 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26590 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26591 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26593 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26594 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26595 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26596 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26597 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26599 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26601 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26603 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26604 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26605 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26606 atomic-feupdateenv and flt-rounds.
26607 * sysdeps/powerpc/nofpu/Versions (libc): Add
26608 __atomic_feholdexcept, __atomic_feclearexcept,
26609 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26610 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26611 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26612 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26613 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26618 * manual/arith.texi (FP Exceptions): Document that exceptions may
26619 not be raised when matherr is used.
26620 (Math Error Reporting): Document overflow in directed rounding
26621 modes. Document that errno may not be set when finite values are
26622 returned on overflow. Document intent to set errno on underflow
26623 only for underflow to zero.
26626 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26627 round-to-nearest then adjust result for other rounding modes.
26628 * include/fenv.h (fegetround): Use libm_hidden_proto.
26629 * math/fegetround.c (fegetround): Use libm_hidden_def.
26630 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26631 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26632 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26633 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26635 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26636 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26637 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26638 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26640 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26643 * nss/Versions (libnss_files): Add
26644 _nss_files_gethostbyname3_r.
26645 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26647 (HOST_DB_LOOKUP): Remove macro.
26648 (_nss_files_gethostbyname_r): Implement function without the
26649 HOST_DB_LOOKUP macro.
26650 (_nss_files_gethostbyname2_r): Likewise.
26652 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
26654 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26656 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
26658 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26659 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26662 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26664 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26665 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26666 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26667 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26668 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26669 __fe_nomask_env_priv and attribute_hidden.
26670 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26671 (libc_feupdateenv_test_ppc): Likewise.
26672 (libc_feresetround_ppc): Likewise.
26673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26674 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26675 compat_symbol macro.
26676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26677 (__fe_nomask_env): Likewise.
26678 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26680 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26682 * string/Makefile: Remove ifunc tests.
26683 * string/test-string.h: Define TEST_IFUNC.
26684 * string/test-bcopy-ifunc.c: Remove.
26685 * string/test-bzero-ifunc.c: Likewise.
26686 * string/test-memccpy-ifunc.c: Likewise.
26687 * string/test-memchr-ifunc.c: Likewise.
26688 * string/test-memcmp-ifunc.c: Likewise.
26689 * string/test-memcpy-ifunc.c: Likewise.
26690 * string/test-memmem-ifunc.c: Likewise.
26691 * string/test-memmove-ifunc.c: Likewise.
26692 * string/test-mempcpy-ifunc.c: Likewise.
26693 * string/test-memrchr-ifunc.c: Likewise.
26694 * string/test-memset-ifunc.c: Likewise.
26695 * string/test-rawmemchr-ifunc.c: Likewise.
26696 * string/test-stpcpy-ifunc.c: Likewise.
26697 * string/test-stpncpy-ifunc.c: Likewise.
26698 * string/test-strcasecmp-ifunc.c: Likewise.
26699 * string/test-strcasestr-ifunc.c: Likewise.
26700 * string/test-strcat-ifunc.c: Likewise.
26701 * string/test-strchr-ifunc.c: Likewise.
26702 * string/test-strchrnul-ifunc.c: Likewise.
26703 * string/test-strcmp-ifunc.c: Likewise.
26704 * string/test-strcpy-ifunc.c: Likewise.
26705 * string/test-strcspn-ifunc.c: Likewise.
26706 * string/test-strlen-ifunc.c: Likewise.
26707 * string/test-strncasecmp-ifunc.c: Likewise.
26708 * string/test-strncat-ifunc.c: Likewise.
26709 * string/test-strncmp-ifunc.c: Likewise.
26710 * string/test-strncpy-ifunc.c: Likewise.
26711 * string/test-strnlen-ifunc.c: Likewise.
26712 * string/test-strpbrk-ifunc.c: Likewise.
26713 * string/test-strrchr-ifunc.c: Likewise.
26714 * string/test-strspn-ifunc.c: Likewise.
26715 * string/test-strstr-ifunc.c: Likewise.
26717 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26719 * benchtests/Makefile: Remove ifunc tests.
26720 * benchtests/bench-string.h: Define TEST_IFUNC.
26721 * benchtests/bench-bcopy-ifunc.c: Remove.
26722 * benchtests/bench-bzero-ifunc.c: Likewise.
26723 * benchtests/bench-memccpy-ifunc.c: Likewise.
26724 * benchtests/bench-memchr-ifunc.c: Likewise.
26725 * benchtests/bench-memcmp-ifunc.c: Likewise.
26726 * benchtests/bench-memcpy-ifunc.c: Likewise.
26727 * benchtests/bench-memmem-ifunc.c: Likewise.
26728 * benchtests/bench-memmove-ifunc.c: Likewise.
26729 * benchtests/bench-mempcpy-ifunc.c: Likewise.
26730 * benchtests/bench-memrchr-ifunc.c: Likewise.
26731 * benchtests/bench-memset-ifunc.c: Likewise.
26732 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26733 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26734 * benchtests/bench-stpcpy-ifunc.c: Likewise.
26735 * benchtests/bench-stpncpy-ifunc.c: Likewise.
26736 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26737 * benchtests/bench-strcasestr-ifunc.c: Likewise.
26738 * benchtests/bench-strcat-ifunc.c: Likewise.
26739 * benchtests/bench-strchr-ifunc.c: Likewise.
26740 * benchtests/bench-strchrnul-ifunc.c: Likewise.
26741 * benchtests/bench-strcmp-ifunc.c: Likewise.
26742 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26743 * benchtests/bench-strcpy-ifunc.c: Likewise.
26744 * benchtests/bench-strcspn-ifunc.c: Likewise.
26745 * benchtests/bench-strlen-ifunc.c: Likewise.
26746 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26747 * benchtests/bench-strncat-ifunc.c: Likewise.
26748 * benchtests/bench-strncmp-ifunc.c: Likewise.
26749 * benchtests/bench-strncpy-ifunc.c: Likewise.
26750 * benchtests/bench-strnlen-ifunc.c: Likewise.
26751 * benchtests/bench-strpbrk-ifunc.c: Likewise.
26752 * benchtests/bench-strrchr-ifunc.c: Likewise.
26753 * benchtests/bench-strsep-ifunc.c: Likewise.
26754 * benchtests/bench-strspn-ifunc.c: Likewise.
26755 * benchtests/bench-strstr-ifunc.c: Likewise.
26757 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26759 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26761 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26763 * resolv/netdb.h: Use __glibc_reserved instead __unused.
26764 * rt/aio.h: Likewise.
26765 * sysdeps/gnu/bits/utmp.h: Likewise.
26766 * sysdeps/gnu/bits/utmpx.h: Likewise.
26767 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26768 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26769 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26770 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26771 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26772 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26773 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26774 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26775 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26776 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26777 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26778 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26779 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26781 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26782 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26783 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26784 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26785 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26786 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26787 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26788 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26789 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26790 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26791 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26792 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26793 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26794 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26795 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26796 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26797 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26798 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26799 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26800 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26801 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26802 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26803 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26804 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26805 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26806 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26807 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26808 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26810 2013-11-25 Carlos O'Donell <carlos@redhat.com>
26813 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26814 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26816 2013-11-25 Joseph Myers <joseph@codesourcery.com>
26818 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26819 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26822 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26824 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26825 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26826 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26827 (__fesetround): Remove define.
26828 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26829 rounding and exceptions handling.
26830 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26831 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26832 (__fe_nomask_env): Likewise.
26833 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26834 __fegetround instead of fegetround.
26835 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26836 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26838 2013-11-21 Roland McGrath <roland@hack.frob.com>
26840 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26843 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26845 2013-11-21 Meador Inge <meadori@codesourcery.com>
26848 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26849 (encrypt_r): Likewise.
26850 * malloc/obstack.h (obstack_free): Likewise.
26851 * posix/unistd.h (encrypt): Likewise.
26853 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
26855 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26856 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26857 DL_CALL_DT_FINI() that call the functions directly.
26858 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26859 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26860 * elf/dl-fini.c: Likewise.
26862 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
26864 * malloc/hooks.c (memalign_check): Add alignment rounding.
26865 * malloc/malloc.c (_mid_memalign): New function.
26866 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26867 Implement by calling _mid_memalign.
26868 * manual/probes.texi (Memory Allocation Probes): Remove
26869 memory_valloc_retry and memory_pvalloc_retry.
26871 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26873 * locale/programs/locarchive.c (open_archive): Add const
26874 qualifier to ARCHIVEFNAME and copy default fname to
26878 * libio/tst-widetext.input: Rename Oriya to Odia.
26879 * locale/iso-639.def: Likewise.
26881 * manual/probes.texi (Mathematical Function Probes): Add
26882 documentation for sin, cos, asin and acos probes.
26883 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26884 (__sin32): Add slowasin probe.
26885 (__cos32): Add slowacos probe.
26886 (__mpsin): Add slowsin probe.
26887 (__mpcos): Add slowcos probe.
26889 2013-11-19 Joseph Myers <joseph@codesourcery.com>
26892 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26893 thread-local __sim_exceptions_thread and global
26894 __sim_exceptions_global.
26895 (__sim_disabled_exceptions): Change to thread-local
26896 __sim_disabled_exceptions_thread and global
26897 __sim_disabled_exceptions_global.
26898 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26899 and global __sim_round_mode_global.
26900 (__simulate_exceptions): Use thread-local floating-point state and
26901 set global state from it as needed.
26902 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26903 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26904 __sim_round_mode_thread.
26905 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26906 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26907 and global __sim_exceptions_global.
26908 (__sim_disabled_exceptions): Change to thread-local
26909 __sim_disabled_exceptions_thread and global
26910 __sim_disabled_exceptions_global.
26911 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26912 and global __sim_round_mode_global.
26913 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26914 (SIM_SET_GLOBAL): Likewise.
26915 * sysdeps/powerpc/soft-fp/sfp-machine.h
26916 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26917 __sim_round_mode_thread.
26918 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26919 __sim_disabled_exceptions_thread.
26920 (__sim_exceptions): Change to __sim_exceptions_thread.
26921 (__sim_disabled_exceptions): Change to
26922 __sim_disabled_exceptions_thread.
26923 (__sim_round_mode): Change to __sim_round_mode_thread.
26924 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26925 thread-local floating-point state and set global state from it as
26927 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26928 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26929 (__sim_disabled_exceptions): Remove extern declaration.
26930 (feenableexcept): Use thread-local floating-point state and set
26931 global state from it as needed.
26932 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26933 extern declaration.
26934 (__sim_disabled_exceptions): Likewise.
26935 (__sim_round_mode): Likewise.
26936 (__fegetenv): Use thread-local floating-point state.
26937 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26938 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26939 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26940 floating-point state and set global state from it as needed.
26941 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26942 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26943 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26945 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26946 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26948 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26949 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26950 Use __sim_round_mode_thread.
26951 * math/test-fenv-tls.c: New file.
26952 * math/Makefile (tests): Add test-fenv-tls.
26953 ($(objpfx)test-fenv-tls): Depend on
26954 $(common-objpfx)nptl/libpthread.so.
26956 2013-11-19 Andreas Schwab <schwab@suse.de>
26958 * locale/programs/locale.c (show_info): Decode wordarray elements.
26959 * locale/categories.def (LC_MONETARY): Add element for
26960 _NL_MONETARY_CRNCYSTR.
26961 * locale/C-monetary.c (conversion_rate): New variable.
26962 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26965 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
26967 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26968 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26970 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26972 * elf/Makefile (tst-auxv): New test.
26973 * elf/tst-auxv.c: New
26974 * elf/rtld.c (dl_main): Adjust AT_EXECFN
26976 2013-11-18 Joseph Myers <joseph@codesourcery.com>
26978 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26979 (hidden_proto): Caller changed.
26980 (hidden_tls_proto): New macro.
26981 (libc_hidden_tls_proto): Likewise.
26982 (rtld_hidden_tls_proto): Likewise.
26983 (libm_hidden_tls_proto): Likewise.
26984 (libresolv_hidden_tls_proto): Likewise.
26985 (librt_hidden_tls_proto): Likewise.
26986 (libdl_hidden_tls_proto): Likewise.
26987 (libnss_files_hidden_tls_proto): Likewise.
26988 (libnsl_hidden_tls_proto): Likewise.
26989 (libnss_nisplus_hidden_tls_proto): Likewise.
26990 (libutil_hidden_tls_proto): Likewise.
26992 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
26995 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26996 (decompose_rpath): Defer expansion to fillin_rpath.
26997 (_dl_init_paths): Pass linkmap to fillin_rpath.
26999 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27001 * benchtests/Makefile: Add strsep.
27002 * benchtests/bench-strsep.c: New file: strsep benchtest.
27003 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27005 2013-11-18 Andreas Schwab <schwab@suse.de>
27007 * locale/programs/locale.c (show_info) [case byte]: Check for
27008 '\377' instead of '\177'.
27009 * locale/C-monetary.c (not_available): Always use "\377".
27010 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27011 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
27012 detect unavailable sign_posn locale elements.
27013 * locale/localeconv.c (__localeconv): For grouping and
27014 mon_grouping handle "\177" and "\377" like no grouping.
27015 (INT_ELEM): New macro. Use it to set all numeric members.
27016 * locale/programs/ld-monetary.c (monetary_read)
27017 <tok_mon_grouping>: Normalize single -1 to the empty string.
27018 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27021 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
27024 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27025 when we match (nil).
27026 * stdio-common/tst-sscanf.c (struct test): Add testcase.
27028 2013-11-16 Joseph Myers <joseph@codesourcery.com>
27030 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27031 (NO_TEST_INLINE): Update value.
27032 (ERRNO_UNCHANGED): Likewise.
27033 (ERRNO_EDOM): Likewise.
27034 (ERRNO_ERANGE): Likewise.
27035 (IGNORE_RESULT): Likewise.
27036 (check_float_internal): Check signs of NaN results if
27037 TEST_NAN_SIGN used.
27038 (check_complex): Pass TEST_NAN_SIGN flag through to second
27039 check_float_internal call.
27040 (copysign_test_data): Add tests with quiet NaNs as second
27041 argument. Use TEST_NAN_SIGN.
27042 (fabs_test_data): Add test of negative quiet NaN argument. Use
27044 (signbit_test_data): Add tests of quiet NaN argument.
27045 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27047 * math/gen-libm-test.pl (show_exceptions): Take extra argument
27049 (parse_args): Handle function results specified as IGNORE.
27050 * math/libm-test.inc (IGNORE_RESULT): New macro.
27051 (check_float_internal): Do not check numerical result if flag
27053 (check_complex): Pass through IGNORE_RESULT to second
27054 check_float_internal call.
27055 (check_int): Do not check numerical result if flag IGNORE_RESULT
27057 (check_long): Likewise.
27058 (check_bool): Likewise.
27059 (check_longlong): Likewise.
27060 (lrint_test_data): Add tests of infinite and NaN arguments.
27061 (lrint_tonearest_test_data): Likewise.
27062 (lrint_towardzero_test_data): Likewise.
27063 (lrint_downward_test_data): Likewise.
27064 (lrint_upward_test_data): Likewise.
27065 (llrint_test_data): Likewise.
27066 (llrint_tonearest_test_data): Likewise.
27067 (llrint_towardzero_test_data): Likewise.
27068 (llrint_downward_test_data): Likewise.
27069 (llrint_upward_test_data): Likewise.
27070 (lround_test_data): Likewise.
27071 (llround_test_data): Likewise.
27073 * math/libm-test.inc (NO_TEST_INLINE): New macro.
27074 (ERRNO_UNCHANGED): Update value.
27075 (ERRNO_EDOM): Likewise.
27076 (ERRNO_ERANGE): Likewise.
27077 (NO_TEST_INLINE_FLOAT): New macro.
27078 (NO_TEST_INLINE_DOUBLE): Likewise.
27079 (enable_test): New function.
27080 (RUN_TEST_f_f): Check enable_test before running test.
27081 (RUN_TEST_2_f): Likewise.
27082 (RUN_TEST_fff_f): Likewise.
27083 (RUN_TEST_c_f): Likewise.
27084 (RUN_TEST_f_f1): Likewise.
27085 (RUN_TEST_fF_f1): Likewise.
27086 (RUN_TEST_fI_f1): Likewise.
27087 (RUN_TEST_ffI_f1): Likewise.
27088 (RUN_TEST_c_c): Likewise.
27089 (RUN_TEST_cc_c): Likewise.
27090 (RUN_TEST_f_i): Likewise.
27091 (RUN_TEST_f_i_tg): Likewise.
27092 (RUN_TEST_ff_i_tg): Likewise.
27093 (RUN_TEST_f_b): Likewise.
27094 (RUN_TEST_f_b_tg): Likewise.
27095 (RUN_TEST_f_l): Likewise.
27096 (RUN_TEST_f_L): Likewise.
27097 (RUN_TEST_fFF_11): Likewise.
27098 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27100 (cosh_test_data): Likewise.
27101 (exp_test_data): Likewise.
27102 (expm1_test_data): Likewise.
27103 (hypot_test_data): Likewise.
27104 (pow_test_data): Likewise.
27105 (sinh_test_data): Likewise.
27106 (tanh_test_data): Likewise.
27107 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27110 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27111 tests with quiet NaN input and output.
27112 (acosh_test_data): Likewise.
27113 (asin_test_data): Likewise.
27114 (asinh_test_data): Likewise.
27115 (atan_test_data): Likewise.
27116 (atanh_test_data): Likewise.
27117 (atan2_test_data): Likewise.
27118 (cbrt_test_data): Likewise.
27119 (cos_test_data): Likewise.
27120 (cosh_test_data): Likewise.
27121 (erf_test_data): Likewise.
27122 (erfc_test_data): Likewise.
27123 (exp_test_data): Likewise.
27124 (exp10_test_data): Likewise.
27125 (exp2_test_data): Likewise.
27126 (expm1_test_data): Likewise.
27127 (hypot_test_data): Likewise.
27128 (j0_test_data): Likewise.
27129 (j1_test_data): Likewise.
27130 (jn_test_data): Likewise.
27131 (lgamma_test_data): Likewise.
27132 (log_test_data): Likewise.
27133 (log10_test_data): Likewise.
27134 (log1p_test_data): Likewise.
27135 (log2_test_data): Likewise.
27136 (pow_test_data): Likewise.
27137 (scalb_test_data): Likewise.
27138 (sin_test_data): Likewise.
27139 (sincos_test_data): Likewise.
27140 (sinh_test_data): Likewise.
27141 (tan_test_data): Likewise.
27142 (tanh_test_data): Likewise.
27143 (tgamma_test_data): Likewise.
27144 (y0_test_data): Likewise.
27145 (y1_test_data): Likewise.
27146 (yn_test_data): Likewise.
27149 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27150 argument being NaN and avoid computations with second argument in
27152 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27153 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27154 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27156 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
27158 * locale/iso-639.def: Add Chitwani Tharu (the).
27160 2013-11-14 Andreas Schwab <schwab@suse.de>
27162 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27163 word instead of empty string.
27165 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27168 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27170 (__fe_nomask_env): Likewise.
27172 2013-11-13 Steve Ellcey <sellcey@mips.com>
27174 * benchtests/bench-timing.h: Include time.h.
27176 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
27179 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27181 * sysdeps/unix/sysv/linux/configure: Regenerated.
27183 2013-11-13 Joseph Myers <joseph@codesourcery.com>
27186 * stdlib/strtod_l.c (round_and_return): Do not consider
27187 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27188 exponent one less than half the least subnormal exponent.
27189 * stdlib/test-strtod-round-data: Add more tests.
27190 * stdlib/tst-strtod-round.c (tests): Regenerated.
27192 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27195 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27196 (__fe_mask_env): Likewise.
27197 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27198 libm_hidden_proto and add function prototype.
27199 (__fe_mask_env): Add function prototype.
27200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27201 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27203 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27205 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27207 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27209 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27210 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27212 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27214 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27215 of htab_find_slot().
27217 2013-11-11 David S. Miller <davem@davemloft.net>
27220 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27221 symbol in the non-vis3 case in static builds.
27222 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27223 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27224 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27225 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27227 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
27230 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27233 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27235 * benchtests/Makefile: Add bench-strtod.
27236 * benchtests/bench-strtod.c: New file: strtod benchtest
27238 2013-11-11 Andreas Schwab <schwab@suse.de>
27241 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27242 terminating NUL in key length.
27244 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27246 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27247 Add artificial ODP entry for vDSO symbol for PPC64.
27248 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27249 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27251 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
27254 * nss/getent.c (services_keys): Recognize services starting with digit.
27256 2013-11-06 David S. Miller <davem@davemloft.net>
27259 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27260 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27262 2013-11-06 Will Newton <will.newton@linaro.org>
27264 * manual/memory.texi (Malloc Examples): Remove register
27265 keyword from examples.
27267 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
27269 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27271 2013-11-04 Joseph Myers <joseph@codesourcery.com>
27274 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27275 depending on [__GCC_IEC_559 > 0].
27276 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27277 depending on [__GCC_IEC_559_COMPLEX > 0].
27279 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
27281 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27284 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
27286 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27288 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
27291 * malloc/malloc (malloc_info): Do not handle first bin as
27294 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
27296 * locale/iso-639.def: Add Central Nahuatl (nhn).
27298 2013-11-01 Bruno Haible <bruno@clisp.org>
27301 * manual/math.texi (BSD Random): Specify range upper bound as
27304 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
27306 * locale/iso-639.def: Add Meadow Mari (mhr).
27308 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
27310 [BZ #14752], [BZ #15763]
27311 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27313 * rt/tst_shm.c: Add test for escaping directory.
27315 2013-10-31 Andreas Schwab <schwab@suse.de>
27318 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27319 followed by 'x' as part of digit sequence.
27320 * stdio-common/tst-sscanf.c (double_tests2): New tests.
27322 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27325 * configure.ac: allow GNU Make 4.0 and greater.
27326 * configure: Regenerated.
27328 2013-10-30 Will Newton <will.newton@linaro.org>
27331 * malloc/hooks.c (memalign_check): Limit alignment to the
27332 maximum representable power of two.
27333 * malloc/malloc.c (__libc_memalign): Likewise.
27334 * malloc/tst-memalign.c (do_test): Add test for very
27335 large alignment values.
27336 * malloc/tst-posix_memalign.c (do_test): Likewise.
27338 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27341 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27342 (munmap_chunk): Likewise.
27343 (mremap_chunk): Likewise.
27345 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27348 * stdlib/div.c (div): Remove obsolete code.
27349 * stdlib/ldiv.c (ldiv): Likewise.
27350 * stdlib/lldiv.c (lldiv): Likewise.
27352 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27355 * nss/nss_files/files-XXX.c (get_contents_ret): New
27357 (get_contents): New function.
27358 (internal_getent): Use it. Expand size of LINEBUFLEN.
27360 2013-10-30 Mike Frysinger <vapier@gentoo.org>
27362 * configure.in: Moved to ...
27363 * configure.ac: ... here. Change reference to configure.in
27365 * sysdeps/arm/preconfigure.ac: ... here.
27366 configure.in to configure.ac.
27367 * sysdeps/gnu/configure.in: Moved to ...
27368 * sysdeps/gnu/configure.ac: ... here.
27369 * sysdeps/i386/configure.in: Moved to ...
27370 * sysdeps/i386/configure.ac: ... here.
27371 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27372 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27373 * sysdeps/mach/configure.in: Moved to ...
27374 * sysdeps/mach/configure.ac: ... here.
27375 * sysdeps/mach/hurd/configure.in: Moved to ...
27376 * sysdeps/mach/hurd/configure.ac: ... here.
27377 * sysdeps/powerpc/configure.in: Moved to ...
27378 * sysdeps/powerpc/configure.ac: ... here.
27379 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27380 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27381 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27382 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27383 * sysdeps/s390/s390-32/configure.in: Moved to ...
27384 * sysdeps/s390/s390-32/configure.ac: ... here.
27385 * sysdeps/s390/s390-64/configure.in: Moved to ...
27386 * sysdeps/s390/s390-64/configure.ac: ... here.
27387 * sysdeps/sh/configure.in: Moved to ...
27388 * sysdeps/sh/configure.ac: ... here.
27389 * sysdeps/sparc/configure.in: Moved to ...
27390 * sysdeps/sparc/configure.ac: ... here.
27391 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27392 * sysdeps/unix/sysv/linux/configure.ac: ... here.
27393 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27394 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27395 * sysdeps/x86_64/configure.in: Moved to ...
27396 * sysdeps/x86_64/configure.ac: ... here.
27397 * sysdeps/x86_64/preconfigure.in: Moved to ...
27398 * sysdeps/x86_64/preconfigure.ac: ... here.
27399 * aclocal.m4: Change reference to configure.in to configure.ac.
27400 * config.h.in: Likewise.
27401 * manual/install.texi: Likewise.
27402 * manual/maint.texi: Likewise.
27403 * Makefile: Likewise.
27404 * malloc/Makefile: Likewise.
27405 * nscd/Makefile: Likewise.
27406 * Makeconfig: Change reference to configure.in and
27407 preconfigure.in to configure.ac and preconfigure.ac
27409 * INSTALL: Regenerated.
27410 * configure: Likewise.
27411 * sysdeps/gnu/configure: Likewise.
27412 * sysdeps/i386/configure: Likewise.
27413 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27414 * sysdeps/mach/configure: Likewise.
27415 * sysdeps/mach/hurd/configure: Likewise.
27416 * sysdeps/powerpc/configure: Likewise.
27417 * sysdeps/powerpc/powerpc32/configure: Likewise.
27418 * sysdeps/powerpc/powerpc64/configure: Likewise.
27419 * sysdeps/s390/s390-32/configure: Likewise.
27420 * sysdeps/s390/s390-64/configure: Likewise.
27421 * sysdeps/sh/configure: Likewise.
27422 * sysdeps/sparc/configure: Likewise.
27423 * sysdeps/unix/sysv/linux/configure: Likewise.
27424 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27425 * sysdeps/x86_64/configure: Likewise.
27426 * sysdeps/x86_64/preconfigure: Likewise.
27428 2013-10-29 Andreas Schwab <schwab@suse.de>
27430 * stdio-common/Makefile (tst-swscanf-ENV): Define.
27432 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27434 * benchtests/pow-inputs: Add new inputs.
27436 * benchtests/exp-inputs: Add new inputs.
27438 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27439 conditional check for return value.
27440 (__cos32): Likewise.
27442 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27444 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27445 to provide a boost for large inputs with word alignment.
27446 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27447 implementation based on optimized PPC64 strcpy.
27448 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27449 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27450 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27451 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27453 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27456 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27458 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27461 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27462 * time/tst-strptime.c (day_tests): Add testcase.
27464 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27467 * manual/pattern.texi: Acknowledge that fnmatch can fail.
27469 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
27472 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27473 MAP_FAILED on error.
27475 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27478 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27479 heap for large requests.
27481 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
27484 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27485 result if the result has no associated interface.
27486 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27487 interface for all 127.X.Y.Z addresses.
27489 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
27491 * locale/iso-639.def: Add Ligurian (lij)
27493 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
27496 * sunrpc/rpc_main.c: Document rpcgen -5.
27498 2013-10-19 Michael Stahl <mstahl@redhat.com>
27500 * elf/rtld.c (do_preload): Print the reason why preloading failed.
27502 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27505 * posix/glob.c: Match only directories when trailing slash is present.
27506 * posix/tst-gnuglob.c (my_opendir): Do not open files.
27507 (main): Add testcase.
27509 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27512 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27514 2013-10-18 Carlos O'Donell <carlos@redhat.com>
27516 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27517 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27518 AUTH_DES and cindex for FIPS 140-2.
27519 (DES Encryption): Add cindex FIPS 46-3.
27521 * locale/locarchive.h (struct locarhandle): Add fname.
27522 * locale/programs/localedef.c (main): Pass ARGV[remaining]
27523 if an optional argument was specified to --list-archive,
27525 * locale/programs/locarchive.c (show_archive_content): Take new
27526 argument fname and pass it via ah.fname to open_archive.
27527 * locale/programs/localedef.h: Update decl.
27528 (open_archive): If AH->fname is non-null, open that file
27529 rather than the default file name, and don't ignore ENOENT.
27530 (create_archive): Set AH.fname to NULL.
27531 (delete_locales_from_archive): Likewise.
27532 (add_locales_to_archive): Likewise.
27533 * locale/programs/locfile.c (write_all_categories): Likewise.
27535 2013-10-18 Joseph Myers <joseph@codesourcery.com>
27536 Aldy Hernandez <aldyh@redhat.com>
27538 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27539 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27540 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27541 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27542 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27543 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27544 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27545 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27546 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27547 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27548 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27549 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27550 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27551 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27552 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27554 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27556 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27558 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27560 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27561 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27563 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27564 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27565 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27566 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27568 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27569 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27570 * sysdeps/powerpc/preconfigure: Likewise.
27571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27573 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27574 Replace contents of file by #include of <fenv_libc.h>.
27575 * sysdeps/powerpc/soft-fp/sfp-machine.h
27576 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27578 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27579 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27580 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27581 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27582 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27583 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27584 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27585 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27586 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27587 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27588 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27589 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27591 Allow copysignl PLT reference to be missing.
27593 2013-10-18 Richard Sandiford <richard@codesourcery.com>
27594 Joseph Myers <joseph@codesourcery.com
27597 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27599 (add_to_tablewc): Assert sequence of wide characters is nonempty.
27601 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27603 * elf/tst-tls-dlinfo.c: Don't include tls.h.
27604 * elf/tst-tls1.c: Likewise.
27605 * elf/tst-tls10.h: Likewise.
27606 * elf/tst-tls14.c: Likewise.
27607 * elf/tst-tls2.c: Likewise.
27608 * elf/tst-tls3.c: Likewise.
27609 * elf/tst-tls4.c: Likewise.
27610 * elf/tst-tls5.c: Likewise.
27611 * elf/tst-tls6.c: Likewise.
27612 * elf/tst-tls7.c: Likewise.
27613 * elf/tst-tls8.c: Likewise.
27614 * elf/tst-tls9.c: Likewise.
27615 * elf/tst-tlsmod1.c: Likewise.
27616 * elf/tst-tlsmod13.c: Likewise.
27617 * elf/tst-tlsmod13a.c: Likewise.
27618 * elf/tst-tlsmod14a.c: Likewise.
27619 * elf/tst-tlsmod16a.c: Likewise.
27620 * elf/tst-tlsmod16b.c: Likewise.
27621 * elf/tst-tlsmod2.c: Likewise.
27622 * elf/tst-tlsmod3.c: Likewise.
27623 * elf/tst-tlsmod4.c: Likewise.
27624 * elf/tst-tlsmod5.c: Likewise.
27625 * elf/tst-tlsmod6.c: Likewise.
27627 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
27630 * malloc/malloc.c: remove checks for statistics.
27632 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27635 * inet/inet_net.c (inet_network): Detect additional invalid strings.
27636 * inet/tst-network.c: Add testcase.
27638 2013-10-17 Andreas Schwab <schwab@suse.de>
27641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27642 to determine canonical name.
27644 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27646 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27647 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27648 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27649 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27650 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27651 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27652 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27653 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27654 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27655 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27656 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27657 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27658 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27659 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27660 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27661 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27662 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27663 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27664 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27665 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27666 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27667 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27668 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27669 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27670 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27671 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27672 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27673 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27674 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27675 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27676 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27677 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27678 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27679 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27680 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27681 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27682 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27683 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27684 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27685 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27686 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27687 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27688 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27689 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27690 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27691 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27692 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27693 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27694 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27695 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27696 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27697 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27698 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27699 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27700 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27701 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27702 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27703 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27705 2013-10-17 Joseph Myers <joseph@codesourcery.com>
27708 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27709 make result into a quiet NaN.
27711 2013-10-16 Joseph Myers <joseph@codesourcery.com>
27713 * soft-fp/adddf3.c: Fix horizontal whitespace.
27714 * soft-fp/addsf3.c: Likewise.
27715 * soft-fp/addtf3.c: Likewise.
27716 * soft-fp/divdf3.c: Likewise.
27717 * soft-fp/divsf3.c: Likewise.
27718 * soft-fp/divtf3.c: Likewise.
27719 * soft-fp/double.h: Likewise.
27720 * soft-fp/eqdf2.c: Likewise.
27721 * soft-fp/eqsf2.c: Likewise.
27722 * soft-fp/eqtf2.c: Likewise.
27723 * soft-fp/extenddftf2.c: Likewise.
27724 * soft-fp/extended.h: Likewise.
27725 * soft-fp/extendsfdf2.c: Likewise.
27726 * soft-fp/extendsftf2.c: Likewise.
27727 * soft-fp/extendxftf2.c: Likewise.
27728 * soft-fp/fixdfdi.c: Likewise.
27729 * soft-fp/fixdfsi.c: Likewise.
27730 * soft-fp/fixdfti.c: Likewise.
27731 * soft-fp/fixsfdi.c: Likewise.
27732 * soft-fp/fixsfsi.c: Likewise.
27733 * soft-fp/fixsfti.c: Likewise.
27734 * soft-fp/fixtfdi.c: Likewise.
27735 * soft-fp/fixtfsi.c: Likewise.
27736 * soft-fp/fixtfti.c: Likewise.
27737 * soft-fp/fixunsdfdi.c: Likewise.
27738 * soft-fp/fixunsdfsi.c: Likewise.
27739 * soft-fp/fixunsdfti.c: Likewise.
27740 * soft-fp/fixunssfdi.c: Likewise.
27741 * soft-fp/fixunssfsi.c: Likewise.
27742 * soft-fp/fixunssfti.c: Likewise.
27743 * soft-fp/fixunstfdi.c: Likewise.
27744 * soft-fp/fixunstfsi.c: Likewise.
27745 * soft-fp/fixunstfti.c: Likewise.
27746 * soft-fp/floatdidf.c: Likewise.
27747 * soft-fp/floatdisf.c: Likewise.
27748 * soft-fp/floatditf.c: Likewise.
27749 * soft-fp/floatsidf.c: Likewise.
27750 * soft-fp/floatsisf.c: Likewise.
27751 * soft-fp/floatsitf.c: Likewise.
27752 * soft-fp/floattidf.c: Likewise.
27753 * soft-fp/floattisf.c: Likewise.
27754 * soft-fp/floattitf.c: Likewise.
27755 * soft-fp/floatundidf.c: Likewise.
27756 * soft-fp/floatundisf.c: Likewise.
27757 * soft-fp/floatunditf.c: Likewise.
27758 * soft-fp/floatunsidf.c: Likewise.
27759 * soft-fp/floatunsisf.c: Likewise.
27760 * soft-fp/floatunsitf.c: Likewise.
27761 * soft-fp/floatuntidf.c: Likewise.
27762 * soft-fp/floatuntisf.c: Likewise.
27763 * soft-fp/floatuntitf.c: Likewise.
27764 * soft-fp/fmadf4.c: Likewise.
27765 * soft-fp/fmasf4.c: Likewise.
27766 * soft-fp/fmatf4.c: Likewise.
27767 * soft-fp/gedf2.c: Likewise.
27768 * soft-fp/gesf2.c: Likewise.
27769 * soft-fp/getf2.c: Likewise.
27770 * soft-fp/ledf2.c: Likewise.
27771 * soft-fp/lesf2.c: Likewise.
27772 * soft-fp/letf2.c: Likewise.
27773 * soft-fp/muldf3.c: Likewise.
27774 * soft-fp/mulsf3.c: Likewise.
27775 * soft-fp/multf3.c: Likewise.
27776 * soft-fp/negdf2.c: Likewise.
27777 * soft-fp/negsf2.c: Likewise.
27778 * soft-fp/negtf2.c: Likewise.
27779 * soft-fp/op-1.h: Likewise.
27780 * soft-fp/op-2.h: Likewise.
27781 * soft-fp/op-4.h: Likewise.
27782 * soft-fp/op-8.h: Likewise.
27783 * soft-fp/op-common.h: Likewise.
27784 * soft-fp/quad.h: Likewise.
27785 * soft-fp/single.h: Likewise.
27786 * soft-fp/soft-fp.h: Likewise.
27787 * soft-fp/sqrtdf2.c: Likewise.
27788 * soft-fp/sqrtsf2.c: Likewise.
27789 * soft-fp/sqrttf2.c: Likewise.
27790 * soft-fp/subdf3.c: Likewise.
27791 * soft-fp/subsf3.c: Likewise.
27792 * soft-fp/subtf3.c: Likewise.
27793 * soft-fp/truncdfsf2.c: Likewise.
27794 * soft-fp/trunctfdf2.c: Likewise.
27795 * soft-fp/trunctfsf2.c: Likewise.
27796 * soft-fp/trunctfxf2.c: Likewise.
27797 * soft-fp/unorddf2.c: Likewise.
27798 * soft-fp/unordsf2.c: Likewise.
27799 * soft-fp/unordtf2.c: Likewise.
27801 2013-10-15 Joseph Myers <joseph@codesourcery.com>
27803 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27804 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27806 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
27808 * elf/dl-libc.c: Clear initfini list after freeing.
27810 2013-10-14 Joseph Myers <joseph@codesourcery.com>
27812 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27813 * soft-fp/addsf3.c: Likewise.
27814 * soft-fp/addtf3.c: Likewise.
27815 * soft-fp/divdf3.c: Likewise.
27816 * soft-fp/divsf3.c: Likewise.
27817 * soft-fp/divtf3.c: Likewise.
27818 * soft-fp/double.h: Likewise.
27819 * soft-fp/eqdf2.c: Likewise.
27820 * soft-fp/eqsf2.c: Likewise.
27821 * soft-fp/eqtf2.c: Likewise.
27822 * soft-fp/extenddftf2.c: Likewise.
27823 * soft-fp/extended.h: Likewise.
27824 * soft-fp/extendsfdf2.c: Likewise.
27825 * soft-fp/extendsftf2.c: Likewise.
27826 * soft-fp/extendxftf2.c: Likewise.
27827 * soft-fp/fixdfdi.c: Likewise.
27828 * soft-fp/fixdfsi.c: Likewise.
27829 * soft-fp/fixdfti.c: Likewise.
27830 * soft-fp/fixsfdi.c: Likewise.
27831 * soft-fp/fixsfsi.c: Likewise.
27832 * soft-fp/fixsfti.c: Likewise.
27833 * soft-fp/fixtfdi.c: Likewise.
27834 * soft-fp/fixtfsi.c: Likewise.
27835 * soft-fp/fixtfti.c: Likewise.
27836 * soft-fp/fixunsdfdi.c: Likewise.
27837 * soft-fp/fixunsdfsi.c: Likewise.
27838 * soft-fp/fixunsdfti.c: Likewise.
27839 * soft-fp/fixunssfdi.c: Likewise.
27840 * soft-fp/fixunssfsi.c: Likewise.
27841 * soft-fp/fixunssfti.c: Likewise.
27842 * soft-fp/fixunstfdi.c: Likewise.
27843 * soft-fp/fixunstfsi.c: Likewise.
27844 * soft-fp/fixunstfti.c: Likewise.
27845 * soft-fp/floatdidf.c: Likewise.
27846 * soft-fp/floatdisf.c: Likewise.
27847 * soft-fp/floatditf.c: Likewise.
27848 * soft-fp/floatsidf.c: Likewise.
27849 * soft-fp/floatsisf.c: Likewise.
27850 * soft-fp/floatsitf.c: Likewise.
27851 * soft-fp/floattidf.c: Likewise.
27852 * soft-fp/floattisf.c: Likewise.
27853 * soft-fp/floattitf.c: Likewise.
27854 * soft-fp/floatundidf.c: Likewise.
27855 * soft-fp/floatundisf.c: Likewise.
27856 * soft-fp/floatunsidf.c: Likewise.
27857 * soft-fp/floatunsisf.c: Likewise.
27858 * soft-fp/floatuntidf.c: Likewise.
27859 * soft-fp/floatuntisf.c: Likewise.
27860 * soft-fp/floatuntitf.c: Likewise.
27861 * soft-fp/fmadf4.c: Likewise.
27862 * soft-fp/fmasf4.c: Likewise.
27863 * soft-fp/fmatf4.c: Likewise.
27864 * soft-fp/gedf2.c: Likewise.
27865 * soft-fp/gesf2.c: Likewise.
27866 * soft-fp/getf2.c: Likewise.
27867 * soft-fp/ledf2.c: Likewise.
27868 * soft-fp/lesf2.c: Likewise.
27869 * soft-fp/letf2.c: Likewise.
27870 * soft-fp/muldf3.c: Likewise.
27871 * soft-fp/mulsf3.c: Likewise.
27872 * soft-fp/multf3.c: Likewise.
27873 * soft-fp/negdf2.c: Likewise.
27874 * soft-fp/negsf2.c: Likewise.
27875 * soft-fp/negtf2.c: Likewise.
27876 * soft-fp/op-1.h: Likewise.
27877 * soft-fp/op-2.h: Likewise.
27878 * soft-fp/op-4.h: Likewise.
27879 * soft-fp/op-8.h: Likewise.
27880 * soft-fp/op-common.h: Likewise.
27881 * soft-fp/quad.h: Likewise.
27882 * soft-fp/single.h: Likewise.
27883 * soft-fp/soft-fp.h: Likewise.
27884 * soft-fp/sqrtdf2.c: Likewise.
27885 * soft-fp/sqrtsf2.c: Likewise.
27886 * soft-fp/sqrttf2.c: Likewise.
27887 * soft-fp/subdf3.c: Likewise.
27888 * soft-fp/subsf3.c: Likewise.
27889 * soft-fp/subtf3.c: Likewise.
27890 * soft-fp/truncdfsf2.c: Likewise.
27891 * soft-fp/trunctfdf2.c: Likewise.
27892 * soft-fp/trunctfsf2.c: Likewise.
27893 * soft-fp/trunctfxf2.c: Likewise.
27894 * soft-fp/unorddf2.c: Likewise.
27895 * soft-fp/unordsf2.c: Likewise.
27896 * soft-fp/unordtf2.c: Likewise.
27898 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
27901 * misc/error.c (error_tail): Fix possible buffer overflow.
27903 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
27906 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27909 2013-10-14 P. J. McDermott <pj@pehjota.net>
27912 * elf/ldd.bash.in (try_trace): New function. Delete previous code
27913 testing pipefail option.
27915 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27917 * soft-fp/double.h: Indent preprocessor directives inside #if.
27918 * soft-fp/extended.h: Likewise.
27919 * soft-fp/op-2.h: Likewise.
27920 * soft-fp/op-4.h: Likewise.
27921 * soft-fp/op-common.h: Likewise.
27922 * soft-fp/quad.h: Likewise.
27923 * soft-fp/single.h: Likewise.
27924 * soft-fp/soft-fp.h: Likewise.
27926 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
27928 * iconv/iconv_prog.c: Fix typos.
27929 * stdio-common/psiginfo-data.h: Likewise.
27931 2013-10-12 Reuben Thomas <rrt@sc3d.org>
27934 * locale/setlocale.c: Fix typo.
27936 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27939 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27940 signaling NaN arguments.
27941 * soft-fp/unordsf2.c (__unordsf2): Likewise.
27942 * soft-fp/unordtf2.c (__unordtf2): Likewise.
27945 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27946 unordered operands.
27947 * soft-fp/gesf2.c (__gesf2): Likewise.
27948 * soft-fp/getf2.c (__getf2): Likewise.
27949 * soft-fp/ledf2.c (__ledf2): Likewise.
27950 * soft-fp/lesf2.c (__lesf2): Likewise.
27951 * soft-fp/letf2.c (__letf2): Likewise.
27953 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27954 * soft-fp/eqsf2.c (__eqsf2): Likewise.
27955 * soft-fp/eqtf2.c (__eqtf2): Likewise.
27956 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27957 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27958 * soft-fp/fixdfti.c (__fixdfti): Likewise.
27959 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27960 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27961 * soft-fp/fixsfti.c (__fixsfti): Likewise.
27962 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27963 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27964 * soft-fp/fixtfti.c (__fixtfti): Likewise.
27965 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27966 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27967 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27968 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27969 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27970 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27971 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27972 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27973 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27974 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27975 * soft-fp/floatdisf.c (__floatdisf): Likewise.
27976 * soft-fp/floatsisf.c (__floatsisf): Likewise.
27977 * soft-fp/floattidf.c (__floattidf): Likewise.
27978 * soft-fp/floattisf.c (__floattisf): Likewise.
27979 * soft-fp/floattitf.c (__floattitf): Likewise.
27980 * soft-fp/floatundidf.c (__floatundidf): Likewise.
27981 * soft-fp/floatundisf.c (__floatundisf): Likewise.
27982 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27983 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27984 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27985 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27986 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27987 * soft-fp/gesf2.c (__gesf2): Likewise.
27988 * soft-fp/getf2.c (__getf2): Likewise.
27989 * soft-fp/ledf2.c (__ledf2): Likewise.
27990 * soft-fp/lesf2.c (__lesf2): Likewise.
27991 * soft-fp/letf2.c (__letf2): Likewise.
27993 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27994 Undefine and redefine.
27995 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27996 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27997 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27998 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27999 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28000 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28001 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28002 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28003 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28004 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28005 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28006 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28007 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28008 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28009 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28012 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28013 without decrementing exponent if mantissa >= that for the
28014 denominator, not >.
28015 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28016 denominator, not >. Decrement exponent in < case instead of
28017 incrementing in >= case.
28018 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28019 without decrementing exponent if mantissa >= that for the
28020 denominator, not >.
28022 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28023 computing saturated result for unsigned overflow.
28025 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28026 Jeff Law <law@redhat.com>
28028 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28029 (atan2Mp): Add systemtap probe marker.
28030 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28031 (__ieee754_log): Add systemtap probe marker.
28032 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28033 (atanMp): Add systemtap probe marker.
28034 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28035 (tanMp): Add systemtap probe marker.
28036 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28037 (__slowexp): Add systemtap probe marker.
28038 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28039 (__slowpow): Add systemtap probe marker.
28040 * manual/probes.texi: Document probes.
28042 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
28045 * libio/fileops.c (_IO_new_file_write): Return count of bytes
28047 (_IO_new_file_xsputn): Don't return EOF if nothing has been
28049 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28050 written to buffer but not flushed.
28051 * libio/iofwrite_u.c: Likewise.
28052 * libio/iopadn.c: Return bytes returned even if EOF was
28054 * libio/iowpadn.c: Likewise.
28055 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28056 if _IO_padn does not write the whole buffer.
28057 [!COMPILE_WPRINTF] (PAD): Likewise.
28059 2013-10-10 David S. Miller <davem@davemloft.net>
28061 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28064 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28066 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
28067 instead of FSF address.
28068 * soft-fp/fixdfti.c: Likewise.
28069 * soft-fp/fixsfti.c: Likewise.
28070 * soft-fp/fixtfti.c: Likewise.
28071 * soft-fp/fixunsdfti.c: Likewise.
28072 * soft-fp/fixunssfti.c: Likewise.
28073 * soft-fp/fixunstfti.c: Likewise.
28074 * soft-fp/floattidf.c: Likewise.
28075 * soft-fp/floattisf.c: Likewise.
28076 * soft-fp/floattitf.c: Likewise.
28077 * soft-fp/floatuntidf.c: Likewise.
28078 * soft-fp/floatuntisf.c: Likewise.
28079 * soft-fp/floatuntitf.c: Likewise.
28080 * soft-fp/trunctfxf2.c: Likewise.
28082 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
28083 * soft-fp/fixdfti.c: Likewise.
28084 * soft-fp/fixsfti.c: Likewise.
28085 * soft-fp/fixtfti.c: Likewise.
28086 * soft-fp/fixunsdfti.c: Likewise.
28087 * soft-fp/fixunssfti.c: Likewise.
28088 * soft-fp/fixunstfti.c: Likewise.
28089 * soft-fp/floattidf.c: Likewise.
28090 * soft-fp/floattisf.c: Likewise.
28091 * soft-fp/floattitf.c: Likewise.
28092 * soft-fp/floatuntidf.c: Likewise.
28093 * soft-fp/floatuntisf.c: Likewise.
28094 * soft-fp/floatuntitf.c: Likewise.
28095 * soft-fp/trunctfxf2.c: Likewise.
28097 2013-10-10 David S. Miller <davem@davemloft.net>
28099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28101 2013-10-10 Joseph Myers <joseph@codsourcery.com>
28103 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28104 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28105 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28106 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28107 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28108 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28109 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28111 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28112 for NaNs before doing comparisons on argument.
28113 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28116 2013-10-10 Will Newton <will.newton@linaro.org>
28118 * malloc/hooks.c (memalign_check): Ensure the value of bytes
28119 passed to _int_memalign does not overflow.
28121 2013-10-10 Torvald Riegel <triegel@redhat.com>
28123 * scripts/bench.pl: Add include-sources directive.
28124 * benchtests/README: Update documentation.
28126 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28128 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28129 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28130 instead of FP_INIT_ROUNDMODE.
28131 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28132 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28135 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
28136 copy class of input value.
28137 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
28138 not handle exceptions.
28139 * soft-fp/negsf2.c (__negsf2): Likewise.
28140 * soft-fp/negtf2.c (__negtf2): Likewise.
28141 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28143 2013-10-09 Joseph Myers <joseph@codesourcery.com>
28145 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28146 semicolon. From Linux kernel.
28148 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
28150 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28152 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
28155 * manual/socket.texi: Added statement about buffer
28156 for gethostbyname2_r.
28158 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
28160 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28161 Use .p2align directive instead, throughout.
28162 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28163 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28164 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28165 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28166 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28167 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28168 * sysdeps/x86_64/strchr.S: Likewise.
28169 * sysdeps/x86_64/strrchr.S: Likewise.
28171 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28173 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28175 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28177 * sysdeps/generic/math_private.h (__mpsin1): Remove
28179 (__mpcos1): Likewise.
28180 (__mpsin): New argument __range_reduce.
28181 (__mpcos): Likewise.
28182 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28183 (slow): Use __mpsin and __mpcos.
28187 (sloww1): Likewise.
28188 (sloww2): Likewise.
28189 (bsloww): Likewise.
28190 (bsloww1): Likewise.
28191 (bsloww2): Likewise.
28192 (cslow2): Likewise.
28193 (csloww): Likewise.
28194 (csloww1): Likewise.
28195 (csloww2): Likewise.
28196 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28197 range_reduce. Merge in __mpsin1.
28198 (__mpcos): Likewise.
28199 (__mpsin1): Remove.
28200 (__mpcos1): Likewise.
28202 2013-10-07 Joseph Myers <joseph@codesourcery.com>
28204 * locale/loadlocale.c (_nl_intern_locale_data): Use
28206 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28207 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28208 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28209 obstack data is appropriately aligned.
28210 (obstack_int32_grow_fast): Likewise.
28211 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28212 * locale/programs/locfile.c (add_locale_uint32): Likewise.
28213 (add_locale_uint32_array): Likewise.
28215 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28217 * benchtests/Makefile: Remove ARGLIST and RET variables.
28218 ($(objpfx)bench-%.c): Pass only function name to the script.
28219 * benchtests/README: Update documentation.
28220 * benchtests/acos-inputs: Add new directives.
28221 * benchtests/acosh-inputs: Likewise.
28222 * benchtests/asin-inputs: Likewise.
28223 * benchtests/asinh-inputs: Likewise.
28224 * benchtests/atan-inputs: Likewise.
28225 * benchtests/atanh-inputs: Likewise.
28226 * benchtests/cos-inputs: Likewise.
28227 * benchtests/cosh-inputs: Likewise.
28228 * benchtests/exp-inputs: Likewise.
28229 * benchtests/log-inputs: Likewise.
28230 * benchtests/pow-inputs: Likewise.
28231 * benchtests/rint-inputs: Likewise.
28232 * benchtests/sin-inputs: Likewise.
28233 * benchtests/sinh-inputs: Likewise.
28234 * benchtests/tan-inputs: Likewise.
28235 * benchtests/tanh-inputs: Likewise.
28236 * scripts/bench.pl: Add support for new directives.
28238 2013-10-07 Alan Modra <amodra@gmail.com>
28240 * README: Fix careless merge.
28242 2013-10-05 Alan Modra <amodra@gmail.com>
28244 * NEWS: Mention powerpc64le support and bugs fixed.
28245 * README: Both big-endian and little-endian powerpc64 supported.
28247 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28249 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28250 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28251 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28252 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28254 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
28256 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28259 2013-10-04 Joseph Myers <joseph@codesourcery.com>
28261 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28262 Move -mhard-float appending from
28263 ports/sysdeps/powerpc/powerpc32/Makefile.
28264 [$(with-fp) = yes] (ASFLAGS): Likewise.
28265 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28266 * sysdeps/powerpc/nofpu: Move directory from
28267 ports/sysdeps/powerpc/nofpu.
28268 * sysdeps/powerpc/soft-fp: Move directory from
28269 ports/sysdeps/powerpc/soft-fp.
28270 * sysdeps/powerpc/powerpc32/405: Move directory from
28271 ports/sysdeps/powerpc/powerpc32/405.
28272 * sysdeps/powerpc/powerpc32/440: Move directory from
28273 ports/sysdeps/powerpc/powerpc32/440.
28274 * sysdeps/powerpc/powerpc32/464: Move directory from
28275 ports/sysdeps/powerpc/powerpc32/464.
28276 * sysdeps/powerpc/powerpc32/476: Move directory from
28277 ports/sysdeps/powerpc/powerpc32/476.
28278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28279 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28281 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28283 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28285 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28287 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28288 * README: Update for powerpc-*-linux-gnu software floating point
28291 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28292 case to powerpc/powerpc32*.
28293 * sysdeps/unix/sysv/linux/configure: Regenerated.
28295 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28296 (_FPU_MASK_OM): Define as 0x04.
28297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28305 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28308 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28311 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28312 and setcontext_e500.
28314 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
28316 * locale/iso-3166.def: Update iso-1366.def and related occurrences
28318 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28320 * manual/threads.texi (Default Thread Attributes): Fix typo.
28322 2013-10-04 Will Newton <will.newton@linaro.org>
28324 * malloc/Makefile: Add tst-memalign.
28325 * malloc/tst-memalign.c: New file.
28327 * malloc/tst-posix_memalign.c: Add comments.
28328 (do_test): Add comments and call free on all potentially
28329 allocated pointers. Add space after cast.
28331 * malloc/tst-pvalloc.c: Add comments.
28332 (do_test): Add comments and call free on all potentially
28333 allocated pointers. Remove duplicate check for NULL pointer.
28334 Add space after cast.
28336 * malloc/tst-valloc.c: Add comments.
28337 (do_test): Add comments and call free on all potentially
28338 allocated pointers. Remove duplicate check for NULL pointer.
28339 Add space after cast.
28341 2013-10-04 Alan Modra <amodra@gmail.com>
28343 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28344 Use stdint types in rather than __attribute__((mode())).
28345 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28347 2013-10-04 Alan Modra <amodra@gmail.com>
28349 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28350 Correct handling of unaligned relocs for little-endian.
28351 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28353 2013-10-04 Alan Modra <amodra@gmail.com>
28355 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28356 * configure: Regenerate.
28357 * nptl/shlib-versions: Powerpc*le starts at 2.18.
28358 * shlib-versions: Likewise.
28360 2013-10-04 Alan Modra <amodra@gmail.com>
28362 * string/tester.c (test_memrchr): Increment reported test cycle.
28364 2013-10-04 Alan Modra <amodra@gmail.com>
28366 * string/test-memcpy.c (do_one_test): When reporting errors, print
28367 string address and don't overrun end of string.
28369 2013-10-04 Alan Modra <amodra@gmail.com>
28371 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28372 insrdi. Make better use of reg selection to speed exit slightly.
28373 Schedule entry path a little better. Remove useless "are we done"
28374 checks on entry to main loop. Handle wrapping around zero address.
28375 Correct main loop count. Handle single left-over word from main
28376 loop inline rather than by using loop_small. Remove extra word
28377 case in loop_small caused by wrong loop count. Add little-endian
28379 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28380 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
28382 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28383 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28384 support. Avoid rlwimi.
28385 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28387 2013-10-04 Alan Modra <amodra@gmail.com>
28389 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28390 insrdi. Formatting.
28391 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28392 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28393 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28394 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28395 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28396 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28398 2013-10-04 Alan Modra <amodra@gmail.com>
28400 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28401 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28402 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28403 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28404 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28405 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28406 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28407 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28408 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
28409 use of regs. Use power7 mtocrf. Tidy function tails.
28411 2013-10-04 Alan Modra <amodra@gmail.com>
28413 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28414 Formatting. Consistently use rXXX register defines or rN defines.
28415 Use early exit labels that avoid restoring unused non-volatile regs.
28416 Make cr field use more consistent with rWORDn compares. Rename
28417 regs used as shift registers for unaligned loop, using rN defines
28418 for short lifetime/multiple use regs.
28419 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28420 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
28421 addi 1,1,64 to pop stack frame. Simplify return value code.
28422 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28424 2013-10-04 Alan Modra <amodra@gmail.com>
28426 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28427 support. Correct typos, formatting. Optimize tail. Use insrdi
28428 rather than rlwimi.
28429 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28430 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28431 little-endian support. Correct typos.
28432 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
28433 rather than rlwimi.
28434 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
28435 in loop and entry code to keep "and." results.
28436 (strchr): Add little-endian support. Comment. Move cntlzd
28438 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28440 2013-10-04 Alan Modra <amodra@gmail.com>
28442 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28443 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28444 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28445 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28447 2013-10-04 Alan Modra <amodra@gmail.com>
28449 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28450 (rTMP): Define as r11.
28451 (strcmp): Add little-endian support. Optimise tail.
28452 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28453 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28454 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28455 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28456 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28457 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28458 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28460 2013-10-04 Alan Modra <amodra@gmail.com>
28462 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28463 little-endian support. Remove unnecessary "are we done" tests.
28464 Handle "s" wrapping around zero and extremely large "size".
28465 Correct main loop count. Handle single left-over word from main
28466 loop inline rather than by using small_loop. Correct comments.
28467 Delete "zero" tail, use "end_max" instead.
28468 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28470 2013-10-04 Alan Modra <amodra@gmail.com>
28472 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28473 support. Don't branch over align.
28474 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28475 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28476 support. Rearrange tmp reg use to suit. Comment.
28477 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28479 2013-10-04 Alan Modra <amodra@gmail.com>
28481 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28483 2013-10-04 Alan Modra <amodra@gmail.com>
28485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28486 conditional form of branch and link when obtaining pc.
28487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28489 2013-10-04 Alan Modra <amodra@gmail.com>
28491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28496 2013-10-04 Alan Modra <amodra@gmail.com>
28498 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28499 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28500 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28501 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28502 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28503 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28504 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28505 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28506 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28507 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28509 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28510 Alistair Popple <alistair@ozlabs.au.ibm.com>
28511 Alan Modra <amodra@gmail.com>
28514 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28515 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28516 _dl_hwcap access for little-endian.
28517 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
28518 destroy vmx regs when saving unaligned.
28519 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28520 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
28521 destroy vmx regs when saving unaligned.
28523 2013-10-04 Alan Modra <amodra@gmail.com>
28525 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28526 Don't use a union to pack hi/low value.
28528 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28530 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28532 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28533 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28534 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28535 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28536 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28538 2013-10-04 Alan Modra <amodra@gmail.com>
28540 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28541 constants to usual value for .cst8 section, and remove redundant
28543 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28544 constant for 0x1p52. Load little-endian words of double from
28545 correct stack offsets.
28547 2013-10-04 Alan Modra <amodra@gmail.com>
28549 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28550 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28551 words of double from correct stack offsets.
28552 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28553 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28554 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28555 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28556 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28557 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28558 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28559 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28560 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28561 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28562 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28563 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28564 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28565 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28566 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28567 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28568 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28570 2013-10-04 Alan Modra <amodra@gmail.com>
28572 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28573 64-bit int/double union.
28574 (_FPU_SETCW): Likewise.
28575 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28576 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28578 2013-10-04 Alan Modra <amodra@gmail.com>
28580 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28581 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28583 2013-10-04 Alan Modra <amodra@gmail.com>
28585 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28586 use vector int constants.
28587 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28589 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28591 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28592 array with long long.
28593 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28594 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28595 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28596 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28597 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28598 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28599 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28600 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28601 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28602 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28603 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28604 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28605 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28607 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28609 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28610 (__signbit): Likewise. Correct for little-endian.
28611 (__signbitl): Call __signbit.
28612 (lrint): Correct for little-endian.
28613 (lrintf): Call lrint.
28615 2013-10-04 Alan Modra <amodra@gmail.com>
28617 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28618 union 32-bit int array member with 64-bit int array.
28619 (t515, tm256): Double rather than long double.
28620 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28622 2013-10-04 Alan Modra <amodra@gmail.com>
28624 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28626 (IEEE854_LONG_DOUBLE_BIAS): Delete.
28627 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28628 version of math_ldbl.h.
28630 2013-10-04 Alan Modra <amodra@gmail.com>
28632 [BZ #15734], [BZ #15735]
28633 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28634 all uses of ieee875 long double macros and unions. Simplify test
28635 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
28636 ldbl_extract_mantissa value for ix,iy exponents. Properly
28637 normalize after ldbl_extract_mantissa, and don't add hidden bit
28638 already handled. Don't treat low word of ieee854 mantissa like
28639 low word of IBM long double and mask off bit when testing for
28641 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28642 all uses of ieee875 long double macros and unions. Simplify tests
28643 for 0.0L and inf. Correct double adjustment of k. Delete dead code
28644 adjusting ha,hb. Simplify code setting kld. Delete two600 and
28645 two1022, instead use their values. Recognise that tests for large
28646 "a" and small "b" are mutually exclusive. Rename vars. Comment.
28647 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28648 Rewrite all uses of ieee875 long double macros and unions. Simplify
28649 test for 0.0L and nan. Correct negation.
28650 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28651 ieee875 long double macros and unions. Correct output for large
28652 magnitude x. Correct absolute value calculation.
28653 (__erfcl): Likewise.
28654 * math/libm-test.inc: Add tests for errors discovered in IBM long
28655 double versions of fmodl, remainderl, erfl and erfcl.
28657 2013-10-04 Alan Modra <amodra@gmail.com>
28659 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28660 all uses of ieee854 long double macros and unions. Simplify tests
28661 for long doubles that are fully specified by the high double.
28662 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28664 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28665 Remove dead code too.
28666 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28667 (__ieee754_ynl): Likewise.
28668 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28669 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28670 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28671 Remove dead code too.
28672 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28673 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28674 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28675 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28677 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28679 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28680 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28681 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28682 Comment on variable precision.
28683 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28684 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28686 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28687 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28688 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28689 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28690 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28692 2013-10-04 Alan Modra <amodra@gmail.com>
28694 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28695 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28696 all uses of ieee854 long double macros and unions.
28697 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28698 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28699 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28700 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28701 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28702 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28704 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28705 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28706 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28707 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28708 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28709 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28710 Simplify sign and nan test too.
28711 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28712 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28713 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28714 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28716 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28717 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28719 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28720 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28721 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28722 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28723 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28724 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28726 2013-10-04 Alan Modra <amodra@gmail.com>
28728 * stdio-common/printf_size.c (__printf_size): Don't use
28729 union ieee854_long_double in fpnum union.
28730 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
28731 signbit macro to retrieve sign from long double.
28732 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28733 retrieve sign from long double.
28734 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28735 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28736 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28737 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28738 * math/test-misc.c (main): Don't use union ieee854_long_double.
28740 2013-10-04 Alan Modra <amodra@gmail.com>
28743 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28744 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28745 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28746 calculation. Remove unnecessary test for denormal exponent.
28747 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28748 Correct handling of denormals. Avoid undefined shift behaviour.
28749 Correct normalisation of low mantissa when low double is denormal.
28750 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28751 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
28752 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28753 Correct normalisation of low mantissa. Test for overflow of high
28754 mantissa and normalise.
28755 (ldbl_nearbyint): Use more readable constant for two52.
28756 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28757 (__mpn_construct_long_double): Fix test for overflow of high
28758 mantissa and correct normalisation. Avoid undefined shift.
28760 2013-10-04 Alan Modra <amodra@gmail.com>
28762 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28763 (union ibm_extended_long_double): Define as an array of ieee754_double.
28764 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28765 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28766 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28767 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28768 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28769 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28770 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28771 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28772 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28773 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28774 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28776 2013-10-03 Joseph Myers <joseph@codesourcery.com>
28778 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28779 page size instead of calling getpagesize.
28781 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28782 (LOCFILE_ALIGN_MASK): Likewise.
28783 (LOCFILE_ALIGN_UP): Likewise.
28784 (LOCFILE_ALIGNED_P): Likewise.
28785 * locale/programs/ld-collate.c (collate_output): Use the new
28786 macros instead of __alignof__ (int32_t).
28787 * locale/weight.h (findidx): Likewise.
28789 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
28792 * manual/string.texi: Fix strncat and wcsncat.
28794 2013-10-03 Brooks Moses <bmoses@google.com>
28797 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28798 * Makerules: ...here, and adjust associated comments.
28800 2013-10-02 Will Newton <will.newton@linaro.org>
28802 * malloc/Makefile: Add tst-pvalloc.
28803 * malloc/tst-pvalloc.c: New file.
28805 2013-10-02 Will Newton <will.newton@linaro.org>
28807 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28808 improve test coverage.
28810 2013-10-02 Will Newton <will.newton@linaro.org>
28812 * malloc/Makefile: Add tst-posix_memalign.
28813 * malloc/tst-posix_memalign.c: New file.
28815 2013-10-01 Eric Blake <eblake@redhat.com>
28817 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28818 Use __THROWNL rather than __THROW on static functions.
28820 2013-09-30 Petr Machata <pmachata@redhat.com>
28822 * elf/elf.h (R_AARCH64_ABS16): New macro.
28823 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28824 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28825 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28826 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28827 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28828 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28829 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28830 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28831 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28832 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28833 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28834 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28835 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28836 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28837 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28838 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28839 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28840 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28841 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28842 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28843 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28844 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28845 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28846 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28847 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28848 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28849 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28850 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28851 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28852 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28853 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28854 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28855 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28856 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28857 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28858 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28859 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28860 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28861 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28862 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28863 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28864 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28865 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28866 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28867 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28868 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28869 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28870 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28871 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28872 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28873 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28874 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28875 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28876 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28877 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28878 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28879 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28880 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28881 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28882 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28883 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28884 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28885 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28886 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28887 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28888 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28889 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28890 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28891 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28892 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28893 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28894 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28895 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28896 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28897 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28898 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28899 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28900 (R_AARCH64_TLSDESC_LDR): Likewise.
28901 (R_AARCH64_TLSDESC_ADD): Likewise.
28902 (R_AARCH64_TLSDESC_CALL): Likewise.
28904 2013-09-30 Andreas Schwab <schwab@suse.de>
28907 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28908 the nss database lookup.
28909 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28912 2013-09-28 Mike Frysinger <vapier@gentoo.org>
28914 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28916 2013-09-28 P. J. McDermott <pj@pehjota.net>
28918 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28919 ${Bash-specific parameter/pattern/string} parameter expansion.
28920 * sysdeps/unix/make-syscalls.sh: Likewise.
28922 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28924 * sysdeps/sh/stackguard-macros.h: New file.
28926 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
28928 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28929 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28930 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28931 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28932 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28933 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28935 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28937 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28938 Fix thread ID register.
28940 2013-09-25 Joseph Myers <joseph@codesourcery.com>
28942 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28943 [POSIX || UNIX98]: Require rather than permitting all symbols from
28945 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28946 element of struct sched_param.
28947 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28948 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28949 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28950 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28953 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
28955 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28956 argument calculation.
28958 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28960 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28962 [POSIX] (pthread_attr_t): Do not require type.
28963 [POSIX] (pthread_cond_t): Likewise.
28964 [POSIX] (pthread_condattr_t): Likewise.
28965 [POSIX] (pthread_key_t): Likewise.
28966 [POSIX] (pthread_mutex_t): Likewise.
28967 [POSIX] (pthread_mutexattr_t): Likewise.
28968 [POSIX] (pthread_once_t): Likewise.
28969 [POSIX] (pthread_t): Likewise.
28970 [POSIX-based standards] (pthread_atfork): Expect function.
28972 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28973 Richard Sandiford <richard@codesourcery.com>
28975 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28976 (swap_endianness_p): New extern variable.
28977 (set_big_endian): New inline function.
28978 (maybe_swap_uint32): Likewise.
28979 (maybe_swap_uint32_array): Likewise.
28980 (maybe_swap_uint32_obstack): Likewise.
28981 * locale/programs/locfile.c: Include <stdbool.h>.
28982 (swap_endianness_p): New variable.
28983 (add_locale_uint32): Call maybe_swap_uint32.
28984 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28985 (write_locale_data): Call maybe_swap_uint32_array.
28986 * locale/programs/ld-collate.c (obstack_int32_grow): Call
28988 (obstack_int32_grow_fast): Likewise.
28989 (output_weightwc): Call maybe_swap_uint32_obstack.
28990 (collate_output): Likewise.
28991 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28992 (OPT_LITTLE_ENDIAN): Likewise.
28993 (options): Add --little-endian and --big-endian options.
28994 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28995 * locale/programs/locarchive.c: Include "locfile.h".
28999 (create_archive): Use the new macros to access fields of
29000 structures directly mapped from or written to locale archives.
29001 (oldlocrecentcmp): Likewise.
29002 (enlarge_archive): Likewise.
29003 (insert_name): Likewise.
29004 (add_alias): Likewise.
29005 (add_locale): Likewise.
29006 (delete_locales_from_archive): Likewise.
29007 (show_archive_content): Likewise.
29008 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
29011 2013-09-24 Roland McGrath <roland@hack.frob.com>
29013 * manual/freemanuals.texi: Updated from (newly) canonical copy at
29014 http://www.gnu.org/doc/freemanuals.texi.
29015 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29017 2013-09-24 Will Newton <will.newton@linaro.org>
29019 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29022 2013-09-23 Joseph Myers <joseph@codesourcery.com>
29024 * locale/hashval.h (compute_hashval): Interpret bytes of key as
29027 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
29029 * manual/threads.texi (POSIX Threads): Fix a typo.
29031 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29034 * string/tst-strcoll-overflow.c: New test case.
29035 * string/Makefile (xtests): Add tst-strcoll-overflow.
29036 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29037 cache if string sizes may cause integer overflow.
29040 * string/strcoll_l.c (coll_seq): New members rule, idx,
29041 save_idx and back_us.
29042 (get_next_seq_nocache): New function.
29043 (do_compare_nocache): New function.
29044 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29047 2013-09-23 Carlos O'Donell <carlos@redhat.com>
29050 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29051 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29052 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29055 * elf/Makefile (tests): Add tst-ptrguard1.
29056 (tests-static): Add tst-ptrguard1-static.
29057 (tst-ptrguard1-ARGS): Define.
29058 (tst-ptrguard1-static-ARGS): Define.
29059 * elf/tst-ptrguard1.c: New file.
29060 * elf/tst-ptrguard1-static.c: New file.
29061 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29062 * sysdeps/i386/stackguard-macros.h: Likewise.
29063 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29064 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29065 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29066 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29067 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29068 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29070 2013-09-23 Hector Marco <hecmargi@upv.es>
29071 Ismael Ripoll <iripoll@disca.upv.es>
29072 Carlos O'Donell <carlos@redhat.com>
29075 * sysdeps/generic/stackguard-macros.h: Define
29076 __pointer_chk_guard_local and POINTER_CHK_GUARD.
29077 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29078 Define __pointer_chk_guard_local.
29079 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29080 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29082 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
29085 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29087 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
29089 * include/string.h (__ffs): Declare as hidden.
29090 * string/ffs.c (__ffs): Define as hidden.
29091 * sysdeps/i386/ffs.c (__ffs): Likewise.
29092 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29093 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29094 * sysdeps/s390/ffs.c (__ffs): Likewise.
29095 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29097 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
29099 * NEWS: Mention malloc probes.
29101 * malloc/arena.c (new_heap): New memory_heap_new probe.
29102 (grow_heap): New memory_heap_more probe.
29103 (shrink_heap): New memory_heap_less probe.
29104 (heap_trim): New memory_heap_free probe.
29105 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29106 (systrim): New memory_sbrk_less probe.
29107 * manual/probes.texi: Document them.
29109 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29110 * manual/probes.texi: Document it.
29112 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29113 (__libc_realloc): Add memory_realloc_retry probe.
29114 (__libc_memalign): Add memory_memalign_retry probe.
29115 (__libc_valloc): Add memory_valloc_retry probe.
29116 (__libc_pvalloc): Add memory_pvalloc_retry probe.
29117 (__libc_calloc): Add memory_calloc_retry probe.
29118 * manual/probes.texi: Document them.
29120 * malloc/arena.c (get_free_list): Add probe
29121 memory_arena_reuse_free_list.
29122 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29123 and memory_arena_reuse.
29124 (arena_get2) [!PER_THREAD]: Likewise.
29125 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29126 memory_arena_reuse_realloc.
29127 * manual/probes.texi: Document them.
29129 * malloc/malloc.c (__libc_free): Add
29130 memory_mallopt_free_dyn_thresholds probe.
29131 (__libc_mallopt): Add multiple memory_mallopt probes.
29132 * manual/probes.texi: Document them.
29134 * malloc/malloc.c: Include stap-probe.h.
29135 (__libc_mallopt): Add memory_mallopt probe.
29136 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29137 * manual/probes.texi: New.
29138 * manual/Makefile (chapters): Add probes.
29139 * manual/threads.texi: Set next node.
29141 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
29143 [BZ #15963, #13985]
29144 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29145 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29146 Add `Chinese' to `nan' entry name.
29148 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29150 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29151 (POLYNOMIAL): Likewise.
29152 (TAYLOR_SINCOS): Likewise.
29153 (TAYLOR_SLOW): Likewise.
29154 (__sin): Use TAYLOR_SINCOS.
29156 (slow): Use TAYLOR_SLOW.
29158 (bsloww): Likewise.
29159 (csloww): Likewise.
29161 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29163 * stdlib/strtod_l.c: Fix buffer overrun.
29165 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29167 * benchtests/Makefile (bench): Add sincos.
29168 * benchtests/bench-sincos.c: New file.
29170 * math/libm-test.inc (cos_test_data): New test inputs.
29171 (sin_test_data): Likewise.
29173 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29179 (sloww1): Likewise.
29180 (sloww2): Likewise.
29181 (bsloww1): Likewise.
29182 (bsloww2): Likewise.
29183 (cslow2): Likewise.
29184 (csloww1): Likewise.
29185 (csloww2): Likewise.
29187 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29192 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29196 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
29198 * config.h.in (HAVE_MIPS_NAN2008): New macro.
29199 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29200 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29201 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29202 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29203 * elf/cache.c (print_entry): Handle the new cache flags.
29205 2013-09-18 Joseph Myers <joseph@codesourcery.com>
29206 Aldy Hernandez <aldyh@redhat.com>
29208 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29209 Change condition to [_SOFT_FLOAT].
29210 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29212 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29214 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29219 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29221 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29222 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29223 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29224 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29225 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29228 2013-09-18 Joseph Myers <joseph@codesourcery.com>
29230 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29231 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29232 (__longjmp): Use LOAD_GP to load saved GPRs.
29233 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29234 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29235 (__sigsetjmp): Use SAVE_GP to save GPRs.
29237 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29238 Do not append -msoft-float.
29239 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29241 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29243 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29245 2013-09-17 Joseph Myers <joseph@codesourcery.com>
29248 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29249 (_FPU_GETCW): Use initial "__" on variable and field names but not
29250 on macro parameter name.
29251 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
29252 parentheses around reference to macro parameter.
29254 2013-09-13 Richard Sandiford <richard@codesourcery.com>
29256 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29258 (ctype_startup): Use uint32_t in cast and sizeof for
29261 2013-09-11 Jia Liu <proljc@gmail.com>
29263 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29265 [__FreeBSD__]: Likewise.
29267 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
29269 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29270 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29271 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29272 (strchr): Remove __strchr_sse42 ifunc selection.
29273 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29274 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29276 2013-09-11 Will Newton <will.newton@linaro.org>
29278 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29279 parameter to RES. Remove hardcoded 1000 value.
29280 * benchtests/bench-skeleton.c (main): Pass RES parameter
29281 to TIMING_INIT and multiply result by 1000.
29283 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29287 2013-09-11 Andreas Schwab <schwab@suse.de>
29289 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29291 (O_TMPFILE) [__USE_GNU]: Define.
29292 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29295 2013-09-11 Will Newton <will.newton@linaro.org>
29298 * malloc/malloc.c (__libc_memalign): Check the value of bytes
29301 2013-09-11 Will Newton <will.newton@linaro.org>
29304 * malloc/malloc.c (__libc_valloc): Check the value of bytes
29307 2013-09-11 Will Newton <will.newton@linaro.org>
29310 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29313 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
29315 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29316 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29317 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29318 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29319 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29321 2013-09-10 Allan McRae <allan@archlinux.org>
29324 * manual/arith.texi (Parsing of Floats): Clarify
29328 * manual/install.texi (Running make install): Mention
29330 * INSTALL: Regenerated.
29332 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
29334 * csu/init-first.c (_init): Remove the !SHARED condition around
29335 FPU control word initialization.
29336 * elf/dl-support.c (_dl_fpu_control): New variable.
29337 (_dl_aux_init) <AT_FPUCW>: Initialize it.
29338 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29339 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29340 * math/test-fpucw-static.c: New file.
29341 * math/test-fpucw-ieee.c: New file.
29342 * math/test-fpucw-ieee-static.c: New file.
29343 * math/Makefile (tests): Add `test-fpucw-ieee' and
29345 (tests-static): New variable.
29346 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29348 [($(build-shared),yes)]
29349 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29351 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29354 2013-09-09 Allan McRae <allan@archlinux.org>
29357 * manual/string.texi (Collation Functions): Fix typo in
29359 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29362 * stdlib/isomac.c (get_null_defines): Fix memory leak.
29365 * libio/memstream.c (open_memstream): Fix memory leak.
29366 * libio/wmemstream.c (open_wmemstream): Likewise.
29369 * nscd/netgroupcache.c: Fix nesting of ifdefs.
29371 2013-09-09 Will Newton <will.newton@linaro.org>
29373 * malloc/Makefile: Add tst-realloc to tests.
29374 * malloc/tst-realloc.c: New file.
29376 2013-09-09 Allan McRae <allan@archlinux.org>
29379 * COPYING: Update from GNU website to fix FSF address.
29380 * COPYING.LIB: Likewise.
29382 2013-09-06 David S. Miller <davem@davemloft.net>
29384 * po/zh_TW.po: Update Chinese (traditional) translation from
29385 translation project.
29387 2013-09-06 Richard Sandiford <richard@codesourcery.com>
29388 Joseph Myers <joseph@codesourcery.com>
29390 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29392 (obstack_chunk_alloc): New macro.
29393 (obstack_chunk_free): Likewise.
29394 (record_offset): New function.
29395 (init_locale_data): Likewise.
29396 (align_locale_data): Likewise.
29397 (add_locale_empty): Likewise.
29398 (add_locale_raw_data): Likewise.
29399 (add_locale_raw_obstack): Likewise.
29400 (add_locale_string): Likewise.
29401 (add_locale_wstring): Likewise.
29402 (add_locale_uint32): Likewise.
29403 (add_locale_uint32_array): Likewise.
29404 (add_locale_char): Likewise.
29405 (start_locale_structure): Likewise.
29406 (end_locale_structure): Likewise.
29407 (start_locale_prelude): Likewise.
29408 (end_locale_prelude): Likewise.
29409 (write_locale_data): Take locale_file structure rather than an
29411 * locale/programs/locfile.h: Include "obstack.h".
29412 (struct locale_file): Change to store locale file contents instead
29414 (init_locale_data): New prototype.
29415 (align_locale_data): Likewise.
29416 (add_locale_empty): Likewise.
29417 (add_locale_raw_data): Likewise.
29418 (add_locale_raw_obstack): Likewise.
29419 (add_locale_string): Likewise.
29420 (add_locale_wstring): Likewise.
29421 (add_locale_uint32): Likewise.
29422 (add_locale_uint32_array): Likewise.
29423 (add_locale_char): Likewise.
29424 (start_locale_structure): Likewise.
29425 (end_locale_structure): Likewise.
29426 (start_locale_prelude): Likewise.
29427 (end_locale_prelude): Likewise.
29428 (write_locale_data): Update prototype.
29429 * locale/programs/3level.h (struct TABLE): Remove result field.
29430 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29431 Use new locale_file interface.
29432 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29433 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29434 * locale/programs/ld-address.c (address_output): Use new
29435 locale_file interface.
29436 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29438 (collate_finish): Don't call collseq_table_finalize.
29439 (collate_output): Use new locale_file interface.
29440 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29442 (NO_FINALIZE): Change to NO_ADD_LOCALE.
29443 (TABLE): Move defines earlier in file.
29444 (ELEMENT): Likewise.
29445 (DEFAULT): Likewise.
29446 (wctrans_table_add): Move macro and inline function earlier in
29448 (struct wctype_table): Move type earlier in file.
29449 (add_locale_wctype_table): New static prototype.
29450 (struct locale_ctype_t): Use logical types instead of struct iovec
29451 pointers for members.
29452 (ctype_output): Use new locale_file interface.
29453 (wctype_table_finalize): Change to add_locale_wctype_table. Use
29454 new locale_file interface.
29455 (allocate_arrays): Update for use of new locale_file interface.
29456 * locale/programs/ld-identification.c (identification_output): Use
29457 new locale_file interface.
29458 * locale/programs/ld-measurement.c (measurement_output): Likewise.
29459 * locale/programs/ld-messages.c (messages_output): Likewise.
29460 * locale/programs/ld-monetary.c (monetary_output): Likewise.
29461 * locale/programs/ld-name.c (name_output): Likewise.
29462 * locale/programs/ld-numeric.c (numeric_output): Likewise.
29463 * locale/programs/ld-paper.c (paper_output): Likewise.
29464 * locale/programs/ld-telephone.c (telephone_output): Likewise.
29465 * locale/programs/ld-time.c (time_output): Likewise.
29467 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29469 * benchtests/Makefile: Add memrchr benchmark.
29470 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29471 benchmark as memrchr.
29472 * benchtests/bench-memrchr-ifunc.c: New file.
29473 * benchtests/bench-memrchr.c: New file.
29475 2013-09-06 Will Newton <will.newton@linaro.org>
29477 * benchtests/Makefile (string-bench): Add memcpy.
29479 2013-09-05 Carlos O'Donell <carlos@redhat.com>
29480 Cong Wang <amwang@redhat.com>
29483 * sysdeps/unix/sysv/linux/bits/in.h
29484 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29485 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29486 before __USE_KERNEL_IPV6_DEFS uses.
29487 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29489 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29490 sockaddr_in6, or ipv6_mreq.
29492 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29494 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29495 memory access for final bytes in some large inputs.
29496 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29498 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29500 * string/test-memrchr.c: New file.
29501 * string/test-memrchr-ifunc.c: New file.
29502 * string/Makefile: Add new memrchr testcase.
29504 2013-09-05 Mike Frysinger <vapier@gentoo.org>
29506 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29507 fanotify_init returns EPERM.
29509 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29511 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29513 (top level): Treat second token from macro or constant entries for
29514 allowed headers as allowed.
29515 * include/complex.h: Condition internal declarations on
29517 * include/fenv.h: Condition include of <stdbool.h> and internal
29518 declarations on [!_ISOMAC].
29520 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
29523 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29525 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29527 * configure.in (--enable-versioning): Remove configure option.
29528 (libc_cv_asm_symver_directive): Remove configure test.
29529 (libc_cv_ld_version_script_option): Likewise.
29530 (VERSIONING): Remove variable and AC_SUBST.
29531 (DO_VERSIONING): Remove AC_DEFINE.
29532 * configure: Regenerated.
29533 * config.h.in (DO_VERSIONING): Remove macro.
29534 * Makerules [$(versioning) = yes]: Change conditionals to
29535 [$(build-shared) = yes].
29536 * config.make.in (versioning): Remove variable.
29537 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29538 [$(build-shared) = yes].
29539 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29540 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29541 * elf/Makefile [$(versioning) = yes]: Change conditionals to
29542 [$(build-shared) = yes].
29543 * extra-lib.mk [$(versioning) = yes]: Likewise.
29544 * hurd/Makefile [$(versioning) = yes]: Likewise.
29545 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29547 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29549 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29550 [SHARED && !NO_HIDDEN].
29551 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29553 [SHARED && DO_VERSIONING]: Likewise..
29554 * libio/Makefile [$(versioning) = yes]: Change conditionals to
29555 [$(build-shared) = yes].
29556 * manual/install.texi (--disable-versioning): Remove
29558 * INSTALL: Regenerated.
29559 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29561 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29562 [$(build-shared) = yes].
29563 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29564 * sysdeps/i386/i686/multiarch/strstr-c.c
29565 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29566 [SHARED && !NO_HIDDEN].
29567 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29568 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29569 * sysdeps/powerpc/powerpc32/dl-machine.c
29570 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29571 * sysdeps/powerpc/powerpc32/sysdep.h
29572 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29573 to [SHARED && PIC && !NO_HIDDEN].
29574 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29575 conditional to [SHARED].
29577 2013-09-04 Will Newton <will.newton@linaro.org>
29579 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29580 * benchtests/bench-string.h: Include bench-timing.h instead
29581 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29582 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29583 call to HP_TIMING_DIFF_INIT.
29584 * benchtests/bench-memccpy.c: Use bench-timing.h macros
29585 instead of hp-timing.h macros.
29586 * benchtests/bench-memchr.c: Likewise.
29587 * benchtests/bench-memcmp.c: Likewise.
29588 * benchtests/bench-memcpy.c: Likewise.
29589 * benchtests/bench-memmem.c: Likewise.
29590 * benchtests/bench-memmove.c: Likewise.
29591 * benchtests/bench-memset.c: Likewise.
29592 * benchtests/bench-rawmemchr.c: Likewise.
29593 * benchtests/bench-strcasecmp.c: Likewise.
29594 * benchtests/bench-strcasestr.c: Likewise.
29595 * benchtests/bench-strcat.c: Likewise.
29596 * benchtests/bench-strchr.c: Likewise.
29597 * benchtests/bench-strcmp.c: Likewise.
29598 * benchtests/bench-strcpy.c: Likewise.
29599 * benchtests/bench-strcpy_chk.c: Likewise.
29600 * benchtests/bench-strlen.c: Likewise.
29601 * benchtests/bench-strncasecmp.c: Likewise.
29602 * benchtests/bench-strncat.c: Likewise.
29603 * benchtests/bench-strncmp.c: Likewise.
29604 * benchtests/bench-strncpy.c: Likewise.
29605 * benchtests/bench-strnlen.c: Likewise.
29606 * benchtests/bench-strpbrk.c: Likewise.
29607 * benchtests/bench-strrchr.c: Likewise.
29608 * benchtests/bench-strspn.c: Likewise.
29609 * benchtests/bench-strstr.c: Likewise.
29611 2013-09-04 Will Newton <will.newton@linaro.org>
29613 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29615 2013-09-03 Joseph Myers <joseph@codesourcery.com>
29618 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29619 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29620 * math/libm-test.inc (lgamma_test_data): Add more tests.
29621 * sysdeps/i386/fpu/libm-test-ulps: Update.
29622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29624 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
29626 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29627 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29630 Add strcmp-sse2-unaligned
29631 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29633 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29635 * Versions.def (libc): Add GLIBC_2.19.
29637 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29639 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29640 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29642 2013-09-02 Joseph Myers <joseph@codesourcery.com>
29645 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29646 intermediate calculations in recurrence.
29647 (__ieee754_ynf): Likewise.
29648 * math/libm-test.inc (jn_test_data): Do not allow spurious
29649 underflow exception. Add more tests.
29650 (yn_test_data): Add more tests.
29651 * sysdeps/i386/fpu/libm-test-ulps: Update.
29652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29654 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
29656 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29658 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29660 * csu/init-first.c: Fix then/than typos.
29661 * locale/programs/ld-collate.c: Likewise.
29662 * locale/programs/linereader.h: Likewise.
29663 * manual/charset.texi: Likewise.
29664 * manual/filesys.texi: Likewise.
29665 * manual/stdio.texi: Likewise.
29666 * manual/string.texi: Likewise.
29667 * stdlib/fmtmsg.c: Likewise.
29668 * sysdeps/i386/stpncpy.S: Likewise.
29669 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29670 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29671 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29672 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29674 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29676 * elf/dl-open.c: Fix typos.
29677 * iconvdata/gbbig5.c: Likewise.
29678 * iconvdata/iso-2022-jp.c: Likewise.
29679 * iconv/gconv_int.h: Likewise.
29680 * iconv/loop.c: Likewise.
29681 * nis/rpcsvc/nis.h: Likewise.
29682 * resolv/ns_name.c: Likewise.
29683 * stdio-common/vfscanf.c: Likewise.
29684 * streams/stropts.h: Likewise.
29685 * sunrpc/rpc_thread.c: Likewise.
29686 * sysdeps/i386/strpbrk.S: Likewise.
29687 * sysdeps/ieee754/k_standard.c: Likewise.
29688 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29689 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29690 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29691 * sysdeps/mach/hurd/profil.c: Likewise.
29692 * sysdeps/s390/dl-procinfo.h: Likewise.
29693 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29694 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29695 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29696 * sysdeps/x86_64/dl-trampoline.S: Likewise.
29697 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29699 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29701 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29702 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29704 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29706 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29707 aix specific files.
29708 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29709 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29710 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29711 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29712 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29713 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29714 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29715 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29717 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29718 Roland McGrath <roland@hack.frob.com>
29720 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29721 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29723 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
29725 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29726 __executable_start symbol instead of _start.
29728 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29730 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29731 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29733 * sysdeps/gnu/ldsodefs.h: ... this new file.
29735 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29736 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29737 instead of ELFOSABI_LINUX.
29739 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29740 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29741 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29742 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29744 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29745 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29746 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29748 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29749 (ibm_extended_long_double): Add ieee_nan member.
29750 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29751 (do_test): New function.
29753 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29755 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29756 functions, renamed from truncdfsf_test, trunctfsf_test,
29758 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29760 (do_test): Run all these.
29762 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29764 * argp/argp-help.c: Fix typos.
29765 * argp/argp-parse.c: Likewise.
29766 * debug/backtracesyms.c: Likewise.
29767 * elf/elf.h: Likewise.
29768 * malloc/malloc.c: Likewise.
29769 * nis/nis_print.c: Likewise.
29770 * resolv/res_comp.c: Likewise.
29771 * stdlib/stdlib.h: Likewise.
29772 * sunrpc/clnt_tcp.c: Likewise.
29773 * sunrpc/clnt_udp.c: Likewise.
29774 * sunrpc/clnt_unix.c: Likewise.
29775 * sysdeps/unix/bsd/ptsname.c: Likewise.
29776 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29777 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29784 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29786 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29788 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29791 2013-08-27 Mike Frysinger <vapier@gentoo.org>
29794 * dlfcn/Makefile (tests): Add bug-dl-leaf.
29795 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29796 ($(objpfx)bug-dl-leaf): New rule.
29797 ($(objpfx)bug-dl-leaf.so): Likewise.
29798 ($(objpfx)bug-dl-leaf.out): Likewise.
29799 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29800 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29801 * dlfcn/bug-dl-leaf.c: New test.
29802 * dlfcn/bug-dl-leaf-lib.c: Likewise.
29803 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29804 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29805 (dlclose): Likewise.
29806 (dlmopen): Likewise.
29808 2013-08-27 Roland McGrath <roland@hack.frob.com>
29810 * include/netdb.h [!_ISOMAC]:
29811 Don't include <tls.h>.
29812 (h_errno, __libc_h_errno): Move declaration and macros out of
29815 * include/resolv.h [_RESOLV_H_]:
29816 Don't include <tls.h>.
29817 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29818 * resolv/res_libc.c: Don't include <tls.h>.
29819 (_res): Use __attribute__ ((nocommon)) in place of
29820 __attribute__ ((section (".bss"))).
29822 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29823 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29825 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29827 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29828 only under [SIOCGIFCONF && SIOCGIFNETMASK].
29830 * resolv/res_mkquery.c: Include <sys/time.h>.
29832 * inet/ifreq.c: Moved to ...
29833 * sysdeps/unix/ifreq.c: ... here.
29834 * inet/ifreq.c: New file, true stub version.
29836 * socket/sa_len.c: New file.
29837 * socket/Makefile (aux): Add it.
29838 * sysdeps/unix/sysv/linux/Makefile
29839 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29840 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29841 and #include <socket/sa_len.c>.
29842 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29843 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29845 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29846 * bits/socket.h: ... here.
29848 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29849 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29850 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29852 2013-08-27 Andreas Schwab <schwab@suse.de>
29855 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29856 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29857 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29858 * string/test-strcasecmp.c (test_main): Run tests in several
29860 * string/test-strncasecmp.c (test_main): Likewise.
29862 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29863 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29864 to __strcasecmp_nonascii and __strncasecmp_nonascii.
29865 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29866 (__strncasecmp_ssse3) [PIC]: Likewise.
29868 2013-08-26 Roland McGrath <roland@hack.frob.com>
29870 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29872 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29873 instead of explicitly declaring xdecrypt.
29874 * nis/nss_nis/nis-publickey.c: Likewise.
29876 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29879 * nscd/aicache.c: Include res_hconf.h.
29880 (addhstaiX): Initialize res_hconf.
29882 2013-08-26 Andreas Schwab <schwab@suse.de>
29884 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29885 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29887 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29889 * nscd/aicache.c (addhstaiX): Fix indentation.
29891 2013-08-25 Mike Frysinger <vapier@gentoo.org>
29893 * configure.ac: Quote $build_pt_chown test.
29894 * configure: Regenerated.
29896 2013-08-23 Joseph Myers <joseph@codesourcery.com>
29899 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29900 * math/s_cexpf.c (__cexpf): Likewise.
29901 * math/s_cexpl.c (__cexpl): Likewise.
29902 * math/libm-test.inc (cexp_test_data): Correct expected return
29903 value for NaN + i0. Add another test.
29905 2013-08-22 David S. Miller <davem@davemloft.net>
29907 * po/ca.po: Update Catalan translation from translation project.
29908 * po/uk.po: Add Ukrainian translations from translation project.
29910 2013-08-21 Joseph Myers <joseph@codesourcery.com>
29913 * math/s_fdim.c (__fdim): Check for infinite arguments if result
29914 is infinite, not alongside NaN test.
29915 * math/s_fdimf.c (__fdimf): Likewise.
29916 * math/s_fdiml.c (__fdiml): Likewise.
29917 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
29918 errno is unchanged.
29920 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
29922 * argp/argp-help.c: Fix typos.
29923 * crypt/speeds.c: Likewise.
29924 * csu/check_fds.c: Likewise.
29925 * elf/dl-load.c: Likewise.
29926 * elf/dl-open.c: Likewise.
29927 * elf/reldep3.c: Likewise.
29928 * elf/reldep.c: Likewise.
29929 * elf/sprof.c: Likewise.
29930 * iconv/iconv_charmap.c: Likewise.
29931 * iconv/skeleton.c: Likewise.
29932 * iconv/strtab.c: Likewise.
29933 * io/lockf64.c: Likewise.
29934 * libio/libioP.h: Likewise.
29935 * resolv/gai_notify.c: Likewise.
29936 * resolv/ns_name.c: Likewise.
29937 * resolv/ns_samedomain.c: Likewise.
29938 * resolv/res_send.c: Likewise.
29939 * stdlib/random.c: Likewise.
29940 * sunrpc/rpc/xdr.h: Likewise.
29941 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29942 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29943 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29944 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29945 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29946 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29947 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29948 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29949 * sysdeps/mach/hurd/check_fds.c: Likewise.
29950 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29951 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29952 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29953 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29954 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29955 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29956 * sysdeps/pthread/aio_notify.c: Likewise.
29957 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29958 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29959 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29960 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29961 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29963 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29965 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29966 version if bit_Slow_SSE4_2 is set.
29967 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29968 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29970 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29973 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29974 trampoline stack frame information.
29975 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29976 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29977 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29978 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29979 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29980 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29981 (_libc_vdso_platform_setup): Initialize the signal trampolines.
29982 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29984 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29985 interrupting a syscall and set with option SA_SIGINFO.
29987 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29990 * math/s_cproj.c (__cproj): Only return an infinity if one part of
29991 argument is infinite.
29992 * math/s_cprojf.c (__cprojf): Likewise.
29993 * math/s_cprojl.c (__cprojl): Likewise.
29994 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29995 * math/libm-test.inc (cproj_test_data): Add more tests.
29997 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29999 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30000 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30001 size. Use __ffs to determine corresponding shift.
30003 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30004 Roland McGrath <roland@hack.frob.com>
30006 * Makefile (INSTALL): Remove trailing blank lines from output of
30009 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30011 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30012 Align 32 bit compat elf_greg to 8 bytes.
30014 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
30016 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30018 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30020 * string/strcoll_l.c (coll_seq): New structure.
30021 (get_next_seq_cached): New function.
30022 (get_next_seq): New function.
30023 (do_compare): New function.
30024 (STRCOLL): Use GNU style definition. Simplify implementation
30025 by using get_next_seq, get_next_seq_cached and do_compare.
30027 2013-08-16 Florian Weimer <fweimer@redhat.com>
30031 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30033 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30035 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30036 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30037 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
30039 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30040 GETDENTS_64BIT_ALIGNED.
30041 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30042 * manual/filesys.texi (Reading/Closing Directory): Document
30043 ENAMETOOLONG return value of readdir_r. Recommend readdir more
30045 * manual/conf.texi (Limits for Files): Add portability note to
30046 NAME_MAX, PATH_MAX.
30047 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30049 2013-08-13 Andreas Schwab <schwab@suse.de>
30052 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30054 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30055 LDBL_MAX_EXP >= 16384]: Add tests for it.
30057 2013-08-12 David S. Miller <davem@davemloft.net>
30059 * version.h (RELEASE): Set to "development".
30060 (VERSION): Set to "2.18.90".
30061 * NEWS: Add 2.19 section.
30063 2013-08-03 David S. Miller <davem@davemloft.net>
30065 * po/ko.po: Update Korean translation from translation project.
30067 2013-08-01 David S. Miller <davem@davemloft.net>
30069 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
30070 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30073 2013-07-30 David S. Miller <davem@davemloft.net>
30075 * po/fr.po: Update French translation from translation project.
30077 2013-07-28 David S. Miller <davem@davemloft.net>
30079 * po/cs.po: Update Czech translation from translation project.
30081 * po/sv.po: Update Swedish translation from translation project.
30083 2013-07-27 David S. Miller <davem@davemloft.net>
30085 * po/eo.po: Update Esperanto translation from translation project.
30087 * po/vi.po: Update Vietnamese translation from translation project.
30089 * po/de.po: Update German translation from translation project.
30091 2013-07-26 David S. Miller <davem@davemloft.net>
30093 * po/bg.po: Update Bulgarian translation from translation project.
30095 * po/nl.po: Update Dutch translation from translation project.
30096 * po/pl.po: Update Polish translation from translation project.
30097 * po/ru.po: Update Russian translation from translation project.
30099 2013-07-24 David S. Miller <davem@davemloft.net>
30101 * po/libc.pot: Update.
30103 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30105 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30106 variable page size.
30107 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30108 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30109 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30111 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30113 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30115 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30116 Andreas Schwab <schwab@suse.de>
30117 Roland McGrath <roland@hack.frob.com>
30118 Joseph Myers <joseph@codesourcery.com>
30119 Carlos O'Donell <carlos@redhat.com>
30122 * config.h.in: Define HAVE_PT_CHOWN.
30123 * config.make.in (build-pt-chown): New variable.
30124 * configure.in (--enable-pt_chown): New configure option.
30125 * configure: Regenerate.
30126 * login/Makefile: Include Makeconfig. Build pt_chown only if
30127 build-pt-chown is enabled.
30128 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30129 pt_chown to fix pty ownership.
30130 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30132 * manual/install.texi (Configuring and compiling): Mention
30133 --enable-pt_chown. Add @findex for grantpt.
30134 * INSTALL: Regenerate.
30136 2013-07-20 David S. Miller <davem@davemloft.net>
30138 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30139 difference between 32-bit and 64-bit.
30141 2013-07-15 Carlos O'Donell <carlos@redhat.com>
30144 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30145 Avoid system header dependency with -ffreestanding.
30146 ($(objpfx)bits/syscall%d): Likewise.
30148 2013-07-13 David S. Miller <davem@davemloft.net>
30150 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30151 underflows from atanl/atan2l due to bug 15319.
30152 (casinh_test_data): Likewise.
30154 2013-07-07 David S. Miller <davem@davemloft.net>
30156 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30158 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
30160 * sysdeps/i386/fpu/libm-test-ulps: Update.
30161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30163 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30165 * configure.in (--enable-lock-elision): Fix message text.
30166 * INSTALL: Regenerate.
30167 * configure: Regenerate.
30169 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30173 2013-07-03 Andreas Jaeger <aj@suse.de>
30175 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30177 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30178 (ptrace_peeksiginfo_args): Add.
30179 (__ptrace_peeksiginfo_flags): Add.
30180 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30181 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30182 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30184 2013-07-03 Allan McRae <allan@archlinux.org>
30186 * sysdeps/i386/fpu/libm-test-ulps: Update.
30188 2013-07-02 David S. Miller <davem@davemloft.net>
30190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30192 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
30194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30196 2013-07-02 Joseph Myers <joseph@codesourcery.com>
30198 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30201 2013-07-02 Andi Kleen <ak@linux.intel.com>
30203 * config.h.in (ENABLE_LOCK_ELISION): Add.
30204 * configure.in (--enable-lock-elision): Add option.
30205 * manual/install.texi: Document --enable lock elision.
30206 * configure: Regenerate
30207 * INSTALL: Regenerate.
30209 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
30211 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30212 SSE4.2 strcasecmp for libc.a.
30213 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30215 2013-07-02 Joseph Myers <joseph@codesourcery.com>
30218 * soft-fp/op-common.h (_FP_FMA): New macro.
30219 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30220 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
30221 (_FP_MUL_MEAT_1_imm): ... here.
30222 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
30223 (_FP_MUL_MEAT_1_wide): ... here.
30224 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
30225 (_FP_MUL_MEAT_1_hard): ... here.
30226 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30227 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
30228 (_FP_MUL_MEAT_2_wide): ... here.
30229 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
30230 (_FP_MUL_MEAT_2_wide_3mul): ... here.
30231 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
30232 (_FP_MUL_MEAT_2_gmp): ... here.
30233 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30234 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
30235 (_FP_MUL_MEAT_4_wide): ... here.
30236 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
30237 (_FP_MUL_MEAT_4_gmp): ... here.
30238 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30239 (_FP_WFRACBITS_DW_S): Likewise.
30240 (_FP_WFRACXBITS_DW_S): Likewise.
30241 (_FP_HIGHBIT_DW_S): Likewise.
30242 (FP_FMA_S): Likewise.
30243 (_FP_FRAC_HIGH_DW_S): Likewise.
30244 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30245 (_FP_WFRACBITS_DW_D): Likewise.
30246 (_FP_WFRACXBITS_DW_D): Likewise.
30247 (_FP_HIGHBIT_DW_D): Likewise.
30248 (FP_FMA_D): Likewise.
30249 (_FP_FRAC_HIGH_DW_D): Likewise.
30250 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30251 (_FP_WFRACBITS_DW_E): Likewise.
30252 (_FP_WFRACXBITS_DW_E): Likewise.
30253 (_FP_HIGHBIT_DW_E): Likewise.
30254 (FP_FMA_E): Likewise.
30255 (_FP_FRAC_HIGH_DW_E): Likewise.
30256 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30257 (_FP_WFRACBITS_DW_Q): Likewise.
30258 (_FP_WFRACXBITS_DW_Q): Likewise.
30259 (_FP_HIGHBIT_DW_Q): Likewise.
30260 (FP_FMA_Q): Likewise.
30261 (_FP_FRAC_HIGH_DW_Q): Likewise.
30262 * soft-fp/fmasf4.c: New file.
30263 * soft-fp/fmadf4.c: Likewise.
30264 * soft-fp/fmatf4.c: Likewise.
30266 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30269 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30271 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30273 (index_Slow_SSE4_2): Likewise.
30274 (index_Prefer_PMINUB_for_stringop): Likewise.
30275 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30276 bit_Slow_SSE4_2 is set.
30277 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30278 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30280 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30282 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30283 rtld_global._dl_hwcap2.
30284 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30286 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30287 POWER8 feature descriptions defined in _dl_hwcap2.
30288 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30289 string handling for POWER8 feature bits.
30290 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30291 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30292 _dl_powerpc_cap_flags.
30293 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30294 * sysdeps/powerpc/rtld-global-offsets.sym
30295 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30296 _dl_hwcap2 in the rtld_global_ro structure.
30298 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30300 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30301 hardware capabilities in support of AT_HWCAP2.
30302 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30303 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30305 (_dl_show_auxv): Add support for calling _dl_procinfo to display
30306 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
30307 explicitly the unknown a_type display mechanism is used.
30308 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30309 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30311 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30312 to macro prototype for AT_HWCAP2 support.
30313 * sysdeps/i386/dl-procinfo.h: Likewise.
30314 * sysdeps/s390/dl-procinfo.h: Likewise.
30315 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30316 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
30317 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
30318 return -1 for unknown a_type display fallback.
30319 * sysdeps/sparc/dl-procinfo.h: Likewise.
30320 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30321 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30323 2013-06-28 Joseph Myers <joseph@codesourcery.com>
30325 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30326 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30328 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
30331 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30332 mprotect making __stack_prot writable.
30334 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
30335 Joseph Myers <joseph@codesourcery.com>
30337 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30338 as being properly aligned.
30340 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
30342 * dlfcn/modstatic5.c: New file.
30343 * dlfcn/tststatic5.c: New file.
30344 * dlfcn/Makefile (tests): Add tststatic5.
30345 (tests-static): Likewise.
30346 (modules-names): Add modstatic5.
30347 (tststatic5-ENV): New variable.
30348 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30351 * elf/dl-support.c (_dl_main_map): New variable.
30352 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30353 (_dl_nns, _dl_load_adds): Set to 1.
30354 (_dl_initial_searchlist): Refer to _dl_main_map.
30355 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30356 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30357 call to _dl_get_origin.
30358 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30360 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30361 * dlfcn/modstatic3.c: New file.
30362 * dlfcn/tststatic3.c: New file.
30363 * dlfcn/tststatic4.c: New file.
30364 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30365 (tests-static): Likewise.
30366 (modules-names): Add modstatic3.
30367 (tststatic3-ENV, tststatic4-ENV): New variables.
30368 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30369 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30371 2013-06-26 Joseph Myers <joseph@codesourcery.com>
30373 * configure.in (CC): Require GCC version 4.4 or later.
30374 * configure: Regenerated.
30375 * manual/install.texi (Tools for Compilation): Update GCC version
30377 * INSTALL: Regenerated.
30379 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30382 * string/test-memcmp.c (check2): New.
30383 (main): Call check2.
30385 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30387 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
30390 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30392 (dl_open_worker) [!SHARED]: ... here.
30394 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30396 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30398 2013-06-25 Richard Henderson <rth@redhat.com>
30400 * locale/programs/locarchive.c: Include <libc-internal.h>
30402 2013-06-25 Joseph Myers <joseph@codesourcery.com>
30404 * manual/texinfo.tex: Update to version 2013-06-21.17, with
30405 trailing whitespace removed.
30407 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30410 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30411 * locale/programs/locarchive.c: Include libc-mmap.h.
30412 (prepare_address_space): Take two new outputs (the mmap base and len).
30413 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
30415 (create_archive): Declare new mmap base and len values for
30416 prepare_address_space, and store the result in ah.
30417 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30418 (enlarge_archive): If ah->mmap_base is not NULL, use that and
30419 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30420 Declare new mmap base and len values for
30421 prepare_address_space, and store the result in new_ah.
30422 (open_archive): Declare new mmap base and len values for
30423 prepare_address_space, and store the result in ah.
30424 (close_archive): If ah->mmap_base is not NULL, use that and
30425 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30426 * sysdeps/generic/libc-mmap.h: New file.
30428 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30430 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30431 (ALIGN_UP): Likewise.
30432 (PTR_ALIGN_DOWN): Likewise.
30433 (PTR_ALIGN_UP): Likewise.
30435 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30437 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30438 entry mapped to PPC_PLATFORM_POWER8.
30439 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30441 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30442 (_dl_string_platform): Add case for exporting platform position for
30444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30445 search path to sysdeps/powerpc/powerpc32/power8 directory.
30446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30447 search path to sysdeps/powerpc/powerpc64/power8 directory.
30448 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30449 power7 directories.
30450 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30451 power7 directories.
30453 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30455 * INSTALL: Regenerate.
30457 * nscd/connections.c (nscd_init): Fix comment.
30459 2013-06-22 Joseph Myers <joseph@codesourcery.com>
30461 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30464 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30465 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30467 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30469 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30471 (DL_DST_REQ_STATIC): Remove macro.
30473 2013-06-21 Joseph Myers <joseph@codesourcery.com>
30476 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30477 with a shift of 0 bits.
30479 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30481 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30484 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30487 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30489 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30491 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30492 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30493 accepts -fno-tree-loop-distribute-patterns.
30494 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30495 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30497 * string/memset.c (memset): Likewise.
30498 * string/test-memmove.c (simple_memmove): Disable loop transformation
30500 * string/test-memset.c (simple_memset): Likewise.
30501 * benchtests/bench-memmove.c (simple_memmove): Likewise.
30502 * benchtests/bench-memset.c (simple_memset): Likewise.
30503 * configure: Regenerated.
30505 2013-06-20 Joseph Myers <joseph@codesourcery.com>
30507 * math/test-misc.c (main): Ignore fesetround failure when failures
30508 of subsequent rounding tests would be ignored.
30511 * math/fedisblxcpt.c (fedisableexcept): Return 0.
30512 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30513 * math/fegetenv.c (__fegetenv): Return 0.
30514 * math/fegetexcept.c (fegetexcept): Return 0.
30515 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30517 * math/feholdexcpt.c (feholdexcept): Return 0.
30518 * math/fesetenv.c (__fesetenv): Return 0.
30519 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30520 argument FE_TONEAREST.
30521 * math/feupdateenv.c (__feupdateenv): Return 0.
30522 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30524 2013-06-18 Roland McGrath <roland@hack.frob.com>
30526 * elf/rtld-Rules (rtld-compile-command.S): New variable.
30527 (rtld-compile-command.s, rtld-compile-command.c): New variables.
30528 ($(objpfx)rtld-%.os rules): Use them.
30530 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30532 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30535 2013-06-17 Roland McGrath <roland@hack.frob.com>
30537 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30538 length of target pattern, then descending length of dependency pattern.
30539 * configure.in (AWK): Require gawk 3.1.2 or newer.
30540 * manual/install.texi (Tools for Compilation): Say that we do.
30541 * configure: Regenerated.
30543 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30544 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30545 * scripts/sysd-rules.awk: ... this new script.
30546 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30547 than a glob-style pattern.
30549 2013-06-17 Joseph Myers <joseph@codesourcery.com>
30551 * math/test-misc.c (main): Do not treat incorrectly rounded
30552 conversions as failure unless ROUNDING_TESTS passes.
30554 2013-06-15 Joseph Myers <joseph@codesourcery.com>
30557 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30558 restore exception state around main square root computation, then
30559 check for inexactness explicitly.
30561 * math/libm-test.inc (fma_test_data): Add another test.
30563 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30565 * manual/threads.texi (Non-POSIX Extensions): New document
30566 node. Document pthread_getattr_default_np and
30567 pthread_setattr_default_np.
30569 * Versions.def (libpthread): Add GLIBC_2.18.
30570 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30579 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30590 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30593 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30595 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30596 H.J. Lu <hjl.tools@gmail.com>
30599 * sysdeps/x86_64/rtld-memset.c: Remove file.
30600 * sysdeps/x86_64/rtld-memset.S: New file.
30602 2013-06-14 Joseph Myers <joseph@codesourcery.com>
30604 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30605 (test_in_one_mode): Take arguments for whether the rounding mode
30606 is supported for each floating-point type.
30607 (do_test): Pass new arguments to test_in_one_mode using
30610 2013-06-13 Roland McGrath <roland@hack.frob.com>
30612 * posix/tst-waitid.c (do_test): Distinguish different instances of
30613 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
30614 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30615 before entering the kernel for waitpid.
30617 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30619 * NEWS: Fix note on clock function precision. Text by Roland
30622 2013-06-13 Roland McGrath <roland@hack.frob.com>
30624 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30625 it into place only when and if the sanity check passes.
30627 2013-06-13 Joseph Myers <joseph@codesourcery.com>
30629 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30630 output for whether conversion result is exact. Take argument
30631 indicating whether type is IBM long double.
30632 (round_for_all): Change need_exact field to ibm_ld.
30633 * stdlib/tst-strtod-round.c (struct exactness): New type.
30634 (struct test): Change bool ld_ok field to struct exactness exact.
30635 (TEST): Update all definitions for change to field.
30636 (tests): Regenerate array contents.
30637 (test_in_one_mode): Take pointer to new field instead of old ld_ok
30638 field value. Check for IBM long double here.
30639 (do_test): Update calls to test_in_one_mode.
30641 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30644 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30645 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30647 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30650 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30651 generated by the compiler on loop optimizations.
30652 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30653 general definitions.
30655 2013-06-12 Joseph Myers <joseph@codesourcery.com>
30657 * math/bug-nextafter.c: Include <math-tests.h>.
30658 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30660 * math/bug-nexttoward.c: Include <math-tests.h>.
30661 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30663 * math/test-misc.c: Include <math-tests.h>.
30664 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30667 2013-06-12 Andreas Jaeger <aj@suse.de>
30669 * po/ia.po: Update Interlingua translation from translation
30672 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30674 * include/fenv.h: Include stdbool.h.
30675 (struct rm_ctx): New structure.
30676 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30678 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30679 (SET_RESTORE_ROUNDF): Likewise.
30680 (SET_RESTORE_ROUNDL): Likewise.
30681 (SET_RESTORE_ROUND_NOEX): Likewise.
30682 (SET_RESTORE_ROUND_NOEXF): Likewise.
30683 (SET_RESTORE_ROUND_NOEXL): Likewise.
30684 (SET_RESTORE_ROUND_53BIT): Likewise.
30685 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30686 (libc_feresetround_noexf_ctx): Likewise.
30687 (libc_feresetround_noexl_ctx): Likewise.
30688 (libc_feholdsetround_53bit_ctx): Likewise.
30689 (libc_feresetround_53bit_ctx): Likewise.
30690 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30691 (libc_feholdexcept_setround_sse_ctx): New function.
30692 (libc_fesetenv_sse_ctx): Likewise.
30693 (libc_feupdateenv_sse_ctx): Likewise.
30694 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30695 (libc_feholdexcept_setround_387_ctx): Likewise.
30696 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30697 (libc_feholdsetround_387_prec_ctx): Likewise.
30698 (libc_feholdsetround_387_ctx): Likewise.
30699 (libc_feholdsetround_387_53bit_ctx): Likewise.
30700 (libc_feholdsetround_sse_ctx): Likewise.
30701 (libc_feresetround_sse_ctx): Likewise.
30702 (libc_feresetround_387_ctx): Likewise.
30703 (libc_feupdateenv_387_ctx): Likewise.
30704 (libc_feholdexcept_setroundf_ctx): Define macro.
30705 (libc_fesetenvf_ctx): Likewise.
30706 (libc_feupdateenvf_ctx): Likewise.
30707 (libc_feholdsetroundf_ctx): Likewise.
30708 (libc_feresetroundf_ctx): Likewise.
30709 (libc_feholdexcept_setround_ctx): Likewise.
30710 (libc_fesetenv_ctx): Likewise.
30711 (libc_feupdateenv_ctx): Likewise.
30712 (libc_feholdsetround_ctx): Likewise.
30713 (libc_feresetround_ctx): Likewise.
30714 (libc_feholdexcept_setroundl_ctx): Likewise.
30715 (libc_feupdateenvl_ctx): Likewise.
30716 (libc_feholdsetroundl_ctx): Likewise.
30717 (libc_feresetroundl_ctx): Likewise.
30718 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30719 (libc_feresetround_53bit_ctx): Likewise.
30721 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30723 * locale/iso-639.def: Convert to UTF-8.
30725 2013-06-11 Joseph Myers <joseph@codesourcery.com>
30727 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30728 (EXCEPTION_TESTS_double): Likewise.
30729 (EXCEPTION_TESTS_long_double): Likewise.
30730 (EXCEPTION_TESTS): Likewise.
30731 * math/libm-test.inc (test_exceptions): Only test exceptions if
30732 EXCEPTION_TESTS (FLOAT).
30734 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30736 * benchtests/Makefile (string-bench): Add strcpy_chk and
30738 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30739 * benchtests/bench-stpcpy_chk.c: New file.
30740 * benchtests/bench-strcpy_chk-ifunc.c: New file.
30741 * benchtests/bench-strcpy_chk.c: New file.
30742 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30744 (do_test): Likewise.
30746 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30748 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30749 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30750 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30751 with tabs where appropriate.
30752 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30754 [PPC_PLATFORM_PPC440]: Likewise.
30755 [PPC_PLATFORM_PPC464]: Likewise.
30756 [PPC_PLATFORM_PPC476]: Likewise.
30757 (_dl_string_platform): Add support for detecting ppc405, ppc440,
30758 ppc464, and ppc476 platform strings merging from ports/
30761 2013-06-11 Andreas Schwab <schwab@suse.de>
30764 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30765 (from_ucs4_idx): Regenerate.
30766 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30767 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30768 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30769 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30770 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30771 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30772 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30773 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30774 from FROM_LOOP and TO_LOOP specific macros.
30775 (BODY): Handle combining characters.
30776 * iconvdata/BIG5HKSCS.irreversible: Update.
30777 * iconvdata/BIG5HKSCS.precomposed: New file.
30778 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30780 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30782 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30784 * include/sys/time.h: Fix indentation and add copyright header.
30786 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30787 (do_test): Likewise.
30788 * string/test-memchr.c (do_one_test): Likewise.
30789 (do_test): Likewise.
30790 * string/test-memcmp.c (do_one_test): Likewise.
30791 (do_test): Likewise.
30792 * string/test-memcpy.c (do_one_test): Likewise.
30793 (do_test): Likewise.
30794 * string/test-memmem.c (do_one_test): Likewise.
30795 (do_test): Likewise.
30796 (do_random_tests): Likewise.
30797 * string/test-memmove.c (do_one_test): Likewise.
30798 (do_test): Likewise.
30799 * string/test-memset.c (do_one_test): Likewise.
30800 (do_test): Likewise.
30801 * string/test-rawmemchr.c (do_one_test): Likewise.
30802 (do_test): Likewise.
30803 * string/test-strcasecmp.c (do_one_test): Likewise.
30804 (do_test): Likewise.
30805 * string/test-strcasestr.c (do_one_test): Likewise.
30806 (do_test): Likewise.
30807 * string/test-strcat.c (do_one_test): Likewise.
30808 (do_test): Likewise.
30809 * string/test-strchr.c (do_one_test): Likewise.
30810 (do_test): Likewise.
30811 * string/test-strcmp.c (do_one_test): Likewise.
30812 (do_test): Likewise.
30813 * string/test-strcpy.c (do_one_test): Likewise.
30814 (do_test): Likewise.
30815 * string/test-string.h: Likewise.
30816 (test_init): Likewise.
30817 * string/test-strlen.c (do_one_test): Likewise.
30818 (do_test): Likewise.
30819 * string/test-strncasecmp.c (do_one_test): Likewise.
30820 (do_test): Likewise.
30821 * string/test-strncat.c (do_one_test): Likewise.
30822 (do_test): Likewise.
30823 * string/test-strncmp.c (do_one_test): Likewise.
30824 (do_test_limit): Likewise.
30825 (do_test): Likewise.
30826 * string/test-strncpy.c (do_one_test): Likewise.
30827 (do_test): Likewise.
30828 * string/test-strnlen.c (do_one_test): Likewise.
30829 (do_test): Likewise.
30830 * string/test-strpbrk.c (do_one_test): Likewise.
30831 (do_test): Likewise.
30832 * string/test-strrchr.c (do_one_test): Likewise.
30833 (do_test): Likewise.
30834 * string/test-strspn.c (do_one_test): Likewise.
30835 (do_test): Likewise.
30836 * string/test-strstr.c (do_one_test): Likewise.
30837 (do_test): Likewise.
30839 * benchtests/Makefile (string-bench): Add string benchmarks.
30840 * benchtests/bench-bcopy-ifunc.c: New file.
30841 * benchtests/bench-bcopy.c: New file.
30842 * benchtests/bench-bzero-ifunc.c: New file.
30843 * benchtests/bench-bzero.c: New file.
30844 * benchtests/bench-memccpy-ifunc.c: New file.
30845 * benchtests/bench-memccpy.c: New file.
30846 * benchtests/bench-memchr-ifunc.c: New file.
30847 * benchtests/bench-memchr.c: New file.
30848 * benchtests/bench-memcmp-ifunc.c: New file.
30849 * benchtests/bench-memcmp.c: New file.
30850 * benchtests/bench-memmem-ifunc.c: New file.
30851 * benchtests/bench-memmem.c: New file.
30852 * benchtests/bench-memmove-ifunc.c: New file.
30853 * benchtests/bench-memmove.c: New file.
30854 * benchtests/bench-mempcpy-ifunc.c: New file.
30855 * benchtests/bench-mempcpy.c: New file.
30856 * benchtests/bench-memset-ifunc.c: New file.
30857 * benchtests/bench-memset.c: New file.
30858 * benchtests/bench-rawmemchr-ifunc.c: New file.
30859 * benchtests/bench-rawmemchr.c: New file.
30860 * benchtests/bench-stpcpy-ifunc.c: New file.
30861 * benchtests/bench-stpcpy.c: New file.
30862 * benchtests/bench-stpncpy-ifunc.c: New file.
30863 * benchtests/bench-stpncpy.c: New file.
30864 * benchtests/bench-strcasecmp-ifunc.c: New file.
30865 * benchtests/bench-strcasecmp.c: New file.
30866 * benchtests/bench-strcasestr-ifunc.c: New file.
30867 * benchtests/bench-strcasestr.c: New file.
30868 * benchtests/bench-strcat-ifunc.c: New file.
30869 * benchtests/bench-strcat.c: New file.
30870 * benchtests/bench-strchr-ifunc.c: New file.
30871 * benchtests/bench-strchr.c: New file.
30872 * benchtests/bench-strchrnul-ifunc.c: New file.
30873 * benchtests/bench-strchrnul.c: New file.
30874 * benchtests/bench-strcmp-ifunc.c: New file.
30875 * benchtests/bench-strcmp.c: New file.
30876 * benchtests/bench-strcpy-ifunc.c: New file.
30877 * benchtests/bench-strcpy.c: New file.
30878 * benchtests/bench-strcspn-ifunc.c: New file.
30879 * benchtests/bench-strcspn.c: New file.
30880 * benchtests/bench-strlen-ifunc.c: New file.
30881 * benchtests/bench-strlen.c: New file.
30882 * benchtests/bench-strncasecmp-ifunc.c: New file.
30883 * benchtests/bench-strncasecmp.c: New file.
30884 * benchtests/bench-strncat-ifunc.c: New file.
30885 * benchtests/bench-strncat.c: New file.
30886 * benchtests/bench-strncmp-ifunc.c: New file.
30887 * benchtests/bench-strncmp.c: New file.
30888 * benchtests/bench-strncpy-ifunc.c: New file.
30889 * benchtests/bench-strncpy.c: New file.
30890 * benchtests/bench-strnlen-ifunc.c: New file.
30891 * benchtests/bench-strnlen.c: New file.
30892 * benchtests/bench-strpbrk-ifunc.c: New file.
30893 * benchtests/bench-strpbrk.c: New file.
30894 * benchtests/bench-strrchr-ifunc.c: New file.
30895 * benchtests/bench-strrchr.c: New file.
30896 * benchtests/bench-strspn-ifunc.c: New file.
30897 * benchtests/bench-strspn.c: New file.
30898 * benchtests/bench-strstr-ifunc.c: New file.
30899 * benchtests/bench-strstr.c: New file.
30901 * benchtests/Makefile: Disable parallel execution of targets.
30902 (string-bench): Add memcpy.
30903 (benchset): New variable to store a list of benchmark sets.
30904 (bench-func): Renamed from bench.
30905 (bench-set): New target.
30906 (bench): Depend on bench-func and bench-set.
30907 * benchtests/README: Add section on benchmark sets.
30908 * benchtests/bench-memcpy-ifunc.c: New file.
30909 * benchtests/bench-memcpy.c: New file.
30910 * benchtests/bench-string.h: New file.
30912 2013-06-11 Andreas Schwab <schwab@suse.de>
30915 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30916 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30917 values in the triple.
30918 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30919 terminator in the group key.
30921 2013-06-11 Andreas Jaeger <aj@suse.de>
30923 * po/zh_TW.po: Update Chinese (traditional) translation from
30924 translation project.
30926 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30928 * include/time.h (__clock_gettime): Add libc_hidden_proto.
30929 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30930 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
30931 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30932 (clock_getcpuclockid): Likewise.
30933 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30934 Add weak_alias and libc_hidden_def.
30935 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30936 * rt/clock_gettime.c (clock_gettime): Rename to
30937 __clock_gettime. Add weak_alias and libc_hidden_def.
30938 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30939 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30940 __clock_nanosleep. Add weak_alias and libc_hidden_def.
30941 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30942 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30944 * rt/clock_settime.c (clock_settime): Rename to
30945 __clock_settime. Add weak_alias and libc_hidden_def.
30946 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30948 2013-06-10 Joseph Myers <joseph@codesourcery.com>
30950 * mach/err_boot.sub: Remove trailing whitespace.
30951 * mach/err_ipc.sub: Likewise.
30952 * mach/err_mach.sub: Likewise.
30954 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30955 (ROUNDING_TESTS_double): Likewise.
30956 (ROUNDING_TESTS_long_double): Likewise.
30957 (ROUNDING_TESTS): Likewise.
30958 * math/libm-test.inc: Include <math-tests.h>.
30959 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30960 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30961 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30962 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30964 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30966 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30969 2013-06-08 Joseph Myers <joseph@codesourcery.com>
30971 * sysdeps/gnu/errlist.awk: Do not generate space at end of
30972 otherwise empty TRANS lines.
30973 * sysdeps/gnu/errlist.c: Regenerated.
30975 * catgets/gencat.c (error_print): Use (void) in function
30977 * crypt/crypt_util.c (__init_des): Likewise.
30978 * crypt/speeds.c (Stop): Likewise.
30980 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30981 * inet/ruserpass.c (token): Likewise.
30982 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30983 * intl/localealias.c (extend_alias_table): Likewise.
30984 * intl/plural-exp.c (init_germanic_plural): Likewise.
30985 * libio/fcloseall.c (__fcloseall): Likewise.
30986 * libio/genops.c (_IO_flush_all): Likewise.
30987 (_IO_flush_all_linebuffered): Likewise.
30988 (_IO_cleanup): Likewise.
30989 (_IO_iter_begin): Likewise.
30990 (_IO_iter_end): Likewise.
30991 (_IO_list_lock): Likewise.
30992 (_IO_list_unlock): Likewise.
30993 (_IO_list_resetlock): Likewise.
30994 * libio/getchar.c (getchar): Likewise.
30995 * libio/getchar_u.c (getchar_unlocked): Likewise.
30996 * libio/getwchar.c (getwchar): Likewise.
30997 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30998 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30999 * login/getpt.c (__getpt): Likewise.
31000 * login/tst-utmp.c (main): Likewise.
31001 * malloc/hooks.c (__malloc_check_init): Likewise.
31002 * malloc/malloc.c (__malloc_stats): Likewise.
31003 * malloc/mtrace.c (tr_break): Likewise.
31004 (mtrace): Likewise.
31005 (muntrace): Likewise.
31006 * misc/fstab.c (endfsent): Likewise.
31007 * misc/getclktck.c (__getclktck): Likewise.
31008 * misc/getdtsz.c (__getdtablesize): Likewise.
31009 * misc/gethostid.c (gethostid): Likewise.
31010 * misc/getpagesize.c (__getpagesize): Likewise.
31011 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31012 (__get_nprocs): Likewise.
31013 (__get_phys_pages): Likewise.
31014 (__get_avphys_pages): Likewise.
31015 * misc/getttyent.c (getttyent): Likewise.
31016 (setttyent): Likewise.
31017 (endttyent): Likewise.
31018 * misc/getusershell.c (getusershell): Likewise.
31019 (endusershell): Likewise.
31020 (setusershell): Likewise.
31021 (initshells): Likewise.
31022 * misc/hsearch.c (__hdestroy): Likewise.
31023 * misc/sync.c (sync): Likewise.
31024 * misc/syslog.c (closelog_internal): Likewise.
31025 (closelog): Likewise.
31026 * misc/ttyslot.c (ttyslot): Likewise.
31027 * misc/vhangup.c (vhangup): Likewise.
31028 * posix/fork.c (__fork): Likewise.
31029 * posix/getegid.c (__getegid): Likewise.
31030 * posix/geteuid.c (__geteuid): Likewise.
31031 * posix/getgid.c (__getgid): Likewise.
31032 * posix/getpid.c (__getpid): Likewise.
31033 * posix/getppid.c (__getppid): Likewise.
31034 * posix/getuid.c (__getuid): Likewise.
31035 * posix/pause.c (pause): Likewise.
31036 * posix/setpgrp.c (setpgrp): Likewise.
31037 * posix/setsid.c (__setsid): Likewise.
31038 * posix/test-vfork.c (noop): Likewise.
31039 * resolv/gethnamaddr.c (_endhtent): Likewise.
31040 (_gethtent): Likewise.
31041 (ht_endhostent): Likewise.
31042 (gethostent): Likewise.
31043 (dns_service): Likewise.
31044 * stdlib/drand48.c (drand48): Likewise.
31045 * stdlib/lrand48.c (lrand48): Likewise.
31046 * stdlib/mrand48.c (mrand48): Likewise.
31047 * stdlib/rand.c (rand): Likewise.
31048 * stdlib/random.c (__random): Likewise.
31049 * stdlib/setenv.c (clearenv): Likewise.
31050 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31051 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31052 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31053 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31054 (__get_nprocs): Likewise.
31055 (__get_phys_pages): Likewise.
31056 (__get_avphys_pages): Likewise.
31057 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31058 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31059 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31060 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31061 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31062 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31063 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31064 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31065 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31066 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31067 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31068 * sysdeps/mach/hurd/sync.c (sync): Likewise.
31069 * sysdeps/posix/clock.c (clock): Likewise.
31070 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31071 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31072 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31073 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31074 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31075 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31076 (__get_nprocs_conf): Likewise.
31077 (__get_phys_pages): Likewise.
31078 (__get_avphys_pages): Likewise.
31079 * time/clock.c (clock): Likewise.
31080 * time/tzset.c (__tzname_max): Likewise.
31082 2013-06-07 Joseph Myers <joseph@codesourcery.com>
31084 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31085 (__bswap_32): Do not use "register".
31086 * crypt/crypt.c (_ufc_doit_r): Likewise.
31087 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31088 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31089 * gmon/gmon.c (__monstartup): Likewise.
31090 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31091 * hurd/hurdmalloc.c (more_memory): Likewise.
31092 (malloc): Likewise.
31094 (realloc): Likewise.
31095 (malloc_fork_prepare): Likewise.
31096 (malloc_fork_parent): Likewise.
31097 (malloc_fork_child): Likewise.
31098 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31099 (_svcauth_des): Likewise.
31100 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31101 * inet/inet_net.c (inet_network): Likewise.
31102 * inet/inet_netof.c (inet_netof): Likewise.
31103 * inet/rcmd.c (__validuser2_sa): Likewise.
31104 * io/fts.c (fts_open): Likewise.
31105 (fts_load): Likewise.
31106 (fts_close): Likewise.
31107 (fts_read): Likewise.
31108 (fts_children): Likewise.
31109 (fts_build): Likewise.
31110 (fts_stat): Likewise.
31111 (fts_sort): Likewise.
31112 (fts_alloc): Likewise.
31113 (fts_lfree): Likewise.
31114 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31115 (_IO_file_xsgetn): Likewise.
31116 (_IO_file_xsgetn_mmap): Likewise.
31117 * libio/iofopncook.c (_IO_cookie_read): Likewise.
31118 (_IO_cookie_write): Likewise.
31119 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31120 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31121 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31122 * malloc/obstack.c (_obstack_begin): Likewise.
31123 (_obstack_begin_1): Likewise.
31124 (_obstack_newchunk): Likewise.
31125 (_obstack_allocated_p): Likewise.
31126 (obstack_free): Likewise.
31127 (_obstack_memory_used): Likewise.
31128 * misc/getttyent.c (getttynam): Likewise.
31129 (getttyent): Likewise.
31132 * misc/getusershell.c (initshells): Likewise.
31133 * misc/syslog.c (__vsyslog_chk): Likewise.
31134 * misc/ttyslot.c (ttyslot): Likewise.
31135 * nis/nis_hash.c (__nis_hash): Likewise.
31136 * posix/fnmatch_loop.c (FCT): Likewise.
31137 * posix/getconf.c (print_all): Likewise.
31139 * posix/getopt.c (exchange): Likewise.
31140 * posix/glob.c (globfree): Likewise.
31141 (prefix_array): Likewise.
31142 (__glob_pattern_type): Likewise.
31143 * resolv/arpa/nameser.h (NS_GET16): Likewise.
31144 (NS_GET32): Likewise.
31145 (NS_PUT16): Likewise.
31146 (NS_PUT32): Likewise.
31147 * resolv/gethnamaddr.c (getanswer): Likewise.
31148 (gethostbyname2): Likewise.
31149 (gethostbyaddr): Likewise.
31150 (_gethtent): Likewise.
31151 (_gethtbyname2): Likewise.
31152 (_gethtbyaddr): Likewise.
31153 * resolv/ns_print.c (dst_s_get_int16): Likewise.
31154 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31155 * resolv/res_init.c (__res_vinit): Likewise.
31156 (net_mask): Likewise.
31157 * resolv/res_mkquery.c (outchar): Likewise.
31159 * stdio-common/printf_fp.c (outchar): Likewise.
31161 * stdio-common/printf_fphex.c (outchar): Likewise.
31163 * stdio-common/printf_size.c (outchar): Likewise.
31165 * stdio-common/test_rdwr.c (main): Likewise.
31166 * stdio-common/tfformat.c (matches): Likewise.
31167 * stdio-common/vfprintf.c (outchar): Likewise.
31168 (printf_unknown): Likewise.
31169 (buffered_vfprintf): Likewise.
31170 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31171 * stdio-common/xbug.c (AppendToBuffer): Likewise.
31172 (ReadFile): Likewise.
31173 * stdlib/qsort.c (SWAP): Likewise.
31174 (_quicksort): Likewise.
31175 * stdlib/setenv.c (__add_to_environ): Likewise.
31176 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31177 * stdlib/strtol_l.c (__strtol_l): Likewise.
31178 * stdlib/tst-strtod.c (main): Likewise.
31179 * stdlib/tst-strtol.c (main): Likewise.
31180 * stdlib/tst-strtoll.c (main): Likewise.
31181 * string/bits/string2.h (__strcmp_cc): Likewise.
31182 (__strcmp_cg): Likewise.
31183 (__strcspn_c1): Likewise.
31184 (__strcspn_c2): Likewise.
31185 (__strcspn_c3): Likewise.
31186 (__strspn_c1): Likewise.
31187 (__strspn_c2): Likewise.
31188 (__strspn_c3): Likewise.
31189 (__strsep_1c): Likewise.
31190 (__strsep_2c): Likewise.
31191 (__strsep_3c): Likewise.
31192 * string/memccpy.c (__memccpy): Likewise.
31193 * string/stpcpy.c (__stpcpy): Likewise.
31194 * string/strcmp.c (strcmp): Likewise.
31195 * string/strrchr.c (strrchr): Likewise.
31196 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31198 * sysdeps/mach/hurd/getcwd.c
31199 (_hurd_canonicalize_directory_name_internal): Likewise.
31200 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31201 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31202 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31203 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31204 Likewise, in both definitions.
31205 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31207 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31208 64] (__bswap_64): Likewise.
31209 * time/test_time.c (main): Likewise.
31210 * time/tzfile.c (__tzfile_read): Likewise.
31211 (__tzfile_compute): Likewise.
31212 * time/tzset.c (__tzset_parse_tz): Likewise.
31213 (tzset_internal): Likewise.
31214 (compute_change): Likewise.
31215 * wcsmbs/wcscat.c (__wcscat): Likewise.
31216 * wcsmbs/wcschr.c (wcschr): Likewise.
31217 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31218 * wcsmbs/wcscspn.c (wcscspn): Likewise.
31219 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31220 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31221 * wcsmbs/wcsspn.c (wcsspn): Likewise.
31222 * wcsmbs/wcsstr.c (wcsstr): Likewise.
31223 * wcsmbs/wmemchr.c (wmemchr): Likewise.
31224 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31225 * wcsmbs/wmemset.c (wmemset): Likewise.
31227 2013-06-06 Joseph Myers <joseph@codesourcery.com>
31229 * scripts/config.guess: Update to version 2013-05-16.
31230 * scripts/config.sub: Update to version 2013-04-24.
31231 * scripts/install-sh: Update to version 2011-11-20.07.
31232 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31233 * scripts/move-if-change: Update to version 2012-01-06 07:23.
31235 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
31237 * debug/fgetws_u_chk.c: Fix leading whitespaces.
31238 * elf/sln.c: Likewise.
31239 * hurd/hurd/ioctl.h: Likewise.
31240 * hurd/hurdmalloc.c: Likewise.
31241 * hurd/xattr.c: Likewise.
31242 * include/shlib-compat.h: Likewise.
31243 * inet/ruserpass.c: Likewise.
31244 * libio/iofgets_u.c: Likewise.
31245 * libio/iofgetws_u.c: Likewise.
31246 * locale/programs/ld-identification.c: Likewise.
31247 * locale/programs/ld-time.c: Likewise.
31248 * mach/msg-destroy.c: Likewise.
31249 * nss/nss_files/files-netgrp.c: Likewise.
31250 * resolv/res_data.c: Likewise.
31251 * soft-fp/op-1.h: Likewise.
31252 * soft-fp/op-2.h: Likewise.
31253 * soft-fp/op-4.h: Likewise.
31254 * soft-fp/op-common.h: Likewise.
31255 * stdio-common/printf_fphex.c: Likewise.
31256 * stdlib/strtod_l.c: Likewise.
31257 * sunrpc/rpc/clnt.h: Likewise.
31258 * sysdeps/generic/framestate.c: Likewise.
31259 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31260 * sysdeps/i386/bsd-setjmp.S: Likewise.
31261 * sysdeps/i386/__longjmp.S: Likewise.
31262 * sysdeps/i386/setjmp.S: Likewise.
31263 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31264 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31265 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31266 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31267 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31268 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31269 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31270 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31271 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31272 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31273 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31274 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31275 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31276 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31277 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31278 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31279 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31280 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31281 * sysdeps/ieee754/support.c: Likewise.
31282 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31283 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31284 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31285 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31286 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31287 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31288 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31289 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31290 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31291 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31292 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31293 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31294 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31295 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31296 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31297 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31298 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31301 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
31303 * posix/transbug.c: Remove executable mode.
31305 2013-06-05 Joseph Myers <joseph@codesourcery.com>
31307 * crypt/speeds.c: Remove trailing whitespace.
31308 * dlfcn/default.c: Likewise.
31309 * elf/ifuncdep2.c: Likewise.
31310 * elf/ifuncmain1.c: Likewise.
31311 * elf/ifuncmain1vis.c: Likewise.
31312 * elf/testobj.h: Likewise.
31313 * elf/tst-stackguard1.c: Likewise.
31314 * gmon/sys/gmon.h: Likewise.
31315 * hurd/hurdmsg.c: Likewise.
31316 * hurd/new-fd.c: Likewise.
31317 * hurd/ports-get.c: Likewise.
31318 * iconvdata/ibm1008_420.c: Likewise.
31319 * inet/tst-getni1.c: Likewise.
31320 * inet/tst-getni2.c: Likewise.
31321 * libio/ioungetc.c: Likewise.
31322 * libio/wfiledoalloc.c: Likewise.
31323 * manual/libm-err-tab.pl: Likewise.
31324 * math/w_dremf.c: Likewise.
31325 * misc/ftruncate.c: Likewise.
31326 * posix/bug-glob2.c: Likewise.
31327 * posix/tst-pcre.c: Likewise.
31328 * posix/wait4.c: Likewise.
31329 * resolv/README: Likewise.
31330 * resolv/res_debug.h: Likewise.
31331 * resolv/tst-inet_ntop.c: Likewise.
31332 * setjmp/bug269-setjmp.c: Likewise.
31333 * soft-fp/extended.h: Likewise.
31334 * soft-fp/op-1.h: Likewise.
31335 * soft-fp/op-2.h: Likewise.
31336 * soft-fp/op-4.h: Likewise.
31337 * soft-fp/op-8.h: Likewise.
31338 * soft-fp/testit.c: Likewise.
31339 * stdio-common/bug16.c: Likewise.
31340 * stdlib/random.c: Likewise.
31341 * sunrpc/rpcsvc/rquota.x: Likewise.
31342 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31343 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31344 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31345 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31346 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31347 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31348 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31349 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31350 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31351 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31352 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31353 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31354 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31355 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31356 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31357 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31358 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31359 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31360 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31361 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31362 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31363 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31364 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31365 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31366 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31367 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31368 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31369 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31370 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31371 * sysdeps/ieee754/s_lib_version.c: Likewise.
31372 * sysdeps/mach/hurd/check_fds.c: Likewise.
31373 * sysdeps/mach/hurd/getsockname.c: Likewise.
31374 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31375 * sysdeps/mach/hurd/recvfrom.c: Likewise.
31376 * sysdeps/powerpc/bits/link.h: Likewise.
31377 * sysdeps/powerpc/dl-procinfo.c: Likewise.
31378 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31379 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31380 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31381 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31382 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31383 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31384 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31385 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31386 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31387 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31388 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31389 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31390 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31391 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31392 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31393 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31394 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31395 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31396 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31397 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31398 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31399 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31400 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31401 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31402 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31403 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31404 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31405 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31406 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31407 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31408 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31409 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31410 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31411 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31412 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31413 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31414 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31415 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31416 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31417 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31418 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31419 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31420 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31421 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31422 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31423 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31424 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31425 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31426 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31427 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31428 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31429 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31430 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31431 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31432 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31433 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31434 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31435 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31436 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31437 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31438 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31439 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31440 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31441 * sysdeps/powerpc/sysdep.h: Likewise.
31442 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31443 * sysdeps/s390/s390-64/sub_n.S: Likewise.
31444 * sysdeps/sh/dl-trampoline.S: Likewise.
31445 * sysdeps/sh/memset.S: Likewise.
31446 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31447 * sysdeps/sh/strlen.S: Likewise.
31448 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31449 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31450 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31451 * sysdeps/sparc/sparc32/rem.S: Likewise.
31452 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31453 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31454 * sysdeps/sparc/sparc32/strchr.S: Likewise.
31455 * sysdeps/sparc/sparc32/udiv.S: Likewise.
31456 * sysdeps/sparc/sparc32/urem.S: Likewise.
31457 * sysdeps/sparc/sparc64/add_n.S: Likewise.
31458 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31459 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31460 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31461 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31462 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31463 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31464 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31465 * sysdeps/unix/bsd/times.c: Likewise.
31466 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31467 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31471 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31472 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31473 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31474 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31475 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31476 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31477 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31478 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31479 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31480 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31481 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31482 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31483 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31484 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31485 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31486 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31487 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31488 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31489 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31490 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31491 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31492 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31493 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31494 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31495 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31496 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31497 * sysdeps/x86_64/strcspn.S: Likewise.
31499 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31501 * locale/C-translit.h: Revert #include <stdint.h> because this is a
31502 generated file. Regenerate properly from gen-translit.pl.
31503 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
31504 locale/C-translit.h.
31506 2013-06-05 Andreas Schwab <schwab@suse.de>
31509 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31510 week as 6 instead of -1.
31511 * time/tst-strptime.c (day_tests): Add test case.
31513 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31515 * sysdeps/generic/math_private.h
31516 (libc_feholdexcept_setround_53bit): Replace with
31517 libc_feholdsetround_53bit.
31518 (libc_feupdateenv_53bit): Replace with
31519 libc_feresetround_53bit.
31520 (SET_RESTORE_ROUND_53BIT): Adjust.
31522 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31524 * string/test-strchrnul.c: Add copyright header.
31526 * posix/tst-getaddrinfo4.c: Increase test timeout.
31528 2013-06-03 Carlos O'Donell <carlos@redhat.com>
31531 * math/libm-test.inc (MAX_EXP): Remove
31533 (ulp): Use MIN_EXP - MANT_DIG.
31534 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31536 2013-05-31 Carlos O'Donell <carlos@redhat.com>
31538 * po/be.po: Revert last change.
31539 * po/zh_CN.po: Likewise.
31540 * po/header.pot: Likewise.
31542 2013-05-31 Joseph Myers <joseph@codesourcery.com>
31544 * Makefile ($(common-objpfx)linkobj/libc.so): Define
31545 link-libc-deps to empty as target-specific variable.
31546 * Makerules (link-libc-args): New variable.
31547 (libc-for-link): Likewise.
31548 (link-libc-deps): Likewise.
31549 (lib%.so): Depend on $(link-libc-deps). Link with
31551 (build-module): Link with $(link-libc-args).
31552 (build-module-asneeded): Likewise.
31553 (build-module-helper-objlist): Filter out $(link-libc-deps) from
31555 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31556 target-specific variable.
31557 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31558 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31559 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31561 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31563 ($(objpfx)libpcprofile.so): Likewise.
31564 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31566 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31567 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31568 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31570 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31571 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31572 * login/Makefile ($(objpfx)libutil.so): Likewise.
31573 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31574 * math/Makefile ($(objpfx)libm.so): Likewise.
31575 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31576 $(objpfx)libnsl.so): Define libc-for-link as target-specific
31577 variable instead of depending directly on libc.
31578 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31579 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31581 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31583 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31584 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31585 ($(objpfx)libanl.so): Likewise.
31586 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31588 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31590 * sysdeps/i386/fpu/Makefile: Remove file.
31591 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31592 ($(objpfx)libm.so): Remove dependency on ld.so.
31594 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
31597 * nis/yp_xdr.c (XDRMAXNAME): Define.
31598 (XDRMAXRECORD): Define.
31599 (xdr_domainname): Use XDRMAXNAME.
31600 (xdr_mapname): Likewise.
31601 (xdr_peername): Likewise.
31602 (xdr_keydat): Use XDRMAXRECORD.
31603 (xdr_valdat): Likewise.
31605 2013-05-30 Jeff Law <law@redhat.com>
31608 * manual/errno.texi (ESTALE): Update to account for more than
31609 just NFS file systems.
31610 * sysdeps/gnu/errlist.c: Regenerated.
31612 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31615 * elf/Makefile (tests): Add tst-null-argv.
31616 (modules-names): Add tst-null-argv-lib.
31617 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31618 (tst-null-argv-ENV): Set environment for tst-null-argv.
31619 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31620 (RTLD_PROGNAME): New macro.
31621 * elf/tst-null-argv.c: New test case.
31622 * elf/tst-null-argv-lib.c: Library for test case.
31623 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31624 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31625 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31626 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31627 * elf/dl-init.c (call_init): Likewise.
31628 (_dl_init): Likewise.
31629 * elf/dl-load.c (print_search_path): Likewise.
31630 (_dl_map_object): Likewise.
31631 * elf/dl-lookup.c (do_lookup_x): Likewise.
31632 (add_dependency): Likewise.
31633 (_dl_lookup_symbol_x): Likewise.
31634 (_dl_debug_bindings): Likewise.
31635 * elf/dl-open.c (_dl_show_scope): Likewise.
31636 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31637 * elf/dl-version.c (match_symbol): Likewise.
31638 (_dl_check_map_versions): Likewise.
31639 * elf/rtld.c (dl_main): Likewise.
31640 (print_unresolved): Use RTLD_PROGNAME.
31641 (print_missing_version): Likewise.
31642 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31643 (elf_machine_rela): Likewise.
31644 * sysdeps/powerpc/powerpc32/dl-machine.c
31645 (__process_machine_rela): Likewise.
31646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31648 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31650 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31652 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31653 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31655 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31657 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31659 2013-05-28 Carlos O'Donell <carlos@redhat.com>
31661 * po/be.po: Add descriptive title.
31662 * po/zh_CN.po: Likewise.
31663 * po/header.pot: Likewise.
31665 2013-05-28 Mike Frysinger <vapier@gentoo.org>
31667 * locale/programs/locarchive.c (create_archive): Inlucde fname in
31669 (enlarge_archive): Likewise.
31671 2013-05-28 Ben North <ben@redfrontdoor.org>
31673 * manual/arith.texi (frexp): It is the magnitude of the return
31674 value which lies in [0.5, 1), not the return value itself.
31676 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31680 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
31682 * stdio-common/bug26.c (main): Correct fscanf template.
31684 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31685 declare _dl_skip_args.
31687 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31690 * manual/platform.texi: Add missing @end deftypefun.
31692 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31695 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31696 bit of mantissa of 2^16382.
31697 * math/libm-test.inc (hypot_test_data): Add more tests.
31699 * math/libm-test.inc: Add drem and pow10 to list of tested
31701 (pow10_test): New function.
31702 (drem_test): Likewise.
31703 (drem_test_tonearest): Likewise.
31704 (drem_test_towardzero): Likewise.
31705 (drem_test_downward): Likewise.
31706 (drem_test_upward): Likewise.
31707 (main): Call the new functions.
31709 * math/libm-test.inc (finite_test_data): Remove.
31710 (finite_test): Run tests from isfinite_test_data.
31711 (gamma_test_data): Remove.
31712 (gamma_test): Run tests from lgamma_test_data.
31713 * sysdeps/i386/fpu/libm-test-ulps: Update.
31714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31716 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31718 * manual/platform.texi: Add PowerPC PPR function set documentation.
31719 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31722 2013-05-24 Carlos O'Donell <carlos@redhat.com>
31724 * math/libm-test.inc (MAX_EXP): Define.
31726 (ulp): New function.
31727 (check_float_internal): Use ULPDIFF.
31728 (cpow_test): Disable failing test.
31729 (check_ulp): Test ulp() implemetnation.
31730 (main): Call check_ulp before starting tests.
31732 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31734 * math/gen-libm-test.pl (generate_testfile): Do not handle
31735 START_DATA and END_DATA.
31736 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31738 (acos_tonearest_test_data): Likewise.
31739 (acos_towardzero_test_data): Likewise.
31740 (acos_downward_test_data): Likewise.
31741 (acos_upward_test_data): Likewise.
31742 (acosh_test_data): Likewise.
31743 (asin_test_data): Likewise.
31744 (asin_tonearest_test_data): Likewise.
31745 (asin_towardzero_test_data): Likewise.
31746 (asin_downward_test_data): Likewise.
31747 (asin_upward_test_data): Likewise.
31748 (asinh_test_data): Likewise.
31749 (atan_test_data): Likewise.
31750 (atanh_test_data): Likewise.
31751 (atan2_test_data): Likewise.
31752 (cabs_test_data): Likewise.
31753 (cacos_test_data): Likewise.
31754 (cacosh_test_data): Likewise.
31755 (carg_test_data): Likewise.
31756 (casin_test_data): Likewise.
31757 (casinh_test_data): Likewise.
31758 (catan_test_data): Likewise.
31759 (catanh_test_data): Likewise.
31760 (cbrt_test_data): Likewise.
31761 (ccos_test_data): Likewise.
31762 (ccosh_test_data): Likewise.
31763 (ceil_test_data): Likewise.
31764 (cexp_test_data): Likewise.
31765 (cimag_test_data): Likewise.
31766 (clog_test_data): Likewise.
31767 (clog10_test_data): Likewise.
31768 (conj_test_data): Likewise.
31769 (copysign_test_data): Likewise.
31770 (cos_test_data): Likewise.
31771 (cos_tonearest_test_data): Likewise.
31772 (cos_towardzero_test_data): Likewise.
31773 (cos_downward_test_data): Likewise.
31774 (cos_upward_test_data): Likewise.
31775 (cosh_test_data): Likewise.
31776 (cosh_tonearest_test_data): Likewise.
31777 (cosh_towardzero_test_data): Likewise.
31778 (cosh_downward_test_data): Likewise.
31779 (cosh_upward_test_data): Likewise.
31780 (cpow_test_data): Likewise.
31781 (cproj_test_data): Likewise.
31782 (creal_test_data): Likewise.
31783 (csin_test_data): Likewise.
31784 (csinh_test_data): Likewise.
31785 (csqrt_test_data): Likewise.
31786 (ctan_test_data): Likewise.
31787 (ctan_tonearest_test_data): Likewise.
31788 (ctan_towardzero_test_data): Likewise.
31789 (ctan_downward_test_data): Likewise.
31790 (ctan_upward_test_data): Likewise.
31791 (ctanh_test_data): Likewise.
31792 (ctanh_tonearest_test_data): Likewise.
31793 (ctanh_towardzero_test_data): Likewise.
31794 (ctanh_downward_test_data): Likewise.
31795 (ctanh_upward_test_data): Likewise.
31796 (erf_test_data): Likewise.
31797 (erfc_test_data): Likewise.
31798 (exp_test_data): Likewise.
31799 (exp_tonearest_test_data): Likewise.
31800 (exp_towardzero_test_data): Likewise.
31801 (exp_downward_test_data): Likewise.
31802 (exp_upward_test_data): Likewise.
31803 (exp10_test_data): Likewise.
31804 (exp2_test_data): Likewise.
31805 (expm1_test_data): Likewise.
31806 (fabs_test_data): Likewise.
31807 (fdim_test_data): Likewise.
31808 (finite_test_data): Likewise.
31809 (floor_test_data): Likewise.
31810 (fma_test_data): Likewise.
31811 (fma_towardzero_test_data): Likewise.
31812 (fma_downward_test_data): Likewise.
31813 (fma_upward_test_data): Likewise.
31814 (fmax_test_data): Likewise.
31815 (fmin_test_data): Likewise.
31816 (fmod_test_data): Likewise.
31817 (fpclassify_test_data): Likewise.
31818 (frexp_test_data): Likewise.
31819 (gamma_test_data): Likewise.
31820 (hypot_test_data): Likewise.
31821 (ilogb_test_data): Likewise.
31822 (isfinite_test_data): Likewise.
31823 (isgreater_test_data): Likewise.
31824 (isgreaterequal_test_data): Likewise.
31825 (isinf_test_data): Likewise.
31826 (isless_test_data): Likewise.
31827 (islessequal_test_data): Likewise.
31828 (islessgreater_test_data): Likewise.
31829 (isnan_test_data): Likewise.
31830 (isnormal_test_data): Likewise.
31831 (issignaling_test_data): Likewise.
31832 (isunordered_test_data): Likewise.
31833 (j0_test_data): Likewise.
31834 (j1_test_data): Likewise.
31835 (jn_test_data): Likewise.
31836 (ldexp_test_data): Likewise.
31837 (lgamma_test_data): Likewise.
31838 (lrint_test_data): Likewise.
31839 (lrint_tonearest_test_data): Likewise.
31840 (lrint_towardzero_test_data): Likewise.
31841 (lrint_downward_test_data): Likewise.
31842 (lrint_upward_test_data): Likewise.
31843 (llrint_test_data): Likewise.
31844 (llrint_tonearest_test_data): Likewise.
31845 (llrint_towardzero_test_data): Likewise.
31846 (llrint_downward_test_data): Likewise.
31847 (llrint_upward_test_data): Likewise.
31848 (log_test_data): Likewise.
31849 (log10_test_data): Likewise.
31850 (log1p_test_data): Likewise.
31851 (log2_test_data): Likewise.
31852 (logb_test_data): Likewise.
31853 (logb_downward_test_data): Likewise.
31854 (lround_test_data): Likewise.
31855 (llround_test_data): Likewise.
31856 (modf_test_data): Likewise.
31857 (nearbyint_test_data): Likewise.
31858 (nextafter_test_data): Likewise.
31859 (nexttoward_test_data): Likewise.
31860 (pow_test_data): Likewise.
31861 (pow_tonearest_test_data): Likewise.
31862 (pow_towardzero_test_data): Likewise.
31863 (pow_downward_test_data): Likewise.
31864 (pow_upward_test_data): Likewise.
31865 (remainder_test_data): Likewise.
31866 (remainder_tonearest_test_data): Likewise.
31867 (remainder_towardzero_test_data): Likewise.
31868 (remainder_downward_test_data): Likewise.
31869 (remainder_upward_test_data): Likewise.
31870 (remquo_test_data): Likewise.
31871 (rint_test_data): Likewise.
31872 (rint_tonearest_test_data): Likewise.
31873 (rint_towardzero_test_data): Likewise.
31874 (rint_downward_test_data): Likewise.
31875 (rint_upward_test_data): Likewise.
31876 (round_test_data): Likewise.
31877 (scalb_test_data): Likewise.
31878 (scalbn_test_data): Likewise.
31879 (scalbln_test_data): Likewise.
31880 (signbit_test_data): Likewise.
31881 (sin_test_data): Likewise.
31882 (sin_tonearest_test_data): Likewise.
31883 (sin_towardzero_test_data): Likewise.
31884 (sin_downward_test_data): Likewise.
31885 (sin_upward_test_data): Likewise.
31886 (sincos_test_data): Likewise.
31887 (sinh_test_data): Likewise.
31888 (sinh_tonearest_test_data): Likewise.
31889 (sinh_towardzero_test_data): Likewise.
31890 (sinh_downward_test_data): Likewise.
31891 (sinh_upward_test_data): Likewise.
31892 (sqrt_test_data): Likewise.
31893 (tan_test_data): Likewise.
31894 (tan_tonearest_test_data): Likewise.
31895 (tan_towardzero_test_data): Likewise.
31896 (tan_downward_test_data): Likewise.
31897 (tan_upward_test_data): Likewise.
31898 (tanh_test_data): Likewise.
31899 (tgamma_test_data): Likewise.
31900 (trunc_test_data): Likewise.
31901 (y0_test_data): Likewise.
31902 (y1_test_data): Likewise.
31903 (yn_test_data): Likewise.
31904 (significand_test_data): Likewise.
31906 * math/gen-libm-test.pl (@functions): Remove variable.
31907 (generate_testfile): Don't handle START and END lines.
31908 * math/libm-test.inc (START): New macro.
31910 (END_COMPLEX): Likewise.
31911 (acos_test): Use END macro without arguments.
31912 (acos_test_tonearest): Likewise.
31913 (acos_test_towardzero): Likewise.
31914 (acos_test_downward): Likewise.
31915 (acos_test_upward): Likewise.
31916 (acosh_test): Likewise.
31917 (asin_test): Likewise.
31918 (asin_test_tonearest): Likewise.
31919 (asin_test_towardzero): Likewise.
31920 (asin_test_downward): Likewise.
31921 (asin_test_upward): Likewise.
31922 (asinh_test): Likewise.
31923 (atan_test): Likewise.
31924 (atanh_test): Likewise.
31925 (atan2_test): Likewise.
31926 (cabs_test): Likewise.
31927 (cacos_test): Use END_COMPLEX macro without arguments.
31928 (cacosh_test): Likewise.
31929 (carg_test): Use END macro without arguments.
31930 (casin_test): Use END_COMPLEX macro without arguments.
31931 (casinh_test): Likewise.
31932 (catan_test): Likewise.
31933 (catanh_test): Likewise.
31934 (cbrt_test): Use END macro without arguments.
31935 (ccos_test): Use END_COMPLEX macro without arguments.
31936 (ccosh_test): Likewise.
31937 (ceil_test): Use END macro without arguments.
31938 (cexp_test): Use END_COMPLEX macro without arguments.
31939 (cimag_test): Use END macro without arguments.
31940 (clog_test): Use END_COMPLEX macro without arguments.
31941 (clog10_test): Likewise.
31942 (conj_test): Likewise.
31943 (copysign_test): Use END macro without arguments.
31944 (cos_test): Likewise.
31945 (cos_test_tonearest): Likewise.
31946 (cos_test_towardzero): Likewise.
31947 (cos_test_downward): Likewise.
31948 (cos_test_upward): Likewise.
31949 (cosh_test): Likewise.
31950 (cosh_test_tonearest): Likewise.
31951 (cosh_test_towardzero): Likewise.
31952 (cosh_test_downward): Likewise.
31953 (cosh_test_upward): Likewise.
31954 (cpow_test): Use END_COMPLEX macro without arguments.
31955 (cproj_test): Likewise.
31956 (creal_test): Use END macro without arguments.
31957 (csin_test): Use END_COMPLEX macro without arguments.
31958 (csinh_test): Likewise.
31959 (csqrt_test): Likewise.
31960 (ctan_test): Likewise.
31961 (ctan_test_tonearest): Likewise.
31962 (ctan_test_towardzero): Likewise.
31963 (ctan_test_downward): Likewise.
31964 (ctan_test_upward): Likewise.
31965 (ctanh_test): Likewise.
31966 (ctanh_test_tonearest): Likewise.
31967 (ctanh_test_towardzero): Likewise.
31968 (ctanh_test_downward): Likewise.
31969 (ctanh_test_upward): Likewise.
31970 (erf_test): Use END macro without arguments.
31971 (erfc_test): Likewise.
31972 (exp_test): Likewise.
31973 (exp_test_tonearest): Likewise.
31974 (exp_test_towardzero): Likewise.
31975 (exp_test_downward): Likewise.
31976 (exp_test_upward): Likewise.
31977 (exp10_test): Likewise.
31978 (exp2_test): Likewise.
31979 (expm1_test): Likewise.
31980 (fabs_test): Likewise.
31981 (fdim_test): Likewise.
31982 (finite_test): Likewise.
31983 (floor_test): Likewise.
31984 (fma_test): Likewise.
31985 (fma_test_towardzero): Likewise.
31986 (fma_test_downward): Likewise.
31987 (fma_test_upward): Likewise.
31988 (fmax_test): Likewise.
31989 (fmin_test): Likewise.
31990 (fmod_test): Likewise.
31991 (fpclassify_test): Likewise.
31992 (frexp_test): Likewise.
31993 (gamma_test): Likewise.
31994 (hypot_test): Likewise.
31995 (ilogb_test): Likewise.
31996 (isfinite_test): Likewise.
31997 (isgreater_test): Likewise.
31998 (isgreaterequal_test): Likewise.
31999 (isinf_test): Likewise.
32000 (isless_test): Likewise.
32001 (islessequal_test): Likewise.
32002 (islessgreater_test): Likewise.
32003 (isnan_test): Likewise.
32004 (isnormal_test): Likewise.
32005 (issignaling_test): Likewise.
32006 (isunordered_test): Likewise.
32007 (j0_test): Likewise.
32008 (j1_test): Likewise.
32009 (jn_test): Likewise.
32010 (ldexp_test): Likewise.
32011 (lgamma_test): Likewise.
32012 (lrint_test): Likewise.
32013 (lrint_test_tonearest): Likewise.
32014 (lrint_test_towardzero): Likewise.
32015 (lrint_test_downward): Likewise.
32016 (lrint_test_upward): Likewise.
32017 (llrint_test): Likewise.
32018 (llrint_test_tonearest): Likewise.
32019 (llrint_test_towardzero): Likewise.
32020 (llrint_test_downward): Likewise.
32021 (llrint_test_upward): Likewise.
32022 (log_test): Likewise.
32023 (log10_test): Likewise.
32024 (log1p_test): Likewise.
32025 (log2_test): Likewise.
32026 (logb_test): Likewise.
32027 (logb_test_downward): Likewise.
32028 (lround_test): Likewise.
32029 (llround_test): Likewise.
32030 (modf_test): Likewise.
32031 (nearbyint_test): Likewise.
32032 (nextafter_test): Likewise.
32033 (nexttoward_test): Likewise.
32034 (pow_test): Likewise.
32035 (pow_test_tonearest): Likewise.
32036 (pow_test_towardzero): Likewise.
32037 (pow_test_downward): Likewise.
32038 (pow_test_upward): Likewise.
32039 (remainder_test): Likewise.
32040 (remainder_test_tonearest): Likewise.
32041 (remainder_test_towardzero): Likewise.
32042 (remainder_test_downward): Likewise.
32043 (remainder_test_upward): Likewise.
32044 (remquo_test): Likewise.
32045 (rint_test): Likewise.
32046 (rint_test_tonearest): Likewise.
32047 (rint_test_towardzero): Likewise.
32048 (rint_test_downward): Likewise.
32049 (rint_test_upward): Likewise.
32050 (round_test): Likewise.
32051 (scalb_test): Likewise.
32052 (scalbn_test): Likewise.
32053 (scalbln_test): Likewise.
32054 (signbit_test): Likewise.
32055 (sin_test): Likewise.
32056 (sin_test_tonearest): Likewise.
32057 (sin_test_towardzero): Likewise.
32058 (sin_test_downward): Likewise.
32059 (sin_test_upward): Likewise.
32060 (sincos_test): Likewise.
32061 (sinh_test): Likewise.
32062 (sinh_test_tonearest): Likewise.
32063 (sinh_test_towardzero): Likewise.
32064 (sinh_test_downward): Likewise.
32065 (sinh_test_upward): Likewise.
32066 (sqrt_test): Likewise.
32067 (tan_test): Likewise.
32068 (tan_test_tonearest): Likewise.
32069 (tan_test_towardzero): Likewise.
32070 (tan_test_downward): Likewise.
32071 (tan_test_upward): Likewise.
32072 (tanh_test): Likewise.
32073 (tgamma_test): Likewise.
32074 (trunc_test): Likewise.
32075 (y0_test): Likewise.
32076 (y1_test): Likewise.
32077 (yn_test): Likewise.
32078 (significand_test): Likewise.
32080 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
32083 * libio/genops.c (_IO_no_init): Initialize wide struct info.
32085 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
32088 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32089 __ppc_mdoio and __ppc_mdoom.
32090 * manual/platform.texi: Document new functions __ppc_yield,
32091 __ppc_mdoio and __ppc_mdoom.
32093 2013-05-22 Carlos O'Donell <carlos@redhat.com>
32095 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32096 (main): Mention "tls" pseudo-hwcap is legacy.
32097 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32099 2013-05-22 Joseph Myers <joseph@codesourcery.com>
32101 * math/gen-libm-test.pl (parse_args): Output only string of
32102 arguments as text for test name, not full call or descriptions of
32103 tests for extra outputs.
32104 (generate_testfile): Do not pass function name to parse_args.
32105 Generate this_func variable from START.
32106 * math/libm-test.inc (struct test_f_f_data): Rename test_name
32108 (struct test_ff_f_data): Likewise.
32109 (test_ff_f_data_nexttoward): Likewise.
32110 (struct test_fi_f_data): Likewise.
32111 (struct test_fl_f_data): Likewise.
32112 (struct test_if_f_data): Likewise.
32113 (struct test_fff_f_data): Likewise.
32114 (struct test_c_f_data): Likewise.
32115 (struct test_f_f1_data): Likewise. Remove field extra_name.
32116 (struct test_fF_f1_data): Likewise.
32117 (struct test_ffI_f1_data): Likewise.
32118 (struct test_c_c_data): Rename test_name field to arg_str.
32119 (struct test_cc_c_data): Likewise.
32120 (struct test_f_i_data): Likewise.
32121 (struct test_ff_i_data): Likewise.
32122 (struct test_f_l_data): Likewise.
32123 (struct test_f_L_data): Likewise.
32124 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
32126 (COMMON_TEST_SETUP): New macro.
32127 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32128 (COMMON_TEST_CLEANUP): Likewise.
32129 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32130 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
32132 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32133 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
32135 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32136 (RUN_TEST_fff_f): Take argument string. Call new setup and
32138 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32139 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
32141 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32142 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
32144 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32145 (RUN_TEST_fF_f1): Take argument string. Call new setup and
32147 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32148 (RUN_TEST_fI_f1): Take argument string. Call new setup and
32150 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32151 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
32153 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32154 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
32156 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32157 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
32159 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32160 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
32162 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32163 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
32165 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32166 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
32168 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32169 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
32171 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32172 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
32174 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32175 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
32177 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32178 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
32180 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32181 (RUN_TEST_fFF_11): Take argument string. Call new setup and
32183 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32185 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
32187 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32188 to _sifields.sigfault.
32189 (si_addr_lsb): Define new macro.
32190 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32191 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32192 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32194 2013-05-03 Carlos O'Donell <carlos at redhat.com>
32197 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32199 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32201 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32202 loading the domain.
32204 2013-05-22 Joseph Myers <joseph@codesourcery.com>
32206 * math/gen-libm-test.pl (parse_args): Do not include expected
32207 result in test name.
32208 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32209 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32210 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32211 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32212 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32215 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32217 * benchtests/Makefile: Sort function entries.
32219 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32220 tanh, asinh, acosh, atanh.
32221 * benchtests/acos-inputs: New file.
32222 * benchtests/acosh-inputs: New file.
32223 * benchtests/asin-inputs: New file.
32224 * benchtests/asinh-inputs: New file.
32225 * benchtests/atanh-inputs: New file.
32226 * benchtests/cosh-inputs: New file.
32227 * benchtests/log-inputs: New file.
32228 * benchtests/sinh-inputs: New file.
32229 * benchtests/tanh-inputs: New file.
32231 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
32234 * posix/tst-getaddrinfo4.c: New test.
32235 * posix/Makefile (tests): Add it.
32237 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32240 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32241 when no services were used.
32242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32243 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32245 2013-05-21 Andreas Schwab <schwab@suse.de>
32248 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32249 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32251 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32252 redundant variable declarations and reallocation of buffer when
32253 parsing as IPv6 address. Always set NSS status when called from
32254 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
32255 buffer too small. Correct computation of needed size.
32256 * nss/Makefile (tests): Add test-digits-dots.
32257 * nss/test-digits-dots.c: New test.
32259 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32261 * benchtests/Makefile: Remove instructions for adding
32263 * benchtests/README: New file to explain how to execute and
32264 enhance the benchmark tests.
32266 2013-05-21 Andreas Schwab <schwab@suse.de>
32269 * setjmp/Makefile (tests): Add tst-sigsetjmp.
32270 * setjmp/tst-sigsetjmp.c: New test.
32272 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
32274 * sysdeps/x86_64/memset.S (memset): New implementation.
32275 (__bzero): Likewise.
32276 (__memset_tail): New function.
32278 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
32280 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32281 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32282 __memcpy_sse2_unaligned ifunc selection.
32283 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32284 Add memcpy-sse2-unaligned.S.
32285 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32286 Add: __memcpy_sse2_unaligned.
32288 2013-05-19 Joseph Myers <joseph@codesourcery.com>
32291 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32292 math_force_eval before restoring floating-point envrionment.
32293 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32294 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32296 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32298 (__nearbyintl): Use math_force_eval before restoring
32299 floating-point environment.
32300 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32302 * math/gen-libm-test.pl (special_functions): Remove.
32303 (parse_args): Don't handle TEST_extra. Handle functions with no
32305 * math/libm-test.inc (struct test_sincos_data): Replace with
32306 struct test_fFF_11_data.
32307 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32308 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32309 (sincos_test_data): Change element type to struct
32310 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
32311 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32312 RUN_TEST_LOOP_sincos.
32313 * math/README.libm-test: Don't mention special handling of
32314 individual functions.
32315 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32316 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32317 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32318 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32319 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32322 * math/gen-libm-test.pl (get_variable): Remove function.
32323 (parse_args): Don't show pointer parameters to call in test
32324 names. Use "extra output N" in test names for extra outputs
32325 rather than naming variables.
32327 2013-05-18 Joseph Myers <joseph@codesourcery.com>
32330 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32331 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32332 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32334 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32336 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32339 * math/gen-libm-test.pl (@tests): Remove variable.
32340 ($count): Likewise.
32341 (new_test): Remove function.
32342 (show_exceptions): New function.
32343 (special_functions): Use show_exceptions instead of new_test.
32344 (parse_args): Likewise.
32345 (generate_testfile): Pass only function name in generated call to
32346 print_max_error or print_complex_max_error.
32347 (get_ulps): Do not handle complex tests specially.
32348 (output_test): Rename to ...
32349 (get_all_ulps_for_test): ... this. Return a string rather than
32350 printing to a file. Require ulps to be present.
32351 (output_ulps): Generate arrays rather than #defines.
32352 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32353 (struct ulp_data): New type.
32354 (BUILD_COMPLEX_ULP): Remove macro.
32355 (compare_ulp_data): New function.
32356 (find_ulps): Likewise.
32357 (find_test_ulps): Likewise.
32358 (find_function_ulps): Likewise.
32359 (find_complex_function_ulps): Likewise.
32360 (print_max_error): Determine allowed ulps using
32361 find_function_ulps.
32362 (print_complex_max_error): Determine allowed ulps using
32363 find_complex_function_ulps.
32364 (check_float_internal): Determine max ulps using find_test_ulps.
32365 (check_float): Do not take max_ulp parameter. Update call to
32366 check_float_internal.
32367 (check_complex): Likewise.
32368 (check_int): Do not take max_ulp parameter.
32369 (check_long): Likewise.
32370 (check_bool): Likewise.
32371 (check_longlong): Likewise.
32372 (struct test_f_f_data): Remove max_ulp field.
32373 (struct test_ff_f_data): Likewise.
32374 (struct test_ff_f_data_nexttoward): Likewise.
32375 (struct test_fi_f_data): Likewise.
32376 (struct test_fl_f_data): Likewise.
32377 (struct test_if_f_data): Likewise.
32378 (struct test_fff_f_data): Likewise.
32379 (struct test_c_f_data): Likewise.
32380 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32381 (struct test_fF_f1_data): Likewise.
32382 (struct test_ffI_f1_data): Likewise.
32383 (struct test_c_c_data): Remove max_ulp field.
32384 (struct test_cc_c_data): Likewise.
32385 (struct test_f_i_data): Likewise.
32386 (struct test_ff_i_data): Likewise.
32387 (struct test_f_l_data): Likewise.
32388 (struct test_f_L_data): Likewise.
32389 (struct test_sincos_data): Likewise.
32390 (RUN_TEST_f_f): Do not handle ulps.
32391 (RUN_TEST_LOOP_f_f): Likewise.
32392 (RUN_TEST_2_f): Likewise.
32393 (RUN_TEST_LOOP_2_f): Likewise.
32394 (RUN_TEST_fff_f): Likewise.
32395 (RUN_TEST_LOOP_fff_f): Likewise.
32396 (RUN_TEST_c_f): Likewise.
32397 (RUN_TEST_LOOP_c_f): Likewise.
32398 (RUN_TEST_f_f1): Likewise.
32399 (RUN_TEST_LOOP_f_f1): Likewise.
32400 (RUN_TEST_fF_f1): Likewise.
32401 (RUN_TEST_LOOP_fF_f1): Likewise.
32402 (RUN_TEST_fI_f1): Likewise.
32403 (RUN_TEST_LOOP_fI_f1): Likewise.
32404 (RUN_TEST_ffI_f1): Likewise.
32405 (RUN_TEST_LOOP_ffI_f1): Likewise.
32406 (RUN_TEST_c_c): Likewise.
32407 (RUN_TEST_LOOP_c_c): Likewise.
32408 (RUN_TEST_cc_c): Likewise.
32409 (RUN_TEST_LOOP_cc_c): Likewise.
32410 (RUN_TEST_f_i): Likewise.
32411 (RUN_TEST_LOOP_f_i): Likewise.
32412 (RUN_TEST_f_i_tg): Likewise.
32413 (RUN_TEST_LOOP_f_i_tg): Likewise.
32414 (RUN_TEST_ff_i_tg): Likewise.
32415 (RUN_TEST_LOOP_ff_i_tg): Likewise.
32416 (RUN_TEST_f_b): Likewise.
32417 (RUN_TEST_LOOP_f_b): Likewise.
32418 (RUN_TEST_f_b_tg): Likewise.
32419 (RUN_TEST_LOOP_f_b_tg): Likewise.
32420 (RUN_TEST_f_l): Likewise.
32421 (RUN_TEST_LOOP_f_l): Likewise.
32422 (RUN_TEST_f_L): Likewise.
32423 (RUN_TEST_LOOP_f_L): Likewise.
32424 (RUN_TEST_sincos): Likewise.
32425 (RUN_TEST_LOOP_sincos): Likewise.
32427 2013-05-17 Joseph Myers <joseph@codesourcery.com>
32431 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32432 main case of finite arguments, set rounding mode to FE_TONEAREST
32433 and discard exceptions.
32434 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32436 (remainder_tonearest_test_data): New variable.
32437 (remainder_test_tonearest): New function.
32438 (remainder_towardzero_test_data): New variable.
32439 (remainder_test_towardzero): New function.
32440 (remainder_downward_test_data): New variable.
32441 (remainder_test_downward): New function.
32442 (remainder_upward_test_data): New variable.
32443 (remainder_test_upward): New function.
32444 (main): Call the new test functions.
32446 * math/libm-test.inc (struct test_f_f1_data): Remove field
32448 (struct test_fF_f1_data): Likewise.
32449 (struct test_ffI_f1_data): Likewise.
32450 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
32451 based on value of EXTRA_EXPECTED.
32452 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32453 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
32454 EXTRA_VAR based on value of EXTRA_EXPECTED.
32455 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32456 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
32457 EXTRA_VAR based on value of EXTRA_EXPECTED.
32458 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32459 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
32460 EXTRA_VAR based on value of EXTRA_EXPECTED.
32461 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32462 * math/gen-libm-test.pl (parse_args): Don't output initializers
32463 for extra output values.
32465 * math/libm-test.inc (check_int): Expect result to be exactly
32466 equal to expected value and do not handle ulps.
32467 (check_long): Likewise.
32468 (check_longlong): Likewise.
32470 * math/libm-test.inc (ceil_test_data): Test for "inexact"
32472 (cimag_test_data): Likewise.
32473 (conj_test_data): Likewise.
32474 (copysign_test_data): Likewise.
32475 (cproj_test_data): Likewise.
32476 (creal_test_data): Likewise.
32477 (fabs_test_data): Likewise.
32478 (fdim_test_data): Likewise.
32479 (finite_test_data): Likewise.
32480 (floor_test_data): Likewise.
32481 (fmax_test_data): Likewise.
32482 (fmin_test_data): Likewise.
32483 (fmod_test_data): Likewise.
32484 (fpclassify_test_data): Likewise.
32485 (frexp_test_data): Likewise.
32486 (ilogb_test_data): Likewise.
32487 (isfinite_test_data): Likewise.
32488 (isgreater_test_data): Likewise.
32489 (isgreaterequal_test_data): Likewise.
32490 (isinf_test_data): Likewise.
32491 (isless_test_data): Likewise.
32492 (islessequal_test_data): Likewise.
32493 (islessgreater_test_data): Likewise.
32494 (isnan_test_data): Likewise.
32495 (isnormal_test_data): Likewise.
32496 (issignaling_test_data): Likewise.
32497 (isunordered_test_data): Likewise.
32498 (ldexp_test_data): Likewise.
32499 (lrint_test_data): Likewise.
32500 (lrint_test_data) [TEST_FLOAT]: Disable one test.
32501 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32502 (lrint_tonearest_test_data): Test for "inexact" exceptions.
32503 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32504 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32505 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32507 (lrint_towardzero_test_data): Test for "inexact" exceptions.
32508 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32509 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32510 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32512 (lrint_downward_test_data): Test for "inexact" exceptions.
32513 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32514 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32515 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32517 (lrint_upward_test_data): Test for "inexact" exceptions.
32518 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32520 (llrint_test_data): Test for "inexact" exceptions.
32521 (llrint_test_data) [TEST_FLOAT]: Disable one test.
32522 (llrint_tonearest_test_data): Test for "inexact" exceptions.
32523 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32524 (llrint_towardzero_test_data): Test for "inexact" exceptions.
32525 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32526 (llrint_downward_test_data): Test for "inexact" exceptions.
32527 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32528 (llrint_upward_test_data): Test for "inexact" exceptions.
32529 (logb_test_data): Likewise.
32530 (logb_downward_test_data): Likewise.
32531 (nextafter_test_data): Likewise.
32532 (nexttoward_test_data): Likewise.
32533 (remainder_test_data): Likewise.
32534 (remquo_test_data): Likewise.
32535 (scalbn_test_data): Likewise.
32536 (scalbln_test_data): Likewise.
32537 (signbit_test_data): Likewise.
32538 (sqrt_test_data): Likewise.
32539 (significand_test_data): Likewise.
32541 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32544 * benchtests/bench-modf.c (struct args): Mark arg0 as
32546 * scripts/bench.pl: Mark members of struct args as volatile.
32548 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32551 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32552 negative infinity on POWER6 or lower.
32553 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32555 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
32558 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32559 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32560 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32561 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32562 (_FP_SETQNAN): New macro.
32563 (_FP_SETQNAN_SEMIRAW): Likewise.
32564 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32565 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32566 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32567 (FP_EXTEND): Use _FP_FRAC_SNANP.
32568 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32569 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32571 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32573 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32576 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32578 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32579 with DIVIDE_BY_ZERO_EXCEPTION.
32580 (gamma_test_data): Likewise.
32581 (lgamma_test_data): Likewise.
32582 (log_test_data): Likewise.
32583 (log10_test_data): Likewise.
32584 (log2_test_data): Likewise.
32585 (tgamma_test_data): Likewise.
32587 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32588 (acos_test_tonearest): Likewise.
32589 (acos_test_towardzero): Likewise.
32590 (acos_test_downward): Likewise.
32591 (acos_test_upward): Likewise.
32592 (acosh_test): Likewise.
32593 (asin_test): Likewise.
32594 (asin_test_tonearest): Likewise.
32595 (asin_test_towardzero): Likewise.
32596 (asin_test_downward): Likewise.
32597 (asin_test_upward): Likewise.
32598 (asinh_test): Likewise.
32599 (atan_test): Likewise.
32600 (atanh_test): Likewise.
32601 (atan2_test): Likewise.
32602 (cabs_test): Likewise.
32603 (cacos_test): Likewise.
32604 (cacosh_test): Likewise.
32605 (casin_test): Likewise.
32606 (casinh_test): Likewise.
32607 (catan_test): Likewise.
32608 (catanh_test): Likewise.
32609 (cbrt_test): Likewise.
32610 (ccos_test): Likewise.
32611 (ccosh_test): Likewise.
32612 (cexp_test): Likewise.
32613 (clog_test): Likewise.
32614 (clog10_test): Likewise.
32615 (cos_test): Likewise.
32616 (cos_test_tonearest): Likewise.
32617 (cos_test_towardzero): Likewise.
32618 (cos_test_downward): Likewise.
32619 (cos_test_upward): Likewise.
32620 (cosh_test): Likewise.
32621 (cosh_test_tonearest): Likewise.
32622 (cosh_test_towardzero): Likewise.
32623 (cosh_test_downward): Likewise.
32624 (cosh_test_upward): Likewise.
32625 (cpow_test): Likewise.
32626 (csin_test): Likewise.
32627 (csinh_test): Likewise.
32628 (csqrt_test): Likewise.
32629 (ctan_test): Likewise.
32630 (ctan_test_tonearest): Likewise.
32631 (ctan_test_towardzero): Likewise.
32632 (ctan_test_downward): Likewise.
32633 (ctan_test_upward): Likewise.
32634 (ctanh_test): Likewise.
32635 (ctanh_test_tonearest): Likewise.
32636 (ctanh_test_towardzero): Likewise.
32637 (ctanh_test_downward): Likewise.
32638 (ctanh_test_upward): Likewise.
32639 (erf_test): Likewise.
32640 (erfc_test): Likewise.
32641 (exp_test): Likewise.
32642 (exp_test_tonearest): Likewise.
32643 (exp_test_towardzero): Likewise.
32644 (exp_test_downward): Likewise.
32645 (exp_test_upward): Likewise.
32646 (exp10_test): Likewise.
32647 (exp2_test): Likewise.
32648 (expm1_test): Likewise.
32649 (fmod_test): Likewise.
32650 (gamma_test): Likewise.
32651 (hypot_test): Likewise.
32652 (j0_test): Likewise.
32653 (j1_test): Likewise.
32654 (jn_test): Likewise.
32655 (lgamma_test): Likewise.
32656 (log_test): Likewise.
32657 (log10_test): Likewise.
32658 (log1p_test): Likewise.
32659 (log2_test): Likewise.
32660 (logb_test_downward): Likewise.
32661 (pow_test): Likewise.
32662 (pow_test_tonearest): Likewise.
32663 (pow_test_towardzero): Likewise.
32664 (pow_test_downward): Likewise.
32665 (pow_test_upward): Likewise.
32666 (remainder_test): Likewise.
32667 (remquo_test): Likewise.
32668 (sin_test): Likewise.
32669 (sin_test_tonearest): Likewise.
32670 (sin_test_towardzero): Likewise.
32671 (sin_test_downward): Likewise.
32672 (sin_test_upward): Likewise.
32673 (sincos_test): Likewise.
32674 (sinh_test): Likewise.
32675 (sinh_test_tonearest): Likewise.
32676 (sinh_test_towardzero): Likewise.
32677 (sinh_test_downward): Likewise.
32678 (sinh_test_upward): Likewise.
32679 (sqrt_test): Likewise.
32680 (tan_test): Likewise.
32681 (tan_test_tonearest): Likewise.
32682 (tan_test_towardzero): Likewise.
32683 (tan_test_downward): Likewise.
32684 (tan_test_upward): Likewise.
32685 (tanh_test): Likewise.
32686 (tgamma_test): Likewise.
32687 (y0_test): Likewise.
32688 (y1_test): Likewise.
32689 (yn_test): Likewise.
32691 * math/gen-libm-test.pl (adjust_arg): Remove function.
32692 (special_function): Remove argument $in_func. Only handle
32693 generating output for tables of tests, not inside functions.
32694 (parse_args): Likewise.
32695 (generate_testfile): Remove variable $in_func. Update call to
32697 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32698 (MINUS_ZERO_INIT): Rename macro to minus_zero.
32699 (PLUS_INFTY_INIT): Rename macro to plus_infty.
32700 (MINUS_INFTY_INIT): Rename macro to minus_infty.
32701 (QNAN_VALUE_INIT): Rename macro to qnan_value.
32702 (MAX_VALUE_INIT): Rename macro to max_value.
32703 (MIN_VALUE_INIT): Rename macro to min_value.
32704 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32705 (plus_zero): Remove variable.
32706 (minus_zero): Likewise.
32707 (plus_infty): Likewise.
32708 (minus_infty): Likewise.
32709 (qnan_value): Likewise.
32710 (max_value): Likewise.
32711 (min_value): Likewise.
32712 (min_subnorm_value): Likewise.
32714 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32716 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32717 uint64_t or uint32_t usage.
32718 * crypt/sha256-block.c: Likewise.
32719 * crypt/sha256-crypt.c: Likewise.
32720 * crypt/sha256.c: Likewise.
32721 * crypt/sha512-block.c: Likewise.
32722 * crypt/sha512-crypt.c: Likewise.
32723 * crypt/sha512.c: Likewise.
32724 * debug/backtrace-tst.c: Likewise.
32725 * debug/pcprofiledump.c: Likewise.
32726 * elf/cache.c: Likewise.
32727 * elf/dl-cache.c: Likewise.
32728 * elf/dl-misc.c: Likewise.
32729 * elf/dl-profile.c: Likewise.
32730 * elf/dl-support.c: Likewise.
32731 * elf/ldconfig.c: Likewise.
32732 * elf/sprof.c: Likewise.
32733 * iconv/dummy-repertoire.c: Likewise.
32734 * iconv/iconv_charmap.c: Likewise.
32735 * iconv/skeleton.c: Likewise.
32736 * iconvdata/8bit-generic.c: Likewise.
32737 * iconvdata/cp737.h: Likewise.
32738 * iconvdata/cp775.h: Likewise.
32739 * iconvdata/ibm1008.h: Likewise.
32740 * iconvdata/ibm1025.h: Likewise.
32741 * iconvdata/ibm1046.h: Likewise.
32742 * iconvdata/ibm1097.h: Likewise.
32743 * iconvdata/ibm1112.h: Likewise.
32744 * iconvdata/ibm1122.h: Likewise.
32745 * iconvdata/ibm1123.h: Likewise.
32746 * iconvdata/ibm1124.h: Likewise.
32747 * iconvdata/ibm1129.h: Likewise.
32748 * iconvdata/ibm1130.h: Likewise.
32749 * iconvdata/ibm1132.h: Likewise.
32750 * iconvdata/ibm1133.h: Likewise.
32751 * iconvdata/ibm1137.h: Likewise.
32752 * iconvdata/ibm1140.h: Likewise.
32753 * iconvdata/ibm1141.h: Likewise.
32754 * iconvdata/ibm1142.h: Likewise.
32755 * iconvdata/ibm1143.h: Likewise.
32756 * iconvdata/ibm1144.h: Likewise.
32757 * iconvdata/ibm1145.h: Likewise.
32758 * iconvdata/ibm1146.h: Likewise.
32759 * iconvdata/ibm1147.h: Likewise.
32760 * iconvdata/ibm1148.h: Likewise.
32761 * iconvdata/ibm1149.h: Likewise.
32762 * iconvdata/ibm1153.h: Likewise.
32763 * iconvdata/ibm1154.h: Likewise.
32764 * iconvdata/ibm1155.h: Likewise.
32765 * iconvdata/ibm1156.h: Likewise.
32766 * iconvdata/ibm1157.h: Likewise.
32767 * iconvdata/ibm1158.h: Likewise.
32768 * iconvdata/ibm1160.h: Likewise.
32769 * iconvdata/ibm1161.h: Likewise.
32770 * iconvdata/ibm1162.h: Likewise.
32771 * iconvdata/ibm1163.h: Likewise.
32772 * iconvdata/ibm1164.h: Likewise.
32773 * iconvdata/ibm1166.h: Likewise.
32774 * iconvdata/ibm1167.h: Likewise.
32775 * iconvdata/ibm12712.h: Likewise.
32776 * iconvdata/ibm1390.h: Likewise.
32777 * iconvdata/ibm1399.h: Likewise.
32778 * iconvdata/ibm16804.h: Likewise.
32779 * iconvdata/ibm4517.h: Likewise.
32780 * iconvdata/ibm4899.h: Likewise.
32781 * iconvdata/ibm4909.h: Likewise.
32782 * iconvdata/ibm4971.h: Likewise.
32783 * iconvdata/ibm5347.h: Likewise.
32784 * iconvdata/ibm803.h: Likewise.
32785 * iconvdata/ibm856.h: Likewise.
32786 * iconvdata/ibm901.h: Likewise.
32787 * iconvdata/ibm902.h: Likewise.
32788 * iconvdata/ibm9030.h: Likewise.
32789 * iconvdata/ibm9066.h: Likewise.
32790 * iconvdata/ibm921.h: Likewise.
32791 * iconvdata/ibm922.h: Likewise.
32792 * iconvdata/ibm9448.h: Likewise.
32793 * iconvdata/isiri-3342.h: Likewise.
32794 * iconvdata/jis0201.h: Likewise.
32795 * include/link.h: Likewise.
32796 * include/netdb.h: Likewise.
32797 * inet/check_native.c: Likewise.
32798 * inet/check_pf.c: Likewise.
32799 * inet/getipv4sourcefilter.c: Likewise.
32800 * inet/getnameinfo.c: Likewise.
32801 * inet/getsourcefilter.c: Likewise.
32802 * inet/htonl.c: Likewise.
32803 * inet/setipv4sourcefilter.c: Likewise.
32804 * inet/setsourcefilter.c: Likewise.
32805 * inet/test-inet6_opt.c: Likewise.
32806 * inet/tst-network.c: Likewise.
32807 * locale/C-collate.c: Likewise.
32808 * locale/C-ctype.c: Likewise.
32809 * locale/C-time.c: Likewise.
32810 * locale/C-translit.h: Likewise.
32811 * locale/loadarchive.c: Likewise.
32812 * locale/programs/3level.h: Likewise.
32813 * locale/programs/charmap.c: Likewise.
32814 * locale/programs/charmap.h: Likewise.
32815 * locale/programs/ld-address.c: Likewise.
32816 * locale/programs/ld-collate.c: Likewise.
32817 * locale/programs/ld-ctype.c: Likewise.
32818 * locale/programs/ld-identification.c: Likewise.
32819 * locale/programs/ld-measurement.c: Likewise.
32820 * locale/programs/ld-messages.c: Likewise.
32821 * locale/programs/ld-monetary.c: Likewise.
32822 * locale/programs/ld-name.c: Likewise.
32823 * locale/programs/ld-numeric.c: Likewise.
32824 * locale/programs/ld-paper.c: Likewise.
32825 * locale/programs/ld-telephone.c: Likewise.
32826 * locale/programs/ld-time.c: Likewise.
32827 * locale/programs/linereader.c: Likewise.
32828 * locale/programs/locale.c: Likewise.
32829 * locale/programs/locarchive.c: Likewise.
32830 * locale/programs/locfile.h: Likewise.
32831 * locale/programs/repertoire.c: Likewise.
32832 * locale/programs/simple-hash.c: Likewise.
32833 * locale/programs/simple-hash.h: Likewise.
32834 * malloc/memusage.c: Likewise.
32835 * malloc/memusagestat.c: Likewise.
32836 * nis/nis_defaults.c: Likewise.
32837 * nis/nis_hash.c: Likewise.
32838 * nis/nis_print.c: Likewise.
32839 * nis/nis_xdr.c: Likewise.
32840 * nscd/connections.c: Likewise.
32841 * nscd/hstcache.c: Likewise.
32842 * nscd/nscd_gethst_r.c: Likewise.
32843 * nscd/nscd_getserv_r.c: Likewise.
32844 * nscd/nscd_helper.c: Likewise.
32845 * nscd/servicescache.c: Likewise.
32846 * nss/makedb.c: Likewise.
32847 * nss/nss_db/db-XXX.c: Likewise.
32848 * nss/nss_db/db-initgroups.c: Likewise.
32849 * nss/nss_db/db-netgrp.c: Likewise.
32850 * nss/nss_files/files-network.c: Likewise.
32851 * nss/nss_files/files-parse.c: Likewise.
32852 * posix/bug-regex5.c: Likewise.
32853 * posix/fnmatch_loop.c: Likewise.
32854 * posix/regcomp.c: Likewise.
32855 * posix/regexec.c: Likewise.
32856 * posix/tst-rfc3484-2.c: Likewise.
32857 * posix/tst-rfc3484-3.c: Likewise.
32858 * posix/tst-rfc3484.c: Likewise.
32859 * resolv/nss_dns/dns-canon.c: Likewise.
32860 * resolv/nss_dns/dns-network.c: Likewise.
32861 * resolv/res_init.c: Likewise.
32862 * resolv/res_mkquery.c: Likewise.
32863 * resolv/tst-aton.c: Likewise.
32864 * stdlib/cxa_atexit.c: Likewise.
32865 * stdlib/cxa_finalize.c: Likewise.
32866 * stdlib/gen-fpioconst.c: Likewise.
32867 * stdlib/strtol_l.c: Likewise.
32868 * string/tst-endian.c: Likewise.
32869 * sunrpc/auth_des.c: Likewise.
32870 * sunrpc/clnt_udp.c: Likewise.
32871 * sunrpc/rtime.c: Likewise.
32872 * sunrpc/svcauth_des.c: Likewise.
32873 * sunrpc/xdr.c: Likewise.
32874 * sunrpc/xdr_intXX_t.c: Likewise.
32875 * sunrpc/xdr_rec.c: Likewise.
32876 * sysdeps/generic/ldconfig.h: Likewise.
32877 * sysdeps/generic/ldsodefs.h: Likewise.
32878 * sysdeps/generic/memusage.h: Likewise.
32879 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32880 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32881 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32882 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32883 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32884 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32885 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32886 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32887 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32888 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32889 * sysdeps/posix/getaddrinfo.c: Likewise.
32890 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32891 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32892 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32893 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32894 * sysdeps/powerpc/test-gettimebase.c: Likewise.
32895 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32896 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32897 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32898 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32899 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32900 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32901 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32902 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32903 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32904 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32905 * sysdeps/x86_64/dl-tls.h: Likewise.
32906 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32907 * time/alt_digit.c: Likewise.
32908 * time/era.c: Likewise.
32909 * wcsmbs/tst-c16c32-1.c: Likewise.
32911 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32913 * math/libm-test.inc (struct test_sincos_data): New type.
32914 (RUN_TEST_LOOP_sincos): New macro.
32915 (sincos_test_data): New variable.
32916 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32918 2013-05-16 Richard Henderson <rth@redhat.com>
32920 * math/atest-exp2.c (LIMB64): New macro.
32921 (CONSTSZ): New macro.
32922 (mp_exp1, mp_exp_m1, mp_log2): New variables.
32924 (print_mpn_fp): ... to function scope.
32925 (read_mpn_hex): Remove.
32926 (get_log2): Remove.
32927 (exp2_mpn): Use mp_log2.
32928 (main): Use mp_exp1.
32930 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32932 * math/libm-test.inc: Remove comment about not testing "inexact"
32934 (INEXACT_EXCEPTION): New macro.
32935 (NO_INEXACT_EXCEPTION): Likewise.
32936 (INVALID_EXCEPTION_OK): Update value.
32937 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32938 (OVERFLOW_EXCEPTION_OK): Likewise.
32939 (UNDERFLOW_EXCEPTION_OK): Likewise.
32940 (IGNORE_ZERO_INF_SIGN): Likewise.
32941 (ERRNO_UNCHANGED): Likewise.
32942 (ERRNO_EDOM): Likewise.
32943 (ERRNO_ERANGE): Likewise.
32944 (test_exceptions): Handle testing "inexact" exceptions.
32945 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32946 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32947 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32948 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32950 (rint_towardzero_test_data): Likewise.
32951 (rint_downward_test_data): Likewise.
32952 (rint_upward_test_data): Likewise.
32954 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32955 with OVERFLOW_EXCEPTION.
32956 (exp10_test_data): Likewise.
32957 (exp2_test_data): Likewise.
32958 (expm1_test_data): Likewise.
32959 (lgamma_test_data): Likewise.
32960 (pow_test_data): Likewise.
32961 (tgamma_test_data): Likewise.
32962 (yn_test_data): Remove duplicate test of overflow.
32964 * math/libm-test.inc (struct test_cc_c_data): New type.
32965 (RUN_TEST_LOOP_cc_c): New macro.
32966 (cpow_test_data): New variable.
32967 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32969 * math/libm-test.inc (struct test_f_L_data): New type.
32970 (RUN_TEST_LOOP_f_L): New macro.
32971 (llrint_test_data): New variable.
32972 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32973 (llrint_tonearest_test_data): New variable.
32974 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32975 (llrint_towardzero_test_data): New variable.
32976 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32977 (llrint_downward_test_data): New variable.
32978 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32979 (llrint_upward_test_data): New variable.
32980 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32981 (llround_test_data): New variable.
32982 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32984 2013-05-13 Peter Collingbourne <pcc@google.com>
32986 * math/atest-exp2.c (get_log2): Remove const attribute.
32988 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32990 * math/libm-test.inc (struct test_f_l_data): New type.
32991 (RUN_TEST_LOOP_f_l): New macro.
32992 (lrint_test_data): New variable.
32993 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32994 (lrint_tonearest_test_data): New variable.
32995 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32996 (lrint_towardzero_test_data): New variable.
32997 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32998 (lrint_downward_test_data): New variable.
32999 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33000 (lrint_upward_test_data): New variable.
33001 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33002 (lround_test_data): New variable.
33003 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33005 2013-05-15 Peter Collingbourne <pcc@google.com>
33007 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33008 (EXTRACT_WORDS64) Use where appropriate.
33009 (INSERT_WORDS64) Likewise.
33011 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33012 constraints with x constraints.
33013 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33015 * malloc/obstack.c (_obstack_compat): Add initializer.
33017 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
33019 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33020 si_trapno and add si_addr_lsb to _sifields.sigfault.
33021 (si_trapno): Remove macro.
33022 (si_addr_lsb): Define new macro.
33023 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33025 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33027 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33028 instead of TEST_f_l.
33029 (llrint_test_tonearest): Likewise.
33030 (llrint_test_towardzero): Likewise.
33031 (llrint_test_downward): Likewise.
33032 (llrint_test_upward): Likewise.
33033 (llround_test): Likewise.
33035 * math/libm-test.inc (struct test_f_i_data): Add comment.
33036 (RUN_TEST_LOOP_f_b): New macro.
33037 (RUN_TEST_LOOP_f_b_tg): Likewise.
33038 (finite_test_data): New variable.
33039 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33040 (isfinite_test_data): New variable.
33041 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33042 (isinf_test_data): New variable.
33043 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33044 (isnan_test_data): New variable.
33045 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33046 (isnormal_test_data): New variable.
33047 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33048 (issignaling_test_data): New variable.
33049 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33050 (signbit_test_data): New variable.
33051 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33053 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33054 with INVALID_EXCEPTION.
33055 (acosh_test_data): Likewise.
33056 (asin_test_data): Likewise.
33057 (atanh_test_data): Likewise.
33058 (fmod_test_data): Likewise.
33059 (log_test_data): Likewise.
33060 (log10_test_data): Likewise.
33061 (log2_test_data): Likewise.
33062 (pow_test_data): Likewise.
33063 (sqrt_test_data): Likewise.
33064 (y0_test_data): Likewise.
33065 (y1_test_data): Likewise.
33066 (yn_test_data): Likewise.
33068 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33071 * math/libm-test.inc (struct test_ff_i_data): New type.
33072 (RUN_TEST_LOOP_ff_i_tg): New macro.
33073 (isgreater_test_data): New variable.
33074 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33075 (isgreaterequal_test_data): New variable.
33076 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33077 (isless_test_data): New variable.
33078 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33079 (islessequal_test_data): New variable.
33080 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33081 (islessgreater_test_data): New variable.
33082 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33083 (isunordered_test_data): New variable.
33084 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33086 2013-05-14 David S. Miller <davem@davemloft.net>
33088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33090 2013-05-14 Joseph Myers <joseph@codesourcery.com>
33092 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33094 * math/libm-test.inc (struct test_fF_f1_data): Change type of
33096 (struct test_f_i_data): Change type of max_ulp to int.
33098 * math/libm-test.inc (test_ffI_f1_data): New type.
33099 (RUN_TEST_LOOP_ffI_f1): New macro.
33100 (remquo_test_data): New variable.
33101 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33103 * setjmp/tst-setjmp-fp.c: New file.
33104 * setjmp/Makefile (tests): Add tst-setjmp-fp.
33105 (link-libm): New variable.
33106 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33108 * math/libm-test.inc (struct test_f_i_data): New type.
33109 (RUN_TEST_LOOP_f_i): New macro.
33110 (RUN_TEST_LOOP_f_i_tg): Likewise.
33111 (fpclassify_test_data): New variable.
33112 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33113 (ilogb_test_data): New variable.
33114 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33116 * math/libm-test.inc (scalbln_test): Correct function name in END
33119 * math/libm-test.inc (struct test_f_f1_data): Add comment.
33120 (RUN_TEST_LOOP_fI_f1): New macro.
33121 (frexp_test_data): New variable.
33122 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33124 * math/libm-test.inc (struct test_fF_f1_data): New type.
33125 (RUN_TEST_LOOP_fF_f1): New macro.
33126 (modf_test_data): New variable.
33127 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33129 * math/libm-test.inc (struct test_f_f1_data): New type.
33130 (RUN_TEST_LOOP_f_f1): New macro.
33131 (gamma_test_data): New variable.
33132 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33133 (lgamma_test_data): New variable.
33134 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33136 2013-05-13 Carlos O'Donell <carlos@redhat.com>
33138 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33139 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33140 (main): Comment "tls" pseudo-hwcap.
33142 2013-05-13 Joseph Myers <joseph@codesourcery.com>
33144 * math/libm-test.inc (struct test_fl_f_data): New type.
33145 (RUN_TEST_LOOP_fl_f): New variable.
33146 (scalbln_test_data): New variable.
33147 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33149 * math/libm-test.inc (struct test_fi_f_data): New type.
33150 (RUN_TEST_LOOP_fi_f): New macro.
33151 (ldexp_test_data): New variable.
33152 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33153 (scalbn_test_data): New variable.
33154 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33156 * math/libm-test.inc (struct test_c_f_data): New type.
33157 (RUN_TEST_LOOP_c_f): New macro.
33158 (cabs_test_data): New variable.
33159 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33160 (carg_test_data): New variable.
33161 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33162 (cimag_test_data): New variable.
33163 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33164 (creal_test_data): New variable.
33165 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33167 * math/libm-test.inc (struct test_if_f_data): New type.
33168 (RUN_TEST_LOOP_if_f): New macro.
33169 (jn_test_data): New variable.
33170 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33171 (yn_test_data): New variable.
33172 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33174 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33176 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33178 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33179 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33181 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33183 * benchtests/Makefile (CPPFLAGS-nonlib): Add
33184 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33185 (bench-deps): Add bench-timing.h.
33186 * benchtests-bench-skeleton.c: Include bench-timing.h.
33187 (main): Use TIMING_* macros instead of clock_gettime.
33188 * benchtests/bench-timing.h: New file.
33191 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33192 Renamed from _LIB_VERSION.
33193 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33195 2013-05-12 Joseph Myers <joseph@codesourcery.com>
33197 * math/libm-test.inc (struct test_fff_f_data): New type.
33198 (RUN_TEST_LOOP_fff_f): New macro.
33199 (fma_test_data): New variable.
33200 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33201 (fma_towardzero_test_data): New variable.
33202 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33203 (fma_downward_test_data): New variable.
33204 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33205 (fma_upward_test_data): New variable.
33206 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33208 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33209 (struct test_c_c_data): New type.
33210 (RUN_TEST_LOOP_c_c): New macro.
33211 (cacos_test_data): New variable.
33212 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33213 (cacosh_test_data): New variable.
33214 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33215 (casin_test_data): New variable.
33216 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33217 (casinh_test_data): New variable.
33218 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33219 (catan_test_data): New variable.
33220 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33221 (catanh_test_data): New variable.
33222 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33223 (ccos_test_data): New variable.
33224 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33225 (ccosh_test_data): New variable.
33226 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33227 (cexp_test_data): New variable.
33228 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33229 (clog_test_data): New variable.
33230 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33231 (clog10_test_data): New variable.
33232 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33233 (conj_test_data): New variable.
33234 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33235 (cproj_test_data): New variable.
33236 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33237 (csin_test_data): New variable.
33238 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33239 (csinh_test_data): New variable.
33240 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33241 (csqrt_test_data): New variable.
33242 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33243 (ctan_test_data): New variable.
33244 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33245 (ctan_tonearest_test_data): New variable.
33246 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33247 (ctan_towardzero_test_data): New variable.
33248 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33249 (ctan_downward_test_data): New variable.
33250 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33251 (ctan_upward_test_data): New variable.
33252 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33253 (ctanh_test_data): New variable.
33254 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33255 (ctanh_tonearest_test_data): New variable.
33256 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33257 (ctanh_towardzero_test_data): New variable.
33258 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33259 (ctanh_downward_test_data): New variable.
33260 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33261 (ctanh_upward_test_data): New variable.
33262 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33263 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33266 * math/libm-test.inc (struct test_ff_f_data): New type.
33267 (struct test_ff_f_data_nexttoward): Likewise.
33268 (RUN_TEST_LOOP_2_f): New macro.
33269 (RUN_TEST_LOOP_ff_f): Likewise.
33270 (atan2_test_data): New variable.
33271 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33272 (copysign_test_data): New variable.
33273 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33274 (fdim_test_data): New variable.
33275 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33276 (fmax_test_data): New variable.
33277 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33278 (fmin_test_data): New variable.
33279 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33280 (fmod_test_data): New variable.
33281 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33282 (hypot_test_data): New variable.
33283 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33284 (nextafter_test_data): New variable.
33285 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33286 (nexttoward_test_data): New variable.
33287 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33288 (pow_test_data): New variable.
33289 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33290 (pow_tonearest_test_data): New variable.
33291 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33292 (pow_towardzero_test_data): New variable.
33293 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33294 (pow_downward_test_data): New variable.
33295 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33296 (pow_upward_test_data): New variable.
33297 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33298 (remainder_test_data): New variable.
33299 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33300 (scalb_test_data): New variable.
33301 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33302 * sysdeps/i386/fpu/libm-test-ulps: Update.
33304 2013-05-11 Joseph Myers <joseph@codesourcery.com>
33306 * math/libm-test.inc (fma_test): Use max_value instead of local
33308 (nextafter_test): Likewise.
33310 * math/libm-test.inc (acos_towardzero_test_data): New variable.
33311 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33312 (acos_downward_test_data): New variable.
33313 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33314 (acos_upward_test_data): New variable.
33315 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33316 (acosh_test_data): New variable.
33317 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33318 (asin_test_data): New variable.
33319 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33320 (asin_tonearest_test_data): New variable.
33321 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33322 (asin_towardzero_test_data): New variable.
33323 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33324 (asin_downward_test_data): New variable.
33325 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33326 (asin_upward_test_data): New variable.
33327 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33328 (asinh_test_data): New variable.
33329 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33330 (atan_test_data): New variable.
33331 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33332 (atanh_test_data): New variable.
33333 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33334 (cbrt_test_data): New variable.
33335 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33336 (ceil_test_data): New variable.
33337 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33338 (cos_test_data): New variable.
33339 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33340 (cos_tonearest_test_data): New variable.
33341 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33342 (cos_towardzero_test_data): New variable.
33343 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33344 (cos_downward_test_data): New variable.
33345 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33346 (cos_upward_test_data): New variable.
33347 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33348 (cosh_test_data): New variable.
33349 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33350 (cosh_tonearest_test_data): New variable.
33351 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33352 (cosh_towardzero_test_data): New variable.
33353 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33354 (cosh_downward_test_data): New variable.
33355 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33356 (cosh_upward_test_data): New variable.
33357 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33358 (erf_test_data): New variable.
33359 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33360 (erfc_test_data): New variable.
33361 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33362 (exp_test_data): New variable.
33363 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33364 (exp_tonearest_test_data): New variable.
33365 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33366 (exp_towardzero_test_data): New variable.
33367 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33368 (exp_downward_test_data): New variable.
33369 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33370 (exp_upward_test_data): New variable.
33371 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33372 (exp10_test_data): New variable.
33373 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33374 (exp2_test_data): New variable.
33375 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33376 (expm1_test_data): New variable.
33377 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33378 (fabs_test_data): New variable.
33379 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33380 (floor_test_data): New variable.
33381 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33382 (j0_test_data): New variable.
33383 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33384 (j1_test_data): New variable.
33385 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33386 (log_test_data): New variable.
33387 (log_test): Run tests with RUN_TEST_LOOP_f_f.
33388 (log10_test_data): New variable.
33389 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33390 (log1p_test_data): New variable.
33391 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33392 (log2_test_data): New variable.
33393 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33394 (logb_test_data): New variable.
33395 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33396 (logb_downward_test_data): New variable.
33397 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33398 (nearbyint_test_data): New variable.
33399 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33400 (rint_test_data): New variable.
33401 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33402 (rint_tonearest_test_data): New variable.
33403 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33404 (rint_towardzero_test_data): New variable.
33405 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33406 (rint_downward_test_data): New variable.
33407 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33408 (rint_upward_test_data): New variable.
33409 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33410 (round_test_data): New variable.
33411 (round_test): Run tests with RUN_TEST_LOOP_f_f.
33412 (sin_test_data): New variable.
33413 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33414 (sin_tonearest_test_data): New variable.
33415 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33416 (sin_towardzero_test_data): New variable.
33417 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33418 (sin_downward_test_data): New variable.
33419 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33420 (sin_upward_test_data): New variable.
33421 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33422 (sinh_test_data): New variable.
33423 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33424 (sinh_tonearest_test_data): New variable.
33425 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33426 (sinh_towardzero_test_data): New variable.
33427 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33428 (sinh_downward_test_data): New variable.
33429 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33430 (sinh_upward_test_data): New variable.
33431 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33432 (sqrt_test_data): New variable.
33433 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33434 (tan_test_data): New variable.
33435 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33436 (tan_tonearest_test_data): New variable.
33437 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33438 (tan_towardzero_test_data): New variable.
33439 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33440 (tan_downward_test_data): New variable.
33441 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33442 (tan_upward_test_data): New variable.
33443 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33444 (tanh_test_data): New variable.
33445 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33446 (tgamma_test_data): New variable.
33447 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33448 (trunc_test_data): New variable.
33449 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33450 (y0_test_data): New variable.
33451 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33452 (y1_test_data): New variable.
33453 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33454 (significand_test_data): New variable.
33455 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33457 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
33460 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33462 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
33464 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33466 2013-05-10 Andreas Jaeger <aj@suse.de>
33469 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33470 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33472 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33474 * math/gen-libm-test.pl (adjust_arg): New function.
33475 (special_functions): Handle generating output in both functions
33477 (parse_args): Likewise.
33478 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
33479 $in_func argument to parse_args.
33480 * math/libm-test.inc (struct test_f_f_data): New type.
33481 (IF_ROUND_INIT_): New macro.
33482 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33483 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33484 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33485 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33486 (ROUND_RESTORE_): Likewise.
33487 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33488 (ROUND_RESTORE_FE_TONEAREST): Likewise.
33489 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33490 (ROUND_RESTORE_FE_UPWARD): Likewise.
33491 (RUN_TEST_LOOP_f_f): New macro.
33492 (acos_test_data): New variable.
33493 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33494 (acos_tonearest_test_data): New variable.
33495 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33497 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33499 * benchtests/bench-skeleton.c (startup): Fix coding style.
33501 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33504 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33505 negative infinity argument.
33506 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33507 negative infinity argument.
33508 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33509 negative infinity argument.
33510 * math/libm-test.inc (tgamma_test): Expect errno to be set for
33513 2013-05-10 Florian Weimer <fweimer@redhat.com>
33515 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33516 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33517 * iconv/iconv_prog.c (main): Likewise.
33518 * locale/programs/charmap-dir.c (charmap_readdir)
33519 (fopen_uncompressed): Likewise.
33520 * locale/programs/locfile.c (siblings_uncached)
33521 (write_locale_data): Use lstat64 instead of lstat.
33522 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33525 2013-05-10 Andreas Jaeger <aj@suse.de>
33528 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33530 Include <locale.h>.
33532 2013-05-09 Carlos O'Donell <carlos@redhat.com>
33534 * elf/dl-close.c (_dl_close_worker): Add comments.
33536 2013-05-09 Joseph Myers <joseph@codesourcery.com>
33539 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33541 (__ieee754_rem_pio2l): Update comments.
33544 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33546 (__ieee754_rem_pio2l): Update comments.
33548 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33549 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33551 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33554 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33555 (M_PI_34_LOG10El): Likewise.
33556 (M_PI2_LOG10El): Likewise.
33557 (M_PI4_LOG10El): Likewise.
33558 (M_PI_LOG10El): Likewise.
33560 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33564 2013-05-08 Joseph Myers <joseph@codesourcery.com>
33566 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33567 (MINUS_ZERO_INIT): Likewise.
33568 (PLUS_INFTY_INIT): Likewise.
33569 (MINUS_INFTY_INIT): Likewise.
33570 (QNAN_VALUE_INIT): Likewise.
33571 (MAX_VALUE_INIT): Likewise.
33572 (MIN_VALUE_INIT): Likewise.
33573 (MIN_SUBNORM_VALUE_INIT): Likewise.
33574 (plus_zero): Initialize with PLUS_ZERO_INIT.
33575 (minus_zero): Initialize with MINUS_ZERO_INIT.
33576 (plus_infty): Initialize with PLUS_INFTY_INIT.
33577 (minus_infty): Initialize with MINUS_INFTY_INIT.
33578 (qnan_value): Initialize with QNAN_VALUE_INIT.
33579 (max_value): Initialize with MAX_VALUE_INIT.
33580 (min_value): Initialize with MIN_VALUE_INIT.
33581 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33583 * math/libm-test.inc (RUN_TEST_if_f): New macro.
33584 (jn_test): Use TEST_if_f instead of TEST_ff_f.
33585 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33586 (yn_test): Use TEST_if_f instead of TEST_ff_f.
33588 * math/libm-test.inc (RUN_TEST_f_f): New macro.
33589 (RUN_TEST_2_f): Likewise.
33590 (RUN_TEST_ff_f): Likewise.
33591 (RUN_TEST_fi_f): Likewise.
33592 (RUN_TEST_fl_f): Likewise.
33593 (RUN_TEST_fff_f): Likewise.
33594 (RUN_TEST_c_f): Likewise.
33595 (RUN_TEST_f_f1): Likewise.
33596 (RUN_TEST_fF_f1): Likewise.
33597 (RUN_TEST_fI_f1): Likewise.
33598 (RUN_TEST_ffI_f1): Likewise.
33599 (RUN_TEST_c_c): Likewise.
33600 (RUN_TEST_cc_c): Likewise.
33601 (RUN_TEST_f_i): Likewise.
33602 (RUN_TEST_f_i_tg): Likewise.
33603 (RUN_TEST_ff_i_tg): Likewise.
33604 (RUN_TEST_f_b): Likewise.
33605 (RUN_TEST_f_b_tg): Likewise.
33606 (RUN_TEST_f_l): Likewise.
33607 (RUN_TEST_f_L): Likewise.
33608 (RUN_TEST_sincos): Likewise.
33609 * math/gen-libm-test.pl (new_test): Take new argument to indicate
33610 whether to show exceptions. Do not include ");\n" in return
33612 (special_functions): Output call to RUN_TEST_sincos instead of
33613 check_float calls. Update calls to new_test.
33614 (parse_args): Output call to single RUN_TEST_* macro instead of
33615 check_* calls and other assignments. Update calls to new_test.
33621 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33622 input to result for tgamma overflow.
33623 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33624 (gamma_coeff): New variable.
33625 (NCOEFF): New macro.
33626 (gamma_positive): New function.
33627 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33628 underflow here. Use gamma_positive instead of exp (lgamma) for
33630 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33631 (gamma_coeff): New variable.
33632 (NCOEFF): New macro.
33633 (gammaf_positive): New function.
33634 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33635 underflow here. Use gamma_positive instead of exp (lgamma) for
33637 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33638 (gamma_coeff): New variable.
33639 (NCOEFF): New macro.
33640 (gammal_positive): New function.
33641 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33642 underflow here. Use gamma_positive instead of exp (lgamma) for
33644 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33645 (gamma_coeff): New variable.
33646 (NCOEFF): New macro.
33647 (gammal_positive): New function.
33648 (__ieee754_gammal_r): Handle positive infinity, overflow and
33649 underflow here. Handle NaN the same as positive infinity. Remove
33650 check x < 0xffffffff for negative integers. Use gamma_positive
33651 instead of exp (lgamma) for other arguments.
33652 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33653 (gamma_coeff): New variable.
33654 (NCOEFF): New macro.
33655 (gammal_positive): New function.
33656 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33657 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33658 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33659 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33660 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33661 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33662 * sysdeps/generic/math_private.h (__gamma_productf): New
33664 (__gamma_product): Likewise.
33665 (__gamma_productl): Likewise.
33666 * math/Makefile (libm-calls): Add gamma_product.
33667 * math/libm-test.inc (tgamma_test): Add more tests.
33668 * sysdeps/i386/fpu/libm-test-ulps: Update.
33669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33671 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
33673 * benchtests/bench-skeleton.c (main): Preheat CPU.
33675 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
33677 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33679 2013-05-07 Roland McGrath <roland@hack.frob.com>
33681 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33682 and _dl_skip_args_internal.
33684 2013-05-07 Carlos O'Donell <carlos@redhat.com>
33686 * manual/message.texi (Message Translation): Talk about users.
33687 Message to key mapping impacts design.
33689 2013-05-06 Roland McGrath <roland@hack.frob.com>
33691 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33693 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33695 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33696 * sysdeps/wordsize-64/glob64.c: ... here.
33698 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33699 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33702 * debug/getlogin_r_chk.c: Moved to ...
33703 * login/getlogin_r_chk.c: ... here.
33704 * debug/Makefile (routines): Move getlogin_r_chk to ...
33705 * login/Makefile (routines): ... here.
33706 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33707 * login/Versions (libc: GLIBC_2.4): ... here.
33709 * io/poll.c (__poll): Renamed from poll.
33710 Add libc_hidden_def.
33711 (poll): Define as weak alias.
33713 * debug/ptsname_r_chk.c: Moved to ...
33714 * login/ptsname_r_chk.c: ... here.
33715 * debug/Makefile (routines): Move ptsname_r_chk to ...
33716 * login/Makefile (routines): ... here.
33717 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33718 * login/Versions (libc: GLIBC_2.4): ... here.
33720 * posix/getlogin.c: Moved to ...
33721 * login/getlogin.c: ... here.
33722 * posix/getlogin_r.c: Moved to ...
33723 * login/getlogin_r.c: ... here.
33724 * posix/getlogin_r.c: Moved to ...
33725 * login/getlogin_r.c: ... here.
33726 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33727 * login/Makefile (routines): ... here.
33728 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33729 * login/Versions (libc: GLIBC_2.0): ... here.
33731 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33732 (setrlimit): Define as weak alias.
33734 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33735 Call __ names for open, ftruncate, and close.
33736 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33737 (truncate): Define as weak alias.
33739 2013-05-06 Joseph Myers <joseph@codesourcery.com>
33741 * math/gen-libm-test.pl (parse_args): Initialize x before each
33742 test of frexp, modf and remquo.
33744 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33745 test signgam value.
33747 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33751 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33753 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33755 2013-05-06 Roland McGrath <roland@hack.frob.com>
33757 * elf/dl-writev.h: New file.
33758 * elf/dl-misc.c: Include it.
33759 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33760 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33762 2013-05-04 Joseph Myers <joseph@codesourcery.com>
33764 * math/libm-test.inc (noXFails): Remove variable.
33765 (noXPasses): Likewise.
33766 (BUILD_COMPLEX_INT): Remove macro.
33767 (print_screen): Remove xfail argument.
33768 (print_screen_max_error): Likewise.
33769 (update_stats): Likewise.
33770 (print_max_error): Likewise. Update calls to other affected
33772 (print_complex_max_error): Likewise.
33773 (test_single_exception): Update calls to print_screen.
33774 (test_single_errno): Likewise.
33775 (check_float_internal): Remove xfail argument. Update calls to
33776 other affected functions.
33777 (check_float): Likewise.
33778 (check_complex): Likewise.
33779 (check_int): Likewise.
33780 (check_long): Likewise.
33781 (check_bool): Likewise.
33782 (check_longlong): Likewise.
33783 (main): Don't print noXFails and noXPasses.
33784 * math/gen-libm-test.pl (top level): Don't mention expected
33785 failure handling in comment.
33786 (new_test): Don't handle expected failures.
33787 (parse_args): Don't mention expected failure handling in comment.
33788 (generate_testfile): Don't handle expected failures.
33789 (parse_ulps): Likewise.
33790 (print_ulps_file): Likewise.
33791 (get_failure): Remove function.
33792 (output_test): Don't handle expected failures.
33793 * make/README.libm-test: Don't mention expected failure handling.
33795 * math/libm-test.inc (plus_zero): Make const. Add initializer.
33796 (minus_zero): Likewise.
33797 (plus_infty): Likewise.
33798 (minus_infty): Likewise.
33799 (qnan_value): Likewise.
33800 (max_value): Likewise.
33801 (min_value): Likewise.
33802 (min_subnorm_value): Likewise.
33803 (initialize): Do not initialize those variables dynamically.
33805 2013-05-03 Roland McGrath <roland@hack.frob.com>
33807 * io/open.c (__open_2): Moved to ...
33808 * io/open_2.c: ... this new file.
33809 * io/open64.c (__open64_2): Moved to ...
33810 * io/open64_2.c: ... this new file.
33811 * io/openat.c (__openat_2): Moved to ...
33812 * io/openat_2.c: ... this new file.
33813 * io/openat64.c (__openat64_2): Moved to ...
33814 * io/openat64_2.c: ... this new file.
33815 * io/Makefile (routines): Add them.
33816 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33817 * sysdeps/unix/sysv/linux/open_2.c: File removed.
33818 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33819 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33820 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33821 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33822 (__openat64): Add hidden_ver.
33823 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33824 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33826 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33827 Separately conditionalize setting of GLRO(dl_sysinfo) so
33828 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33829 as well, but the actual setting is only under [NEED_DL_SYSINFO].
33831 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33833 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33834 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33836 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33837 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33838 (_libc_vdso_platform_setup): Add __vdso_time initialization.
33839 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33840 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33842 2013-05-03 Joseph Myers <joseph@codesourcery.com>
33844 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33845 test signgam value.
33847 * math/libm-test.inc (hypot_test): Do not use
33848 IGNORE_ZERO_INF_SIGN.
33850 2013-05-03 Andreas Jaeger <aj@suse.de>
33852 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33854 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33855 (PF_MAX): Adjust for VSOCK change.
33857 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33861 2013-05-02 Carlos O'Donell <carlos@redhat.com>
33864 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33865 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33866 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33868 2013-05-02 David S. Miller <davem@davemloft.net>
33870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33872 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
33874 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33876 2013-05-01 Roland McGrath <roland@hack.frob.com>
33878 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33880 2013-05-01 Richard Smith <richard@metafoo.co.uk>
33883 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33884 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33885 Use __attribute__ ((__gnu_inline__)).
33886 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33887 Don't use __attribute__ ((__gnu_inline__)).
33889 2013-05-01 Joseph Myers <joseph@codesourcery.com>
33892 * math/s_catan.c (__catan): Handle small real or imaginary part of
33893 input specially to avoid spurious underflow.
33894 * math/s_catanf.c (__catanf): Likewise.
33895 * math/s_catanh.c (__catanh): Likewise.
33896 * math/s_catanhf.c (__catanhf): Likewise.
33897 * math/s_catanhl.c (__catanhl): Likewise.
33898 * math/s_catanl.c (__catanl): Likewise.
33899 * math/libm-test.inc (catan_test): Add more tests.
33900 (catanh_test): Likewise.
33901 * sysdeps/i386/fpu/libm-test-ulps: Update.
33902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33904 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33908 2013-04-30 Joseph Myers <joseph@codesourcery.com>
33911 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33912 accurately for denominator in atan2.
33913 * math/s_catanf.c (__catanf): Likewise.
33914 * math/s_catanh.c (__catanh): Likewise.
33915 * math/s_catanhf.c (__catanhf): Likewise.
33916 * math/s_catanhl.c (__catanhl): Likewise.
33917 * math/s_catanl.c (__catanl): Likewise.
33918 * math/libm-test.inc (catan_test): Add more tests.
33919 (catanh_test): Likewise.
33920 * sysdeps/i386/fpu/libm-test-ulps: Update.
33921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33923 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33925 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33927 * benchtests/Makefile (bench): Remove slow benchmarks.
33928 * benchtests/atan-inputs: Add slow benchmark inputs.
33929 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33930 (BENCH_FUNC): Accept variant offset.
33932 * benchtests/bench-skeleton.c (main): Run benchmark for each
33934 * benchtests/cos-inputs: Add slow benchmark inputs.
33935 * benchtests/exp-inputs: Likewise.
33936 * benchtests/pow-inputs: Likewise.
33937 * benchtests/sin-inputs: Likewise.
33938 * benchtests/slowatan-inputs: Remove.
33939 * benchtests/slowatan.c: Remove.
33940 * benchtests/slowcos-inputs: Remove.
33941 * benchtests/slowcos.c: Remove.
33942 * benchtests/slowexp-inputs: Remove.
33943 * benchtests/slowexp.c: Remove.
33944 * benchtests/slowpow-inputs: Remove.
33945 * benchtests/slowpow.c: Remove.
33946 * benchtests/slowsin-inputs: Remove.
33947 * benchtests/slowsin.c: Remove.
33948 * benchtests/slowtan-inputs: Remove.
33949 * benchtests/slowtan.c: Remove.
33950 * benchtests/tan-inputs: Add slow benchmark inputs.
33951 * scripts/bench.pl: Parse comments and directives.
33953 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
33955 ($(objpfx)bench-%.c): Remove *-ITER.
33956 * benchtests/bench-modf.c: Remove definition of ITER.
33957 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33958 (main): Loop for DURATION seconds instead of fixed number of
33960 * scripts/bench.pl: Don't expect iterations in parameters.
33962 2013-04-29 Roland McGrath <roland@hack.frob.com>
33964 * io/fchdir.c (__fchdir): Renamed from fchdir.
33965 (fchdir): Define as weak alias.
33967 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33969 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33970 (ERRNO_EDOM): Likewise.
33971 (ERRNO_ERANGE): Likewise.
33972 (noErrnoTests): New variable.
33973 (init_max_error): Set errno to 0.
33974 (test_single_errno): New function.
33975 (test_errno): Likewise.
33976 (check_float_internal): Call test_errno. Set errno to 0.
33977 (check_complex): Refer to errno tests in comment.
33978 (check_int): Call test_errno. Set errno to 0.
33979 (check_long): Likewise.
33980 (check_bool): Likewise.
33981 (check_longlong): Likewise.
33982 (cos_test): Use ERRNO_* flags for errno tests instead of
33984 (expm1_test): Likewise.
33985 (fmod_test): Likewise.
33986 (ilogb_test): Likewise.
33987 (lgamma_test): Likewise.
33988 (pow_test): Likewise.
33989 (remainder_test): Likewise.
33990 (sin_test): Likewise.
33991 (tan_test): Likewise.
33992 (yn_test): Likewise.
33993 (initialize): Set errno to 0.
33994 (main): Print number of errno tests.
33995 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33997 2013-04-29 Andreas Jaeger <aj@suse.de>
34000 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34004 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34005 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34009 * stdlib/random.c (__initstate): Return NULL if
34013 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34014 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34017 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34021 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34023 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34024 of individual tests.
34025 (casin_test): Likewise.
34026 (casinh_test): Likewise.
34028 2013-04-27 Joseph Myers <joseph@codesourcery.com>
34031 * math/s_catan.c (__catan): Handle arguments with large real or
34032 imaginary part separately without squaring.
34033 * math/s_catanf.c (__catanf): Likewise.
34034 * math/s_catanh.c (__catanh): Likewise.
34035 * math/s_catanhf.c (__catanhf): Likewise.
34036 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34038 (__catanhl): Handle arguments with large real or imaginary part
34039 separately without squaring.
34040 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34042 (__catanl): Handle arguments with large real or imaginary part
34043 separately without squaring.
34044 * math/libm-test.inc (catan_test): Add more tests.
34045 (catanh_test): Likewise.
34046 * sysdeps/i386/fpu/libm-test-ulps: Update.
34047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34049 2013-04-27 Andreas Jaeger <aj@suse.de>
34052 * stdlib/stdlib.h: Update guards for qecvt.
34053 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34056 2013-04-27 Allan McRae <allan@archlinux.org>
34058 * sysdeps/i386/fpu/libm-test-ulps: Update.
34060 2013-04-26 Joseph Myers <joseph@codesourcery.com>
34063 * math/s_catan.c: Include <float.h>.
34064 (__catan): Ensure underflow exception occurs for underflowed
34066 * math/s_catanf.c: Include <float.h>.
34067 (__catanf): Ensure underflow exception occurs for underflowed
34069 * math/s_catanh.c: Include <float.h>.
34070 (__catanh): Ensure underflow exception occurs for underflowed
34072 * math/s_catanhf.c: Include <float.h>.
34073 (__catanhf): Ensure underflow exception occurs for underflowed
34075 * math/s_catanhl.c: Include <float.h>.
34076 (__catanhl): Ensure underflow exception occurs for underflowed
34078 * math/s_catanl.c: Include <float.h>.
34079 (__catanl): Ensure underflow exception occurs for underflowed
34081 * math/libm-test.inc (catan_test): Add more tests.
34082 (catanh_test): Likewise.
34085 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34086 underflowed result.
34087 * math/s_ccoshf.c (__ccoshf): Likewise.
34088 * math/s_ccoshl.c (__ccoshl): Likewise.
34089 * math/s_csin.c (__csin): Likewise.
34090 * math/s_csinf.c (__csinf): Likewise.
34091 * math/s_csinh.c (__csinh): Likewise.
34092 * math/s_csinhf.c (__csinhf): Likewise.
34093 * math/s_csinhl.c (__csinhl): Likewise.
34094 * math/s_csinl.c (__csinl): Likewise.
34095 * math/libm-test.inc (ccos_test): Add more tests.
34096 (ccosh_test): Likewise.
34097 (csin_test): Likewise.
34098 (csinh_test): Likewise.
34100 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34102 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34103 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34104 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34105 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34106 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34107 powerpc/power5+/fpu folders.
34108 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34111 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34115 2013-04-25 Joseph Myers <joseph@codesourcery.com>
34117 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34118 additions to variable.
34119 [$(config-machine) = x86_64] (modules-names): Likewise.
34120 ($(objpfx)tst-audit3): Remove dependency.
34121 ($(objpfx)tst-audit3.out): Likewise.
34122 ($(objpfx)tst-audit4): Likewise.
34123 ($(objpfx)tst-audit4.out): Likewise.
34124 ($(objpfx)tst-audit5): Likewise.
34125 ($(objpfx)tst-audit5.out): Likewise.
34126 ($(objpfx)tst-audit6): Likewise.
34127 ($(objpfx)tst-audit6.out): Likewise.
34128 ($(objpfx)tst-audit7): Likewise.
34129 ($(objpfx)tst-audit7.out): Likewise.
34130 (tst-audit3-ENV): Remove variable.
34131 (tst-audit4-ENV): Likewise.
34132 (tst-audit5-ENV): Likewise.
34133 (tst-audit6-ENV): Likewise.
34134 (tst-audit7-ENV): Likewise.
34135 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34136 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34137 addition to variable.
34138 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34139 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34140 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34141 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34142 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34143 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34144 tst-audit3, tst-audit4 and tst-audit5.
34145 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34146 tst-audit6 and tst-audit7.
34147 [$(subdir) = elf] (modules-names): Add audit modules for those
34149 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34150 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34151 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34152 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34153 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34154 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34155 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34156 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34157 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34158 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34159 [$(subdir) = elf] (tst-audit3-ENV): New variable.
34160 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34161 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34162 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34163 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34164 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34166 [$(subdir) = elf && $(config-cflags-avx) = yes]
34167 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34168 [$(subdir) = elf && $(config-cflags-avx) = yes]
34169 (CFLAGS-tst-auditmod4a.c): Likewise.
34170 [$(subdir) = elf && $(config-cflags-avx) = yes]
34171 (CFLAGS-tst-auditmod4b.c): Likewise.
34172 [$(subdir) = elf && $(config-cflags-avx) = yes]
34173 (CFLAGS-tst-auditmod6b.c): Likewise.
34174 [$(subdir) = elf && $(config-cflags-avx) = yes]
34175 (CFLAGS-tst-auditmod6c.c): Likewise.
34176 [$(subdir) = elf && $(config-cflags-avx) = yes]
34177 (CFLAGS-tst-auditmod7b.c): Likewise.
34178 * elf/tst-audit3.c: Move to ...
34179 * sysdeps/x86_64/tst-audit3.c: ... here.
34180 * elf/tst-audit4.c: Move to ...
34181 * sysdeps/x86_64/tst-audit4.c: ... here.
34182 * elf/tst-audit5.c: Move to ...
34183 * sysdeps/x86_64/tst-audit5.c: ... here.
34184 * elf/tst-audit6.c: Move to ...
34185 * sysdeps/x86_64/tst-audit6.c: ... here.
34186 * elf/tst-audit7.c: Move to ...
34187 * sysdeps/x86_64/tst-audit7.c: ... here.
34188 * elf/tst-auditmod3a.c: Move to ...
34189 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34190 * elf/tst-auditmod3b.c: Move to ...
34191 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34192 * elf/tst-auditmod4a.c: Move to ...
34193 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34194 * elf/tst-auditmod4b.c: Move to ...
34195 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34196 * elf/tst-auditmod5a.c: Move to ...
34197 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34198 * elf/tst-auditmod5b.c: Move to ...
34199 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34200 * elf/tst-auditmod6a.c: Move to ...
34201 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34202 * elf/tst-auditmod6b.c: Move to ...
34203 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34204 * elf/tst-auditmod6c.c: Move to ...
34205 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34206 * elf/tst-auditmod7a.c: Move to ...
34207 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34208 * elf/tst-auditmod7b.c: Move to ...
34209 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34211 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
34214 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34215 define unconditionally.
34216 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34217 define unconditionally.
34218 (INT8_C, INT16_C, etc.): Likewise.
34220 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
34222 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34223 __ehdr_start with hidden visibility.
34225 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34227 2013-04-24 Carlos O'Donell <carlos@redhat.com>
34229 * math/libm-test.inc (cos_test): Use accurate hex constants.
34230 (sincost_test): Likewise.
34232 2013-04-24 Joseph Myers <joseph@codesourcery.com>
34234 * math/libm-test.inc (catan_test): Add more tests.
34235 (catanh_test): Likewise.
34237 * math/s_catanf.c (__catanf): Use suffixed floating-point
34239 * math/s_catanhf.c (__catanhf): Likewise.
34240 * math/s_catanhl.c (__catanhl): Likewise.
34241 * math/s_catanl.c (__catanl): Likewise.
34244 * math/s_catan.c (__catan): Calculate imaginary part of result
34245 with log1p not log unless computing log of number close to 0.
34246 * math/s_catanf.c (__catanf): Likewise.
34247 * math/s_catanl.c (__catanl): Likewise.
34248 * math/s_catanh.c (__catanh): Calculate real part of result with
34249 log1p not log unless computing log of number close to 0.
34250 * math/s_catanhf.c (__catanhf): Likewise.
34251 * math/s_catanhl.c (__catanhl): Likewise.
34252 * math/libm-test.inc (catan_test): Add more tests.
34253 (catanh_test): Likewise.
34254 * sysdeps/i386/fpu/libm-test-ulps: Update.
34255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34257 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34259 * benchtests/Makefile: Mention files in which fast and slow
34260 paths of math functions are implemented.
34262 2013-04-23 Roland McGrath <roland@hack.frob.com>
34264 * sysdeps/posix/timespec_get.c: New file.
34266 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34268 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34270 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34272 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34273 powerpc/power5/fpu folders.
34274 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34275 * benchtests/Makefile: Add modf testcase.
34276 * benchtests/bench-modf.c: New file: Benchmark test for mo
34278 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34281 * time/Makefile (tests): Add tst-strptime-whitespace.
34282 * time/strptime_l.c (get_number): Use ISSPACE.
34283 (__strptime_internal): Likewise.
34284 * time/tst-strptime-whitespace.c: New test case.
34286 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
34288 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34290 (_nss_files_init): Set it here.
34292 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
34294 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34295 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34298 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
34300 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34302 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34304 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34307 2013-04-21 David S. Miller <davem@davemloft.net>
34309 * po/ru.po: Update Russion translation from translation project.
34311 2013-04-17 Adam Conrad <adconrad@0c3.net>
34313 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34316 2013-04-17 Carlos O'Donell <carlos@redhat.com>
34318 * configure.in: Remove i386 configure warning. Remove i386 case.
34319 * configure: Regenerate.
34320 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34321 Add example to error message.
34322 * sysdeps/i386/configure: Regenerate.
34324 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34326 * benchtests/Makefile (bench): Add cos, tan, slowcos and
34328 * benchtests/cos-inputs: New file.
34329 * benchtests/slowcos-inputs: New file.
34330 * benchtests/slowcos.c: New file.
34331 * benchtests/slowtan-inputs: New file.
34332 * benchtests/slowtan.c: New file.
34333 * benchtests/tan-inputs: New file.
34335 2013-04-16 Roland McGrath <roland@hack.frob.com>
34337 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34340 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34342 * benchtests/Makefile: Include cppflags-iterator.mk to add
34343 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34345 * Makefile.in (bench-clean): New target.
34346 * benchtests/Makefile (bench-clean): Likewise.
34348 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
34350 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34352 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
34354 * stdio-common/tstdiomisc.c: Fix coding-style violation.
34356 2013-04-15 Andreas Schwab <schwab@suse.de>
34358 * nscd/grpcache.c (cache_addgr): Properly check for short write.
34359 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34360 * nscd/pwdcache.c (cache_addpw): Likewise.
34361 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
34364 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34366 * benchtests/Makefile (bench): Write all output to
34367 bench-out.tmp together.
34369 2013-04-15 Andreas Schwab <schwab@suse.de>
34371 * nscd/nscd.c (main): Don't fork again after closing files.
34373 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34375 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34377 * benchtests/Rules (bench-deps): Collect dependencies into a
34378 single variable. Add Makefile to dependencies.
34379 ($(objpfx)bench-%.c): Depend on bench-deps.
34381 2013-04-12 Roland McGrath <roland@hack.frob.com>
34382 Xavier Roche <roche+kml2@exalead.com>
34385 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34386 just that it's a file descriptor.
34387 * manual/llio.texi (Synchronizing AIO Operations): Update description
34388 for EBADF error from aio_fsync.
34390 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34392 * Rules (bench): Move target definition...
34393 * benchtests/Makefile: ... here.
34395 2013-04-11 Carlos O'Donell <carlos@redhat.com>
34397 * math/libm-test.inc (cos_test): Fix PI/2 test.
34398 (sincos_test): Likewise.
34399 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34400 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34402 2013-04-11 Andreas Schwab <schwab@suse.de>
34405 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34406 accept exponent character only when digits were seen.
34407 * stdio-common/Makefile (tests): Add bug26.
34408 * stdio-common/bug26.c: New file.
34411 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34414 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34416 * Makeconfig (rtld-prefix): Define built linker prefix.
34417 * Rules (run-bench): Use it.
34418 * math/Makefile (run-regen-ulps): Likewise.
34420 * Rules (bench): Remove eval.
34422 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34423 Roland McGrath <roland@hack.frob.com>
34424 Ondrej Bilka <neleai@seznam.cz>
34427 * time/getdate.c: Include ctype.h and alloca.h.
34428 (__getdate_r): Trim leading and trailing spaces of input.
34429 * time/tst-getdate.c (tests): Add tests with leading and
34432 2013-04-08 Roland McGrath <roland@hack.frob.com>
34435 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34436 when computing value.
34438 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34440 * math/README.libm-test (How can I generate "libm-test-ulps"?):
34441 Use testrun.sh to run libm tests.
34444 * elf/dl-open.c (dl_open_worker): memset all of seen array.
34446 2013-04-06 Marko Myllynen <myllynen@redhat.com>
34449 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34451 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34453 * Makefile.in (regen-ulps): New target.
34454 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34455 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34456 [ifneq (no,$(PERL)] (regen-ulps): New target.
34457 [ifeq (no,$(PERL)] (regen-ulps): New target.
34458 * math/libm-test.inc (ulps_file_name): Define.
34459 (output_dir): New variable.
34460 (options): Add "output-dir" option.
34461 (parse_opt): Handle 'o' case.
34462 (main): If output_dir is non-NULL use it as a prefix
34464 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34466 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34468 [BZ #10060, #10062]
34469 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34470 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34471 fail configure if __sync_val_compare_and_swap is not inlined.
34472 * sysdeps/i386/configure: Regenerate.
34473 * configure.in: Build for i686 when configured for i386.
34474 * configure: Regenerate.
34475 * README: Remove i386 reference.
34477 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34479 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34480 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34482 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
34484 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34485 (lmsnanval): New variables.
34486 (F): Add conversion tests.
34487 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34488 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34490 * stdio-common/tstdiomisc.c (F): Properly collect individual
34493 [BZ #14686, #15336]
34494 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34495 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34496 Instead, use input NaN values or generate a qNaN by arithmetic
34497 operation. Also fix bugs to comply with the standard.
34498 * math/libm-test.inc (remainder_test): Add more tests.
34500 [BZ #15335, #15342]
34501 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34502 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34503 input NaN values or generate a qNaN by arithmetic operation.
34505 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34508 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34511 2013-04-03 Joseph Myers <joseph@codesourcery.com>
34514 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34515 underflowed result.
34516 * math/s_cexpf.c (__cexpf): Likewise.
34517 * math/s_cexpl.c (__cexpl): Likewise.
34518 * math/libm-test.inc (cexp_test): Add more tests.
34520 2013-04-03 Andreas Schwab <schwab@suse.de>
34523 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34524 order arrays from heap if bigger than alloca cutoff.
34526 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
34528 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34529 (SNAN_TESTS_double): Refer to GCC PR56831.
34530 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34533 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34535 * Rules (bench): Move bench.out after the run is complete.
34537 * Rules (bench): Echo currently running benchmark.
34539 * benchtests/Makefile (bench): Add atan and slowatan.
34540 * benchtests/atan-inputs: New file.
34541 * benchtests/slowatan-inputs: New file.
34542 * benchtests/slowatan.c: New file.
34544 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34545 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34549 * sysdeps/unix/sysv/linux/kernel-features.h
34550 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34551 __ASSUME_XFS_RESTRICTED_CHOWN.
34552 * sysdeps/unix/sysv/linux/pathconf.c
34553 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34554 Save and restore errno.
34556 2013-04-02 Joseph Myers <joseph@codesourcery.com>
34559 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34560 arguments using __kernel_casinh.
34561 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34562 arguments using __kernel_casinhf.
34563 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34564 arguments using __kernel_casinhl.
34565 * math/libm-test.inc (cacosh_test): Add more tests.
34566 * sysdeps/i386/fpu/libm-test-ulps: Update.
34567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34569 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34571 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34572 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34574 * bench/Makefile (bench): Add sin and slowsin.
34575 * benchtests/sin-inputs: New file.
34576 * benchtests/slowsin-inputs: New file.
34577 * benchtests/slowsin.c: New file.
34579 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34580 (bench): Add slowexp and slowpow.
34581 (exp-ITER): Increase iterations.
34582 (pow-ITER): Likewise.
34583 * benchtests/exp-inputs: Change input.
34584 * benchtests/pow-inputs: Likewise.
34585 * benchtests/slowexp-inputs: New file.
34586 * benchtests/slowexp.c: New file.
34587 * benchtests/slowpow-inputs: New file.
34588 * benchtests/slowpow.c: New file.
34590 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34592 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34594 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34595 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34596 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34597 * benchtests/Makefile: Add rint benchtest.
34598 * benchtests/rint-inputs: Input for rint benchtest.
34600 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
34602 * Versions.def (libm): Add GLIBC_2.18.
34603 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34604 hidden libm prototypes.
34605 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34606 * math/Makefile (libm-calls): Add s_issignaling.
34607 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34608 __issignalingf, __issignalingl. Adjust all libm.abilist files.
34609 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34611 * math/math.h [__USE_GNU] (issignaling): New macro.
34612 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34613 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34614 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34615 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34616 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34617 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34618 * manual/arith.texi (issignaling): New section.
34619 * manual/libm-err-tab.pl (@all_functions): Update comment.
34620 * math/gen-libm-test.pl (parse_args): Apply special handling for
34622 * math/libm-test.inc (print_float, issignaling_test): New
34624 (check_float_internal): Add issignaling checks.
34625 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34626 default definition.
34627 * sysdeps/powerpc/math-tests.h: New file.
34628 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34630 * math/test-snan.c (TEST_FUNC): Likewise.
34632 2013-03-30 David S. Miller <davem@davemloft.net>
34634 * po/de.po: Update from translation team.
34636 2013-03-30 Joseph Myers <joseph@codesourcery.com>
34639 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34640 imaginary part less than 1.0 and real part less than 0.5
34642 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34643 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34644 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34645 (cacos_test): Add more tests.
34646 (casin_test): Likewise.
34647 (casinh_test): Likewise.
34648 * sysdeps/i386/fpu/libm-test-ulps: Update.
34649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34651 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34653 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34654 ONE with its value.
34656 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34657 (__pow_mp): Replace ONE and MONE with their values.
34658 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34659 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34660 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34661 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34662 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34663 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34665 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34667 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34668 (__pow_mp): Replace ZERO and MZERO with their values.
34669 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34670 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34671 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34672 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34673 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34674 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34677 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34679 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34681 2013-03-28 Roland McGrath <roland@hack.frob.com>
34683 * include/stdlib.h [!SHARED] (__call_tls_dtors):
34684 Declare with __attribute__ ((weak)).
34685 * stdlib/exit.c (__libc_atexit) [!SHARED]:
34686 Call __call_tls_dtors only if it's not NULL.
34688 2013-03-28 Roland McGrath <roland@hack.frob.com>
34690 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34691 didn't do it already, then set _dl_phdr and _dl_phnum based on the
34692 magic __ehdr_start linker symbol if it's defined.
34693 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34694 them up here if it was already done.
34696 * elf/dl-support.c (_dl_phdr): Make pointer to const.
34697 (_dl_aux_init): Use const in cast when setting it.
34698 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34699 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34700 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34702 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34704 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34705 * csu/libc-tls.c: Nor here.
34706 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34708 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34709 (__libc_message): Never call vsyslog.
34711 2013-03-28 Alan Modra <amodra@gmail.com>
34713 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34715 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34718 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34721 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34725 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34728 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34729 Don't add gid passed as argument.
34731 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34733 2013-03-27 Joseph Myers <joseph@codesourcery.com>
34736 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34737 imaginary part between 1.0 and 1.5 and real part less than 0.5
34739 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34740 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34741 * math/libm-test.inc (cacos_test): Add more tests.
34742 (casin_test): Likewise.
34743 (casinh_test): Likewise.
34744 * sysdeps/i386/fpu/libm-test-ulps: Update.
34745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34747 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34749 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34752 (denorm): Likewise.
34753 (__dbl_mp): Likewise.
34754 (add_magnitudes): Likewise.
34755 (sub_magnitudes): Likewise.
34763 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34765 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34766 (__dubcos): Likewise.
34767 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34768 (__ieee754_acos): Likewise.
34769 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34770 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34771 (__exp1): Likewise.
34772 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34773 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34775 (my_log2): Likewise.
34776 (checkint): Likewise.
34777 * sysdeps/ieee754/dbl-64/e_remainder.c
34778 (__ieee754_remainder): Likewise.
34779 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34780 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34781 (bsloww): Likewise.
34782 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34784 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34785 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34786 MANTISSA_STORE_T to store computations on mantissa. Use
34787 macros for rounding and division.
34788 (denorm): Likewise.
34789 (__dbl_mp): Likewise.
34790 (add_magnitudes): Likewise.
34791 (sub_magnitudes): Likewise.
34794 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34795 powers of two in terms of TWOPOW macro.
34796 (mp_no): Make type of mantissa as MANTISSA_T.
34797 [!RADIXI]: Define RADIXI.
34798 [!TWO52]: Define TWO52.
34799 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34801 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34803 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34804 llroundl symbol when building for PPC32.
34806 2013-03-24 Mark H Weaver <mhw@netris.org>
34808 * manual/arith.texi (Normalization Functions): Fix prototypes for
34809 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34811 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34814 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34815 high value to check if expl overflow.
34816 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34817 to check for underflow and overflow.
34818 * math/libm-test.inc: Add exp test.
34820 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
34823 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34826 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34828 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34831 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
34833 * math/gen-libm-test.pl (parse_args, special_functions): Properly
34834 wrap blocks consisting of several statements.
34836 * sysdeps/generic/math-tests.h: New file.
34837 * sysdeps/i386/fpu/math-tests.h: Likewise.
34838 * math/test-snan.c: Include it.
34839 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34841 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34844 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34845 (__ieee754_j0l): Do not improve calculations using cos of twice
34846 input for inputs above LDBL_MAX / 2.0L.
34847 (__ieee754_y0l): Likewise.
34848 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34849 (__ieee754_j1l): Do not improve calculations using cos of twice
34850 input for inputs above LDBL_MAX / 2.0L.
34851 (__ieee754_y1l): Likewise.
34852 * math/libm-test.inc (j0_test): Add another test.
34853 (j1_test): Likewise.
34854 (y0_test): Likewise.
34855 (y1_test): Likewise.
34856 * sysdeps/i386/fpu/libm-test-ulps: Update.
34858 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34860 * Rules ($(objpfx)bench-%.c): Include code from a C source
34863 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34866 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34867 imaginary part 1.0 and real part less than 0.5 specially.
34868 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34869 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34870 * math/libm-test.inc (cacos_test): Add more tests.
34871 (casin_test): Likewise.
34872 (casinh_test): Likewise.
34873 * sysdeps/i386/fpu/libm-test-ulps: Update.
34874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34876 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34878 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34879 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34881 2013-03-20 Joseph Myers <joseph@codesourcery.com>
34883 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34884 * config.make.in (config-cflags-sse4): Remove variable.
34885 (config-cflags-avx): Likewise.
34886 (config-cflags-sse2avx): Likewise.
34887 (config-cflags-novzeroupper): Likewise.
34888 (config-asflags-i686): Likewise.
34889 (have-mfma4): Likewise.
34890 (have-as-vis3): Likewise.
34892 * configure.in (MIG): Do not AC_SUBST.
34893 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34894 (libc_cv_cc_sse4): Do not AC_SUBST.
34895 (libc_cv_cc_avx): Likewise.
34896 (libc_cv_cc_sse2avx): Likewise.
34897 (libc_cv_cc_novzeroupper): Likewise.
34898 (libc_cv_cc_fma4): Likewise.
34899 (libc_cv_as_i686): Likewise.
34900 (libc_cv_sparc_as_vis3): Likewise.
34901 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34903 (config-asflags-i686): Likewise.
34904 (config-cflags-avx): Likewise.
34905 (config-cflags-sse2avx): Likewise.
34906 (have-mfma4): Likewise.
34907 (config-cflags-novzeroupper): Likewise.
34908 * sysdeps/mach/configure.in (MIG): Likewise.
34909 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34910 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34912 (config-cflags-avx): Likewise.
34913 (config-cflags-sse2avx): Likewise.
34914 (have-mfma4): Likewise.
34915 (config-cflags-novzeroupper): Likewise.
34916 * configure: Regenerated.
34917 * sysdeps/i386/configure: Likewise.
34918 * sysdeps/mach/configure: Likewise.
34919 * sysdeps/sparc/configure: Likewise.
34920 * sysdeps/x86_64/configure: Likewise.
34922 2013-03-20 Roland McGrath <roland@hack.frob.com>
34925 * locale/programs/localedef.c (options): Put N_ translation marker
34926 on argument names, not just descriptions.
34928 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34930 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34932 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
34935 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34937 2013-03-19 Roland McGrath <roland@hack.frob.com>
34939 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34940 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34941 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34942 [!BEFORE_ABORT] (before_abort): New function.
34943 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34944 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34945 (writev_for_fatal): New function.
34946 (WRITEV_FOR_FATAL): New macro; call that.
34947 (backtrace_and_maps): New function.
34948 (BEFORE_ABORT): New macro; call that.
34949 (struct str_list): Type removed.
34950 (__libc_message, __libc_fatal): Functions removed.
34951 Include <sysdeps/posix/libc_fatal.c> instead.
34953 2013-03-19 Joseph Myers <joseph@codesourcery.com>
34955 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34957 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34960 2013-03-19 Andreas Schwab <schwab@suse.de>
34962 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34963 * sysdeps/gnu/configure: Regenerate.
34965 * configure.in: Substitute libc_cv_rtlddir.
34966 * configure: Regenerate.
34967 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34968 * Makeconfig (rtlddir, inst_rtlddir): New variables.
34969 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34970 * elf/Makefile (install-others, CFLAGS-interp.c)
34971 (ldso_install, common-ldd-rewrite): Likewise.
34972 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34973 $(inst_slibdir)/$(rtld-installed-name).
34974 * scripts/rellns-sh: Add -p option.
34975 * Makerules (make-shlib-link): Use rellns-sh to get relative name
34978 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34980 * manual/nptl.texi: Renamed to ...
34981 * manual/threads.texi: ... this.
34982 * manual/Makefile (chapters): Update.
34984 2013-03-18 Roland McGrath <roland@hack.frob.com>
34987 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34988 on argument names, not just descriptions.
34989 * malloc/memusagestat.c (options): Likewise.
34990 * nss/getent.c (options): Likewise.
34992 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
34995 * iconv/iconv_prog.c (options): Put N_ translation marker
34996 on argument names, not just descriptions.
34997 * iconv/iconvconfig.c (options): Likewise.
34999 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
35001 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35002 implementation which is faster on all x86_64 architectures.
35003 Tested on AMD, Intel Nehalem, SNB, IVB.
35004 * sysdeps/x86_64/strnlen.S: Likewise.
35006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35007 Remove all multiarch strlen and strnlen versions.
35008 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35009 Remove strlen and strnlen related parts.
35011 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35012 Inline strlen part.
35013 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35015 * sysdeps/x86_64/multiarch/strlen.S: Remove.
35016 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35017 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35018 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35019 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35020 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35022 2013-03-17 Carlos O'Donell <carlos@redhat.com>
35024 * manual/memory.texi (Malloc Tunable Parameters):
35025 Sort parameters alphabetically. Add comments for missing entries.
35027 2013-03-17 David S. Miller <davem@davemloft.net>
35029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35031 2013-03-16 Joseph Myers <joseph@codesourcery.com>
35034 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35035 for arguments at most half maximum finite value.
35036 * math/libm-test.inc (j0_test): Add more tests.
35037 (j1_test): Likewise.
35038 (y0_test): Likewise.
35039 (y1_test): Likewise.
35040 * sysdeps/i386/fpu/libm-test-ulps: Update.
35041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35044 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35045 1 / x and functions P and Q for arguments above 0x1p256L.
35046 (__ieee754_y0l): Likewise.
35047 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35048 (__ieee754_y1l): Likewise.
35049 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35050 (j1_test): Likewise.
35051 (y0_test): Likewise.
35052 (y1_test): Likewise.
35054 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
35056 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35059 2013-03-15 Roland McGrath <roland@hack.frob.com>
35061 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35062 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35063 zero since it's initialized to EXEC_PAGESIZE.
35065 * sysdeps/unix/sysv/linux/ldsodefs.h
35066 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35067 * sysdeps/generic/ldsodefs.h: ... here.
35069 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
35071 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35073 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35075 * math/test-snan.c: Renamed from
35076 sysdeps/powerpc/fpu/test-powerpc-snan.c.
35077 * math/Makefile (tests): Add test-snan.
35078 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35081 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35082 SUFFIX. Initialize qNaN_var with __builtin_nan family of
35084 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
35085 __builtin_nan family of functions.
35086 * math/libm-test.inc (initialize): Initialize qnan_value with
35087 __builtin_nan family of functions.
35088 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35090 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35092 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
35093 storage class. Initialize qNaN_var and sNaN_var with
35094 __builtin_nan and __builtin_nans families of functions,
35097 * math/libm-test.inc (acosh_test): Also test with qNaN input.
35098 (sqrt_test): Remove duplicate test with qNaN input.
35099 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35100 (round_test, signbit_test, significand_test): Note missing +/-Inf
35101 as well as qNaN tests.
35103 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35104 qNaN_var. Fix a few strings, too.
35105 * math/libm-test.inc (nan_value): Rename to qnan_value.
35106 * math/gen-libm-test.pl (%beautify): Adjust to that.
35107 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35108 * math/test-misc.c (main): Likewise.
35109 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35110 to __qnan_bytes, and __qnan_union, respectively.
35111 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35113 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35114 and lqnanval, respectively.
35115 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35116 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35117 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35118 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35120 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35121 * math/test-misc.c (main) [__x86_64__]: Enable test for long
35124 * math/test-misc.c (main): Fix copy'n'pastos.
35125 * misc/tst-efgcvt.c (special): Likewise.
35127 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35128 Remove declarations.
35130 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35132 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35133 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35134 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35135 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35137 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35139 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35140 macro to return vdso values correctly in IFUNC implementations.
35141 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35142 Optimization by using IFUNC.
35144 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35145 Richard Henderson <rth@redhat.com>
35146 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35148 * Makefile.in (bench): New target.
35149 * NEWS: Mention the benchmark framework.
35150 * Rules (bench): Likewise.
35151 (binaries-bench): Generate binaries for functions to
35153 * benchtests/Makefile: New makefile for benchmark tests.
35154 * benchtests/bench-skeleton.c: New skeleton file for benchmark
35156 * benchtests/exp-inputs: New input file for EXP function.
35157 * benchtests/pow-inputs: New input file for POW function.
35158 * scripts/bench.pl: New script to generate source files for
35159 benchmark programs.
35161 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35163 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35164 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35165 computations on mantissa. Use macros for rounding and
35167 (denorm): Likewise.
35168 (__dbl_mp): Likewise.
35169 (add_magnitudes): Likewise.
35170 (sub_magnitudes): Likewise.
35173 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
35174 powers of two in terms of TWOPOW macro.
35175 (mp_no): Make type of mantissa as MANTISSA_T.
35176 [!RADIXI]: Define RADIXI.
35177 [!TWO52]: Define TWO52.
35178 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35180 * manual/nptl.texi (cindex): Modify threads to pthreads.
35182 2013-03-15 Joseph Myers <joseph@codesourcery.com>
35184 * sysdeps/x86_64/preconfigure: Regenerated.
35186 2013-03-14 Joseph Myers <joseph@codesourcery.com>
35189 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35191 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35192 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35194 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35195 * math/libm-test.inc (j0_test): Do not allow one spurious
35196 underflow exception.
35197 (y1_test): Likewise.
35199 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35201 * manual/Makefile (chapters): Add nptl.
35202 * manual/debug.texi (Debugging Support): Add link to Threads
35204 * manual/nptl.texi: New file.
35206 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35208 2013-03-14 Petr Baudis <pasky@ucw.cz>
35210 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35211 for non-NULL pointer before the memory validity test. Pointed
35212 out by Holger Brunck <holger.brunck@keymile.com>.
35214 2013-03-13 Andreas Schwab <schwab@suse.de>
35216 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35219 2013-03-13 Joseph Myers <joseph@codesourcery.com>
35221 * timezone/zic.c: Update from tzcode 2013b.
35223 2013-03-12 Carlos O'Donell <carlos@redhat.com>
35225 * manual/install.texi (Configuring and compiling):
35226 Mention i686 and i586.
35227 * INSTALL: Regenerate.
35229 2013-03-12 Roland McGrath <roland@hack.frob.com>
35231 * sysdeps/init_array/elf-init.c: New file.
35233 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35234 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35236 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35237 __gmon_start__ as global, but as static with a .preinit_array pointer.
35238 * sysdeps/init_array/gmon-start.c: New file. Use that.
35239 * sysdeps/init_array/crti.S: New file, empty except for comments.
35240 * sysdeps/init_array/crtn.S: Likewise.
35242 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
35244 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35247 Remove Prefer_SSE_for_memop.
35248 * sysdeps/x86_64/multiarch/init-arch.h: Remove
35249 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35250 HAS_PREFER_SSE_FOR_MEMOP.
35251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35253 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35254 Remove bzero, memset ifunc support.
35255 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35256 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35257 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35258 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35260 2013-03-11 Andreas Schwab <schwab@suse.de>
35263 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35266 (GLIBC_2.16): Remove pthread_atfork.
35268 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
35270 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35271 (ptestcases.h): Likewise.
35273 2013-03-08 Roland McGrath <roland@hack.frob.com>
35275 * Makeconfig ($(common-objpfx)config.status): Depend on
35276 sysdeps/*/preconfigure{,.in} too.
35278 2013-03-08 Joseph Myers <joseph@codesourcery.com>
35280 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35281 (__free_hook): Use void * instead of __malloc_ptr_t.
35282 (__malloc_hook): Likewise.
35283 (__realloc_hook): Likewise.
35284 (__memalign_hook): Likewise.
35285 (__after_morecore_hook): Likewise.
35286 * malloc/arena.c (save_malloc_hook): Likewise.
35287 (save_free_hook): Likewise.
35288 * malloc/hooks.c (malloc_hook_ini): Likewise.
35289 (realloc_hook_ini): Likewise.
35290 (memalign_hook_ini): Likewise.
35291 * malloc/malloc.c (malloc_hook_ini): Likewise.
35292 (realloc_hook_ini): Likewise.
35293 (memalign_hook_ini): Likewise.
35294 (__free_hook): Likewise.
35295 (__malloc_hook): Likewise.
35296 (__realloc_hook): Likewise.
35297 (__memalign_hook): Likewise.
35298 (__libc_malloc): Likewise.
35299 (__libc_free): Likewise.
35300 (__libc_realloc): Likewise.
35301 (__libc_memalign): Likewise.
35302 (__libc_valloc): Likewise.
35303 (__libc_pvalloc): Likewise.
35304 (__libc_calloc): Likewise.
35305 (__posix_memalign): Likewise.
35306 * malloc/morecore.c (__sbrk): Likewise.
35307 (__default_morecore): Likewise.
35309 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35311 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35312 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35313 __malloc_ptrdiff_t.
35315 * malloc/malloc.h (__malloc_size_t): Remove macro.
35316 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35318 (old_memalign_hook): Likewise.
35319 (old_realloc_hook): Likewise.
35320 (struct hdr): Likewise.
35322 (mallochook): Likewise.
35323 (memalignhook): Likewise.
35324 (reallochook): Likewise.
35325 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35326 (tr_old_realloc_hook): Likewise.
35327 (tr_old_memalign_hook): Likewise.
35328 (tr_mallochook): Likewise.
35329 (tr_reallochook): Likewise.
35330 (tr_memalignhook): Likewise.
35332 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35334 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35335 default_ldbl_pack and using as default implementation.
35336 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35338 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35339 redundant definition.
35340 (ldbl_insert_mantissa): Likewise.
35341 (ldbl_canonicalize): Likewise.
35342 (ldbl_nearbyint): Likewise.
35343 (ldbl_pack): Rename to ldbl_pack_ppc.
35344 (ldbl_unpack): Rename to ldbl_unpack_ppc.
35345 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35346 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35348 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35351 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35352 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35353 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35355 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35356 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35357 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35359 2013-03-07 Andreas Jaeger <aj@suse.de>
35361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35364 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35366 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35367 Include mpa.h and declare __MPEXP.
35368 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35369 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35370 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35371 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35372 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35373 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35374 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35376 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35377 (__slowpow): Use long double EXPL and LOGL functions to
35379 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35380 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35381 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35382 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35383 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35384 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35387 intermediate variable to calculate exponent.
35389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35393 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35394 [!NO__SQR]: Define __sqr.
35395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35396 and NO__SQR. Remove all code except __mul and __sqr. Include
35397 sysdeps/ieee754/dbl-64/mpa.c.
35398 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35401 * posix/Makefile (tests): Add tst-pathconf.
35402 * posix/tst-pathconf.c: New test case.
35403 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35405 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35407 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
35409 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35411 2013-03-06 Andreas Jaeger <aj@suse.de>
35413 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35414 definition via __MAP_ANONYMOUS.
35416 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35417 it's not part of Linux headers.
35419 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35420 (MAP_HUGE_MASK): Define.
35422 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35424 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35425 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35427 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35428 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35430 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35431 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35433 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35435 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35436 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35437 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35438 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35439 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35440 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35442 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35445 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35446 Handle f2fs and efivarfs.
35448 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35451 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35452 (EFIVARFS_MAGIC): Add.
35453 (F2FS_LINK_MAX): Add.
35455 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35457 * stdio-common/vfprintf.c: Replace __builtin_expect with
35460 2013-03-06 Joseph Myers <joseph@codesourcery.com>
35463 * sysdeps/generic/bp-sym.h: Remove file.
35464 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35465 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35466 <bp-sym.h> and <bp-asm.h>.
35467 (__longjmp): Don't use BP_SYM.
35468 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35470 (memcpy): Don't use BP_SYM.
35471 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35472 <bp-sym.h> and <bp-asm.h>.
35473 (memcpy): Don't use BP_SYM.
35474 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35476 (memcpy): Don't use BP_SYM.
35477 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35479 (memset): Don't use BP_SYM.
35480 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35481 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35482 (__bzero): Don't use BP_SYM.
35483 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35484 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35485 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35486 <bp-sym.h> and <bp-asm.h>.
35487 (memcmp): Don't use BP_SYM. Remove comment about bounded
35489 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35490 <bp-sym.h> and <bp-asm.h>.
35491 (memcpy): Don't use BP_SYM.
35492 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35493 <bp-sym.h> and <bp-asm.h>.
35494 (memset): Don't use BP_SYM.
35495 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35496 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35497 (__bzero): Don't use BP_SYM.
35498 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35499 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35500 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35501 <bp-sym.h> and <bp-asm.h>.
35502 (strncmp): Don't use BP_SYM. Remove comment about bounded
35504 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35505 <bp-sym.h> and <bp-asm.h>.
35506 (memcpy): Don't use BP_SYM.
35507 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35508 <bp-sym.h> and <bp-asm.h>.
35509 (memset): Don't use BP_SYM.
35510 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35511 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35512 (__bzero): Don't use BP_SYM.
35513 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35514 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35515 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35516 <bp-sym.h> and <bp-asm.h>.
35517 (__memchr): Don't use BP_SYM.
35518 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35519 <bp-sym.h> and <bp-asm.h>.
35520 (memcmp): Don't use BP_SYM. Remove comment about bounded
35522 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35523 <bp-sym.h> and <bp-asm.h>.
35524 (memcpy): Don't use BP_SYM.
35525 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35526 <bp-sym.h> and <bp-asm.h>.
35527 (__mempcpy): Don't use BP_SYM.
35528 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35529 <bp-sym.h> and <bp-asm.h>.
35530 (__memrchr): Don't use BP_SYM.
35531 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35532 <bp-sym.h> and <bp-asm.h>.
35533 (memset): Don't use BP_SYM.
35534 (__bzero): Likewise.
35535 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35536 <bp-sym.h> and <bp-asm.h>.
35537 (__rawmemchr): Don't use BP_SYM.
35538 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35539 <bp-sym.h> and <bp-asm.h>.
35540 (__STRCMP): Don't use BP_SYM.
35541 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35542 <bp-sym.h> and <bp-asm.h>.
35543 (strchr): Don't use BP_SYM.
35544 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35545 <bp-sym.h> and <bp-asm.h>.
35546 (__strchrnul): Don't use BP_SYM.
35547 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35548 <bp-sym.h> and <bp-asm.h>.
35549 (strlen): Don't use BP_SYM.
35550 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35551 <bp-sym.h> and <bp-asm.h>.
35552 (strncmp): Don't use BP_SYM. Remove comment about bounded
35554 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35555 <bp-sym.h> and <bp-asm.h>.
35556 (__strnlen): Don't use BP_SYM.
35557 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35558 <bp-sym.h> and <bp-asm.h>.
35559 (__GI__setjmp): Don't use BP_SYM.
35560 (_setjmp): Likewise.
35561 (__sigsetjmp): Likewise.
35562 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35563 (L(start_addresses)): Don't use BP_SYM.
35564 (_start): Likewise.
35565 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35567 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35568 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35569 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35570 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35571 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35573 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35574 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
35575 about bounded pointers.
35576 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35577 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35578 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35580 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35581 about bounded pointers. Remove GKM FIXME comments.
35582 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35583 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35585 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35586 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
35587 Remove GKM FIXME comments.
35588 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35589 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35590 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35592 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35593 about bounded pointers. Remove GKM FIXME comment.
35594 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35596 (strncmp): Don't use BP_SYM. Remove comment about bounded
35598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35599 <bp-sym.h> and <bp-asm.h>.
35600 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35602 <bp-sym.h> and <bp-asm.h>.
35603 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35606 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35608 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35611 2013-03-05 David S. Miller <davem@davemloft.net>
35613 * po/es.po: Update from translation team.
35615 2013-03-05 Andreas Jaeger <aj@suse.de>
35617 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35618 <bits/mman-linux.h>.
35619 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35621 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35622 <bits/mman-linux.h> to end of file.
35623 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35625 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35626 <bits/mman-linux.h> to end of file.
35627 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35629 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35630 <bits/mman-linux.h> to end of file.
35632 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35633 (MCL_CURRENT, MCL_FUTURE): Define here.
35635 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35638 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35640 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35642 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35644 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35645 fourth parameter needed for rt_sigprocmask syscall.
35646 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35647 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35648 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35649 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35650 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35651 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35653 2013-03-04 Joseph Myers <joseph@codesourcery.com>
35656 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35657 comment about bounded pointers.
35658 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35659 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35661 2013-03-04 Andreas Jaeger <aj@suse.de>
35663 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35664 common definitions.
35666 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35667 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35668 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35669 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35670 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35671 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35673 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35676 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35677 __ieee754_sqrl instead of __sqrl.
35679 2013-03-01 Joseph Myers <joseph@codesourcery.com>
35681 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35682 * sysdeps/powerpc/fpu_control.h: ... here.
35683 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35684 * sysdeps/powerpc/bits/fenvinline.h: ... here.
35685 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35686 * sysdeps/powerpc/bits/mathinline.h: ... here.
35688 2013-03-01 Roland McGrath <roland@hack.frob.com>
35690 * elf/dl-hwcaps.c (_dl_important_hwcaps):
35691 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35692 to just [NEED_DL_SYSINFO_DSO].
35693 * elf/dl-support.c: Likewise.
35694 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35695 * elf/rtld.c (dl_main): Likewise.
35696 * elf/setup-vdso.h (setup_vdso): Likewise.
35697 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35698 * sysdeps/unix/sysv/linux/dl-sysdep.c
35699 (_dl_discover_osversion): Likewise.
35701 2013-03-01 Carlos O'Donell <carlos@redhat.com>
35703 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35704 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35706 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35708 * NEWS: Mention libm performance improvements and non-x86 PI
35711 * csu/libc-start.c (__pthread_initialize_minimal): Change
35712 function arguments.
35713 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35715 2013-02-28 Joseph Myers <joseph@codesourcery.com>
35718 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35719 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35720 <bp-sym.h> and <bp-asm.h>.
35721 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35722 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35724 (memcpy): Don't use BP_SYM.
35725 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35727 (__mpn_add_n): Don't use BP_SYM.
35728 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35729 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35731 (__mpn_addmul_1): Don't use BP_SYM.
35732 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35733 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35735 (_setjmp): Don't use BP_SYM.
35736 (__novmx_setjmp): Likewise.
35737 (__GI__setjmp): Likewise.
35738 (__vmx_setjmp): Likewise.
35739 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35741 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35742 (__bzero): Don't use BP_SYM.
35743 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35744 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35745 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35746 <bp-sym.h> and <bp-asm.h>.
35747 (memcpy): Don't use BP_SYM.
35748 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35749 <bp-sym.h> and <bp-asm.h>.
35750 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35751 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35752 <bp-sym.h> and <bp-asm.h>.
35753 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35754 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35756 (__mpn_lshift): Don't use BP_SYM.
35757 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35758 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35760 (memset): Don't use BP_SYM.
35761 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35762 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35763 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35765 (__mpn_mul_1): Don't use BP_SYM.
35766 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35767 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35768 <bp-sym.h> and <bp-asm.h>.
35769 (memcmp): Don't use BP_SYM.
35770 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35771 <bp-sym.h> and <bp-asm.h>.
35772 (memcpy): Don't use BP_SYM.
35773 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35774 <bp-sym.h> and <bp-asm.h>.
35775 (memset): Don't use BP_SYM.
35776 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35777 <bp-sym.h> and <bp-asm.h>.
35778 (strncmp): Don't use BP_SYM.
35779 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35780 <bp-sym.h> and <bp-asm.h>.
35781 (memcpy): Don't use BP_SYM.
35782 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35783 <bp-sym.h> and <bp-asm.h>.
35784 (memset): Don't use BP_SYM.
35785 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35786 <bp-sym.h> and <bp-asm.h>.
35787 (__memchr): Don't use BP_SYM.
35788 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35789 <bp-sym.h> and <bp-asm.h>.
35790 (memcmp): Don't use BP_SYM.
35791 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35792 <bp-sym.h> and <bp-asm.h>.
35793 (memcpy): Don't use BP_SYM.
35794 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35795 <bp-sym.h> and <bp-asm.h>.
35796 (__mempcpy): Don't use BP_SYM.
35797 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35798 <bp-sym.h> and <bp-asm.h>.
35799 (__memrchr): Don't use BP_SYM.
35800 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35801 <bp-sym.h> and <bp-asm.h>.
35802 (memset): Don't use BP_SYM.
35803 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35804 <bp-sym.h> and <bp-asm.h>.
35805 (__rawmemchr): Don't use BP_SYM.
35806 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35807 <bp-sym.h> and <bp-asm.h>.
35808 (__STRCMP): Don't use BP_SYM.
35809 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35810 <bp-sym.h> and <bp-asm.h>.
35811 (strchr): Don't use BP_SYM.
35812 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35813 <bp-sym.h> and <bp-asm.h>.
35814 (__strchrnul): Don't use BP_SYM.
35815 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35816 <bp-sym.h> and <bp-asm.h>.
35817 (strlen): Don't use BP_SYM.
35818 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35819 <bp-sym.h> and <bp-asm.h>.
35820 (strncmp): Don't use BP_SYM.
35821 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35822 <bp-sym.h> and <bp-asm.h>.
35823 (__strnlen): Don't use BP_SYM.
35824 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35826 (__mpn_rshift): Don't use BP_SYM.
35827 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35828 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35829 <bp-sym.h> and <bp-asm.h>.
35830 (__sigsetjmp): Don't use BP_SYM.
35831 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35832 (L(start_addresses)): Don't use BP_SYM.
35833 (_start): Likewise.
35834 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35836 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35837 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35838 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35839 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35841 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35842 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35843 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35844 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35846 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35848 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35849 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35851 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
35853 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35854 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35855 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35857 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35859 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35861 (strncmp): Don't use BP_SYM,
35862 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35864 (__mpn_sub_n): Don't use BP_SYM.
35865 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35866 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35868 (__mpn_submul_1): Don't use BP_SYM.
35869 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35871 <bp-sym.h> and <bp-asm.h>.
35872 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35874 <bp-sym.h> and <bp-asm.h>.
35875 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35878 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35881 Use ZK to minimize writes to Z.
35882 (sub_magnitudes): Simplify code a bit.
35883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35884 Use ZK to minimize writes to Z.
35885 (sub_magnitudes): Simplify code a bit.
35887 2013-02-27 Roland McGrath <roland@hack.frob.com>
35889 * csu/gmon-start.c: Add special exception to license text.
35891 2013-02-27 Richard Henderson <rth@redhat.com>
35893 * scripts/config.guess: Update from config.git.
35894 * scripts/config.sub: Likewise.
35896 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35898 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35900 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35902 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35904 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35906 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35908 2013-02-26 Roland McGrath <roland@hack.frob.com>
35910 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35911 [$(build-shared = yes].
35913 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35915 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35916 (__mul): Reduce iterations for calculating mantissa.
35918 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35920 (__mpranred): Likewise.
35923 * malloc/memusagestat.c (main): Draw graphs for heap and stack
35924 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35926 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
35928 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35929 Define __attribute__.
35931 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35933 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35935 * posix/regex_internal.h (__attribute): Remove.
35936 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35937 (re_string_context_at): Likewise.
35938 (bitset_not): Use __attribute__ and mark function as possibly
35940 (bitset_merge): Likewise.
35941 (bitset_mask): Likewise.
35942 (re_string_char_size_at): Likewise.
35943 (re_string_wchar_at): Likewise.
35944 (re_string_elem_size_at): Likewise.
35946 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35948 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35952 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35956 (denorm): Likewise.
35957 (__dbl_mp): Likewise.
35958 (add_magnitudes): Likewise.
35959 (sub_magnitudes): Likewise.
35963 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35966 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35969 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35973 up changes with default code.
35974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35977 2013-02-24 Allan McRae <allan@archlinux.org>
35979 * manual/socket.texi (The Internet Namespace): Order menu items
35980 to match that in the file.
35982 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35983 node listing of the info page menu.
35985 2013-02-21 Joseph Myers <joseph@codesourcery.com>
35988 * sysdeps/i386/bp-asm.h: Remove file.
35989 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35990 (PARMS): Do not use macros from bp-asm.h.
35994 (__mpn_add_n): Do not use BP_SYM
35995 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35997 (PARMS): Do not use macros from bp-asm.h.
36000 (__mpn_addmul_1): Do not use BP_SYM
36001 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36003 (PARMS): Do not use macros from bp-asm.h.
36004 (SIGMSK): Likewise.
36005 (_setjmp): Likewise. Do not use BP_SYM.
36006 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36008 (PARMS): Do not use macros from bp-asm.h.
36009 (SIGMSK): Likewise.
36010 (setjmp): Likewise. Do not use BP_SYM.
36011 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36013 (PARMS): Do not use macros from bp-asm.h.
36014 (__frexp): Do not use BP_SYM.
36016 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36018 (PARMS): Do not use macros from bp-asm.h.
36019 (__frexpf): Do not use BP_SYM.
36020 (frexpf): Likewise.
36021 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36023 (PARMS): Do not use macros from bp-asm.h.
36024 (__frexpl): Do not use BP_SYM.
36025 (frexpl): Likewise.
36026 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36028 (PARMS): Do not use macros from bp-asm.h.
36029 (__remquo): Do not use BP_SYM.
36030 (remquo): Likewise.
36031 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36033 (PARMS): Do not use macros from bp-asm.h.
36034 (__remquof): Do not use BP_SYM.
36035 (remquof): Likewise.
36036 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36038 (PARMS): Do not use macros from bp-asm.h.
36039 (__remquol): Do not use BP_SYM.
36040 (remquol): Likewise.
36041 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36043 (PARMS): Do not use macros from bp-asm.h.
36046 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
36047 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36049 (PARMS): Do not use macros from bp-asm.h.
36050 (strlen): Do not use BP_SYM.
36051 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36053 (PARMS): Do not use macros from bp-asm.h.
36057 (__mpn_add_n): Do not use BP_SYM.
36058 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36060 (PARMS): Do not use macros from bp-asm.h.
36063 (__mpn_addmul_1): Do not use BP_SYM.
36064 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36067 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36069 (PARMS): Do not use macros from bp-asm.h.
36072 (__mpn_lshift): Do not use BP_SYM.
36073 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36075 (PARMS): Do not use macros from bp-asm.h.
36079 (memcpy): Likewise. Do not use BP_SYM.
36080 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36081 libc_hidden_def and weak_alias.
36082 (mempcpy): Do not use BP_SYM in weak_alias.
36083 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36085 (PARMS): Do not use macros from bp-asm.h.
36088 [!BZERO_P] (CHR): Likewise.
36089 (memset): Likewise. Do not use BP_SYM.
36090 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36092 (PARMS): Do not use macros from bp-asm.h.
36095 (__mpn_mul_1): Do not use BP_SYM.
36096 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36098 (PARMS): Do not use macros from bp-asm.h.
36101 (__mpn_rshift): Do not use BP_SYM.
36102 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36104 (PARMS): Do not use macros from bp-asm.h.
36107 (strchr): Likewise. Do not use BP_SYM.
36108 (index): Do not use BP_SYM in weak_alias.
36109 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36111 (PARMS): Do not use macros from bp-asm.h.
36114 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
36115 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36117 (PARMS): Do not use macros from bp-asm.h.
36118 (strlen): Do not use BP_SYM.
36119 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36121 (PARMS): Do not use macros from bp-asm.h.
36125 (__mpn_sub_n): Do not use BP_SYM.
36126 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36128 (PARMS): Do not use macros from bp-asm.h.
36131 (__mpn_submul_1): Do not use BP_SYM.
36132 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36134 (PARMS): Do not use macros from bp-asm.h.
36138 (__mpn_add_n): Do not use BP_SYM.
36139 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36142 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36144 (PARMS): Do not use macros from bp-asm.h.
36147 (memcmp): Do not use BP_SYM.
36148 (bcmp): Do not use BP_SYM in weak_alias.
36149 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36151 (PARMS): Do not use macros from bp-asm.h.
36155 (memcpy): Likewise. Do not use BP_SYM.
36156 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36158 (PARMS): Do not use macros from bp-asm.h.
36162 (memmove): Likewise. Do not use BP_SYM.
36163 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36165 (PARMS): Do not use macros from bp-asm.h.
36169 (__mempcpy): Likewise. Do not use BP_SYM.
36170 (mempcpy): Do not use BP_SYM in weak_alias.
36171 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36173 (PARMS): Do not use macros from bp-asm.h.
36176 [!BZERO_P] (CHR): Likewise.
36177 (memset): Likewise. Do not use BP_SYM.
36178 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36180 (PARMS): Do not use macros from bp-asm.h.
36182 (strcmp): Do not use BP_SYM.
36183 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36185 (PARMS): Do not use macros from bp-asm.h.
36188 [USE_AS_STRTOK_R] (SAVE): Likewise.
36189 (FUNCTION): Likewise. Do not use BP_SYM.
36190 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36192 (strtok_r): Likewise.
36193 (__GI___strtok_r): Likewise.
36194 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36195 (PARMS): Do not use macros from bp-asm.h.
36198 (__mpn_lshift): Do not use BP_SYM.
36199 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36200 (PARMS): Do not use macros from bp-asm.h.
36203 (__memchr): Do not use BP_SYM.
36204 (memchr): Do not use BP_SYM in weak_alias.
36205 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36206 (PARMS): Do not use macros from bp-asm.h.
36209 (memcmp): Do not use BP_SYM.
36210 (bcmp): Do not use BP_SYM in weak_alias.
36211 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36212 (PARMS): Do not use macros from bp-asm.h.
36215 (__mpn_mul_1): Do not use BP_SYM.
36216 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36218 (PARMS): Do not use macros from bp-asm.h.
36221 (__rawmemchr): Do not use BP_SYM.
36222 (rawmemchr): Do not use BP_SYM in weak_alias.
36223 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36224 (PARMS): Do not use macros from bp-asm.h.
36227 (__mpn_rshift): Do not use BP_SYM.
36228 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36229 (PARMS): Do not use macros from bp-asm.h.
36230 (SIGMSK): Likewise.
36231 (__sigsetjmp): Likewise. Do not use BP_SYM.
36232 * sysdeps/i386/start.S: Do not include "bp-sym.h".
36233 (_start): Do not use BP_SYM.
36234 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36235 (PARMS): Do not use macros from bp-asm.h.
36238 (__stpcpy): Likewise. Do not use BP_SYM.
36239 (stpcpy): Do not use BP_SYM in weak_alias.
36240 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36242 (PARMS): Do not use macros from bp-asm.h.
36246 (__stpncpy): Likewise. Do not use BP_SYM.
36247 (stpncpy): Do not use BP_SYM in weak_alias.
36248 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36249 (PARMS): Do not use macros from bp-asm.h.
36252 (strchr): Likewise. Do not use BP_SYM.
36253 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36255 (PARMS): Do not use macros from bp-asm.h.
36258 (__strchrnul): Likewise. Do not use BP_SYM.
36259 (strchrnul): Do not use BP_SYM in weak_alias.
36260 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36262 (PARMS): Do not use macros from bp-asm.h.
36264 (strcspn): Do not use BP_SYM.
36265 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36267 (PARMS): Do not use macros from bp-asm.h.
36270 (strpbrk): Likewise. Do not use BP_SYM.
36271 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36273 (PARMS): Do not use macros from bp-asm.h.
36276 (strrchr): Likewise. Do not use BP_SYM.
36277 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36278 (PARMS): Do not use macros from bp-asm.h.
36280 (strspn): Do not use BP_SYM.
36281 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36282 (PARMS): Do not use macros from bp-asm.h.
36286 (FUNCTION): Likewise. Do not use BP_SYM.
36287 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36289 (strtok_r): Likewise.
36290 (__GI___strtok_r): Likewise.
36291 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36292 (PARMS): Do not use macros from bp-asm.h.
36296 (__mpn_sub_n): Do not use BP_SYM.
36297 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36299 (PARMS): Do not use macros from bp-asm.h.
36302 (__mpn_submul_1): Do not use BP_SYM.
36303 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36305 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36307 (PARMS): Do not use macros from bp-asm.h.
36312 (__clone): Do not use BP_SYM.
36313 (clone): Do not use BP_SYM in weak_alias.
36314 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36316 (PARMS): Do not use macros from bp-asm.h.
36318 (__mmap64): Do not use BP_SYM.
36319 (mmap64): Do not use BP_SYM in weak_alias.
36320 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36321 <bp-sym.h> and <bp-asm.h>.
36322 (PARMS): Do not use macros from bp-asm.h.
36323 (__posix_fadvise64_l64): Do not use BP_SYM.
36324 * sysdeps/unix/sysv/linux/i386/semtimedop.S
36325 (PARMS): Do not use macros from bp-asm.h.
36327 (semtimedop): Do not use BP_SYM.
36328 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36331 2013-02-21 Allan McRae <allan@archlinux.org>
36333 * manual/message.texi (Charset conversion in gettext):
36334 Move @end statement to beginning of line.
36336 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36343 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36344 (denorm): Likewise.
36345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36348 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36350 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36351 tail-call to the resolved function if pltexit isn't needed.
36353 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36355 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36356 or Y being zero as being unlikely.
36357 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36360 2013-02-20 Carlos O'Donell <carlos@redhat.com>
36362 * manual/nss.texi (System Databases and Name Service Switch):
36363 Remove frobnicate @pxref.
36365 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36367 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36368 __attribute__ ((unused)) to __attribute__ ((__unused__)).
36370 2013-02-20 Petr Machata <pmachata@redhat.com>
36372 * elf/elf.h (R_ARM_TARGET1): New macro.
36373 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36374 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36375 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36376 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36377 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36378 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36379 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36380 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36381 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36382 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36383 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36384 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36385 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36386 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36387 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36388 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36389 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36390 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36391 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36392 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36393 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36394 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36395 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36396 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36397 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36398 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36399 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36400 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36401 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36402 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36403 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36404 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36405 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36406 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36407 (R_ARM_THM_GOT_BREL12): Likewise.
36408 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36409 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36410 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36411 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36412 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36413 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36414 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36415 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36416 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36418 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36420 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36421 __attribute_used__ to __attribute__ ((unused)).
36423 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36425 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36428 comment formatting.
36429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36431 2013-02-19 Joseph Myers <joseph@codesourcery.com>
36434 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36436 (ENTER): Remove both macro definitions.
36438 (CHECK_BOUNDS_LOW): Likewise.
36439 (CHECK_BOUNDS_HIGH): Likewise.
36440 (CHECK_BOUNDS_BOTH): Likewise.
36441 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36442 (RETURN_BOUNDED_POINTER): Likewise.
36443 (RETURN_NULL_BOUNDED_POINTER): Likewise.
36444 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36445 (POP_ERRNO_LOCATION_RETURN): Likewise.
36446 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36447 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36448 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36450 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36451 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36452 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36453 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36454 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36455 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36456 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36457 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36458 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36459 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36460 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36461 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36462 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36463 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36465 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36466 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36468 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36469 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36470 * sysdeps/i386/i586/memset.S (memset): Likewise.
36471 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36472 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36473 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36475 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36476 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36477 Change uses of L(2) to L(out).
36478 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36479 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36480 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36481 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36482 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36484 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36485 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36487 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36488 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36489 (RETURN): Do not use macro LEAVE.
36490 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36491 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36492 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36493 * sysdeps/i386/i686/memset.S (memset): Likewise.
36494 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36495 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36496 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36497 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36499 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36500 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
36501 L(1_2) and L(1_3) into L(1).
36502 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36503 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36504 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36505 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36506 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36507 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36508 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36509 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36510 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36512 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36513 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36514 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36515 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36516 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36517 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36518 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36519 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36520 * sysdeps/i386/strcspn.S (strcspn): Likewise.
36521 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36522 * sysdeps/i386/strrchr.S (strrchr): Likewise.
36523 * sysdeps/i386/strspn.S (strspn): Likewise.
36524 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36526 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36527 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36528 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36529 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
36530 L(1_3) into L(1_1).
36531 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36532 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36533 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36535 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36537 2013-02-19 Jakub Jelinek <jakub@redhat.com>
36539 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36542 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36544 * math/atest-exp.c (exp_mpn): Remove ROUND.
36545 * math/atest-exp2.c (exp_mpn): Likewise.
36546 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36548 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36549 * stdlib/tst-tls-atexit-lib.c: Likewise.
36550 * stdlib/tst-tls-atexit.c: Likewise.
36552 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36554 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36555 and __attribute_alloc_size__.
36557 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36559 * include/programs/xmalloc.h: Change __attribute_alloc_size to
36560 __attribute_alloc_size__.
36561 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36562 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36564 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36566 * include/programs/xmalloc.h: New file.
36567 * catgets/gencat.c: Include it.
36568 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36569 * elf/pldd.c: Likewise.
36570 * iconv/iconv_charmap.c: Likewise.
36571 * iconv/iconvconfig.c: Likewise.
36572 * iconv/strtab.c: Likewise.
36573 * locale/programs/locale.c: Likewise.
36574 * locale/programs/localedef.h: Likewise.
36575 * locale/programs/simple-hash.c: Likewise.
36576 * nscd/nscd.h: Likewise.
36577 * nss/makedb.c: Likewise.
36578 * sysdeps/generic/ldconfig.h: Likewise.
36580 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36582 * Versions.def: Add GLIBC_2.18.
36583 * include/link.h (struct link_map): New member l_tls_dtor_count.
36584 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36585 (__call_tls_dtors): Likewise.
36586 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36587 __cxa_thread_atexit_impl.
36588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36596 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36604 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36605 (tests): Add test case tst-tls-atexit.
36606 (modules-names): Add shared library for tst-tls-atexit.
36607 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36608 (GLIBC_PRIVATE): Add __call_tls_dtors.
36609 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36611 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36612 * stdlib/tst-tls-atexit.c: New test case.
36613 * stdlib/tst-tls-atexit-lib.c: New test case.
36615 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36617 * elf/Versions (ld): Add _dl_find_dso_for_object.
36618 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36619 * elf/dl-open.c (_dl_find_dso_for_object): New function.
36620 (dl_open_worker): Use _dl_find_dso_for_object.
36621 * elf/dl-sym.c (do_sym): Likewise.
36622 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36624 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36626 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36627 Syntactic changes only.
36628 (_dl_runtime_profile): Do a tail-call to the resolved function.
36630 2013-02-17 Joseph Myers <joseph@codesourcery.com>
36633 * sysdeps/x86_64/bp-asm.h: Remove file.
36634 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36635 <bp-sym.h> and <bp-asm.h>.
36636 (__clone): Do not use BP_SYM.
36637 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36638 <bp-sym.h> and <bp-asm.h>.
36639 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36640 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36642 (_setjmp): Do not use BP_SYM.
36643 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36645 (setjmp): Do not use BP_SYM.
36646 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36648 (mempcpy): Do not use BP_SYM in weak_alias.
36649 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36651 (strchr): Do not use BP_SYM.
36652 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36654 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36655 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36656 (_start): Do not use BP_SYM.
36657 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36659 (strcat): Do not use BP_SYM.
36660 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36662 (STRCMP): Do not use BP_SYM.
36663 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36665 (STRCPY): Do not use BP_SYM.
36666 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36668 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36670 (FUNCTION): Do not use BP_SYM.
36671 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36673 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36675 2013-02-17 Andreas Jaeger <aj@suse.de>
36677 * time/Versions: Sort entries.
36678 * string/Versions: Likewise.
36679 * resolv/Versions: Likewise.
36680 * posix/Versions: Likewise.
36681 * iconv/Versions: Likewise.
36682 * elf/Versions: Likewise.
36683 * wcsmbs/Versions: Likewise.
36685 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36687 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36688 loop termination condition.
36690 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36691 variable to calculate EZ.
36694 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36695 the lower precision input.
36697 2013-02-15 Joseph Myers <joseph@codesourcery.com>
36700 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36701 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36702 (run-via-rtld-prefix): Do not handle %-bp tests.
36703 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36704 (all-object-suffixes): Remove .ob.
36705 (bppfx): Remove variable.
36706 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36707 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36708 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36709 [$(build-bounded) = yes] (libtype.ob): Likewise.
36710 * Makerules (elide-routines.ob): Remove variable.
36711 (do-tests-clean): Do not handle *-bp.out.
36712 (common-mostlyclean): Do not handle *-bp and *-bp.out.
36713 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36714 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36715 (tests): Do not include $(tests-bp.out).
36716 (xtests): Do not include $(xtests-bp.out).
36717 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36718 [$(build-bounded) = yes] ($(addprefix
36719 $(objpfx),$(binaries-bounded))): Remove rule.
36720 ($(objpfx)%-bp.out): Remove rule.
36721 * config.make.in (build-bounded): Remove variable.
36722 * crypt/Makefile [$(build-bounded) = yes]
36723 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36724 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36725 append to variable.
36726 [$(build-bounded) = yes] (install-lib): Likewise.
36727 [$(build-bounded) = yes] (generated): Likewise.
36728 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36730 * intl/Makefile [$(build-bounded) = yes]
36731 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36732 * math/Makefile [$(build-bounded) = yes]
36733 ($(tests:%=$(objpfx)%-bp): Likewise.
36734 * misc/Makefile [$(build-bounded) = yes]
36735 ($(objpfx)tst-tsearch-bp): Likewise.
36736 * nptl/Makeconfig (bounded-thread-library): Remove variable.
36737 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36739 * string/Makefile (o-objects.ob): Remove variable.
36740 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36741 (CFLAGS-.ob): Remove variable.
36742 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36743 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36744 both definitions of variable.
36745 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36746 (ASFLAGS-.ob): Remove variable.
36748 2013-02-14 Joseph Myers <joseph@codesourcery.com>
36751 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36752 Remove __BOUNDED_POINTERS__ from condition.
36753 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36754 * string/bits/string2.h [!__NO_STRING_INLINES &&
36755 !__BOUNDED_POINTERS__]: Likewise.
36756 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36758 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36759 Remove conditional code.
36760 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36761 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36762 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36766 * csu/libc-start.c: Do not include <bp-sym.h>.
36767 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36768 * elf/dl-open.c: Do not include <bp-sym.h>.
36769 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36770 * math/fegetenv.c: Do not include <bp-sym.h>.
36771 (fegetenv): Do not use BP_SYM in versioned symbols.
36772 * nptl/sysdeps/pthread/bits/libc-lockP.h
36773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36776 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36778 (__pthread_mutex_destroy): Likewise.
36779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36780 (__pthread_mutex_lock): Likewise.
36781 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36782 (__pthread_mutex_trylock): Likewise.
36783 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36784 (__pthread_mutex_unlock): Likewise.
36785 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36786 (__pthread_mutexattr_init): Likewise.
36787 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36788 (__pthread_mutexattr_destroy): Likewise.
36789 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36790 (__pthread_mutexattr_settype): Likewise.
36791 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36792 (__pthread_rwlock_init): Likewise.
36793 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36794 (__pthread_rwlock_destroy): Likewise.
36795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36796 (__pthread_rwlock_rdlock): Likewise.
36797 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36798 (__pthread_rwlock_tryrdlock): Likewise.
36799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36800 (__pthread_rwlock_wrlock): Likewise.
36801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36802 (__pthread_rwlock_trywrlock): Likewise.
36803 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36804 (__pthread_rwlock_unlock): Likewise.
36805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36806 (__pthread_key_create): Likewise.
36807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36808 (__pthread_setspecific): Likewise.
36809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36810 (__pthread_getspecific): Likewise.
36811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36814 (_pthread_cleanup_push_defer): Likewise.
36815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36816 (_pthread_cleanup_pop_restore): Likewise.
36817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36818 (pthread_setcancelstate): Likewise.
36819 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36821 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36822 (memchr): Do not use BP_SYM in weak_alias.
36823 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36824 (fegetenv): Do not use BP_SYM in versioned symbols.
36825 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36826 (fesetenv): Do not use BP_SYM in versioned symbols.
36827 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36828 (feupdateenv): Do not use BP_SYM in versioned symbols.
36829 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36830 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36831 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36832 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36833 (open64): Do not use BP_SYM in weak_alias.
36834 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36835 (fegetenv): Do not use BP_SYM in versioned symbols.
36836 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36837 (fesetenv): Do not use BP_SYM in versioned symbols.
36838 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36839 (feupdateenv): Do not use BP_SYM in versioned symbols.
36840 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36841 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36842 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36843 (feraiseexcept): Do not use BP_SYM in versioned symbols.
36844 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36845 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36846 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36848 (__libc_start_main): Do not use BP_SYM.
36850 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36853 redundant return line.
36855 (denorm): Likewise.
36856 (dbl_mp): Likewise.
36857 (sub_magnitudes): Likewise.
36863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36865 (denorm): Likewise.
36866 (dbl_mp): Likewise.
36867 (sub_magnitudes): Likewise.
36874 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36876 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36877 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36880 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36881 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36882 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36883 of __mul for squares.
36884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36888 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36889 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36891 2013-02-13 Joseph Myers <joseph@codesourcery.com>
36894 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36896 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36897 prototype or function definition. Rename ubp_* variables and
36898 parameters. Remove argv definitions conditional on
36899 [__BOUNDED_POINTERS__].
36900 * debug/backtrace.c (__backtrace): Do not use __unbounded.
36901 * elf/dl-runtime.c (_dl_fixup): Likewise.
36902 * include/set-hooks.h (RUN_HOOK): Likewise.
36903 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36905 * string/strcpy.c (strcpy): Do not use __unbounded.
36906 * sysdeps/generic/frame.h (struct layout): Likewise.
36907 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36908 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36909 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36910 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36911 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36912 (__backtrace): Likewise.
36913 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36915 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36916 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36917 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36919 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36920 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36921 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36922 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36923 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36924 Do not use __unbounded.
36925 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36926 Rename __unboundedrlimits parameter to rlimits in prototype.
36927 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36928 Do not use __unbounded.
36929 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36930 not use __ptrvalue.
36931 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36932 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36933 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36934 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36935 __ptrvalue or __unbounded.
36936 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36937 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36939 (__new_msgctl): Do not use __ptrvalue.
36940 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36942 (__libc_msgrcv): Do not use __ptrvalue.
36943 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36944 startup_info): Do not use __unbounded.
36945 (__libc_start_main): Likewise. Rename ubp_* variables and
36946 parameters. Remove argv definitions conditional on
36947 [__BOUNDED_POINTERS__].
36948 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36950 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36952 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36954 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36956 (__new_shmctl): Do not use __ptrvalue.
36957 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36958 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36960 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36961 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36962 (__libc_sigaction): Likewise.
36963 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36964 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36966 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36968 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
36970 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36972 * string/mempcpy.c: Implement by calling memcpy.
36974 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36976 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36978 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36981 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36982 values in the mantissa.
36984 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36985 minimize writes to Z.
36986 (sub_magnitudes): Simplify code a bit.
36988 2013-02-12 Roland McGrath <roland@hack.frob.com>
36990 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36991 from the message. The linker prefixes all warnings with that already.
36993 2013-02-12 Andreas Schwab <schwab@suse.de>
36996 * posix/regexec.c (extend_buffers): Add parameter min_len.
36997 (check_matching): Pass minimum needed length.
36998 (clean_state_log_if_needed): Likewise.
36999 (get_subexp): Likewise.
37000 * posix/Makefile (tests): Add bug-regex34.
37001 (bug-regex34-ENV): Define.
37002 * posix/bug-regex34.c: New file.
37005 * posix/regcomp.c (parse_bracket_exp): When looking up collating
37006 elements compare against the byte sequence of it, not its name.
37007 * posix/Makefile (tests): Add bug-regex35.
37008 (bug-regex35-ENV): Define.
37009 * posix/bug-regex35.c: New file.
37011 2013-02-11 Tom de Vries <tom@codesourcery.com>
37013 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
37015 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37016 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37017 (CHECK_EOL): Add undef.
37019 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
37021 * bits/stdlib-bsearch.h: New file.
37022 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37023 * stdlib/stdlib.h: Likewise.
37025 2013-02-11 Roland McGrath <roland@hack.frob.com>
37027 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37028 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37030 * manual/search.texi (Array Search Function): Add missing const in
37032 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37033 declaration to use rlim_t.
37034 (Basic Scheduling Functions): Remove erroneous const from
37035 sched_getparam prototype. Remove erroneous * from
37036 sched_get_priority_max and sched_get_priority_min prototypes.
37037 (Resource Usage): Fix summary @comment on vtimes to refer to
37038 sys/vtimes.h rather than vtimes.h.
37039 Add missing *s in vtimes prototype.
37040 (Limits on Resources): Fix ulimit prototype to return long int.
37041 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37042 prototypes to use long int rather than double.
37043 (BSD Random): Fix initstate and setstate to use char *, not void *.
37044 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37045 prototype to make second argument 'struct aiocb64 *const[]'.
37046 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37047 (Status of AIO Operations): Remove erroneous const in aio_return and
37048 aio_return64 prototypes.
37049 (Synchronizing I/O): Fix sync prototype to return void.
37050 * manual/startup.texi (Suboptions): Remove an erroneous const in
37051 getsubopt prototype.
37052 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37053 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37054 use size_t rather than int.
37055 (Scanning All Users): Likewise for getpwent_r.
37056 (Setting Groups): Add missing const to setgroups prototype.
37057 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37058 * manual/socket.texi (Host Names): Fix gethostbyaddr and
37059 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37060 'const void *' rather than 'const char *'.
37061 (Host Address Functions): Likewise for inet_ntop.
37062 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37063 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37064 ssize_t for return value.
37065 (Sending Data): Likewise for send, sendto, sendmsg.
37066 (Socket Option Functions): Add a missing const in setsockopt prototype.
37067 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37068 use wchar_t for the argument.
37069 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37070 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37072 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37073 double/float/long double for second argument.
37074 Fix return types of significand, significandf, significandl.
37075 * manual/filesys.texi (Setting Permissions): Use mode_t for second
37076 argument in fchmod prototype.
37077 (File Owner): Use uid_t and gid_t in fchown prototype.
37078 (File Times): Add const to utimes, futimes, and lutimes prototypes.
37079 (Making Special Files): Use mode_t and dev_t in mknod prototype.
37080 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37081 use 'const struct dirent **' as argument types to CMP function pointer
37083 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37084 (File Times): Fix summary magic @comment for struct utimbuf and utime
37085 to refer to utime.h, not time.h.
37086 * manual/string.texi (Argz Functions): Add missing const in
37087 argz_extract and argz_next prototypes.
37088 (Finding Tokens in a String): Likewise for basename.
37089 (String/Array Comparison): Fix typo in wcscasecmp prototype.
37090 (Copying and Concatenation): Fix typo in wmemmove prototype.
37091 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37092 (Signal Stack): Remove erroneous const in sigstack prototype.
37093 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37095 (Simple Calendar Time): Likewise for stime.
37096 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37098 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37099 say sys/sysctl.h instead.
37100 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37101 and vsyslog prototypes.
37103 2013-02-11 Tom de Vries <tom@codesourcery.com>
37105 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37108 2013-02-11 Roland McGrath <roland@hack.frob.com>
37110 * misc/sys/mman.h: Fix typo in mremap comment.
37112 2013-02-08 Roland McGrath <roland@hack.frob.com>
37114 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37115 the '\0' terminator.
37117 2013-02-08 Joseph Myers <joseph@codesourcery.com>
37120 * debug/segfault.c: Don't include <bp-checks.h>.
37121 * sysdeps/generic/bp-checks.h: Remove file.
37122 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37123 (__GETDENTS): Don't use CHECK_N.
37124 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37125 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37126 (__getgroups): Don't use CHECK_N.
37127 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37128 (setgroups): Don't use CHECK_N.
37129 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37130 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37131 (__libc_msgrcv): Don't use CHECK_N.
37132 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37133 (__libc_msgsnd): Don't use CHECK_N.
37134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37136 (__libc_pread): Don't use CHECK_N.
37137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37138 include <bp-checks.h>.
37139 (__libc_pread64): Don't use CHECK_N.
37140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37141 include <bp-checks.h>.
37142 (__libc_pwrite): Don't use CHECK_N.
37143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37144 include <bp-checks.h>.
37145 (__libc_pwrite64): Don't use CHECK_N.
37146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37148 (__libc_pread): Don't use CHECK_N.
37149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37150 include <bp-checks.h>.
37151 (__libc_pread64): Don't use CHECK_N.
37152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37153 include <bp-checks.h>.
37154 (__libc_pwrite): Don't use CHECK_N.
37155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37156 include <bp-checks.h>.
37157 (__libc_pwrite64): Don't use CHECK_N.
37158 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37159 (do_pread): Don't use CHECK_N.
37160 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37161 (do_pread64): Don't use CHECK_N.
37162 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37163 (do_pwrite): Don't use CHECK_N.
37164 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37165 (do_pwrite64): Don't use CHECK_N.
37166 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37167 (__libc_readv): Don't use CHECK_N.
37168 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37169 (semop): Don't use CHECK_N.
37170 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37172 (semtimedop): Don't use CHECK_N.
37173 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37174 (__libc_pread): Don't use CHECK_N.
37175 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37177 (__libc_pread64): Don't use CHECK_N.
37178 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37180 (__libc_pwrite): Don't use CHECK_N.
37181 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37183 (__libc_pwrite64): Don't use CHECK_N.
37184 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37186 (__libc_msgrcv): Don't use CHECK_N.
37187 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37188 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
37189 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37190 (__libc_writev): Don't use CHECK_N.
37192 2013-02-08 Roland McGrath <roland@hack.frob.com>
37194 * string/strcpy.c: Removed unused variable.
37196 * Makeconfig (+sysdep-includes): Define with := rather than =.
37197 Use an existing include/ subdir of each sysdeps dir before it.
37199 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37201 * nscd/connection.c (register_traced_file): Comment function.
37202 [HAVE_INOTIFY] (union __inev): Define.
37203 [HAVE_INOTIFY] (inotify_check_files): New function.
37204 [HAVE_INOTIFY] (clear_db_cache): Likewise.
37205 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37207 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37209 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37211 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37212 loaded if not already and that a failure is permanent.
37214 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37217 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37218 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37220 2013-02-08 Joseph Myers <joseph@codesourcery.com>
37223 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37224 (CHECK_1_NULL_OK): Likewise.
37225 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37226 (__fxstat): Do not use CHECK_1.
37227 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37229 (___fxstat64): Do not use CHECK_1.
37230 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37232 (__fxstatat): Do not use CHECK_1.
37233 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37235 (__fxstatat64): Do not use CHECK_1.
37236 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37238 (__fxstat): Do not use CHECK_1.
37239 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37241 (__fxstatat): Do not use CHECK_1.
37242 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37244 (__getresgid): Do not use CHECK_1.
37245 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37247 (__getresuid): Do not use CHECK_1.
37248 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37250 (__lxstat): Do not use CHECK_1.
37251 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37253 (__old_msgctl): Do not use CHECK_1.
37254 (__new_msgctl): Likewise.
37255 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37257 (__new_setrlimit): Do not use CHECK_1.
37258 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37260 (__old_shmctl): Do not use CHECK_1.
37261 (__new_shmctl): Likewise.
37262 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37264 (__xstat): Do not use CHECK_1.
37265 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37266 (__lxstat): Do not use CHECK_1.
37267 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37269 (___lxstat64): Do not use CHECK_1.
37270 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37271 (__old_msgctl): Do not use CHECK_1.
37272 (__new_msgctl): Likewise.
37273 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37275 (__gettimeofday): Do not use CHECK_1.
37276 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37277 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37278 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37280 (__gettimeofday): Do not use CHECK_1.
37281 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37282 (__old_shmctl): Do not use CHECK_1_NULL_OK.
37283 (__new_shmctl): Do not use CHECK_1.
37284 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37286 (do_sigtimedwait): Do not use CHECK_1.
37287 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37289 (do_sigwaitinfo): Do not use CHECK_1.
37290 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37292 (msgctl): Do not use CHECK_1.
37293 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37295 (shmctl): Do not use CHECK_1.
37296 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37297 (ustat): Do not use CHECK_1.
37298 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37300 (__fxstat): Do not use CHECK_1.
37301 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37303 (__fxstatat): Do not use CHECK_1.
37304 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37306 (__lxstat): Do not use CHECK_1.
37307 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37309 (__xstat): Do not use CHECK_1.
37310 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37311 (__xstat): Do not use CHECK_1.
37312 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37313 (___xstat64): Do not use CHECK_1.
37316 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37318 (CHECK_BOUNDS_HIGH): Likewise.
37319 * string/strcpy.c: Do not include <bp-checks.h>.
37320 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37322 2013-02-07 Roland McGrath <roland@hack.frob.com>
37324 * nscd/nscd-client.h (__nscd_drop_map_ref):
37325 Add __attribute__ ((unused)).
37326 * nis/nss-nisplus.h (niserr2nss): Likewise.
37328 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37329 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37331 * csu/libc-tls.c (init_static_tls, init_slotinfo):
37332 Remove inline keyword.
37333 * include/rounding-mode.h (round_away): Likewise.
37334 * libio/wfileops.c (adjust_wide_data): Likewise.
37335 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37336 (__m128i_strloadu_tolower): Likewise.
37337 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37338 (__m128i_strloadu_tolower): Likewise.
37339 * time/mktime.c (ydhms_diff): Likewise.
37340 * locale/elem-hash.h (elem_hash): Likewise.
37341 * locale/setlocale.c (setdata): Likewise.
37342 * posix/regex_internal.h (re_string_char_size_at): Likewise.
37343 (re_string_wchar_at): Likewise.
37344 (bitset_not, bitset_merge, bitset_mask): Likewise.
37345 [!(__GNUC__ > 3)] (inline): Remove macro.
37346 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37347 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37348 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37349 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37350 * string/memcmp.c (memcmp_bytes): Likewise.
37351 * locale/programs/locarchive.c (compute_hashval): Likewise.
37352 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37353 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37354 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37355 * nss/getent.c (print_rpc, print_protocols): Likewise.
37356 (print_passwd, print_group, print_aliases): Likewise.
37357 * nis/nss-nisplus.h (niserr2nss): Likewise.
37358 * nscd/connections.c (restart_p): Likewise.
37359 Change return type to bool.
37361 2013-02-05 Roland McGrath <roland@hack.frob.com>
37363 * Makeconfig (all-Depend-files): Add existing
37364 $(sorted-subdirs:=/Depend) files.
37365 (all-subdirs): Remove nss.
37366 * sysdeps/unix/inet/Subdirs: Add it here instead.
37367 * hesiod/Depend: New file.
37369 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37370 instead of calling alloca.
37372 * io/lseek.c (__lseek): Rename to __libc_lseek.
37373 Define __lseek as an alias.
37375 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37377 2013-02-04 Carlos O'Donell <carlos@redhat.com>
37379 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37380 else clause and remove check for non-standard endianness.
37382 2013-02-04 David S. Miller <davem@davemloft.net>
37384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37386 2013-02-04 Joseph Myers <joseph@codesourcery.com>
37389 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37390 (__ubp_memchr): Remove prototype.
37391 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37392 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37393 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37394 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37395 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37397 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37398 (__ubp_memchr): Likewise.
37399 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37400 (__ubp_memchr): Likewise.
37401 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37402 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37403 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37404 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37406 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37407 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37408 (__getcwd): Do not use CHECK_STRING.
37409 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37411 (__real_chown): Do not use CHECK_STRING.
37412 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37414 (fchownat): Do not use CHECK_STRING.
37415 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37417 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37419 (__lchown): Do not use CHECK_STRING.
37420 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37421 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37422 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37423 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37425 include <bp-checks.h>.
37426 (truncate64): Do not use CHECK_STRING.
37427 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37429 (__real_chown): Do not use CHECK_STRING.
37430 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37432 (__lchown): Do not use CHECK_STRING.
37433 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37435 (__chown): Do not use CHECK_STRING.
37436 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37438 (truncate64): Do not use CHECK_STRING.
37439 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37441 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37442 (__xmknod): Do not use CHECK_STRING.
37443 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37445 (__xmknodat): Do not use CHECK_STRING.
37446 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37447 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37449 2013-02-04 Andreas Schwab <schwab@suse.de>
37452 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37453 * include/netdb.h: Likewise for h_errno.
37454 * elf/tst-stackguard1.c: Include <tls.h>.
37456 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
37458 * elf/link.h (struct link_map): Extend the l_addr comment.
37459 * include/link.h (struct link_map): Likewise.
37461 2013-02-01 Joseph Myers <joseph@codesourcery.com>
37464 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37465 (BOUNDED_1): Remove macro.
37466 * debug/backtrace.c: Don't include <bp-checks.h>.
37467 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37468 (__backtrace): Likewise.
37469 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37471 (__backtrace): Don't use BOUNDED_1.
37472 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37474 (__backtrace): Don't use BOUNDED_1.
37475 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37476 (__backtrace): Don't use BOUNDED_1.
37477 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37478 (shmat): Don't use BOUNDED_N.
37480 2013-01-31 Joseph Myers <joseph@codesourcery.com>
37483 * sysdeps/generic/bp-start.h: Remove file.
37484 * csu/libc-start.c: Don't include <bp-start.h>.
37485 (LIBC_START_MAIN): Set up __environ directly instead of using
37486 INIT_ARGV_and_ENVIRON.
37487 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37491 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37493 (CHECK_FCNTL): Likewise.
37494 (CHECK_N_PAGES): Likewise.
37497 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37499 (CHECK_SIGSET_NULL_OK): Likewise.
37500 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37502 (sigpending): Don't use CHECK_SIGSET.
37503 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37505 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37506 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37508 (do_sigsuspend): Don't use CHECK_SIGSET.
37509 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37511 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37512 (do_sigwait): Don't use CHECK_SIGSET.
37513 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37515 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37516 include <bp-checks.h>.
37517 (sigpending): Don't use CHECK_SIGSET.
37518 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37519 include <bp-checks.h>.
37520 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37521 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37523 (sigpending): Don't use CHECK_SIGSET.
37524 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37526 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37529 * sysdeps/generic/bp-semctl.h: Remove file.
37530 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37531 <bp-checks.h> and <bp-semctl.h>.
37532 (__old_semctl): Don't use CHECK_SEMCTL.
37533 (__new_semctl): Likewise.
37534 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37536 (__old_semctl): Don't use CHECK_SEMCTL.
37537 (__new_semctl): Likewise.
37538 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37539 <bp-checks.h> and <bp-semctl.h>.
37540 (__old_semctl): Don't use CHECK_SEMCTL.
37541 (__new_semctl): Likewise.
37542 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37543 <bp-checks.h> and <bp-semctl.h>.
37544 (semctl): Don't use CHECK_SEMCTL.
37547 * Makerules (elide-bp-thunks): Remove variable.
37548 (elide-routines.oS): Don't use $(elide-bp-thunks).
37549 (elide-routines.os): Likewise.
37550 (elide-routines.o): Likewise.
37551 (elide-routines.op): Likewise.
37552 (elide-routines.og): Likewise.
37553 (objects): Don't use $(bp-thunks).
37554 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37556 (common-generated): Do not add s-proto-bp.d.
37557 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37560 Do not generate makefile rules for bounded-pointer thunks.
37561 * sysdeps/generic/bp-thunks.h: Remove file.
37562 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37563 * sysdeps/unix/s-proto-bp.S: Likewise.
37566 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37567 parts of result separately when argument is not close to line from
37568 -i to i and one part of argument is small.
37569 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37570 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37571 * math/libm-test.inc (cacos_test): Add more tests.
37572 (casin_test): Likewise.
37573 (casinh_test): Likewise.
37574 * sysdeps/i386/fpu/libm-test-ulps: Update.
37575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37577 2013-01-31 David S. Miller <davem@davemloft.net>
37579 * po/de.po: Update from translation team.
37581 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
37583 * time/tzfile.c: Include stdint.h for SIZE_MAX.
37585 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
37587 * configure.in (_AC_PROG_CC_C89): New definition.
37588 * configure: Regenerate.
37590 * configure.in (AC_PROG_CPP): New definition.
37591 * configure: Regenerate.
37593 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37595 * debug/tst-backtrace.h: New file.
37596 * debug/tst-backtrace2.c: Include tst-backtrace.h.
37597 (ret): Remove variable.
37599 (FAIL): Remove macro.
37600 (NO_INLINE): Likewise.
37601 (fn1): Use match function instead of strstr.
37602 * debug/tst-backtrace3.c: Include tst-backtrace.h.
37603 (ret): Remove variable.
37605 (FAIL): Remove macro.
37606 (NO_INLINE): Likewise.
37607 (fn): Use match function instead of strstr.
37608 * debug/tst-backtrace4.c: Include tst-backtrace.h.
37609 (ret): Remove variable.
37611 (FAIL): Remove macro.
37612 (NO_INLINE): Likewise.
37613 (handle_signal): Use match function instead of strstr.
37614 * debug/tst-backtrace5.c: Include tst-backtrace.h.
37615 (ret): Remove variable.
37617 (FAIL): Remove macro.
37618 (NO_INLINE): Likewise.
37619 (handle_signal): Use match function instead of strstr.
37621 2013-01-23 Roland McGrath <roland@hack.frob.com>
37623 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37625 2013-01-23 David S. Miller <davem@davemloft.net>
37627 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37628 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37629 argument of CAS if possible.
37630 * sysdeps/sparc/sparc64/bits/atomic.h
37631 (__arch_compare_and_exchange_val_32_acq): Likewise.
37632 (__arch_compare_and_exchange_val_64_acq): Likewise.
37634 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
37636 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37637 * sysdeps/posix/ulimit.c: ... this.
37638 Include <limits.h>.
37639 * sysdeps/unix/bsd/ulimit.c: Remove file.
37641 2013-01-23 Adam Conrad <adconrad@0c3.net>
37643 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37644 (LDFLAGS-tst-array5): Likewise.
37646 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37649 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37650 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37651 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37652 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37654 2013-01-21 David S. Miller <davem@davemloft.net>
37656 * sysdeps/sparc/backtrace.c: New file.
37657 * sysdeps/sparc/sparc32/backtrace.h: New file.
37658 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37659 * sysdeps/sparc/sparc64/backtrace.h: New file.
37660 * sysdeps/sparc/sparc64/backtrace.c: Delete.
37661 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37664 2013-01-21 Andreas Schwab <schwab@suse.de>
37667 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37670 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
37672 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37676 2013-01-18 Joseph Myers <joseph@codesourcery.com>
37677 Mark Mitchell <mark@codesourcery.com>
37678 Tom de Vries <tom@codesourcery.com>
37679 Paul Pluzhnikov <ppluzhnikov@google.com>
37681 * debug/tst-backtrace2.c: New file.
37682 * debug/tst-backtrace3.c: Likewise.
37683 * debug/tst-backtrace4.c: Likewise.
37684 * debug/tst-backtrace5.c: Likewise.
37685 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37686 (CFLAGS-tst-backtrace3.c): Likewise.
37687 (CFLAGS-tst-backtrace4.c): Likewise.
37688 (CFLAGS-tst-backtrace5.c): Likewise.
37689 (LDFLAGS-tst-backtrace2): Likewise.
37690 (LDFLAGS-tst-backtrace3): Likewise.
37691 (LDFLAGS-tst-backtrace4): Likewise.
37692 (LDFLAGS-tst-backtrace5): Likewise.
37693 (tests): Add new tests tst-backtrace2, tst-backtrace3,
37694 tst-backtrace4 and tst-backtrace5.
37696 2013-01-18 Anton Blanchard <anton@samba.org>
37697 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37699 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37700 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37701 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37702 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37704 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37705 "+r" and remove output regs list as redundant. Add explicit inline
37706 asm to specify register of return val to work around compiler codegen
37707 bug. Remove (int) cast on return value. Add return type parameter to
37708 use in macro so that this macro does not truncate return value for
37710 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37711 pass to INTERNAL_VSYSCALL_NCS.
37712 (INLINE_VSYSCALL): Add 'long int' as return type to
37713 INTERNAL_VSYSCALL_NCS macro invocation.
37714 (INTERNAL_VSYSCALL): Add 'long int' as return type to
37715 INTERNAL_VSYSCALL_NCS macro invocation.
37716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37718 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37721 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37722 Fix application of SIMD FP exception mask.
37724 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37725 mp_no from a power of two.
37726 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37727 __mpexp_twomm1. Use __pow_mp.
37729 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37732 2013-01-17 David S. Miller <davem@davemloft.net>
37734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37736 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37739 * include/complex.h: Condition contents on [!_COMPLEX_H].
37740 (__kernel_casinhf): New prototype.
37741 (__kernel_casinh): Likewise.
37742 (__kernel_casinhl): Likewise.
37743 * math/Makefile (libm_calls): Add k_casinh.
37744 * math/k_casinh.c: New file.
37745 * math/k_casinhf.c: Likewise.
37746 * math/k_casinhl.c: Likewise.
37747 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37748 finite nonzero arguments.
37749 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37750 finite nonzero arguments.
37751 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37752 finite nonzero arguments.
37753 * math/s_casinh.c: Do not include <float.h>.
37754 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37755 * math/s_casinhf.c: Do not include <float.h>.
37756 (__casinhf): Move code for finite nonzero arguments to
37758 * math/s_casinhl.c: Do not include <float.h>.
37759 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37761 (__casinhl): Move code for finite nonzero arguments to
37763 * math/libm-test.inc (cacos_test): Add more tests.
37764 * sysdeps/i386/fpu/libm-test-ulps: Update.
37765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37767 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
37769 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37770 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37771 [!HAVE_MREMAP]: Remove [defined linux] case.
37772 * malloc/arena.c: Do not include <malloc-sysdep.h>.
37774 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37776 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37778 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
37780 * elf/elf.h (R_386_SIZE32): New relocation.
37781 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37783 (elf_machine_rela): Likewise.
37784 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37785 R_X86_64_SIZE64 and R_X86_64_SIZE32.
37787 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37789 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37790 (FP_FAST_FMA): Do not define.
37791 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37792 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37793 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37794 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37795 !_SOFT_FLOAT]: Likewise.
37796 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37797 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37799 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37800 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37801 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37802 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37803 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37804 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37807 2013-01-16 Andreas Schwab <schwab@suse.de>
37810 * include/stdlib.h (__mktemp): Add declaration.
37811 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37812 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37814 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37816 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37818 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37819 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37820 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37822 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37823 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37825 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37827 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37828 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37829 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37831 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37832 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37834 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37836 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37838 2013-01-15 David S. Miller <davem@davemloft.net>
37840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37841 trunc{,f} to libm-sysdep_routes.
37842 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37852 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37853 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37854 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37855 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37856 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37857 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37860 nearbyint{,f} to libm-sysdep_routes.
37861 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37872 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37874 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37875 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37877 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37878 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37879 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37881 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37882 libc_feholdexcept and libc_fesetenv.
37884 2013-01-15 Mike Frysinger <vapier@gentoo.org>
37886 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37888 2013-01-14 David S. Miller <davem@davemloft.net>
37890 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37891 (SPARC_ASM_VIS2_IFUNC): Likewise.
37892 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37894 use of 'siam' instruction.
37895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37913 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37916 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37923 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37928 routines to libm-sysdep_routines.
37929 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37932 fdim/fdimf to libm-sysdep_routines.
37933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37941 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37942 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37943 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37944 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37946 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37948 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37949 to optimize copies.
37951 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37953 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37955 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37956 local variable MPTWO.
37957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37960 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37962 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37965 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37967 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37969 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37971 * manual/pattern.texi (glob_t): Document gl_flags.
37972 (glob64_t): Likewise.
37974 2013-01-11 David S. Miller <davem@davemloft.net>
37976 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37977 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37978 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
37979 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37980 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37981 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37982 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37983 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37984 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37985 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37986 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37987 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37988 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37990 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37991 sparc V9 rather than using V8 code.
37992 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37993 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37995 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37997 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38000 2013-01-11 Roland McGrath <roland@hack.frob.com>
38002 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38003 not in the main loop.
38004 * configure: Regenerated.
38006 2013-01-11 Joseph Myers <joseph@codesourcery.com>
38008 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38009 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38011 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
38012 [!__GLIBC_HAVE_LONG_LONG] case.
38013 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38014 condition to just #else.
38015 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38016 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38017 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38018 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38020 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38021 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38022 #elif condition to just #else.
38023 * sysdeps/unix/sysv/linux/sys/sysmacros.h
38024 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38025 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38026 #elif condition to just #else.
38028 2013-01-11 Steve Ellcey <sellcey@mips.com>
38030 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38031 (EF_MIPS_ARCH_64): Fix value.
38032 (EF_MIPS_ARCH_32R2): New.
38033 (EF_MIPS_ARCH_64R2): New.
38035 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
38037 * Makeconfig (+link-pie-before-libc): New.
38038 (+link-pie-after-libc): Likewise.
38039 (+link-pie-tests): Likewise.
38040 (+link-pie): Rewritten.
38041 (link-before-libc): Remove $(config-LDFLAGS).
38042 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38043 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38044 (config-LDFLAGS): Renamed to ...
38045 (rtld-LDFLAGS): This.
38046 (rtld-tests-LDFLAGS): New macro.
38047 (link-libc-rpath-link): Likewise.
38048 (link-libc-tests-rpath-link): Likewise.
38049 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38050 (link-libc): Prepand $(link-libc-rpath-link).
38051 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38052 (test-program-prefix): New macro.
38053 (test-via-rtld-prefix): Likewise.
38054 (test-program-cmd): Likewise.
38055 (host-test-program-cmd): Likewise.
38056 * Makefile ($(common-objpfx)testrun.sh): Replace
38057 $(run-program-prefix) with $(test-program-prefix).
38058 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38060 ($(common-objpfx)shlib.lds): Likewise.
38061 (build-module-helper): Likewise.
38062 ($(common-objpfx)format.lds): Likewise.
38063 * Rules (binaries-pie-tests): New.
38064 (binaries-pie-notests): Likewise.
38065 (binaries-pie): Rewritten.
38066 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38067 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38068 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38069 (make-test-out): Replace $(host-built-program-cmd) with
38070 $(host-test-program-cmd).
38071 * config.make.in (build-hardcoded-path-in-tests): New variable.
38072 * configure.in (--enable-hardcoded-path-in-tests): New configure
38074 (hardcoded_path_in_tests): New AC_SUBST.
38075 * configure: Regenerated.
38076 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38077 $(built-program-cmd) with $(test-program-cmd).
38078 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38079 (test_program_cmd): This.
38080 * elf/Makefile ($(objpfx)order.out): Run test with
38081 $(test-program-prefix).
38082 ($(objpfx)order2.out): Likewise.
38083 ($(objpfx)tst-initorder.out): Likewise.
38084 ($(objpfx)tst-initorder2.out): Likewise.
38085 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38086 $(test-program-cmd).
38087 ($(objpfx)tst-array1-static.out): Likewise.
38088 ($(objpfx)tst-array2.out): Likewise.
38089 ($(objpfx)tst-array3.out): Likewise.
38090 ($(objpfx)tst-array4.out): Likewise.
38091 ($(objpfx)tst-array5.out): Likewise.
38092 ($(objpfx)tst-array5-static.out): Likewise.
38093 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38094 $(test-program-cmd).
38095 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38096 $(run-program-prefix) with $(test-program-prefix).
38097 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38098 (test_program_prefix): This.
38099 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38100 $(run-program-prefix) with $(test-program-prefix).
38101 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38102 (test_program_prefix): This.
38103 * iconvdata/tst-tables.sh: Likewise.
38104 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38105 $(run-program-prefix) with $(test-program-prefix).
38106 ($(objpfx)tst-translit.out): Likewise.
38107 ($(objpfx)tst-gettext2.out): Likewise.
38108 ($(objpfx)tst-gettext4.out): Likewise.
38109 ($(objpfx)tst-gettext6.out): Likewise.
38110 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38111 (test_program_prefix): This.
38112 * intl/tst-gettext2.sh: Likewise.
38113 * intl/tst-gettext4.sh Likewise.
38114 * intl/tst-gettext6.sh: Likewise.
38115 * intl/tst-translit.sh: Likewise.
38116 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38117 with $(test-program-cmd).
38118 * libio/Makefile ($(objpfx)test-freopen.out): Replace
38119 $(run-program-prefix) with $(test-program-prefix).
38120 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38121 (test_program_prefix): This.
38122 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38123 $(run-program-prefix) with $(test-program-prefix).
38124 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38125 (test_program_prefix): This.
38126 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38127 * posix/Makefile ($(objpfx)globtest.out): Replace
38128 $(run-via-rtld-prefix) and $(test-wrapper) with
38129 $(test-program-prefix) and $(test-via-rtld-prefix).
38130 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38131 $(test-program-prefix).
38132 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38133 $(host-test-program-cmd).
38134 (tst-spawn-ARGS): Likewise.
38135 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38136 $(test-program-prefix).
38137 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38138 (test_via_rtld_prefix): This.
38139 (test_wrapper): Renamed to ...
38140 (test_program_prefix): This.
38141 (run_program_prefix): Replaced by test_program_prefix.
38142 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38143 (test_program_prefix): This.
38144 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38145 with $(host-test-program-cmd).
38146 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38147 $(run-program-prefix) with $(test-program-prefix).
38148 ($(objpfx)tst-printf.out): Likewise.
38149 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38150 $(test-program-cmd).
38151 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38152 (test_program_prefix): This.
38153 * stdio-common/tst-unbputc.sh: Likewise.
38154 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38155 $(run-program-prefix) with $(test-program-prefix).
38156 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38157 (test_program_prefix): This.
38158 * string/Makefile ($(objpfx)tst-svc.out): Replace
38159 $(built-program-cmd) with $(test-program-cmd).
38161 2013-01-11 Andreas Jaeger <aj@suse.de>
38164 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38165 value. Sync with Linux 3.7.
38167 2013-01-10 David S. Miller <davem@davemloft.net>
38169 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38170 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38171 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38173 2013-01-10 Roland McGrath <roland@hack.frob.com>
38175 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38177 * configure: Regenerated.
38179 2013-01-10 David S. Miller <davem@davemloft.net>
38181 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38182 sparc V9 rather than using V8 code.
38183 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38184 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38186 2013-01-10 Roland McGrath <roland@hack.frob.com>
38188 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38189 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38190 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38191 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38192 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38193 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38194 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38195 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38196 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38197 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38198 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38199 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38200 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38201 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38202 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38203 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38204 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38205 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38206 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38207 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38208 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38209 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38210 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38211 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38212 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38213 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38214 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38216 2013-01-10 David S. Miller <davem@davemloft.net>
38218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38220 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
38222 * posix/Makefile (tests-static): New variable.
38223 (tests): Add $(tests-static).
38224 (tst-exec-static-ARGS): New variable.
38225 (tst-spawn-static-ARGS): Likewise.
38226 * posix/tst-exec-static.c: New file.
38227 * posix/tst-spawn-static.c: Likewise.
38228 * posix/tst-exec.c: Support run directly.
38229 * posix/tst-spawn.c: Likewise.
38231 2013-01-10 Joseph Myers <joseph@codesourcery.com>
38233 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38235 * math/bits/mathcalls.h (llrint): Likewise.
38236 (llround): Likewise.
38237 * stdlib/stdlib.h (struct drand48_data): Likewise.
38238 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38239 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38240 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38242 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38244 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38245 (elf_greg_t): Likewise.
38246 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38247 (__jmp_buf): Likewise.
38248 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38250 (llrint): Likewise, for all definitions.
38251 (llrintl): Likewise.
38253 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38254 Remove [__GNUC__] condition.
38255 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38256 condition to just [__USE_ISOC99].
38257 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38259 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
38262 * sysdeps/unix/sysv/linux/x86/bits/environments.h
38263 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38265 (_POSIX_V6_ILP32_OFF32): Likewise.
38266 (_XBS5_ILP32_OFF32): Likewise.
38267 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38268 (__ILP32_OFFBIG_LDFLAGS): Likewise.
38270 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38272 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38274 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38275 doubles __mpexp_twomm1. Adjust usage.
38276 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38279 2013-01-10 Andreas Schwab <schwab@suse.de>
38282 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38283 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38285 2013-01-09 David S. Miller <davem@davemloft.net>
38288 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38289 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38290 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38291 (TCP_FASTOPEN): Define.
38292 (tcp_repair_opt): New structure.
38293 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38295 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38296 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38297 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38298 (tcp_cookie_transactions): New structure.
38300 2013-01-09 Anton Blanchard <anton@samba.org>
38302 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38303 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38304 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38305 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38307 2013-01-09 Joseph Myers <joseph@codesourcery.com>
38309 * include/features.h (__USE_ANSI): Remove.
38311 2013-01-09 Roland McGrath <roland@hack.frob.com>
38313 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38315 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38317 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
38319 * sysdeps/s390/fpu/libm-test-ulps: Update.
38321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38323 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38327 (denorm): Likewise.
38328 (__mp_dbl): Likewise.
38329 (__dbl_mp): Likewise.
38330 (add_magnitudes): Likewise.
38331 (sub_magnitudes): Likewise.
38337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38341 (denorm): Likewise.
38342 (__mp_dbl): Likewise.
38343 (__dbl_mp): Likewise.
38344 (add_magnitudes): Likewise.
38345 (sub_magnitudes): Likewise.
38351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38355 (denorm): Likewise.
38356 (__mp_dbl): Likewise.
38357 (__dbl_mp): Likewise.
38358 (add_magnitudes): Likewise.
38359 (sub_magnitudes): Likewise.
38366 2013-01-08 Joseph Myers <joseph@codesourcery.com>
38368 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38369 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38370 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38371 2 && __USE_EXTERN_INLINES]: Likewise.
38373 2013-01-08 Andreas Jaeger <aj@suse.de>
38376 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38378 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38379 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38381 2013-01-07 Anton Blanchard <anton@samba.org>
38383 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38384 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38385 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38386 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38387 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38388 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38389 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38390 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38392 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38393 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38394 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38395 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38396 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38397 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38398 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38399 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38400 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38401 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38402 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38403 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38404 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38405 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38406 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38407 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38408 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38409 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38410 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38411 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38412 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38413 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38415 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38416 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38417 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38418 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38419 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38420 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38421 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38422 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38423 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38424 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38425 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38427 2013-01-07 Joseph Myers <joseph@codesourcery.com>
38429 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38430 (__MALLOC_PMT): Likewise.
38431 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38432 [__GNUC__], only on [_LIBC].
38433 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38434 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38435 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38436 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38437 forward declaration.
38438 (realloc_hook_ini): Likewise.
38439 (memalign_hook_ini): Likewise.
38440 (__libc_memalign): Do not use __MALLOC_PMT in variable
38442 (__libc_valloc): Likewise.
38443 (__libc_pvalloc): Likewise.
38444 (__libc_calloc): Likewise.
38445 (__posix_memalign): Likewise.
38448 * math/s_casinh.c: Include <float.h>.
38449 (__casinh): Do not do computation with squaring and square root
38450 for large arguments.
38451 * math/s_casinhf.c: Include <float.h>.
38452 (__casinhf): Do not do computation with squaring and square root
38453 for large arguments.
38454 * math/s_casinhl.c: Include <float.h>.
38455 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38456 (__casinhl): Do not do computation with squaring and square root
38457 for large arguments.
38458 * math/libm-test.inc (casin_test): Add more tests.
38459 (casinh_test): Likewise.
38460 * sysdeps/i386/fpu/libm-test-ulps: Update.
38461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38463 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
38465 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38466 (__x86_64_raw_data_cache_size): Likewise.
38467 (__x86_64_data_cache_size_half): Likewise.
38468 (__x86_64_raw_data_cache_size_half): Likewise.
38469 (__x86_64_shared_cache_size): Likewise.
38470 (__x86_64_raw_shared_cache_size): Likewise.
38471 (__x86_64_shared_cache_size_half): Likewise.
38472 (__x86_64_raw_shared_cache_size_half): Likewise.
38473 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38475 (__x86_data_cache_size): This.
38476 (__x86_64_raw_data_cache_size): Renamed to ...
38477 (__x86_raw_data_cache_size): This.
38478 (__x86_64_data_cache_size_half): Renamed to ...
38479 (__x86_data_cache_size_half): This.
38480 (__x86_64_raw_data_cache_size_half): Renamed to ...
38481 (__x86_raw_data_cache_size_half): This.
38482 (__x86_64_shared_cache_size): Renamed to ...
38483 (__x86_shared_cache_size): This.
38484 (__x86_64_raw_shared_cache_size): Renamed to ...
38485 (__x86_raw_shared_cache_size): This.
38486 (__x86_64_shared_cache_size_half): Renamed to ...
38487 (__x86_shared_cache_size_half): This.
38488 (__x86_64_raw_shared_cache_size_half): Renamed to ...
38489 (__x86_raw_shared_cache_size_half): This.
38490 * sysdeps/x86_64/memcpy.S: Updated.
38491 * sysdeps/x86_64/memset.S: Likewise.
38492 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38493 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38494 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38496 2013-01-04 David S. Miller <davem@davemloft.net>
38498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38500 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
38502 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38503 1 to avoid redefinition warning.
38504 (__USE_GNU): Don't define.
38505 (init_signaling_nan): Protoize.
38507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38509 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38511 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38513 (__cpymn): Likewise.
38514 (norm): Remove commented code.
38515 (denorm): Likewise.
38516 (__mp_dbl): Likewise.
38518 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38519 (__cpymn): Likewise.
38520 (norm): Remove commented code.
38521 (denorm): Likewise.
38522 (__mp_dbl): Likewise.
38525 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38526 mp_no value for 1.0 and 2.0.
38527 (norm): Use RADIXI instead of radixi.d.
38528 (denorm): Likewise.
38529 (__mul): Use 0.0 instead of zero.d.
38530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38531 mp_no value for 1.0 and 2.0.
38532 (norm): Use RADIXI instead of radixi.d.
38533 (denorm): Likewise.
38534 (__mul): Use 0.0 instead of zero.d.
38536 2013-01-04 Joseph Myers <joseph@codesourcery.com>
38539 * math/s_casinh.c (__casinh): Reduce finite argument to first
38540 quadrant then set signs of results at the end.
38541 * math/s_casinhf.c (__casinhf): Likewise.
38542 * math/s_casinhl.c (__casinhl): Likewise.
38543 * math/libm-test.inc (casin_test): Add more tests.
38544 (casinh_test): Likewise.
38545 * sysdeps/i386/fpu/libm-test-ulps: Update.
38546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38548 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38550 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38552 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38554 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38556 (denorm): Likewise.
38557 (__mp_dbl): Likewise.
38560 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38561 and adjust the header comment.
38563 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38564 variable name from declaration.
38566 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
38568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38569 Initialize COMMON_CPUID_INDEX_7 element.
38570 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38571 (CPUID_RTM): Likewise.
38572 (HAS_RTM): Likewise.
38573 (COMMON_CPUID_INDEX_7): New enum.
38575 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
38578 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38579 size is zero, record memory as freed.
38581 2013-01-03 Andreas Jaeger <aj@suse.de>
38583 * po/ia.po: Add new Interlingua translation.
38585 2012-01-03 Allan McRae <allan@archlinux.org>
38587 * locale/programs/localedef.c: Fix description of '--posix' flag.
38589 2013-01-02 Joseph Myers <joseph@codesourcery.com>
38591 * NEWS: Update dates in second copyright notice.
38592 * README: Update copyright dates in example.
38593 * manual/libc.texinfo: Update copyright dates.
38594 * scripts/test-installation.pl: Update copyright date in --version
38597 * hurd/ctty-input.c: Fix copyright notice formatting.
38598 * hurd/ctty-output.c: Likewise.
38599 * hurd/dtable.c: Likewise.
38600 * hurd/hurd-raise.c: Likewise.
38601 * hurd/hurdprio.c: Likewise.
38602 * hurd/msgportdemux.c: Likewise.
38603 * misc/sys/file.h: Likewise.
38604 * misc/sys/ioctl.h: Likewise.
38605 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38606 * sysdeps/mach/hurd/chdir.c: Likewise.
38607 * sysdeps/mach/hurd/fchdir.c: Likewise.
38608 * sysdeps/mach/hurd/rename.c: Likewise.
38609 * sysdeps/mach/hurd/rmdir.c: Likewise.
38610 * sysdeps/mach/hurd/seekdir.c: Likewise.
38611 * sysdeps/mach/hurd/setsid.c: Likewise.
38612 * sysdeps/posix/wait3.c: Likewise.
38614 * All files with FSF copyright notices: Update copyright dates
38615 using scripts/update-copyrights.
38616 * intl/plural.c: Regenerated.
38617 * locale/programs/charmap-kw.h: Likewise.
38618 * locale/programs/locfile-kw.h: Likewise.
38620 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38622 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38625 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38626 calculation loop and add branch prediction.
38628 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38629 check access beyond bounds of m1np.
38631 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38633 (__inv): Remove local variable MPTWO to use the global
38635 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38636 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38638 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38639 MP3HALFS static const.
38641 2013-01-01 David S. Miller <davem@davemloft.net>
38643 * po/ca.po: Update from translation team.
38645 2013-01-01 Joseph Myers <joseph@codesourcery.com>
38647 * scripts/update-copyrights: New file.
38648 * Makeconfig: Reformat copyright notice.
38649 * ctype/ctype.h: Likewise.
38650 * debug/swprintf_chk.c: Likewise.
38651 * elf/dl-cache.c: Likewise.
38652 * elf/dl-debug.c: Likewise.
38653 * elf/dl-object.c: Likewise.
38654 * grp/initgroups.c: Likewise.
38655 * hurd/Makefile: Likewise.
38656 * hurd/hurd/signal.h: Likewise.
38657 * hurd/hurdfault.c: Likewise.
38658 * hurd/hurdioctl.c: Likewise.
38659 * hurd/hurdlookup.c: Likewise.
38660 * hurd/intr-msg.c: Likewise.
38661 * iconv/gconv_open.c: Likewise.
38662 * libio/swprintf.c: Likewise.
38663 * locale/lc-ctype.c: Likewise.
38664 * locale/nl_langinfo.c: Likewise.
38665 * mach/Machrules: Likewise.
38666 * mach/Makefile: Likewise.
38667 * malloc/obstack.h: Likewise.
38668 * manual/Makefile: Likewise.
38669 * manual/tsort.awk: Likewise.
38670 * misc/bits/stab.def: Likewise.
38671 * nis/nis_print_group_entry.c: Likewise.
38672 * nis/nis_table.c: Likewise.
38673 * nis/nss_compat/compat-pwd.c: Likewise.
38674 * nis/nss_compat/compat-spwd.c: Likewise.
38675 * po/Makefile: Likewise.
38676 * posix/fnmatch.c: Likewise.
38677 * posix/regex.h: Likewise.
38678 * resolv/Makefile: Likewise.
38679 * resolv/nss_dns/dns-network.c: Likewise.
38680 * resolv/res_hconf.c: Likewise.
38681 * scripts/gen-sorted.awk: Likewise.
38682 * soft-fp/soft-fp.h: Likewise.
38683 * stdio-common/printf.h: Likewise.
38684 * stdlib/monetary.h: Likewise.
38685 * stdlib/random.c: Likewise.
38686 * stdlib/random_r.c: Likewise.
38687 * sysdeps/generic/Makefile: Likewise.
38688 * sysdeps/gnu/Makefile: Likewise.
38689 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38690 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38691 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38692 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38693 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38695 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38696 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38697 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38698 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38699 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38700 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38701 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38702 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38703 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38704 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38705 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38706 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38707 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38708 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38709 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38710 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38711 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38712 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38713 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38714 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38715 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38716 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38717 * sysdeps/mach/hurd/errnos.awk: Likewise.
38718 * sysdeps/mach/hurd/fork.c: Likewise.
38719 * sysdeps/mach/hurd/getcwd.c: Likewise.
38720 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38721 * sysdeps/mach/hurd/mmap.c: Likewise.
38722 * sysdeps/mach/hurd/utimes.c: Likewise.
38723 * sysdeps/mach/hurd/xmknod.c: Likewise.
38724 * sysdeps/posix/profil.c: Likewise.
38725 * sysdeps/posix/readdir_r.c: Likewise.
38726 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38727 * sysdeps/powerpc/bits/setjmp.h: Likewise.
38728 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38729 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38730 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38731 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38732 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38733 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38735 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38736 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38737 * sysdeps/pthread/lio_listio.c: Likewise.
38738 * sysdeps/sparc/dl-procinfo.h: Likewise.
38739 * sysdeps/unix/i386/sysdep.S: Likewise.
38740 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38741 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38742 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38743 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38745 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38746 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38747 * sysdeps/unix/sysv/linux/speed.c: Likewise.
38748 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38749 * sysdeps/wordsize-32/divdi3.c: Likewise.
38750 * time/sys/time.h: Likewise.
38751 * wcsmbs/Makefile: Likewise.
38753 2013-01-01 David S. Miller <davem@davemloft.net>
38755 * po/fr.po: Update from translation team.
38757 * catgets/gencat.c: Update copyright year.
38758 * csu/version.c: Likewise.
38759 * debug/catchsegv.sh: Likewise.
38760 * debug/pcprofiledump.c: Likewise.
38761 * debug/xtrace.sh: Likewise.
38762 * elf/ldconfig.c: Likewise.
38763 * elf/ldd.bash.in: Likewise.
38764 * elf/pldd.c: Likewise.
38765 * elf/sotruss.ksh: Likewise.
38766 * elf/sprof.c: Likewise.
38767 * iconv/iconv_prog.c: Likewise.
38768 * iconv/iconvconfig.c: Likewise.
38769 * locale/programs/locale.c: Likewise.
38770 * locale/programs/localedef.c: Likewise.
38771 * login/programs/pt_chown.c: Likewise.
38772 * malloc/memusage.sh: Likewise.
38773 * malloc/memusagestat.c: Likewise.
38774 * malloc/mtrace.pl: Likewise.
38775 * nscd/nscd.c: Likewise.
38776 * nss/getent.c: Likewise.
38777 * nss/makedb.c: Likewise.
38778 * posix/getconf.c: Likewise.
38780 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38782 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38785 2012-12-30 Mike Frysinger <vapier@gentoo.org>
38787 * math/bits/mathcalls.h (modf): Use __nonnull.
38789 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38791 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38792 (split): Use macro CN instead of the bare value.
38793 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38795 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38796 instead of the bare value.
38797 (power1): Likewise.
38799 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38801 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38803 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38805 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38807 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38808 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38809 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38810 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38812 2012-12-28 Andreas Jaeger <aj@suse.de>
38814 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
38815 values are from Linux 3.7.
38817 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38818 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
38820 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38822 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38825 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38827 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38828 variables with preprocessor constants.
38829 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38830 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38831 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38833 2012-12-27 Bruno Haible <bruno@clisp.org>
38836 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38839 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38841 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38842 and use variable directly.
38843 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38845 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38847 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38848 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38850 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38851 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38852 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38853 include directive. Remove local variable MPONE.
38854 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38855 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38856 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38858 2012-12-25 David S. Miller <davem@davemloft.net>
38860 * version.h (RELEASE): Set to "development".
38861 (VERSION): Set to "2.17.90".
38862 * NEWS: Add 2.18 section.
38864 2012-12-21 David S. Miller <davem@davemloft.net>
38866 * po/hr.po: Update from translation team.
38868 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38870 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38872 2012-12-19 Steve Ellcey <sellcey@mips.com>
38874 * NEWS: Mention new memcpy for MIPS.
38876 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38878 * manual/contrib.texi (Contributors): Spelling correction.
38880 2012-12-15 David S. Miller <davem@davemloft.net>
38882 * po/ru.po: Update from translation team.
38884 2012-12-13 David S. Miller <davem@davemloft.net>
38886 * NEWS: Mention IFUNC testsuite enhancements.
38888 * po/pl.po: Update from translation team.
38889 * po/bg.po: Likewise.
38891 * manual/contrib.texi (Contributors): Update entries for Hongjiu
38892 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
38894 2012-12-11 David S. Miller <davem@davemloft.net>
38896 * po/sv.po: Update from translation team.
38898 * po/vi.po: Update from translation team.
38900 * po/cs.po: Update from translation team.
38902 * po/de.po: Update from translation team.
38903 * po/eo.po: Likewise.
38904 * po/nl.po: Likewise.
38906 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38909 * manual/argp.texi (Argp Helper Functions): Move node to follow
38910 Argp Parsing State.
38913 * manual/conf.texi (Limits on File System Capacity): Mention if
38914 terminating null is included in the max size.
38916 2012-12-10 Andreas Jaeger <aj@suse.de>
38918 * po/cs.po: Update from translation team.
38920 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38922 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38923 void pointer and cast to uintptr_t.
38924 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38926 * sysdeps/s390/s390-64/memcpy.S: Likewise.
38927 * sysdeps/s390/s390-64/memset.S: Likewise.
38929 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
38932 * menual/message.texi (Message Translation): Fix typos.
38933 (Helper programs for gettext): Likewise.
38935 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
38938 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38941 2012-12-07 David S. Miller <davem@davemloft.net>
38943 * po/libc.pot: Update.
38945 2012-12-07 Richard Henderson <rth@redhat.com>
38948 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38949 normal/normal case to before the switch.
38950 (_FP_DIV): Likewise.
38952 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
38953 Mike Frysinger <vapier@gentoo.org>
38955 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38956 check for __NR_fadvise64_64.
38958 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
38960 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38961 0, not just to plain "0" as a statement.
38962 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38965 2012-12-06 Joseph Myers <joseph@codesourcery.com>
38967 * NEWS: Use sourceware.org in Bugzilla URL.
38969 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38972 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38974 * stdio-common/tst-put-error.c (do_test): Add newline to the
38975 padded test to ensure flush.
38977 2012-12-05 Jeff Law <law@redhat.com>
38979 * sunrpc/etc.rpc (fedfs_admin): Add entry.
38981 2012-12-05 Joseph Myers <joseph@codesourcery.com>
38983 * README: Don't refer to ports add-on as distributed separately.
38984 Mention AArch64 in list of systems supported in the ports add-on.
38986 * LICENSES: Add more non-FSF copyright and license notices.
38988 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38991 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38993 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38994 10000 as width of padded output.
38996 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38998 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39000 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39001 variable LX with __attribute__ ((unused)).
39002 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39004 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39005 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39006 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39007 with __attribute__ ((unused)).
39009 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
39011 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39013 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39015 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39016 (CFLAGS-nldbl-acos.c): New variable.
39017 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39018 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39019 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39020 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39021 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39022 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39023 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39024 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39025 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39026 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39027 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39028 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39029 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39030 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39031 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39032 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39033 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39034 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39035 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39036 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39037 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39038 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39039 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39040 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39041 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39042 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39043 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39044 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39045 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39046 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39047 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39048 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39049 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39050 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39051 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39052 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39053 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39054 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39055 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39056 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39057 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39058 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39059 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39060 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39061 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39062 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39063 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39064 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39065 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39066 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39067 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39068 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39069 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39070 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39071 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39072 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39073 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39074 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39075 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39076 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39077 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39078 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39079 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39080 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39081 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39082 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39083 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39084 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39085 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39086 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39087 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39088 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39089 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39090 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39091 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39092 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39093 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39094 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39095 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39096 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39097 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39098 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39099 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39100 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39101 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39102 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39103 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39104 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39105 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39106 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39107 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39108 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39109 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39110 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39111 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39112 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39113 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39116 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39119 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39120 whole low double instead of just low 47 bits when splitting values
39123 2012-12-03 Allan McRae <allan@archlinux.org>
39125 * manual/stdio.texi (Predefined Printf Handlers): Remove
39126 @hsep and @vsep usage.
39128 2012-12-03 Mike Frysinger <vapier@gentoo.org>
39130 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39131 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39133 2012-12-03 Jeff Law <law@redhat.com>
39135 * time/sys/time.h (settimeofday): Do not mark TV argument
39138 2012-12-01 Mike Frysinger <vapier@gentoo.org>
39140 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39141 when currently writing and seek to current position when not.
39142 * libio/Makefile (tests): Remove bug-fclose1.
39143 * libio/bug-fclose1.c: Delete.
39145 2012-12-01 Joseph Myers <joseph@codesourcery.com>
39147 * manual/arith.texi (feenableexcept): Fix typo.
39148 (fedisableexcept): Likewise.
39150 2012-11-30 Roland McGrath <roland@hack.frob.com>
39152 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39153 second, differently-typed declaration, rather than a cast.
39155 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39157 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39158 * include/rpc/svc.h: ... here.
39160 2012-11-30 Aurelien Jarno <aurel32@debian.org>
39163 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39164 depending n and resplen2 to catch cases where answer
39167 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
39169 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39170 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39172 2012-11-29 Mike Frysinger <vapier@gentoo.org>
39174 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39176 2012-11-29 Roland McGrath <roland@hack.frob.com>
39178 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39180 2012-11-28 Jeff Law <law@redhat.com>
39183 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39184 dataset_temporary. Track alloca usage into alloca_used.
39185 If dataset is large allocate and release it via malloc/free.
39187 2012-06-04 Florian Weimer <fweimer@redhat.com>
39190 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39192 2012-11-28 David S. Miller <davem@davemloft.net>
39194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39196 2012-11-28 Joseph Myers <joseph@codesourcery.com>
39199 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39200 of pi/2 rounded to nearest to 64 bits.
39201 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39202 nearest to 64 bits.
39203 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39206 2012-11-28 Jeff Law <law@redhat.com>
39207 Martin Osvald <mosvald@redhat.com>
39210 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39211 * sunrpc/svc.c: Include time.h.
39212 (__svc_accept_failed): New function.
39213 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39214 any reason other than EINTR, call __svc_accept_failed.
39215 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39216 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39218 2012-11-28 Andreas Schwab <schwab@suse.de>
39220 * scripts/abilist.awk: Also handle indirect functions in .opd
39223 2012-11-28 Joseph Myers <joseph@codesourcery.com>
39226 * sysdeps/x86/fpu/powl_helper.c: New file.
39227 * sysdeps/x86/fpu/Makefile: Likewise.
39228 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39230 (__ieee754_powl): Use __powl_helper for finite arguments except
39231 integer exponents below 8.
39232 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39234 (__ieee754_powl): Use __powl_helper for finite arguments except
39235 integer exponents below 8.
39236 * math/libm-test.inc (pow_test): Add more tests and enable some
39237 previously disabled tests.
39238 * sysdeps/i386/fpu/libm-test-ulps: Update.
39239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39241 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39242 Carlos O'Donell <carlos_odonell@mentor.com>
39244 * nss/makedb.c (is_prime): Assert that input is odd and greater
39245 than 4. Note that fact in a comment too.
39246 (next_prime): Add 4 to input.
39248 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39251 * libio/Makefile (tests): Add test case tst-fwrite-error.
39252 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39253 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39254 * libio/tst-fwrite-error.c: New test case.
39256 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
39258 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39259 before casting to void *.
39260 * include/libc-internal.h (__pointer_type): New macro.
39261 (__integer_if_pointer_type_sub): Likewise.
39262 (__integer_if_pointer_type): Likewise.
39263 (cast_to_integer): Likewise.
39264 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39265 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39266 before casting to atomic64_t.
39267 (atomic_exchange_acq): Likewise.
39268 (__arch_exchange_and_add_body): Likewise.
39269 (__arch_add_body): Likewise.
39270 (atomic_add_negative): Likewise.
39271 (atomic_add_zero): Likewise.
39273 2012-11-26 Joseph Myers <joseph@codesourcery.com>
39275 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39276 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39277 (add_fdes): Likewise.
39278 (linear_search_fdes): Likewise.
39279 (binary_search_unencoded_fdes): Likewise.
39281 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
39283 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39285 2012-11-24 Adam Conrad <adconrad@0c3.net>
39287 * configure.in: Autodetect C++ header directories.
39288 * configure: Regenerated.
39290 2012-11-23 Mike Frysinger <vapier@gentoo.org>
39292 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39294 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
39296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39298 2012-11-22 Joseph Myers <joseph@codesourcery.com>
39300 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39301 LDBL_MANT_DIG == 106]: Disable some tests.
39302 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39304 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39308 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39309 input for small inputs. Return +/- pi/2 for large inputs.
39310 * math/libm-test.inc (atan_test): Add more tests.
39312 * sysdeps/generic/unwind-dw2-fde-glibc.c
39313 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39314 __attribute__ ((unused)).
39317 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39318 x * y if x and y are nonzero and z is zero.
39321 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39322 nonzero exponents with absolute value below 0x1p-117 to +/-
39326 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39327 up arguments below 2**-450, not just those below 2**-500.
39328 * math/libm-test.inc (hypot_test): Add another test.
39331 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39332 Return a+b for ratio over 2**120, not 2**60.
39333 * math/libm-test.inc (hypot_test): Add another test.
39335 * math/libm-test.inc (clog_test): Use
39336 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39337 (clog10_test): Likewise.
39340 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39342 2012-11-22 Andreas Schwab <schwab@suse.de>
39344 * sysdeps/i386/fpu/libm-test-ulps: Update.
39346 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
39348 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39349 printf output with newline.
39351 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
39354 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39355 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39356 -z nodlopen, -z initfirst and -z execstack support.
39357 * configure: Regenerated.
39359 * elf/elf.h (DF_1_NODIRECT): New macro.
39360 (DF_1_IGNMULDEF): Likewise.
39361 (DF_1_NOKSYMS): Likewise.
39362 (DF_1_NOHDR): Likewise.
39363 (DF_1_EDITED): Likewise.
39364 (DF_1_NORELOC): Likewise.
39365 (DF_1_SYMINTPOSE): Likewise.
39366 (DF_1_GLOBAUDIT): Likewise.
39367 (DF_1_SINGLETON): Likewise.
39368 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39369 DT_1_SUPPORTED_MASK bits.
39370 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39372 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
39374 * sysdeps/unix/make-syscalls.sh: Document prefixes.
39376 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
39378 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39381 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39382 (sendmmsg): Move declarations...
39383 * socket/sys/socket.h: ... here.
39384 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39385 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39387 * socket/recvmmsg.c: ... this new file.
39388 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39389 (sendmmsg): Rename to __sendmmsg, create weak alias and make
39390 definition of __sendmmsg hidden.
39391 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39392 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39393 Move ENOSYS stub into and include it from...
39394 * socket/sendmmsg.c: ... this new file.
39395 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39396 (sysdep_routines): Move recvmmsg and sendmmsg...
39397 * socket/Makefile (routines): ... here.
39398 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39399 (GLIBC_PRIVATE): Add __sendmmsg.
39400 * include/sys/socket.h (__sendmmsg): Add declarations.
39401 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39404 2012-11-20 Joseph Myers <joseph@codesourcery.com>
39406 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39407 variable I1 with __attribute__ ((unused)).
39408 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39410 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39412 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39413 DUMMY variables with __attribute__ ((unused)).
39415 * bits/byteswap.h: Include <bits/types.h>.
39416 (__bswap_64): Use __uint64_t instead of unsigned long long int.
39418 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39420 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39421 string_t. Do not manually set errno.
39422 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39423 length with __strnlen. Make sure to both set errno and return it on
39426 2012-11-19 David S. Miller <davem@davemloft.net>
39428 With help from Joseph Myers.
39429 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39430 very large arguments properly.
39431 * math/libm-test.inc (atan_test): New tests.
39432 (atan2_test): New tests.
39433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39436 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39439 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39442 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39443 [POSIX] (EADDRNOTAVAIL): Likewise.
39444 [POSIX] (EAFNOSUPPORT): Likewise.
39445 [POSIX] (EALREADY): Likewise.
39446 [POSIX] (ECONNABORTED): Likewise.
39447 [POSIX] (ECONNREFUSED): Likewise.
39448 [POSIX] (ECONNRESET): Likewise.
39449 [POSIX] (EDESTADDRREQ): Likewise.
39450 [POSIX] (EDQUOT): Likewise.
39451 [POSIX] (EHOSTUNREACH): Likewise.
39452 [POSIX] (EIDRM): Likewise.
39453 [POSIX] (EISCONN): Likewise.
39454 [POSIX] (ELOOP): Likewise.
39455 [POSIX] (EMULTIHOP): Likewise.
39456 [POSIX] (ENETDOWN): Likewise.
39457 [POSIX] (ENETUNREACH): Likewise.
39458 [POSIX] (ENOBUFS): Likewise.
39459 [POSIX] (ENODATA): Likewise.
39460 [POSIX] (ENOLINK): Likewise.
39461 [POSIX] (ENOMSG): Likewise.
39462 [POSIX] (ENOPROTOOPT): Likewise.
39463 [POSIX] (ENOSR): Likewise.
39464 [POSIX] (ENOSTR): Likewise.
39465 [POSIX] (ENOTCONN): Likewise.
39466 [POSIX] (ENOTSOCK): Likewise.
39467 [POSIX] (EOPNOTSUPP): Likewise.
39468 [POSIX] (EOVERFLOW): Likewise.
39469 [POSIX] (EPROTO): Likewise.
39470 [POSIX] (EPROTONOSUPPORT): Likewise.
39471 [POSIX] (EPROTOTYPE): Likewise.
39472 [POSIX] (ESTALE): Likewise.
39473 [POSIX] (ETIME): Likewise.
39474 [POSIX] (ETXTBSY): Likewise.
39475 [POSIX] (EWOULDBLOCK): Likewise.
39476 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39477 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39478 [POSIX] (SEEK_CUR): Likewise.
39479 [POSIX] (SEEK_END): Likewise.
39480 [POSIX || UNIX98] (mode_t): Do not require.
39481 [POSIX] (off_t): Likewise.
39482 [POSIX] (pid_t): Likewise.
39483 [POSIX] (sys/stat.h): Do not allow header.
39484 [POSIX] (unistd.h): Likewise.
39485 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39486 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39487 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39488 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39490 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39491 sigevent): Specify elements.
39492 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39494 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39495 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39497 * conform/data/cpio.h-data [POSIX]: Disable whole file.
39498 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39499 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39500 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39501 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39502 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39503 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39504 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39505 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39506 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39507 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39508 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39509 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39510 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39512 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39514 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39516 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39518 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39519 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39520 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39521 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39522 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39523 Specify lower bound on value.
39524 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39525 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39526 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39527 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39528 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39529 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39530 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39531 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39533 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39535 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39536 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39537 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39538 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39539 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39540 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39541 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39542 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39543 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39544 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39545 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39546 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39547 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39548 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39549 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39550 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39552 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39554 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39555 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39556 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39557 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39558 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39559 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39561 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39562 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39563 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39564 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39565 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
39566 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39567 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39569 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39570 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39571 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39572 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39573 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39574 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39575 specify as optional.
39576 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39577 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39578 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39579 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39580 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39581 [XPG3] (NL_LANGMAX): Likewise.
39582 [POSIX || XPG3] (NL_MSGMAX): Likewise.
39583 [POSIX || XPG3] (NL_NMAX): Likewise.
39584 [POSIX || XPG3] (NL_SETMAX): Likewise.
39585 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39586 [XPG3] (NZERO): Likewise.
39587 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39588 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39589 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39590 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39591 (REG_ERANGE): Expect.
39592 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39594 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39595 Use (void) in prototype.
39596 [POSIX] (*_t): Allow.
39597 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39598 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39599 (WRDE_BADVAL): Expect.
39601 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39603 [XPG3 || XPG4] (O_RSYNC): Likewise.
39604 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39606 [XPG3 || XPG4] (pthread_sigmask): Likewise.
39607 [XPG3 || XPG4] (sigqueue): Likewise.
39608 [XPG3 || XPG4] (sigtimedwait): Likewise.
39609 [XPG3 || XPG4] (sigwaitinfo): Likewise.
39610 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39611 [XPG3 || XPG4] (vsnprintf): Likewise.
39612 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39614 [XPG3 || XPG4] (blksize_t): Likewise.
39615 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39617 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39618 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39619 [XPG3 || XPG4] (struct itimerspec): Likewise.
39620 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39621 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39622 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39623 [XPG3 || XPG4] (clockid_t): Likewise.
39624 [XPG3 || XPG4] (timer_t): Likewise.
39625 [XPG3 || XPG4] (clock_getres): Likewise.
39626 [XPG3 || XPG4] (clock_gettime): Likewise.
39627 [XPG3 || XPG4] (clock_settime): Likewise.
39628 [XPG3 || XPG4] (nanosleep): Likewise.
39629 [XPG3 || XPG4] (timer_create): Likewise.
39630 [XPG3 || XPG4] (timer_delete): Likewise.
39631 [XPG3 || XPG4] (timer_gettime): Likewise.
39632 [XPG3 || XPG4] (timer_getoverrun): Likewise.
39633 [XPG3 || XPG4] (timer_settime): Likewise.
39634 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39635 [XPG3 || XPG4] (getlogin_r): Likewise.
39636 [XPG3 || XPG4] (pread): Likewise.
39637 [XPG3 || XPG4] (pthread_atfork): Likewise.
39638 [XPG3 || XPG4] (pwrite): Likewise.
39641 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39644 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39646 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39647 finalizing MALLSTREAM.
39649 * sysdeps/mach/hurd/syncfs.c: New file.
39651 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39654 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39655 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39656 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39657 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39658 (_nss_dns_gethostbyname4_r): Likewise.
39659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39660 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39662 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
39665 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39667 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
39669 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39670 * elf/cache.c (print_entry): Print ",AArch64" for
39673 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39674 * elf/cache.c (print_entry): Print ",hard-float" for
39677 2012-11-18 David S. Miller <davem@davemloft.net>
39679 With help from Joseph Myers.
39680 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39682 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39684 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39685 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39687 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39688 * math/libm-test.inc (y0_test): New tests.
39689 (y1_test): New tests.
39690 * sysdeps/i386/fpu/libm-test-ulps: Update.
39691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39694 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
39696 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39698 * configure: Regenerated.
39700 2012-11-17 David S. Miller <davem@davemloft.net>
39703 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39704 nonzero exponents with absolute value below 0x1p-128 to +/-
39707 2012-11-17 Joseph Myers <joseph@codesourcery.com>
39709 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39711 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39713 * posix/getconf-speclist.c: New file.
39714 * posix/posix-envs.def: Likewise.
39715 * posix/confstr.c (START_ENV_GROUP): New macro.
39716 (END_ENV_GROUP): Likewise.
39717 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39718 (KNOWN_PRESENT_ENV_STRING): Likewise.
39719 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39720 (UNKNOWN_ENVIRONMENT): Likewise.
39721 (confstr): Include posix-envs.def instead of handling
39722 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39723 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39724 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39725 (END_ENV_GROUP): Likewise.
39726 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39727 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39728 (UNKNOWN_ENVIRONMENT): Likewise.
39729 (__sysconf): Include posix-envs.def instead of handling associated
39730 cases directly here.
39731 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39732 preprocessing getconf-speclist.c rather than running getconf or
39733 generating empty file.
39735 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
39737 * scripts/check-local-headers.sh: Ignore 'mach' headers.
39739 2012-11-16 Andrej Lajovic <natrij@gmail.com>
39742 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39744 2012-11-16 David S. Miller <davem@davemloft.net>
39746 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39747 smaller than LDBL_EPSILON/2.0L, just return xm1.
39749 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
39751 * elf/tst-array1.c (init): Set constructor priority to 1000.
39752 (fini): Set destructor priority to 1000.
39753 * elf/tst-array2dep.c: Likewise.
39755 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39758 * libio/fileops.c (_IO_new_file_write): Correctly return error.
39759 (_IO_new_file_xsputn): Also return EOF if none of the input
39760 data was written when overflow failed.
39761 * libio/iopadn.c (_IO_padn): Likewise.
39762 * libio/iowpadn.c (_IO_wpadn): Likewise.
39763 * stdio-common/tst-put-error.c: Add copyright notice.
39764 (do_test): Add case for printing padded string.
39765 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39766 _IO_padn returned error.
39767 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39768 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39771 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39773 * libio/libioP.h: Add comment note that the references to C++
39774 bits are now obsolete.
39776 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39778 * math/libm-test.inc (check_complex): Use asprintf.
39780 2012-11-14 Joseph Myers <joseph@codesourcery.com>
39782 * debug/pcprofiledump.c (print_version): Update copyright year.
39783 * malloc/memusagestat.c (print_version): Likewise.
39785 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
39788 * elf/Makefile (tests): Add tst-audit8.
39789 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39790 ($(objpfx)tst-audit8.out): New target.
39791 (tst-audit8-ENV): New variable.
39792 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39793 audit if l_reloc_result is NULL.
39794 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39795 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39796 * elf/tst-audit8.c: New file.
39798 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39800 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39801 * misc/Makefile (CFLAGS-select.c): Define.
39802 * posix/Makefile (CFLAGS-pause.c): Define.
39804 2012-11-13 David S. Miller <davem@davemloft.net>
39806 * crypt/Makefile: Move test targets after toplevel Rules
39807 inclusion. Grab any necessary sysdep routines when linking.
39808 * crypt/md5.c (md5_process_block): Remove define, we will always
39809 name it __md5_process_block.
39810 (md5_finish_ctx): Update md5_process_block call.
39811 (md5_stream): Likewise.
39812 (md5_process_bytes): Likewise.
39813 (md5_process_block): Rename to __md5_process_block and move to ...
39814 * crypt/md5-block.c: ... here.
39815 * crypt/sha256.c (sha256_process_block): Move to ...
39816 * crypt/sha256-block.c: ... here.
39817 * crypt/sha512.c (sha512_process_block): Move to ...
39818 * crypt/sha512-block.c: ... here.
39819 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39821 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39822 * sysdeps/sparc/sparc64/multiarch/Makefile
39823 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39825 (localedef-aux): Add md5 crypto assembler when in locale subdir.
39826 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39828 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39829 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39830 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39831 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39832 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39833 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39834 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39835 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39836 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39838 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39839 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39841 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39843 2012-11-13 Joseph Myers <joseph@codesourcery.com>
39845 * timezone/tzselect.ksh: Update from tzcode git revision
39846 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39847 * timezone/zdump.c: Likewise.
39848 * timezone/zic.c: Likewise.
39849 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39850 in TZVERSION setting, not $(PKGVERSION).
39851 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
39852 REPORT_BUGS_TO settings.
39855 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39858 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39860 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39861 detection to immediately after _FP_ROUND().
39862 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39865 2012-11-11 David S. Miller <davem@davemloft.net>
39867 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39869 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39870 __close rather than their public counterparts.
39872 2012-11-10 Joseph Myers <joseph@codesourcery.com>
39874 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39876 [UNIX98] (sem_timedwait): Do not expect.
39877 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39878 [XPG4 || UNIX98] (sockatmark): Do not expect.
39879 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39880 (clock_getcpuclockid): Do not expect.
39881 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39882 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39884 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39885 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39886 [UNIX98] (vwscanf): Likewise.
39887 [UNIX98] (vswscanf): Likewise.
39889 2012-11-09 Joseph Myers <joseph@codesourcery.com>
39891 * timezone/version.h: Remove file.
39892 * timezone/README: Do not refer to version.h.
39893 * timezone/Makefile ($(objpfx)zic.o): New dependency on
39894 $(objpfx)version.h.
39895 ($(objpfx)zdump.o): Likewise.
39896 ($(objpfx)version.h): New target.
39898 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39900 * timezone/README: Don't mention modification to tzselect.ksh.
39901 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39902 work on unmodified tzselect.ksh. Substitute version numbers in
39905 * Makefile (format-me): Remove.
39906 (INSTALL): Adjust indentation. Use commands directly instead of
39907 using $(format-me).
39909 * aclocal.m4 (ACX_PKGVERSION): New macro.
39910 (ACX_BUGURL): Likewise.
39911 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39912 (PKGVERSION): New AC_DEFINE_UNQUOTED.
39913 (REPORT_BUGS_TO): Likewise.
39914 * configure: Regenerated.
39915 * config.h.in (PKGVERSION): New macro.
39916 (REPORT_BUGS_TO): Likewise.
39917 * config.make.in (PKGVERSION): New variable.
39918 (PKGVERSION_TEXI): Likewise.
39919 (REPORT_BUGS_TO): Likewise.
39920 (REPORT_BUGS_TEXI): Likewise.
39921 * Makefile (format-me): Use -I$(common-objpfx)manual.
39922 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39923 ($(common-objpfx)manual/%): New target.
39924 (manual/%): Remove target.
39925 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39926 (print_version): Use PKGVERSION.
39927 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39928 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39929 and REPORT_BUGS_TO.
39930 ($(objpfx)xtrace): Likewise.
39931 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39932 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39933 (print_version): Use PKGVERSION.
39934 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39935 (do_version): Use PKGVERSION.
39936 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39938 (common-ldd-rewrite): Likewise.
39939 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39940 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39941 (print_version): Use PKGVERSION.
39942 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39943 * elf/pldd.c (argp_program_bug_address): Remove variable.
39944 (more_help): New function.
39945 (argp): Use more_help.
39946 (print_version): Use PKGVERSION.
39947 * elf/sln.c (main): Use PKGVERSION.
39948 (usage): Use REPORT_BUGS_TO.
39949 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39950 (top level): Use PKGVERSION.
39951 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39952 (print_version): Use PKGVERSION.
39953 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39954 (print_version): Use PKGVERSION.
39955 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39956 (print_version): Use PKGVERSION.
39957 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39958 (print_version): Use PKGVERSION.
39959 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39960 (print_version): Use PKGVERSION.
39961 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39962 (print_version): Use PKGVERSION.
39963 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39965 ($(objpfx)memusage): Likewise.
39966 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39967 (do_version): Use PKGVERSION.
39968 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39969 (print_version): Use PKGVERSION.
39970 * malloc/mtrace.pl ($PACKAGE): Remove variable.
39971 ($PKGVERSION): New variable.
39972 ($REPORT_BUGS_TO): Likewise.
39973 (usage): Use $REPORT_BUGS_TO.
39974 (top level): Use $PKGVERSION.
39975 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39976 ($(objpfx)pkgvers.texi): New rule.
39977 ($(objpfx)stamp-pkgvers): Likewise.
39978 * manual/install.texi: Include pkgvers.texi.
39979 (--with-pkgversion): Document new configure option.
39980 (--with-bugurl): Likewise.
39981 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39982 than necessarily for this particular distribution. Use
39983 REPORT_BUGS_TO for where to report bugs.
39984 * INSTALL: Regenerated.
39985 * manual/libc.texinfo: Include pkgvers.texi.
39986 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39987 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39988 (print_version): Use PKGVERSION.
39989 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39990 (print_version): Use PKGVERSION.
39991 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39992 (print_version): Use PKGVERSION.
39993 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39994 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39996 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39997 (print_version): Use PKGVERSION.
39998 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39999 (print_version): Use PKGVERSION.
40000 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40003 * timezone/checktab.awk: Update from tzcode 2012i.
40004 * timezone/ialloc.c: Likewise.
40005 * timezone/private.h: Likewise.
40006 * timezone/scheck.c: Likewise.
40007 * timezone/tzfile.h: Likewise.
40008 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40009 (TZVERSION): Hardcode tzcode version number.
40010 * timezone/zdump.c: Update from tzcode 2012i.
40011 * timezone/zic.c: Likewise.
40012 * timezone/version.h: New file.
40013 * timezone/README: Describe version.h. Update upstream location.
40016 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40017 (mktemp): Enable declaration.
40018 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40019 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40020 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40021 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40023 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40025 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40027 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40029 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40031 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40035 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40036 offset in buffer as u_int32_t not u_long. Consistently use memcpy
40037 for copies of such integer values.
40038 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40039 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40041 2012-11-09 Andreas Jaeger <aj@suse.de>
40043 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40044 definitions and declarations that are provided by
40045 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40047 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40049 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40050 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40051 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40054 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40056 * elf/elf.h: Update comment before AArch64 relocations.
40058 2012-11-07 David S. Miller <davem@davemloft.net>
40060 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40061 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40062 (__start_context): Declare.
40063 (__makecontext_ret): Delete.
40064 (__makecontext): Hook up __start_context instead of
40066 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40067 (sysdep_routines): Add __start_context when in stdlib.
40069 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40071 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40072 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40073 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
40075 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
40076 (READELF): New variable. Use it instead of hardcoded "readelf".
40078 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
40080 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40081 * sysdeps/x86/Makefile: Here.
40082 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40083 * sysdeps/x86/tst-xmmymm.sh: This.
40085 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40087 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40089 [UNIX98] (pthread_barrier_t): Do not expect.
40090 [UNIX98] (pthread_barrierattr_t): Likewise.
40091 [UNIX98] (pthread_spinlock_t): Likewise.
40092 [UNIX98] (pthread_barrier_destroy): Likewise.
40093 [UNIX98] (pthread_barrier_init): Likewise.
40094 [UNIX98] (pthread_barrier_wait): Likewise.
40095 [UNIX98] (pthread_barrierattr_destroy): Likewise.
40096 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40097 [UNIX98] (pthread_barrierattr_init): Likewise.
40098 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40099 [UNIX98] (pthread_getcpuclockid): Likewise.
40100 [UNIX98] (pthread_mutex_timedlock): Likewise.
40101 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40102 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40103 [UNIX98] (pthread_sigmask): Likewise.
40104 [UNIX98] (pthread_spin_destroy): Likewise.
40105 [UNIX98] (pthread_spin_init): Likewise.
40106 [UNIX98] (pthread_spin_lock): Likewise.
40107 [UNIX98] (pthread_spin_trylock): Likewise.
40108 [UNIX98] (pthread_spin_unlock): Likewise.
40109 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40111 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40112 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40113 [XPG3 || XPG4] (pthread_cond_t): Likewise.
40114 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40115 [XPG3 || XPG4] (pthread_key_t): Likewise.
40116 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40117 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40118 [XPG3 || XPG4] (pthread_once_t): Likewise.
40119 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40120 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40121 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40122 [XPG3 || XPG4] (pthread_t): Likewise.
40124 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40126 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40128 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40129 Change function return type to int.
40131 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40132 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40133 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40134 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40135 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40136 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40137 [!POSIX] (posix_madvise): Likewise.
40138 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40140 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40141 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40142 (mode_t): Likewise.
40143 (posix_mem_offset): Likewise.
40144 (posix_typed_mem_get_info): Likewise.
40145 (posix_typed_mem_open): Likewise.
40147 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40148 Change condition to [XOPEN2K8].
40150 * conform/conformtest.pl: Preprocess allow-header data with -x c
40151 instead of from stdin.
40152 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40153 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40154 [C99-based standards] (cerfc): Likewise.
40155 [C99-based standards] (cexp2): Likewise.
40156 [C99-based standards] (cexpm1): Likewise.
40157 [C99-based standards] (clog10): Likewise.
40158 [C99-based standards] (clog1p): Likewise.
40159 [C99-based standards] (clog2): Likewise.
40160 [C99-based standards] (clgamma): Likewise.
40161 [C99-based standards] (ctgamma): Likewise.
40162 [C99-based standards] (cerff): Likewise.
40163 [C99-based standards] (cerfcf): Likewise.
40164 [C99-based standards] (cexp2f): Likewise.
40165 [C99-based standards] (cexpm1f): Likewise.
40166 [C99-based standards] (clog10f): Likewise.
40167 [C99-based standards] (clog1pf): Likewise.
40168 [C99-based standards] (clog2f): Likewise.
40169 [C99-based standards] (clgammaf): Likewise.
40170 [C99-based standards] (ctgammaf): Likewise.
40171 [C99-based standards] (cerfl): Likewise.
40172 [C99-based standards] (cerfcl): Likewise.
40173 [C99-based standards] (cexp2l): Likewise.
40174 [C99-based standards] (cexpm1l): Likewise.
40175 [C99-based standards] (clog10l): Likewise.
40176 [C99-based standards] (clog1pl): Likewise.
40177 [C99-based standards] (clog2l): Likewise.
40178 [C99-based standards] (clgammal): Likewise.
40179 [C99-based standards] (ctgammal): Likewise.
40180 * conform/data/inttypes.h-data [C99-based standards]: Include
40181 stdint.h-data. Remove all expectations for stdint.h contents.
40182 [C99-based standards] (PRI*): Do not allow.
40183 [C99-based standards] (SCN*): Likewise.
40184 [C99-based standards] (*_t): Likewise.
40185 [C99-based-standards] (PRId8): Expect macro.
40186 [C99-based-standards] (PRIi8): Likewise.
40187 [C99-based-standards] (PRIo8): Likewise.
40188 [C99-based-standards] (PRIu8): Likewise.
40189 [C99-based-standards] (PRIx8): Likewise.
40190 [C99-based-standards] (PRIX8): Likewise.
40191 [C99-based-standards] (SCNd8): Likewise.
40192 [C99-based-standards] (SCNi8): Likewise.
40193 [C99-based-standards] (SCNo8): Likewise.
40194 [C99-based-standards] (SCNu8): Likewise.
40195 [C99-based-standards] (SCNx8): Likewise.
40196 [C99-based-standards] (PRIdLEAST8): Likewise.
40197 [C99-based-standards] (PRIiLEAST8): Likewise.
40198 [C99-based-standards] (PRIoLEAST8): Likewise.
40199 [C99-based-standards] (PRIuLEAST8): Likewise.
40200 [C99-based-standards] (PRIxLEAST8): Likewise.
40201 [C99-based-standards] (PRIXLEAST8): Likewise.
40202 [C99-based-standards] (SCNdLEAST8): Likewise.
40203 [C99-based-standards] (SCNiLEAST8): Likewise.
40204 [C99-based-standards] (SCNoLEAST8): Likewise.
40205 [C99-based-standards] (SCNuLEAST8): Likewise.
40206 [C99-based-standards] (SCNxLEAST8): Likewise.
40207 [C99-based-standards] (PRIdFAST8): Likewise.
40208 [C99-based-standards] (PRIiFAST8): Likewise.
40209 [C99-based-standards] (PRIoFAST8): Likewise.
40210 [C99-based-standards] (PRIuFAST8): Likewise.
40211 [C99-based-standards] (PRIxFAST8): Likewise.
40212 [C99-based-standards] (PRIXFAST8): Likewise.
40213 [C99-based-standards] (SCNdFAST8): Likewise.
40214 [C99-based-standards] (SCNiFAST8): Likewise.
40215 [C99-based-standards] (SCNoFAST8): Likewise.
40216 [C99-based-standards] (SCNuFAST8): Likewise.
40217 [C99-based-standards] (SCNxFAST8): Likewise.
40218 [C99-based-standards] (PRId16): Likewise.
40219 [C99-based-standards] (PRIi16): Likewise.
40220 [C99-based-standards] (PRIo16): Likewise.
40221 [C99-based-standards] (PRIu16): Likewise.
40222 [C99-based-standards] (PRIx16): Likewise.
40223 [C99-based-standards] (PRIX16): Likewise.
40224 [C99-based-standards] (SCNd16): Likewise.
40225 [C99-based-standards] (SCNi16): Likewise.
40226 [C99-based-standards] (SCNo16): Likewise.
40227 [C99-based-standards] (SCNu16): Likewise.
40228 [C99-based-standards] (SCNx16): Likewise.
40229 [C99-based-standards] (PRIdLEAST16): Likewise.
40230 [C99-based-standards] (PRIiLEAST16): Likewise.
40231 [C99-based-standards] (PRIoLEAST16): Likewise.
40232 [C99-based-standards] (PRIuLEAST16): Likewise.
40233 [C99-based-standards] (PRIxLEAST16): Likewise.
40234 [C99-based-standards] (PRIXLEAST16): Likewise.
40235 [C99-based-standards] (SCNdLEAST16): Likewise.
40236 [C99-based-standards] (SCNiLEAST16): Likewise.
40237 [C99-based-standards] (SCNoLEAST16): Likewise.
40238 [C99-based-standards] (SCNuLEAST16): Likewise.
40239 [C99-based-standards] (SCNxLEAST16): Likewise.
40240 [C99-based-standards] (PRIdFAST16): Likewise.
40241 [C99-based-standards] (PRIiFAST16): Likewise.
40242 [C99-based-standards] (PRIoFAST16): Likewise.
40243 [C99-based-standards] (PRIuFAST16): Likewise.
40244 [C99-based-standards] (PRIxFAST16): Likewise.
40245 [C99-based-standards] (PRIXFAST16): Likewise.
40246 [C99-based-standards] (SCNdFAST16): Likewise.
40247 [C99-based-standards] (SCNiFAST16): Likewise.
40248 [C99-based-standards] (SCNoFAST16): Likewise.
40249 [C99-based-standards] (SCNuFAST16): Likewise.
40250 [C99-based-standards] (SCNxFAST16): Likewise.
40251 [C99-based-standards] (PRId32): Likewise.
40252 [C99-based-standards] (PRIi32): Likewise.
40253 [C99-based-standards] (PRIo32): Likewise.
40254 [C99-based-standards] (PRIu32): Likewise.
40255 [C99-based-standards] (PRIx32): Likewise.
40256 [C99-based-standards] (PRIX32): Likewise.
40257 [C99-based-standards] (SCNd32): Likewise.
40258 [C99-based-standards] (SCNi32): Likewise.
40259 [C99-based-standards] (SCNo32): Likewise.
40260 [C99-based-standards] (SCNu32): Likewise.
40261 [C99-based-standards] (SCNx32): Likewise.
40262 [C99-based-standards] (PRIdLEAST32): Likewise.
40263 [C99-based-standards] (PRIiLEAST32): Likewise.
40264 [C99-based-standards] (PRIoLEAST32): Likewise.
40265 [C99-based-standards] (PRIuLEAST32): Likewise.
40266 [C99-based-standards] (PRIxLEAST32): Likewise.
40267 [C99-based-standards] (PRIXLEAST32): Likewise.
40268 [C99-based-standards] (SCNdLEAST32): Likewise.
40269 [C99-based-standards] (SCNiLEAST32): Likewise.
40270 [C99-based-standards] (SCNoLEAST32): Likewise.
40271 [C99-based-standards] (SCNuLEAST32): Likewise.
40272 [C99-based-standards] (SCNxLEAST32): Likewise.
40273 [C99-based-standards] (PRIdFAST32): Likewise.
40274 [C99-based-standards] (PRIiFAST32): Likewise.
40275 [C99-based-standards] (PRIoFAST32): Likewise.
40276 [C99-based-standards] (PRIuFAST32): Likewise.
40277 [C99-based-standards] (PRIxFAST32): Likewise.
40278 [C99-based-standards] (PRIXFAST32): Likewise.
40279 [C99-based-standards] (SCNdFAST32): Likewise.
40280 [C99-based-standards] (SCNiFAST32): Likewise.
40281 [C99-based-standards] (SCNoFAST32): Likewise.
40282 [C99-based-standards] (SCNuFAST32): Likewise.
40283 [C99-based-standards] (SCNxFAST32): Likewise.
40284 [C99-based-standards] (PRId64): Likewise.
40285 [C99-based-standards] (PRIi64): Likewise.
40286 [C99-based-standards] (PRIo64): Likewise.
40287 [C99-based-standards] (PRIu64): Likewise.
40288 [C99-based-standards] (PRIx64): Likewise.
40289 [C99-based-standards] (PRIX64): Likewise.
40290 [C99-based-standards] (SCNd64): Likewise.
40291 [C99-based-standards] (SCNi64): Likewise.
40292 [C99-based-standards] (SCNo64): Likewise.
40293 [C99-based-standards] (SCNu64): Likewise.
40294 [C99-based-standards] (SCNx64): Likewise.
40295 [C99-based-standards] (PRIdLEAST64): Likewise.
40296 [C99-based-standards] (PRIiLEAST64): Likewise.
40297 [C99-based-standards] (PRIoLEAST64): Likewise.
40298 [C99-based-standards] (PRIuLEAST64): Likewise.
40299 [C99-based-standards] (PRIxLEAST64): Likewise.
40300 [C99-based-standards] (PRIXLEAST64): Likewise.
40301 [C99-based-standards] (SCNdLEAST64): Likewise.
40302 [C99-based-standards] (SCNiLEAST64): Likewise.
40303 [C99-based-standards] (SCNoLEAST64): Likewise.
40304 [C99-based-standards] (SCNuLEAST64): Likewise.
40305 [C99-based-standards] (SCNxLEAST64): Likewise.
40306 [C99-based-standards] (PRIdFAST64): Likewise.
40307 [C99-based-standards] (PRIiFAST64): Likewise.
40308 [C99-based-standards] (PRIoFAST64): Likewise.
40309 [C99-based-standards] (PRIuFAST64): Likewise.
40310 [C99-based-standards] (PRIxFAST64): Likewise.
40311 [C99-based-standards] (PRIXFAST64): Likewise.
40312 [C99-based-standards] (SCNdFAST64): Likewise.
40313 [C99-based-standards] (SCNiFAST64): Likewise.
40314 [C99-based-standards] (SCNoFAST64): Likewise.
40315 [C99-based-standards] (SCNuFAST64): Likewise.
40316 [C99-based-standards] (SCNxFAST64): Likewise.
40317 [C99-based-standards] (PRIdMAX): Likewise.
40318 [C99-based-standards] (PRIiMAX): Likewise.
40319 [C99-based-standards] (PRIoMAX): Likewise.
40320 [C99-based-standards] (PRIuMAX): Likewise.
40321 [C99-based-standards] (PRIxMAX): Likewise.
40322 [C99-based-standards] (PRIXMAX): Likewise.
40323 [C99-based-standards] (SCNdMAX): Likewise.
40324 [C99-based-standards] (SCNiMAX): Likewise.
40325 [C99-based-standards] (SCNoMAX): Likewise.
40326 [C99-based-standards] (SCNuMAX): Likewise.
40327 [C99-based-standards] (SCNxMAX): Likewise.
40328 [C99-based-standards] (PRIdPTR): Likewise.
40329 [C99-based-standards] (PRIiPTR): Likewise.
40330 [C99-based-standards] (PRIoPTR): Likewise.
40331 [C99-based-standards] (PRIuPTR): Likewise.
40332 [C99-based-standards] (PRIxPTR): Likewise.
40333 [C99-based-standards] (PRIXPTR): Likewise.
40334 [C99-based-standards] (SCNdPTR): Likewise.
40335 [C99-based-standards] (SCNiPTR): Likewise.
40336 [C99-based-standards] (SCNoPTR): Likewise.
40337 [C99-based-standards] (SCNuPTR): Likewise.
40338 [C99-based-standards] (SCNxPTR): Likewise.
40339 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40341 * conform/data/stdint.h-data: Update comments to clarify
40343 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
40345 [C99-based standards] (INT8_MAX): Likewise.
40346 [C99-based standards] (INT16_MIN): Likewise.
40347 [C99-based standards] (INT16_MAX): Likewise.
40348 [C99-based standards] (INT32_MIN): Likewise.
40349 [C99-based standards] (INT32_MAX): Likewise.
40350 [C99-based standards] (INT64_MIN): Likewise.
40351 [C99-based standards] (INT64_MAX): Likewise.
40352 [C99-based standards] (UINT8_MAX): Likewise.
40353 [C99-based standards] (UINT16_MAX): Likewise.
40354 [C99-based standards] (UINT32_MAX): Likewise.
40355 [C99-based standards] (UINT64_MAX): Likewise.
40356 [C99-based standards] (INT_LEAST8_MIN): Likewise.
40357 [C99-based standards] (INT_LEAST8_MAX): Likewise.
40358 [C99-based standards] (INT_LEAST16_MIN): Likewise.
40359 [C99-based standards] (INT_LEAST16_MAX): Likewise.
40360 [C99-based standards] (INT_LEAST32_MIN): Likewise.
40361 [C99-based standards] (INT_LEAST32_MAX): Likewise.
40362 [C99-based standards] (INT_LEAST64_MIN): Likewise.
40363 [C99-based standards] (INT_LEAST64_MAX): Likewise.
40364 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40365 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40366 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40367 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40368 [C99-based standards] (INT_FAST8_MIN): Likewise.
40369 [C99-based standards] (INT_FAST8_MAX): Likewise.
40370 [C99-based standards] (INT_FAST16_MIN): Likewise.
40371 [C99-based standards] (INT_FAST16_MAX): Likewise.
40372 [C99-based standards] (INT_FAST32_MIN): Likewise.
40373 [C99-based standards] (INT_FAST32_MAX): Likewise.
40374 [C99-based standards] (INT_FAST64_MIN): Likewise.
40375 [C99-based standards] (INT_FAST64_MAX): Likewise.
40376 [C99-based standards] (UINT_FAST8_MAX): Likewise.
40377 [C99-based standards] (UINT_FAST16_MAX): Likewise.
40378 [C99-based standards] (UINT_FAST32_MAX): Likewise.
40379 [C99-based standards] (UINT_FAST64_MAX): Likewise.
40380 [C99-based standards] (INTPTR_MIN): Likewise.
40381 [C99-based standards] (INTPTR_MAX): Likewise.
40382 [C99-based standards] (UINTPTR_MAX): Likewise.
40383 [C99-based standards] (INTMAX_MIN): Likewise.
40384 [C99-based standards] (INTMAX_MAX): Likewise.
40385 [C99-based standards] (UINTMAX_MAX): Likewise.
40386 [C99-based standards] (PTRDIFF_MIN): Likewise.
40387 [C99-based standards] (PTRDIFF_MAX): Likewise.
40388 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40389 [C99-based standards] (SIZE_MAX): Likewise.
40390 [C99-based standards] (WCHAR_MAX): Likewise.
40391 [C99-based standards] (WINT_MAX): Likewise.
40392 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
40393 constraint on value.
40394 [C99-based standards] (WCHAR_MIN): Likewise.
40395 [C99-based standards] (WINT_MIN): Likewise.
40396 [C99-based standards] (*_t): Allow.
40397 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40398 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40399 Include math.h-data and complex.h-data. Remove all expectations
40400 of math.h and complex.h contents.
40401 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40403 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40404 (struct tm): Expect tag.
40405 [C99-based-standards] (wcstof): Expect function.
40406 [C99-based-standards] (wcstold): Likewise.
40407 [C99-based-standards] (wcstoll): Likewise.
40408 [C99-based-standards] (wcstoull): Likewise.
40409 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40410 macro-int-constant. Specify type.
40411 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
40412 constraint on value.
40413 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40415 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40417 [ISO C standards]: Do not allow headers.
40418 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40419 wcs[abcdefghijklmnopqrstuvwxyz]*.
40420 [ISO C standards] (*_t): Do not allow.
40421 * conform/data/wctype.h-data [C99-based standards] (iswblank):
40423 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40424 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40426 [ISO C standards]: Do not allow headers.
40427 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40428 is[abcdefghijklmnopqrstuvwxyz]*.
40429 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40430 to[abcdefghijklmnopqrstuvwxyz]*.
40431 [ISO C standards] (*_t): Do not allow.
40432 * conform/data/stdalign.h-data: New file.
40433 * conform/data/stdbool.h-data: Likewise.
40434 * conform/data/stdnoreturn.h-data: Likewise.
40436 2012-11-07 Roland McGrath <roland@hack.frob.com>
40439 * manual/filesys.texi (Directory Entries): Typo fix.
40440 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40442 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40444 * elf/elf.h (EM_AARCH64): New macro.
40445 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40446 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40447 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40448 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40449 (R_AARCH64_TLSDESC): Likewise.
40450 (NT_ARM_TLS): Likewise.
40451 (NT_ARM_HW_BREAK): Likewise.
40452 (NT_ARM_HW_WATCH): Likewise.
40454 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40457 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40458 (__ieee754_powl): Saturate nonzero exponents with absolute value
40459 below 0x1p-79 to +/- 0x1p-79.
40460 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40461 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40462 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40463 nonzero exponents with absolute value below 0x1p-32 to +/-
40465 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40466 (__ieee754_powl): Saturate nonzero exponents with absolute value
40467 below 0x1p-79 to +/- 0x1p-79.
40468 * math/libm-test.inc (pow_test): Add more tests.
40470 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40472 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40473 _dl_s390_cap_flags with kernel. Increase string length.
40474 (_dl_s390_platforms): Add z196 and zEC12.
40476 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40478 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40479 Change XOPEN21K to XOPEN2K.
40481 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
40483 * string/memmove.c: Use memcpy when possible.
40485 2012-11-06 Andreas Jaeger <aj@suse.de>
40487 * po/eo.po: Update from translation team.
40489 2012-11-06 Joseph Myers <joseph@codesourcery.com>
40492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40493 exponent and small x and y exponents, scale x or y up. Increase
40494 by 2 the exponent used in scaling up.
40495 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40496 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40497 * math/libm-test.inc (fma_test): Add more tests.
40498 (fma_test_towardzero): Likewise.
40499 (fma_test_downward): Likewise.
40500 (fma_test_upward): Likewise.
40502 2012-11-05 Joseph Myers <joseph@codesourcery.com>
40505 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40509 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40510 namespace for names of struct fields.
40511 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40513 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40514 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40516 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
40519 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40521 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40523 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40527 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40530 2012-11-04 Joseph Myers <joseph@codesourcery.com>
40533 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40534 definitely overflow as x * y not x * y + z.
40535 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40536 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40537 * math/libm-test.inc (fma_test): Add more tests.
40538 (fma_test_towardzero): Likewise.
40539 (fma_test_downward): Likewise.
40540 (fma_test_upward): Likewise.
40542 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40546 * include/stub-tag.h: Remove file.
40547 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40549 * manual/maint.texi (Porting): Don't reference it.
40550 * Makerules ($(objpfx)stubs): Likewise.
40551 * dirent/closedir.c: Don't include <stub-tag.h>.
40552 * dirent/dirfd.c: Likewise.
40553 * dirent/fdopendir.c: Likewise.
40554 * dirent/getdents.c: Likewise.
40555 * dirent/getdents64.c: Likewise.
40556 * dirent/opendir.c: Likewise.
40557 * dirent/readdir.c: Likewise.
40558 * dirent/readdir64.c: Likewise.
40559 * dirent/readdir64_r.c: Likewise.
40560 * dirent/readdir_r.c: Likewise.
40561 * dirent/rewinddir.c: Likewise.
40562 * dirent/seekdir.c: Likewise.
40563 * dirent/telldir.c: Likewise.
40564 * gmon/profil.c: Likewise.
40565 * grp/setgroups.c: Likewise.
40566 * inet/if_index.c: Likewise.
40567 * io/access.c: Likewise.
40568 * io/chdir.c: Likewise.
40569 * io/chmod.c: Likewise.
40570 * io/chown.c: Likewise.
40571 * io/close.c: Likewise.
40572 * io/dup.c: Likewise.
40573 * io/dup2.c: Likewise.
40574 * io/dup3.c: Likewise.
40575 * io/euidaccess.c: Likewise.
40576 * io/faccessat.c: Likewise.
40577 * io/fchdir.c: Likewise.
40578 * io/fchmod.c: Likewise.
40579 * io/fchmodat.c: Likewise.
40580 * io/fchown.c: Likewise.
40581 * io/fchownat.c: Likewise.
40582 * io/fcntl.c: Likewise.
40583 * io/flock.c: Likewise.
40584 * io/fstatfs.c: Likewise.
40585 * io/fstatfs64.c: Likewise.
40586 * io/fstatvfs.c: Likewise.
40587 * io/fstatvfs64.c: Likewise.
40588 * io/futimens.c: Likewise.
40589 * io/fxstat.c: Likewise.
40590 * io/fxstat64.c: Likewise.
40591 * io/fxstatat.c: Likewise.
40592 * io/fxstatat64.c: Likewise.
40593 * io/getcwd.c: Likewise.
40594 * io/isatty.c: Likewise.
40595 * io/lchmod.c: Likewise.
40596 * io/lchown.c: Likewise.
40597 * io/link.c: Likewise.
40598 * io/linkat.c: Likewise.
40599 * io/lseek.c: Likewise.
40600 * io/lseek64.c: Likewise.
40601 * io/lxstat64.c: Likewise.
40602 * io/mkdir.c: Likewise.
40603 * io/mkdirat.c: Likewise.
40604 * io/mkfifo.c: Likewise.
40605 * io/mkfifoat.c: Likewise.
40606 * io/open.c: Likewise.
40607 * io/open64.c: Likewise.
40608 * io/openat.c: Likewise.
40609 * io/openat64.c: Likewise.
40610 * io/pipe.c: Likewise.
40611 * io/pipe2.c: Likewise.
40612 * io/poll.c: Likewise.
40613 * io/posix_fadvise.c: Likewise.
40614 * io/posix_fadvise64.c: Likewise.
40615 * io/posix_fallocate.c: Likewise.
40616 * io/posix_fallocate64.c: Likewise.
40617 * io/read.c: Likewise.
40618 * io/readlink.c: Likewise.
40619 * io/readlinkat.c: Likewise.
40620 * io/rmdir.c: Likewise.
40621 * io/sendfile.c: Likewise.
40622 * io/sendfile64.c: Likewise.
40623 * io/statfs.c: Likewise.
40624 * io/statfs64.c: Likewise.
40625 * io/statvfs.c: Likewise.
40626 * io/statvfs64.c: Likewise.
40627 * io/symlink.c: Likewise.
40628 * io/symlinkat.c: Likewise.
40629 * io/ttyname.c: Likewise.
40630 * io/ttyname_r.c: Likewise.
40631 * io/umask.c: Likewise.
40632 * io/unlink.c: Likewise.
40633 * io/unlinkat.c: Likewise.
40634 * io/utime.c: Likewise.
40635 * io/utimensat.c: Likewise.
40636 * io/write.c: Likewise.
40637 * io/xmknod.c: Likewise.
40638 * io/xmknodat.c: Likewise.
40639 * io/xstat.c: Likewise.
40640 * io/xstat64.c: Likewise.
40641 * login/getpt.c: Likewise.
40642 * login/grantpt.c: Likewise.
40643 * login/unlockpt.c: Likewise.
40644 * math/e_acoshl.c: Likewise.
40645 * math/e_acosl.c: Likewise.
40646 * math/e_asinl.c: Likewise.
40647 * math/e_atan2l.c: Likewise.
40648 * math/e_atanhl.c: Likewise.
40649 * math/e_coshl.c: Likewise.
40650 * math/e_expl.c: Likewise.
40651 * math/e_fmodl.c: Likewise.
40652 * math/e_gammal_r.c: Likewise.
40653 * math/e_hypotl.c: Likewise.
40654 * math/e_j0l.c: Likewise.
40655 * math/e_j1l.c: Likewise.
40656 * math/e_jnl.c: Likewise.
40657 * math/e_lgammal_r.c: Likewise.
40658 * math/e_log10l.c: Likewise.
40659 * math/e_log2l.c: Likewise.
40660 * math/e_logl.c: Likewise.
40661 * math/e_powl.c: Likewise.
40662 * math/e_rem_pio2l.c: Likewise.
40663 * math/e_sinhl.c: Likewise.
40664 * math/e_sqrtl.c: Likewise.
40665 * math/fclrexcpt.c: Likewise.
40666 * math/fedisblxcpt.c: Likewise.
40667 * math/feenablxcpt.c: Likewise.
40668 * math/fegetenv.c: Likewise.
40669 * math/fegetexcept.c: Likewise.
40670 * math/fegetround.c: Likewise.
40671 * math/feholdexcpt.c: Likewise.
40672 * math/fesetenv.c: Likewise.
40673 * math/fesetround.c: Likewise.
40674 * math/feupdateenv.c: Likewise.
40675 * math/fgetexcptflg.c: Likewise.
40676 * math/fraiseexcpt.c: Likewise.
40677 * math/fsetexcptflg.c: Likewise.
40678 * math/ftestexcept.c: Likewise.
40679 * math/k_cosl.c: Likewise.
40680 * math/k_rem_pio2l.c: Likewise.
40681 * math/k_sinl.c: Likewise.
40682 * math/k_tanl.c: Likewise.
40683 * math/s_asinhl.c: Likewise.
40684 * math/s_atanl.c: Likewise.
40685 * math/s_cbrtl.c: Likewise.
40686 * math/s_erfl.c: Likewise.
40687 * math/s_expm1l.c: Likewise.
40688 * math/s_log1pl.c: Likewise.
40689 * math/s_tanhl.c: Likewise.
40690 * misc/acct.c: Likewise.
40691 * misc/brk.c: Likewise.
40692 * misc/chflags.c: Likewise.
40693 * misc/chroot.c: Likewise.
40694 * misc/fchflags.c: Likewise.
40695 * misc/fgetxattr.c: Likewise.
40696 * misc/flistxattr.c: Likewise.
40697 * misc/fremovexattr.c: Likewise.
40698 * misc/fsetxattr.c: Likewise.
40699 * misc/fsync.c: Likewise.
40700 * misc/ftruncate.c: Likewise.
40701 * misc/futimes.c: Likewise.
40702 * misc/futimesat.c: Likewise.
40703 * misc/getdomain.c: Likewise.
40704 * misc/getdtsz.c: Likewise.
40705 * misc/gethostid.c: Likewise.
40706 * misc/gethostname.c: Likewise.
40707 * misc/getloadavg.c: Likewise.
40708 * misc/getpagesize.c: Likewise.
40709 * misc/getsysstats.c: Likewise.
40710 * misc/getxattr.c: Likewise.
40711 * misc/gtty.c: Likewise.
40712 * misc/ioctl.c: Likewise.
40713 * misc/lgetxattr.c: Likewise.
40714 * misc/listxattr.c: Likewise.
40715 * misc/llistxattr.c: Likewise.
40716 * misc/lremovexattr.c: Likewise.
40717 * misc/lsetxattr.c: Likewise.
40718 * misc/lutimes.c: Likewise.
40719 * misc/madvise.c: Likewise.
40720 * misc/mincore.c: Likewise.
40721 * misc/mlock.c: Likewise.
40722 * misc/mlockall.c: Likewise.
40723 * misc/mmap.c: Likewise.
40724 * misc/mprotect.c: Likewise.
40725 * misc/msync.c: Likewise.
40726 * misc/munlock.c: Likewise.
40727 * misc/munlockall.c: Likewise.
40728 * misc/munmap.c: Likewise.
40729 * misc/preadv.c: Likewise.
40730 * misc/preadv64.c: Likewise.
40731 * misc/ptrace.c: Likewise.
40732 * misc/pwritev.c: Likewise.
40733 * misc/pwritev64.c: Likewise.
40734 * misc/readv.c: Likewise.
40735 * misc/reboot.c: Likewise.
40736 * misc/remap_file_pages.c: Likewise.
40737 * misc/removexattr.c: Likewise.
40738 * misc/revoke.c: Likewise.
40739 * misc/select.c: Likewise.
40740 * misc/setdomain.c: Likewise.
40741 * misc/setegid.c: Likewise.
40742 * misc/seteuid.c: Likewise.
40743 * misc/sethostid.c: Likewise.
40744 * misc/sethostname.c: Likewise.
40745 * misc/setregid.c: Likewise.
40746 * misc/setreuid.c: Likewise.
40747 * misc/setxattr.c: Likewise.
40748 * misc/sstk.c: Likewise.
40749 * misc/stty.c: Likewise.
40750 * misc/swapoff.c: Likewise.
40751 * misc/swapon.c: Likewise.
40752 * misc/sync.c: Likewise.
40753 * misc/syncfs.c: Likewise.
40754 * misc/syscall.c: Likewise.
40755 * misc/truncate.c: Likewise.
40756 * misc/ualarm.c: Likewise.
40757 * misc/usleep.c: Likewise.
40758 * misc/ustat.c: Likewise.
40759 * misc/utimes.c: Likewise.
40760 * misc/vhangup.c: Likewise.
40761 * misc/writev.c: Likewise.
40762 * posix/_exit.c: Likewise.
40763 * posix/alarm.c: Likewise.
40764 * posix/execve.c: Likewise.
40765 * posix/fexecve.c: Likewise.
40766 * posix/fork.c: Likewise.
40767 * posix/fpathconf.c: Likewise.
40768 * posix/getaddrinfo.c: Likewise.
40769 * posix/getegid.c: Likewise.
40770 * posix/geteuid.c: Likewise.
40771 * posix/getgid.c: Likewise.
40772 * posix/getgroups.c: Likewise.
40773 * posix/getlogin.c: Likewise.
40774 * posix/getlogin_r.c: Likewise.
40775 * posix/getpgid.c: Likewise.
40776 * posix/getpid.c: Likewise.
40777 * posix/getppid.c: Likewise.
40778 * posix/getresgid.c: Likewise.
40779 * posix/getresuid.c: Likewise.
40780 * posix/getsid.c: Likewise.
40781 * posix/getuid.c: Likewise.
40782 * posix/glob64.c: Likewise.
40783 * posix/nanosleep.c: Likewise.
40784 * posix/pathconf.c: Likewise.
40785 * posix/pause.c: Likewise.
40786 * posix/posix_madvise.c: Likewise.
40787 * posix/pread.c: Likewise.
40788 * posix/pread64.c: Likewise.
40789 * posix/pwrite.c: Likewise.
40790 * posix/pwrite64.c: Likewise.
40791 * posix/sched_getaffinity.c: Likewise.
40792 * posix/sched_getp.c: Likewise.
40793 * posix/sched_gets.c: Likewise.
40794 * posix/sched_primax.c: Likewise.
40795 * posix/sched_primin.c: Likewise.
40796 * posix/sched_rr_gi.c: Likewise.
40797 * posix/sched_setaffinity.c: Likewise.
40798 * posix/sched_setp.c: Likewise.
40799 * posix/sched_sets.c: Likewise.
40800 * posix/sched_yield.c: Likewise.
40801 * posix/setgid.c: Likewise.
40802 * posix/setlogin.c: Likewise.
40803 * posix/setpgid.c: Likewise.
40804 * posix/setresgid.c: Likewise.
40805 * posix/setresuid.c: Likewise.
40806 * posix/setsid.c: Likewise.
40807 * posix/setuid.c: Likewise.
40808 * posix/sleep.c: Likewise.
40809 * posix/spawni.c: Likewise.
40810 * posix/sysconf.c: Likewise.
40811 * posix/times.c: Likewise.
40812 * posix/wait.c: Likewise.
40813 * posix/wait3.c: Likewise.
40814 * posix/wait4.c: Likewise.
40815 * posix/waitpid.c: Likewise.
40816 * resolv/gai_sigqueue.c: Likewise.
40817 * resource/getpriority.c: Likewise.
40818 * resource/getrlimit.c: Likewise.
40819 * resource/getrusage.c: Likewise.
40820 * resource/nice.c: Likewise.
40821 * resource/setpriority.c: Likewise.
40822 * resource/setrlimit.c: Likewise.
40823 * resource/ulimit.c: Likewise.
40824 * rt/aio_cancel.c: Likewise.
40825 * rt/aio_fsync.c: Likewise.
40826 * rt/aio_read.c: Likewise.
40827 * rt/aio_sigqueue.c: Likewise.
40828 * rt/aio_suspend.c: Likewise.
40829 * rt/aio_write.c: Likewise.
40830 * rt/clock_getres.c: Likewise.
40831 * rt/clock_gettime.c: Likewise.
40832 * rt/clock_nanosleep.c: Likewise.
40833 * rt/clock_settime.c: Likewise.
40834 * rt/lio_listio.c: Likewise.
40835 * rt/mq_close.c: Likewise.
40836 * rt/mq_getattr.c: Likewise.
40837 * rt/mq_notify.c: Likewise.
40838 * rt/mq_open.c: Likewise.
40839 * rt/mq_receive.c: Likewise.
40840 * rt/mq_send.c: Likewise.
40841 * rt/mq_setattr.c: Likewise.
40842 * rt/mq_timedreceive.c: Likewise.
40843 * rt/mq_timedsend.c: Likewise.
40844 * rt/mq_unlink.c: Likewise.
40845 * rt/shm_open.c: Likewise.
40846 * rt/shm_unlink.c: Likewise.
40847 * rt/timer_create.c: Likewise.
40848 * rt/timer_delete.c: Likewise.
40849 * rt/timer_getoverr.c: Likewise.
40850 * rt/timer_gettime.c: Likewise.
40851 * rt/timer_settime.c: Likewise.
40852 * setjmp/__longjmp.c: Likewise.
40853 * setjmp/setjmp.c: Likewise.
40854 * signal/kill.c: Likewise.
40855 * signal/killpg.c: Likewise.
40856 * signal/raise.c: Likewise.
40857 * signal/sigaction.c: Likewise.
40858 * signal/sigaltstack.c: Likewise.
40859 * signal/sigblock.c: Likewise.
40860 * signal/sigignore.c: Likewise.
40861 * signal/sigintr.c: Likewise.
40862 * signal/signal.c: Likewise.
40863 * signal/sigpause.c: Likewise.
40864 * signal/sigpending.c: Likewise.
40865 * signal/sigqueue.c: Likewise.
40866 * signal/sigreturn.c: Likewise.
40867 * signal/sigset.c: Likewise.
40868 * signal/sigsetmask.c: Likewise.
40869 * signal/sigstack.c: Likewise.
40870 * signal/sigsuspend.c: Likewise.
40871 * signal/sigtimedwait.c: Likewise.
40872 * signal/sigvec.c: Likewise.
40873 * signal/sigwait.c: Likewise.
40874 * signal/sigwaitinfo.c: Likewise.
40875 * signal/sysv_signal.c: Likewise.
40876 * socket/accept.c: Likewise.
40877 * socket/accept4.c: Likewise.
40878 * socket/bind.c: Likewise.
40879 * socket/connect.c: Likewise.
40880 * socket/getpeername.c: Likewise.
40881 * socket/getsockname.c: Likewise.
40882 * socket/getsockopt.c: Likewise.
40883 * socket/isfdtype.c: Likewise.
40884 * socket/listen.c: Likewise.
40885 * socket/recv.c: Likewise.
40886 * socket/recvfrom.c: Likewise.
40887 * socket/recvmsg.c: Likewise.
40888 * socket/send.c: Likewise.
40889 * socket/sendmsg.c: Likewise.
40890 * socket/sendto.c: Likewise.
40891 * socket/setsockopt.c: Likewise.
40892 * socket/shutdown.c: Likewise.
40893 * socket/sockatmark.c: Likewise.
40894 * socket/socket.c: Likewise.
40895 * socket/socketpair.c: Likewise.
40896 * stdio-common/ctermid.c: Likewise.
40897 * stdio-common/cuserid.c: Likewise.
40898 * stdio-common/remove.c: Likewise.
40899 * stdio-common/rename.c: Likewise.
40900 * stdio-common/renameat.c: Likewise.
40901 * stdio-common/tempname.c: Likewise.
40902 * stdlib/getcontext.c: Likewise.
40903 * stdlib/makecontext.c: Likewise.
40904 * stdlib/setcontext.c: Likewise.
40905 * stdlib/swapcontext.c: Likewise.
40906 * stdlib/system.c: Likewise.
40907 * streams/fattach.c: Likewise.
40908 * streams/fdetach.c: Likewise.
40909 * streams/getmsg.c: Likewise.
40910 * streams/getpmsg.c: Likewise.
40911 * streams/putmsg.c: Likewise.
40912 * streams/putpmsg.c: Likewise.
40913 * sysdeps/unix/bsd/getpt.c: Likewise.
40914 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40915 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40916 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40919 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40920 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40921 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40922 * sysvipc/msgctl.c: Likewise.
40923 * sysvipc/msgget.c: Likewise.
40924 * sysvipc/msgrcv.c: Likewise.
40925 * sysvipc/msgsnd.c: Likewise.
40926 * sysvipc/semctl.c: Likewise.
40927 * sysvipc/semget.c: Likewise.
40928 * sysvipc/semop.c: Likewise.
40929 * sysvipc/semtimedop.c: Likewise.
40930 * sysvipc/shmat.c: Likewise.
40931 * sysvipc/shmctl.c: Likewise.
40932 * sysvipc/shmdt.c: Likewise.
40933 * sysvipc/shmget.c: Likewise.
40934 * termios/tcdrain.c: Likewise.
40935 * termios/tcflow.c: Likewise.
40936 * termios/tcflush.c: Likewise.
40937 * termios/tcgetattr.c: Likewise.
40938 * termios/tcgetpgrp.c: Likewise.
40939 * termios/tcsendbrk.c: Likewise.
40940 * termios/tcsetattr.c: Likewise.
40941 * termios/tcsetpgrp.c: Likewise.
40942 * time/adjtime.c: Likewise.
40943 * time/clock.c: Likewise.
40944 * time/getitimer.c: Likewise.
40945 * time/gettimeofday.c: Likewise.
40946 * time/setitimer.c: Likewise.
40947 * time/settimeofday.c: Likewise.
40948 * time/stime.c: Likewise.
40949 * time/time.c: Likewise.
40951 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
40953 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40956 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40958 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40960 2012-11-03 Joseph Myers <joseph@codesourcery.com>
40963 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40964 FE_TONEAREST before applying Dekker multiplication and Knuth
40965 addition. Clear inexact exceptions and check for exact zero
40966 results afterwards.
40967 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40968 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40969 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40970 * math/libm-test.inc (fma_test): Add more tests.
40971 (fma_test_towardzero): Likewise.
40972 (fma_test_downward): Likewise.
40973 (fma_test_upward): Likewise.
40974 * sysdeps/generic/math_private.h (default_libc_fesetround): New
40976 (libc_fesetround): New macro.
40977 (libc_fesetroundf): Likewise.
40978 (libc_fesetroundl): Likewise.
40979 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40981 (libc_fesetround_387): Likewise.
40982 (libc_fesetroundf): New macro.
40983 (libc_fesetround): Likewise.
40984 (libc_fesetroundl): Likewise.
40985 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40987 (libc_fesetroundf): New macro.
40988 (libc_fesetround): Likewise.
40989 (libc_fesetroundl): Likewise.
40990 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40991 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40992 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40994 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40995 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40997 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40998 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41000 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41004 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41005 integer constant usable in #if and use that to give value to enum
41007 (FE_DIVBYZERO): Likewise.
41008 (FE_UNDERFLOW): Likewise.
41009 (FE_OVERFLOW): Likewise.
41010 (FE_INVALID): Likewise.
41011 (FE_INVALID_SNAN): Likewise.
41012 (FE_INVALID_ISI): Likewise.
41013 (FE_INVALID_IDI): Likewise.
41014 (FE_INVALID_ZDZ): Likewise.
41015 (FE_INVALID_IMZ): Likewise.
41016 (FE_INVALID_COMPARE): Likewise.
41017 (FE_INVALID_SOFTWARE): Likewise.
41018 (FE_INVALID_SQRT): Likewise.
41019 (FE_INVALID_INTEGER_CONVERSION): Likewise.
41020 (FE_TONEAREST): Likewise.
41021 (FE_TOWARDZERO): Likewise.
41022 (FE_UPWARD): Likewise.
41023 (FE_DOWNWARD): Likewise.
41024 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41025 (FE_DIVBYZERO): Likewise.
41026 (FE_OVERFLOW): Likewise.
41027 (FE_UNDERFLOW): Likewise.
41028 (FE_INEXACT): Likewise.
41029 (FE_TONEAREST): Likewise.
41030 (FE_DOWNWARD): Likewise.
41031 (FE_UPWARD): Likewise.
41032 (FE_TOWARDZERO): Likewise.
41033 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41034 (FE_UNDERFLOW): Likewise.
41035 (FE_OVERFLOW): Likewise.
41036 (FE_DIVBYZERO): Likewise.
41037 (FE_INVALID): Likewise.
41038 (FE_TONEAREST): Likewise.
41039 (FE_TOWARDZERO): Likewise.
41040 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41041 (FE_OVERFLOW): Likewise.
41042 (FE_UNDERFLOW): Likewise.
41043 (FE_DIVBYZERO): Likewise.
41044 (FE_INEXACT): Likewise.
41045 (FE_TONEAREST): Likewise.
41046 (FE_TOWARDZERO): Likewise.
41047 (FE_UPWARD): Likewise.
41048 (FE_DOWNWARD): Likewise.
41049 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41050 (FE_DIVBYZERO): Likewise.
41051 (FE_OVERFLOW): Likewise.
41052 (FE_UNDERFLOW): Likewise.
41053 (FE_INEXACT): Likewise.
41054 (FE_TONEAREST): Likewise.
41055 (FE_DOWNWARD): Likewise.
41056 (FE_UPWARD): Likewise.
41057 (FE_TOWARDZERO): Likewise.
41059 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
41061 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41063 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
41065 * scripts/cross-test-ssh.sh (command): Use newlines to separate
41066 commands. Quote $PWD.
41067 (blacklist_exports): Don't use remove_newlines. Replace "declare
41069 (remove_newlines): Remove.
41071 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
41073 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41074 * stdlib/stdlib.h (atof): Moved to ...
41075 * include/bits/stdlib-float.h: Here. New file.
41076 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41077 * stdlib/bits/stdlib-float.h: New file.
41078 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41080 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41083 2012-11-02 Joseph Myers <joseph@codesourcery.com>
41085 * conform/conformtest.pl (@headers): Add fenv.h.
41086 * conform/data/fenv.h-data: New file.
41087 * include/fenv.h [_ISOMAC]: Disable all contents of file except
41088 include of <math/fenv.h>.
41090 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41091 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41092 && !UNIX98]. Enables tests for XOPEN2K8.
41093 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41094 POSIX2008]: Likewise.
41096 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41097 (struct rusage): Do not expect type or its members.
41100 * math/math.h (FP_NAN): Define macro to integer constant usable in
41101 #if and use that to give value to enum constant.
41102 (FP_INFINITE): Likewise.
41103 (FP_ZERO): Likewise.
41104 (FP_SUBNORMAL): Likewise.
41105 (FP_NORMAL): Likewise.
41107 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
41109 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41110 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41113 2012-11-02 Roland McGrath <roland@hack.frob.com>
41115 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41116 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41117 autoconf-time if not.
41118 * configure.in: Remove AC_PREREQ.
41120 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41122 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41123 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41124 of the internal implementation.
41126 2012-11-02 Joseph Myers <joseph@codesourcery.com>
41128 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41129 except include of <misc/sys/syslog.h>.
41131 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
41133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41134 function returns with a NULL context exit with zero.
41136 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41138 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41140 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
41142 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41143 (run_program_cmd): This.
41144 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41145 (tst_langinfo): New variable. Use it.
41147 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
41149 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41150 floating point opcodes.
41152 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41154 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41157 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41159 * sysdeps/mach/hurd/powerpc: Remove directory.
41160 * sysdeps/mach/powerpc: Likewise.
41162 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
41164 * scripts/check-local-headers.sh: Ignore c++ headers.
41166 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41168 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41169 __libc_cleanup_region_start argument.
41171 2012-11-01 Joseph Myers <joseph@codesourcery.com>
41175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41176 x * y using scaling, not as x * y + z.
41177 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41178 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41179 * math/libm-test.inc (fma_test): Add more tests.
41180 (fma_test_towardzero): Likewise.
41181 (fma_test_downward): Likewise.
41182 (fma_test_upward): Likewise.
41184 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41186 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41188 2012-10-31 Joseph Myers <joseph@codesourcery.com>
41190 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41193 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
41195 * rt/tst-shm.c (worker): Correct checking for mmap failure.
41197 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
41199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41204 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41207 Fix the order of the list for glibc 2.17.
41208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41211 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
41213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41215 2012-10-31 Joseph Myers <joseph@codesourcery.com>
41218 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41219 for low part of x being zero before using __atanl (y).
41220 * math/libm-test.inc (atan2_test): Add another test.
41222 * manual/install.texi (Configuring and compiling): Document
41223 general use of test-wrapper and test-wrapper-env.
41224 * INSTALL: Regenerated.
41226 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41227 (__fma): Do not extract and scale down low bits on after-rounding
41228 systems when result rounded to normal precision would have normal
41230 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41231 (__fmal): Do not extract and scale down low bits on after-rounding
41232 systems when result rounded to normal precision would have normal
41234 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41235 (__fmal): Do not extract and scale down low bits on after-rounding
41236 systems when result rounded to normal precision would have normal
41238 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41240 (fma_test): Add more tests.
41241 (fma_test_towardzero): Likewise.
41242 (fma_test_downward): Likewise.
41243 (fma_test_upward): Likewise.
41245 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
41247 * sysdeps/i386/tininess.h: Renamed to ...
41248 * sysdeps/x86/tininess.h: This.
41249 * sysdeps/x86_64/tininess.h: Removed.
41251 2012-10-30 Joseph Myers <joseph@codesourcery.com>
41253 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41254 input. Use $(build-program-cmd).
41255 ($(objpfx)tst-array1-static.out): Likewise.
41256 ($(objpfx)tst-array2.out): Likewise.
41257 ($(objpfx)tst-array3.out): Likewise.
41258 ($(objpfx)tst-array4.out): Likewise.
41259 ($(objpfx)tst-array5.out): Likewise.
41260 ($(objpfx)tst-array5-static.out): Likewise.
41262 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
41264 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41267 * nss/nsswitch.h (nss_interface_function): Provide new
41268 macro for use with NSS functions.
41269 * grp/initgroups.c: Use new macro.
41270 * nss/getXXbyYY.c: Likewise.
41271 * nss/getXXbyYY_r.c: Likewise.
41272 * nss/getXXent.c: Likewise.
41273 * nss/getXXent_r.c: Likewise.
41274 * sysdeps/posix/getaddrinfo.c: Likewise.
41276 2012-10-30 Andreas Jaeger <aj@suse.de>
41278 * po/ru.po: Update Russion translation from translation project.
41280 2012-10-30 Joseph Myers <joseph@codesourcery.com>
41284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41285 result and shift together with sticky bit instead of replicating
41286 round-to-nearest rounding.
41287 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41288 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41289 * math/libm-test.inc (fma_test): Add more tests. Do not permit
41290 missing underflow exceptions.
41291 (fma_test_towardzero): Add more tests.
41292 (fma_test_downward): Likewise.
41293 (fma_test_upward): Likewise.
41296 * sysdeps/generic/tininess.h: New file.
41297 * sysdeps/i386/tininess.h: Likewise.
41298 * sysdeps/sh/tininess.h: Likewise.
41299 * sysdeps/x86_64/tininess.h: Likewise.
41300 * stdlib/tst-strtod-underflow.c: Likewise.
41301 * stdlib/tst-tininess.c: Likewise.
41302 * stdlib/strtod_l.c: Include <tininess.h>.
41303 (round_and_return): Do not set errno for exact underflow cases.
41304 Force an underflow exception when setting errno for underflow.
41305 Determine underflow based on rounding to normal precision if
41306 TININESS_AFTER_ROUNDING.
41307 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41308 ERANGE for exact underflow cases.
41309 * stdlib/Makefile (tests): Add tst-tininess and
41310 tst-strtod-underflow.
41311 ($(objpfx)tst-tininess): Use $(link-libm).
41312 ($(objpfx)tst-strtod-underflow): Likewise.
41314 2012-10-30 Andreas Jaeger <aj@suse.de>
41317 * elf/Makefile (tests): Remove conditional for have-initfini-array
41318 since this is now always required and the variable does not exist
41320 (tests-static): Likewise.
41321 (modules-names): Likewise.
41323 * po/eo.po: Add Esperanto translation from translation project.
41325 * elf/tst-array1.c (fini_array): Make writeable so that it can be
41326 merged with constructor/destructor.
41327 (init_array): Likewise.
41328 * elf/tst-array2dep.c (fini_array): Likewise.
41329 (init_array): Likewise.
41331 2012-10-29 Mike Frysinger <vapier@gentoo.org>
41333 * manual/message.texi: Delete @cartouche tags.
41335 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
41337 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41339 * sysdeps/mach/hurd/fsync.c: Likewise.
41341 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41342 [_POSIX_REALTIME_SIGNALS]: Change condition to
41343 [_POSIX_REALTIME_SIGNALS > 0].
41345 2012-10-27 Andreas Jaeger <aj@suse.de>
41347 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41348 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41350 [__WORDSIZE != 64]: Likewise.
41352 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
41354 * iconvdata/tst-table.sh: Remove ${SHELL}.
41355 * iconvdata/tst-tables.sh: Likewise.
41357 2012-10-25 David S. Miller <davem@davemloft.net>
41359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41360 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41363 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41365 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41366 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41367 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41370 2012-10-25 Roland McGrath <roland@hack.frob.com>
41372 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41373 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41376 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41377 Jim Blandy <jimb@codesourcery.com>
41379 * scripts/cross-test-ssh.sh: New file.
41380 * manual/install.texi (Configuring and compiling): Document use of
41382 * INSTALL: Regenerated.
41384 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
41386 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41389 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41391 * Makeconfig (run-program-prefix): Fix comment.
41393 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41394 Jim Blandy <jimb@codesourcery.com>
41396 * Makeconfig (test-wrapper): New variable,
41397 (test-wrapper-env): Likewise.
41398 [$(cross-compiling) = yes && $(test-wrapper) != ""]
41399 (run-built-tests): Define to yes.
41400 (run-program-prefix): Use $(test-wrapper).
41401 (built-program-cmd): Likewise.
41402 * Rules (make-test-out): Use $(test-wrapper-env) and
41403 $(host-built-program-cmd).
41404 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41405 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41407 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41408 $(test-wrapper-env) to tst-rtld-load-self.sh.
41409 ($(objpfx)order2.out): Use $(test-wrapper).
41410 ($(objpfx)tst-initorder.out): Likewise.
41411 ($(objpfx)tst-initorder2.out): Likewise.
41412 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41413 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41414 (test_wrapper_env): New variable. Use it to run ld.so.
41415 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41416 Use it to run ld.so.
41417 (test_wrapper_env): Likewise.
41418 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41419 $(test-wrapper) to run-iconv-test.sh.
41420 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41421 (ICONV): Use $test_wrapper.
41422 * posix/Makefile ($(objpfx)globtest.out): Pass
41423 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41424 globtest.sh, not $(run-program-prefix).
41425 * posix/globtest.sh (run_via_rtld_prefix): New variable.
41426 (test_wrapper): Likewise.
41427 (test_wrapper_env): Likewise. Use it to run globtest with HOME
41428 set together with run_via_rtld_prefix.
41429 (run_program_prefix): Define in terms of test_wrapper and
41430 run_via_rtld_prefix.
41432 2012-10-24 Roland McGrath <roland@hack.frob.com>
41434 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41435 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41439 * include/time.h: Remove librt_hidden_proto (clock_gettime).
41440 Declare __clock_getres, __clock_gettime, __clock_settime,
41441 __clock_nanosleep, and __clock_getcpuclockid.
41442 * rt/clock_gettime.c: Define __clock_gettime as an alias.
41443 Remove librt_hidden_def (clock_gettime).
41444 * sysdeps/unix/clock_gettime.c: Likewise.
41445 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41446 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41447 * rt/clock_getres.c: Define __clock_getres as an alias.
41448 * sysdeps/posix/clock_getres.c: Likewise.
41449 * rt/clock_settime.c: Define __clock_settime as an alias.
41450 * sysdeps/unix/clock_settime.c: Likewise.
41451 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41452 * sysdeps/unix/clock_nanosleep.c: Likewise.
41453 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41454 * rt/clock-compat.c: New file.
41455 * rt/Makefile (librt-routines): Add clock-compat and move
41456 $(clock-routines) to ...
41457 (routines): ... here, new variable.
41458 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41459 Don't add get_clockfreq here.
41460 * rt/Versions (libc: GLIBC_2.17): New version set.
41461 Add clock_* symbols here.
41462 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
41463 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41464 (GLIBC_2.17): Add clock_* symbols.
41465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41467 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41476 * NEWS: Mention the move.
41478 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41479 Use __open, __read, __close rather than their public counterparts.
41480 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41481 (__get_clockfreq_via_cpuinfo): Likewise.
41482 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41483 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41485 * config.h.in (HAVE_IFUNC): New #undef.
41486 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41488 * configure: Regenerated.
41490 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41492 * configure.in: Move READELF check to start of file.
41493 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41494 libc_cv_asm_gnu_indirect_function in the process.
41495 * configure: Regenerated.
41497 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41499 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41500 send the output to /dev/null.
41501 (libc_cv_cc_with_libunwind): Likewise.
41502 (libc_cv_as_noexecstack): Likewise.
41503 * configure: Regenerate.
41505 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41507 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41509 * posix/globtest.sh (TMPDIR): Do not set.
41510 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41511 (testout): Likewise.
41513 2012-10-24 Andreas Jaeger <aj@suse.de>
41515 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41516 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41517 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41518 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41519 posix_fadvise64, posix_fallocate64.
41521 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41522 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41523 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41525 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41527 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41530 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41531 <bits/fcntl-linux.h>.
41532 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41535 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41536 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41537 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41538 [__WORDSIZE != 64]: Likewise.
41540 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41542 * Makeconfig (run-built-tests): New variable.
41543 * Rules [$(cross-compiling) = yes]: Change condition to
41544 [$(run-built-tests) = no].
41545 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41546 to [$(run-built-tests) = yes].
41547 * elf/Makefile [$(cross-compiling) = no]: Likewise
41548 * grp/Makefile [$(cross-compiling) = no]: Likewise.
41549 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41550 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41551 * intl/Makefile [$(cross-compiling) = no]: Likewise.
41552 * io/Makefile [$(cross-compiling) = no]: Likewise.
41553 * libio/Makefile [$(cross-compiling) = no]: Likewise.
41554 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41555 * misc/Makefile [$(cross-compiling) = no]: Likewise.
41556 * posix/Makefile [$(cross-compiling) = no]: Likewise.
41557 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41558 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41559 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41560 * string/Makefile [$(cross-compiling) = no]: Likewise.
41562 * posix/Makefile ($(objpfx)globtest.out): Pass
41563 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41564 $(rtld-installed-name).
41565 * posix/globtest.sh (elf_objpfx): Remove variable.
41566 (rtld_installed_name): Likewise.
41567 (library_path): Likewise.
41568 (run_program_prefix): New variable. Use for running globtest
41571 2012-10-23 Jim Blandy <jimb@codesourcery.com>
41572 Joseph Myers <joseph@codesourcery.com>
41574 * Makeconfig (host-built-program-cmd): New variable.
41575 * elf/Makefile (tst-stackguard1-ARGS): Use
41576 $(host-built-program-cmd).
41577 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41578 (tst-spawn-ARGS): Likewise.
41579 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41581 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41582 Jim Blandy <jimb@codesourcery.com>
41584 * Makeconfig (run-via-rtld-prefix): New variable.
41585 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41586 (built-program-cmd): Likewise.
41588 2012-10-22 Andreas Jaeger <aj@suse.de>
41590 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41591 __O_RSYNC if it exists, otherwise to O_SYNC.
41593 2012-10-22 Jim Blandy <jimb@codesourcery.com>
41594 Joseph Myers <joseph@codesourcery.com>
41596 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41598 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41600 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41603 2012-10-22 Andreas Jaeger <aj@suse.de>
41605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41607 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41610 bits/fcntl-linux.h.
41612 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41613 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41615 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41620 2012-10-21 Jim Blandy <jimb@codesourcery.com>
41621 Joseph Myers <joseph@codesourcery.com>
41623 * config.make.in (NM): New variable.
41625 2012-10-21 Andreas Jaeger <aj@suse.de>
41627 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41628 definitions and declarations that are provided by
41629 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41631 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41634 * elf/Makefile (tests-static): Add tst-leaks1-static.
41635 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41636 ($(objpfx)tst-leaks1-static): New rule.
41637 ($(objpfx)tst-leaks1-static-mem): Likewise.
41638 (tst-leaks1-static-ENV): New macro.
41639 * elf/dl-open.c (dl_open_worker): Check the main application
41640 only if SHARED is defined.
41641 * elf/tst-leaks1-static.c: New file.
41643 2012-10-20 Andreas Jaeger <aj@suse.de>
41645 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41646 generic values for Linux.
41647 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41648 and declarations that are provided by <bits/fcntl-linux.h> and
41649 include <bits/fcntl-linux.h>.
41650 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41651 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41653 2012-10-20 Roland McGrath <roland@hack.frob.com>
41655 * io/fcntl.h: Move include of <bits/types.h> to the top and
41656 include it unconditionally.
41658 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41660 * wcsmbs/Makefile (tests-ifunc): New variable.
41661 (tests): Add $(tests-ifunc).
41662 * wcsmbs/test-wcschr-ifunc.c: New file.
41663 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41664 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41665 * wcsmbs/test-wcslen-ifunc.c: Likewise.
41666 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41667 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41669 * string/Makefile (tests-ifunc): New variable.
41670 (tests): Add $(tests-ifunc).
41671 * string/test-memccpy.c (TEST_NAME): New macro.
41672 * string/test-memchr.c (TEST_NAME): Likewise.
41673 * string/test-memcmp.c (TEST_NAME): Likewise.
41674 * string/test-memcpy.c (TEST_NAME): Likewise.
41675 * string/test-memmem.c (TEST_NAME): Likewise.
41676 * string/test-memmove.c (TEST_NAME): Likewise.
41677 * string/test-memset.c (TEST_NAME): Likewise.
41678 * string/test-rawmemchr.c (TEST_NAME): Likewise.
41679 * string/test-stpcpy.c (TEST_NAME): Likewise.
41680 * string/test-stpncpy.c (TEST_NAME): Likewise.
41681 * string/test-strcasecmp.c (TEST_NAME): Likewise.
41682 * string/test-strcasestr.c (TEST_NAME): Likewise.
41683 * string/test-strcat.c (TEST_NAME): Likewise.
41684 * string/test-strchr.c (TEST_NAME): Likewise.
41685 * string/test-strcmp.c(TEST_NAME): Likewise.
41686 * string/test-strcpy.c (TEST_NAME): Likewise.
41687 * string/test-strcspn.c (TEST_NAME): Likewise.
41688 * string/test-strlen.c (TEST_NAME): Likewise.
41689 * string/test-strncasecmp.c (TEST_NAME): Likewise.
41690 * string/test-strncmp.c (TEST_NAME): Likewise.
41691 * string/test-strncpy.c (TEST_NAME): Likewise.
41692 * string/test-strnlen.c (TEST_NAME): Likewise.
41693 * string/test-strpbrk.c (TEST_NAME): Likewise.
41694 * string/test-strrchr.c (TEST_NAME): Likewise.
41695 * string/test-strspn.c (TEST_NAME): Likewise.
41696 * string/test-strstr.c (TEST_NAME): Likewise.
41697 * string/test-bcopy-ifunc.c: New file.
41698 * string/test-bzero-ifunc.c: Likewise.
41699 * string/test-memccpy-ifunc.c: Likewise.
41700 * string/test-memchr-ifunc.c: Likewise.
41701 * string/test-memcmp-ifunc.c: Likewise.
41702 * string/test-memcpy-ifunc.c: Likewise.
41703 * string/test-memmem-ifunc.c: Likewise.
41704 * string/test-memmove-ifunc.c: Likewise.
41705 * string/test-mempcpy-ifunc.c: Likewise.
41706 * string/test-memset-ifunc.c: Likewise.
41707 * string/test-rawmemchr-ifunc.c: Likewise.
41708 * string/test-stpcpy-ifunc.c: Likewise.
41709 * string/test-stpncpy-ifunc.c: Likewise.
41710 * string/test-strcasecmp-ifunc.c: Likewise.
41711 * string/test-strcasestr-ifunc.c: Likewise.
41712 * string/test-strcat-ifunc.c: Likewise.
41713 * string/test-strchr-ifunc.c: Likewise.
41714 * string/test-strchrnul-ifunc.c: Likewise.
41715 * string/test-strcmp-ifunc.c: Likewise.
41716 * string/test-strcpy-ifunc.c: Likewise.
41717 * string/test-strcspn-ifunc.c: Likewise.
41718 * string/test-strlen-ifunc.c: Likewise.
41719 * string/test-strncasecmp-ifunc.c: Likewise.
41720 * string/test-strncat-ifunc.c: Likewise.
41721 * string/test-strncmp-ifunc.c: Likewise.
41722 * string/test-strncpy-ifunc.c: Likewise.
41723 * string/test-strnlen-ifunc.c: Likewise.
41724 * string/test-strpbrk-ifunc.c: Likewise.
41725 * string/test-strrchr-ifunc.c: Likewise.
41726 * string/test-strspn-ifunc.c: Likewise.
41727 * string/test-strstr-ifunc.c: Likewise.
41729 * debug/Makefile (tests-ifunc): New variable.
41730 (tests): Add $(tests-ifunc).
41731 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41732 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41733 * debug/test-stpcpy_chk-ifunc.c: New file.
41734 * debug/test-strcpy_chk-ifunc.c: Likewise.
41736 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41739 * elf/dl-load.c (open_verify): Retry read if the entire ELF
41740 header is not read in.
41742 2012-10-19 Joseph Myers <joseph@codesourcery.com>
41744 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
41745 script to $(SHELL) as $<. Pass $(common-objpfx) to script
41746 directly. Pass built executable to script as
41747 $(built-program-cmd).
41748 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
41749 $testprogram without using LD_LIBRARY_PATH and $ldso.
41751 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41752 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41753 $(rtld-installed-name).
41754 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41755 (rtld_installed_name): Likewise.
41756 (library_path): Likewise.
41757 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
41758 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41759 $(run-program-prefix) to tst-tables.sh.
41760 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
41761 it to run tst-table-from and tst-table-to.
41762 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41763 Pass it to tst-table.sh.
41764 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41765 $(run-program-prefix) to tst-gettext.sh.
41766 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41768 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41770 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
41771 to run tst-gettext.
41772 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
41773 to run tst-gettext2.
41774 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
41775 to run tst-translit.
41776 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41777 $(run-program-prefix) to tst-mtrace.sh.
41778 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
41780 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41781 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41782 $(rtld-installed-name).
41783 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41784 (rtld_installed_name): Likewise.
41785 (run_program_prefix): New variable. Use it to run wordexp-test.
41787 * Makeconfig (ARCH): Remove all definitions.
41788 (machine): Likewise.
41789 [ARCH]: Remove conditional code.
41790 [!objdir]: Give error.
41791 [!objdir] (objpfx): Remove.
41792 [!objdir] (common-objpfx): Likewise.
41793 [!objdir] (common-objdir): Likewise.
41794 * configure.in (config_makefile): Remove. Hardcode Makefile in
41795 AC_CONFIG_FILES call.
41796 * configure: Regenerated.
41799 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41801 (testout): Likewise.
41803 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41804 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41805 $(rtld-installed-name).
41806 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41807 (rtld_installed_name): Likwise.
41808 (runit): Remove function.
41809 (run_getconf): New variable, Use it for running getconf binary.
41811 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
41814 * string/test-memmem.c (check_result): New function.
41815 (do_one_test): Use it.
41816 (check1): New function.
41817 (test_main): Use it.
41819 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
41821 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41823 2012-10-18 Joseph Myers <joseph@codesourcery.com>
41825 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41826 (_G_LSEEK64): Likewise.
41827 (_G_MMAP64): Likewise.
41828 (_G_FSTAT64): Likewise.
41829 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41830 (_G_LSEEK64): Likewise.
41831 (_G_MMAP64): Likewise.
41832 (_G_FSTAT64): Likewise.
41833 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41834 unconditional. Call __mmap64 directly.
41835 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41836 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
41837 __lseek64 directly.
41838 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41839 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
41841 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41842 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
41843 __lseek64 directly.
41844 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41845 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
41846 __lseek64 directly.
41847 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41848 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
41849 __lseek64 directly.
41850 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41851 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
41852 __fxstat64 directly.
41853 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41854 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41856 (freopen64) [!_G_OPEN64]: Remove conditional code.
41857 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41859 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41860 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41862 (ftello64) [!_G_LSEEK64]: Remove conditional code.
41863 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41865 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41866 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41868 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41869 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41871 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41872 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41874 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41875 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41877 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41879 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41882 * manual/memory.texi (Malloc Tunable Parameters): Add note
41883 about free list pointers overwriting some perturb bytes.
41884 Wording suggested by Roland McGrath.
41886 2012-10-17 Joseph Myers <joseph@codesourcery.com>
41888 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41889 (lgamma_test): Likewise.
41890 (tgamma_test): Likewise.
41892 2012-10-16 Florian Weimer <fweimer@redhat.com>
41895 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41896 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41898 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
41900 * NEWS: Mention BZ #14716.
41901 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41902 when removing AVAILABLE1_USES_J macro.
41904 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
41906 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41907 (__bswap_64): __uint64_t for unsigned 64-bit int.
41909 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
41911 * include/string.h (memmem): Declare libc hidden alias.
41912 * string/memmem.c (memmem): Define libc hidden alias.
41913 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41914 __read, __close instead of open, read, close.
41916 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
41918 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41919 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41921 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41922 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41923 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41925 (__rawmemchr_sse2): Likewise.
41926 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41927 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41928 (__strchr_sse2): Likewise.
41929 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41930 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41931 (__strcasecmp_sse2): Likewise.
41932 (__strncasecmp_sse2): Likewise.
41933 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41934 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41935 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41936 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41937 (__strrchr_sse2): Likewise.
41938 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41940 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41941 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41942 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41943 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41944 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41945 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41946 * sysdeps/x86_64/multiarch/memset.S: Likewise.
41947 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41948 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41949 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41950 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41951 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41952 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41953 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41954 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41955 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41956 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41957 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41958 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41959 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41960 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41961 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41962 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41963 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41964 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41965 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41966 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41967 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41968 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41969 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41971 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41973 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41974 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41975 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41976 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41978 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41980 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41981 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41982 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41983 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41985 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41986 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41987 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41988 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41989 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41990 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41991 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41992 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41993 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41994 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41995 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41996 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41997 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41998 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41999 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42000 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42001 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42002 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42003 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42004 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42005 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42006 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42007 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42008 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42009 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42010 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42011 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42012 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42013 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42014 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42015 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42016 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42017 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42018 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42019 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42020 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42021 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42022 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42023 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42024 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42025 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42027 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42028 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42029 * include/ifunc-impl-list.h: New file.
42030 * misc/ifunc-impl-list.c: Likewise.
42031 * misc/Makefile (routines): Add ifunc-impl-list.
42032 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42033 * string/test-string.h: Include <ifunc-impl-list.h>.
42034 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42035 TEST_NAME]: New variables.
42036 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42038 (test_init): Call __libc_ifunc_impl_list to initialize
42039 func_list if TEST_IFUNC and TEST_NAME are defined.
42041 * string/Makefile (strop-tests): Add bcopy and bzero.
42042 * string/test-bcopy.c: New file.
42043 * string/test-bzero.c: Likewise.
42044 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42046 * string/test-memset.c: Support bzero test if TEST_BZERO is
42048 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42050 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42052 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42055 2012-10-10 Joseph Myers <joseph@codesourcery.com>
42057 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42058 * configure: Regenerated.
42060 * Makeconfig (+link-static-before-libc): Don't include
42061 $(link-static-libc).
42063 * libio/libio.h (_IO_pos_t): Remove.
42065 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42067 * NEWS: Add note about FIPS mode. Wording suggested by Roland
42070 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42072 * crypt/crypt-entry.c: Include fips-private.h.
42073 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42074 * crypt/md5c-test.c (main): Tolerate disabled MD5.
42075 * sysdeps/unix/sysv/linux/fips-private.h: New file.
42076 * sysdeps/generic/fips-private.h: New file, dummy fallback.
42078 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42080 * crypt/crypt-private.h: Include stdbool.h.
42081 (_ufc_setup_salt_r): Return bool.
42082 * crypt/crypt-entry.c: Include errno.h.
42083 (__crypt_r): Return NULL with EINVAL for bad salt.
42084 * crypt/crypt_util.c (bad_for_salt): New.
42085 (_ufc_setup_salt_r): Check that salt is long enough and within
42086 the specified alphabet.
42087 * crypt/badsalttest.c: New file.
42088 * crypt/Makefile (tests): Add it.
42089 ($(objpfx)badsalttest): New.
42091 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
42093 * NEWS: Add entry for BZ #14602.
42095 2012-10-09 Joseph Myers <joseph@codesourcery.com>
42097 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42099 * math/libm-test.inc: Update comment listing what functions and
42101 (isgreater_test): New function.
42102 (isgreaterequal_test): Likewise.
42103 (isless_test): Likewise.
42104 (islessequal_test): Likewise.
42105 (islessgreater_test): Likewise.
42106 (isunordered_test): Likewise.
42107 (main): Call the new functions.
42109 2012-10-09 Roland McGrath <roland@hack.frob.com>
42111 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42112 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42113 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42114 * sysdeps/i386/configure: Regenerated.
42115 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42116 * sysdeps/mach/configure: Regenerated.
42117 * sysdeps/mach/hurd/configure: Regenerated.
42118 * sysdeps/powerpc/configure: Regenerated.
42119 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42120 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42121 * sysdeps/s390/s390-32/configure: Regenerated.
42122 * sysdeps/s390/s390-64/configure: Regenerated.
42123 * sysdeps/sh/configure: Regenerated.
42124 * sysdeps/sparc/configure: Regenerated.
42125 * sysdeps/unix/sysv/linux/configure: Regenerated.
42126 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42127 * sysdeps/x86_64/configure: Regenerated.
42129 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42130 defined. Don't check if MAP is NULL.
42132 2012-10-09 Joseph Myers <joseph@codesourcery.com>
42134 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42135 (_G_stat64): Likewise.
42136 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42137 (_G_stat64): Likewise.
42138 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42139 instead of struct _G_stat64.
42140 * libio/fileops.c (mmap_remap_check): Likewise.
42141 (decide_maybe_mmap): Likewise.
42142 (_IO_new_file_seekoff): Likewise.
42143 (_IO_file_stat): Likewise.
42144 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42146 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42147 instead of struct _G_stat64.
42148 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42150 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
42153 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42155 (CHECK_EOL): New macro.
42156 (two_way_short_needle): Check beginning of haystack for EOL. Use
42158 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42159 Replace with CHECK_EOL.
42160 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42161 Replace with CHECK_EOL.
42163 2012-10-08 Joseph Myers <joseph@codesourcery.com>
42165 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42167 * math/libm-test.inc: Update comment listing what functions and
42169 (finite_test): New function.
42170 (isinf_test): Likewise.
42171 (isnan_test): Likewise.
42172 (fpclassify_test): Test subnormal input.
42173 (isfinite_test): Likewise.
42174 (isnormal_test): Likewise.
42175 (main): Call the new functions.
42177 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
42180 * Makerules (%.dynsym): Force C locale when running
42181 $(OBJDUMP) --dynamic-syms.
42183 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
42185 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42188 2012-10-06 David S. Miller <davem@davemloft.net>
42190 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42191 upper 32-bits of the length value in %o2 since we use branch-on-register
42192 tests which consider the entire 64-bit register.
42194 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
42196 * string/test-strstr.c (check2): Add a test for page boundary.
42198 2012-10-05 David S. Miller <davem@davemloft.net>
42200 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42201 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42203 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42205 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42206 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42207 and bzero when HWCAP_SPARC_CRYPTO is present.
42209 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
42212 * string/test-strstr.c (check2): New function.
42213 (test_main): Call check2.
42215 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42217 * string/bug-strcasestr1.c (do_test): Moved to ...
42218 * string/test-strcasestr.c (check1): Here. New function.
42219 (do_one_test): Break out result checking code into ...
42220 (check_result): This. New function.
42221 (do_one_test): Call check_result.
42222 (test_main): Call check1.
42223 * string/bug-strchr1.c (do_test): Moved to ...
42224 * string/test-strchr.c (check1): Here. New function.
42225 (do_one_test): Break out result checking code into ...
42226 (check_result): This. New function.
42227 (do_one_test): Call check_result.
42228 (test_main): Call check1.
42229 * string/bug-strstr1.c (main): Moved to ...
42230 * string/test-strstr.c (check1): Here. New function.
42231 (do_one_test): Break out result checking code into ...
42232 (check_result): This. New function.
42233 (do_one_test): Call check_result.
42234 (test_main): Call check1.
42235 * string/bug-strcasestr1.c: Removed.
42236 * string/bug-strchr1.c: Likewise.
42237 * string/bug-strstr1.c: Likewise.
42239 * elf/Makefile (dl-routines): Add hwcaps.
42240 * elf/dl-support.c (_dl_important_hwcaps): Removed.
42241 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42242 (_dl_important_hwcaps): Moved to ...
42243 * elf/dl-hwcaps.c: Here. New file.
42244 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42247 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42248 if IS_IN_rtld isn't defined.
42250 * elf/dl-support.c (_dl_sysinfo_map): New.
42251 Include "get-dynamic-info.h" and "setup-vdso.h".
42252 (_dl_non_dynamic_init): Call setup_vdso.
42253 * elf/dynamic-link.h: Don't include <assert.h>.
42254 (elf_get_dynamic_info): Moved to ...
42255 * elf/get-dynamic-info.h: Here. New file.
42256 * elf/dynamic-link.h: Include "get-dynamic-info.h".
42257 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42258 * elf/setup-vdso.h: Here. New file.
42259 * elf/rtld.c: Include "setup-vdso.h".
42260 (dl_main): Call setup_vdso.
42262 2012-10-05 Joseph Myers <joseph@codesourcery.com>
42264 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42265 creal in comment listing functions tested. List finite, isinf,
42266 isnan, isless, islessequal, isgreater, isgreaterequal,
42267 islessgreater, isunordered, lgamma_r and pow10 as functions and
42268 macros not tested. Mention which functions not tested are aliases
42269 for other functions. Fix typo. Note that signs of NaNs are not
42272 * scripts/config.guess: Update from config.git.
42273 * scripts/config.sub: Likewise.
42275 2012-10-04 Roland McGrath <roland@hack.frob.com>
42277 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42278 * misc/madvise.c (madvise): Renamed to __madvise.
42279 Make madvise a weak alias.
42280 * include/sys/mman.h: Declare __madvise.
42281 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42282 * sysdeps/unix/syscalls.list
42283 (madvise): Make __madvise the strong name, and madvise a weak alias.
42284 * sysdeps/unix/sysv/linux/syscalls.list
42285 (madvise, mmap): Remove redundant entries.
42286 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42287 * malloc/malloc.c (mtrim): Likewise.
42288 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42290 2012-10-03 Roland McGrath <roland@hack.frob.com>
42292 * sysdeps/mach/hurd/dl-cache.c: File removed.
42293 * config.h.in (USE_LDCONFIG): New #undef.
42294 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42295 * configure: Regenerated.
42296 * elf/Makefile (dl-routines): Add dl-cache only under
42297 [$(use-ldconfig) = yes].
42298 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42299 cache on [USE_LDCONFIG].
42300 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42302 * elf/rtld.c (dl_main): Likewise.
42304 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
42306 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42307 _SC_LEVEL4_CACHE_LINESIZE.
42309 2012-10-03 Roland McGrath <roland@hack.frob.com>
42311 * sysdeps/unix/bsd/confstr.h: File removed.
42313 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
42315 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42318 2012-10-02 Roland McGrath <roland@hack.frob.com>
42320 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42321 Make 'mapoff' field ElfW(Off) rather than off_t.
42323 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
42325 * nscd/Makefile: Remove nscd-cflags and all its users.
42326 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42327 (CFLAGS-nonlib): Add compiler flags for nscd modules.
42330 * malloc.c (malloc_printerr): Clarify error message.
42332 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
42335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42336 Set bit_FMA_Usable if FMA is supported.
42337 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42339 (bit_FMA4_Usable): Updated.
42340 (index_FMA_Usable): New macro.
42341 (CPUID_FMA): Likewise
42342 (HAS_FMA): Defined with bit_FMA_Usable.
42344 2012-10-01 Roland McGrath <roland@hack.frob.com>
42346 * bits/types.h (__swblk_t): Type removed.
42347 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42348 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42349 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42350 (__SWBLK_T_TYPE): Likewise.
42351 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42352 (__SWBLK_T_TYPE): Likewise.
42353 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42354 (__SWBLK_T_TYPE): Likewise.
42355 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42356 (__SWBLK_T_TYPE): Likewise.
42358 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
42359 Honza Horak <hhorak@redhat.com>
42361 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42362 (xdr_mapname): Use YPMAXMAP as maxsize.
42363 (xdr_peername): Use YPMAXPEER as maxsize.
42364 (xdr_keydat): Use YPAXRECORD as maxsize.
42365 (xdr_valdat): Use YPMAXRECORD as maxsize.
42367 2012-10-01 Roland McGrath <roland@hack.frob.com>
42369 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42371 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42372 * csu/init-first.c: ... here.
42373 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42374 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42375 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42376 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42377 * sysdeps/i386/init-first.c: File removed.
42378 * sysdeps/sh/init-first.c: File removed.
42380 2012-10-01 Joseph Myers <joseph@codesourcery.com>
42383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42384 if x * y might underflow to zero and z is zero.
42385 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42386 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42387 * math/libm-test.inc (min_subnorm_value): New variable.
42388 (fma_test): Add more tests.
42389 (fma_test_towardzero): Likewise.
42390 (fma_test_downward): Likewise
42391 (fma_test_upward): Likewise.
42392 (initialize): Set min_subnorm_value.
42394 2012-09-29 Joseph Myers <joseph@codesourcery.com>
42397 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42399 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42400 mode for addition resulting in exact zero.
42401 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42402 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42404 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42405 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42406 * math/libm-test.inc (fma_test): Add more tests.
42407 (fma_test_towardzero): New function.
42408 (fma_test_downward): Likewise.
42409 (fma_test_upward): Likewise.
42410 (main): Call the new functions.
42412 2012-09-28 David S. Miller <davem@davemloft.net>
42414 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42416 2012-09-28 Roland McGrath <roland@hack.frob.com>
42418 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42419 instead of SIGALRM.
42421 * sysdeps/gnu/_G_config.h: Moved to ...
42422 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42423 * sysdeps/mach/hurd/_G_config.h: Moved to ...
42424 * sysdeps/generic/_G_config.h: ... here.
42426 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
42428 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42430 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42431 Conditionalize target on [libnss_test1.so-version].
42433 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42435 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42436 (elfobjdir): Move out of conditionals.
42438 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42439 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42440 (__nss_lookup_function): Conditionalize label remove_from_tree on
42441 [!DO_STATIC_NSS || SHARED], matching its only use.
42443 2012-09-28 David S. Miller <davem@davemloft.net>
42445 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42446 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42448 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42450 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42451 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42452 when HWCAP_SPARC_CRYPTO is present.
42454 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42456 * io/tst-mknodat.c: Create a FIFO instead of a socket.
42458 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
42461 * stdio-common/vfprintf.c (process_string_arg): Revert
42464 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
42466 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42468 * stdio-common/tst-sprintf.c: Include <locale.h>
42469 (main): Test sprintf's handling of incomplete multibyte
42472 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
42474 * elf/dl-runtime.c (VERSYMIDX): Removed.
42475 * elf/dl-version.c (VERSYMIDX): Likewise.
42476 * elf/do-rel.h (VERSYMIDX): Likewise.
42477 (VALIDX): Likewise.
42478 * elf/dynamic-link.h (VERSYMIDX): Likewise.
42479 * elf/rtld.c (VALIDX): Likewise.
42480 (ADDRIDX): Likewise.
42481 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42482 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42483 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42484 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42485 (VALIDX): Likewise.
42486 (ADDRIDX): Likewise.
42488 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42490 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42492 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
42495 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42497 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42498 addresses are in the same scope as 192.0.2/24.
42499 * posix/gai.conf: Document new scope table defaults.
42501 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42504 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42505 for ftell. Compute offsets from write pointers instead.
42506 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42508 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42511 * libio/Makefile (tests): New test case tst-fseek.
42512 * libio/tst-fseek.c: New test case to verify that fseek/ftell
42513 combination works in wide mode.
42514 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42515 state when the external buffer state changes.
42517 2012-09-27 David S. Miller <davem@davemloft.net>
42520 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42521 pass reloc->r_addend in as the 'high' argument to
42522 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42526 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42528 * rt/tst-aio2.c: Include <pthread.h>.
42529 * rt/tst-aio3.c: Likewise.
42531 2012-09-27 Steve Ellcey <sellcey@mips.com>
42533 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42535 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
42537 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42538 contents on [SHARED].
42540 2012-09-26 Marek Polacek <polacek@redhat.com>
42544 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42545 for C++ and GCC <4.3 as well as for non GCC compilers.
42547 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
42549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42551 2012-09-25 Roland McGrath <roland@hack.frob.com>
42553 * Makefile.in (all, install): Declare with .PHONY.
42554 Reported by Michael Hope <michael.hope@linaro.org>.
42556 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42558 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42559 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42561 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42563 (sydep_routines): Add the new and the internal functions.
42564 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42565 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42567 (GLIBC_2.17): Add the new function.
42568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42569 (GLIBC_2.17): Likewise.
42570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42571 (GLIBC_2.17): Likewise.
42572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42573 (GLIBC_2.17): Likewise.
42574 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42576 2012-09-25 Alan Modra <amodra@gmail.com>
42578 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42579 Add release barrier before setting once_control to say
42580 initialisation is done. Add hints on lwarx. Use macro in
42582 (clear_once_control): Add release barrier.
42584 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42587 * math/s_clog.c (__clog): Handle more values close to |z| = 1
42589 * math/s_clog10.c (__clog10): Likewise.
42590 * math/s_clog10f.c (__clog10f): Likewise.
42591 * math/s_clog10l.c (__clog10l): Likewise.
42592 * math/s_clogf.c (__clogf): Likewise.
42593 * math/s_clogl.c (__clogl): Likewise.
42594 * math/Makefile (libm-calls): Add x2y2m1.
42595 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42596 (__x2y2m1): Likewise.
42597 (__x2y2m1l): Likewise.
42598 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42599 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42600 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42601 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42602 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42603 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42604 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42605 * sysdeps/i386/fpu/libm-test-ulps: Update.
42606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42609 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42610 int as type of variable DEPTH.
42611 (glob): Use size_t instead of int as type of variables NEWCOUNT
42614 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42616 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42617 Add s_sincosf-sse2.
42618 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42619 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42620 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42621 macros for using routine as __sincosf_ia32.
42622 Use macro for function declaration and weak_alias.
42623 * sysdeps/i386/fpu/libm-test-ulps: Update.
42625 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42626 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42628 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42629 subnormal argument.
42630 * math/s_cexpf.c (__cexpf): Likewise.
42631 * math/s_csinf.c (__csinf): Likewise.
42632 * math/s_csinhf.c (__csinhf): Likewise.
42633 * math/s_ctanf.c (__ctanf): Likewise.
42634 * math/s_ctanhf.c (__ctanhf): Likewise.
42635 * math/s_ccosh.c (__ccoshf): Likewise.
42636 * math/s_cexp.c (__cexpl): Likewise.
42637 * math/s_csin.c (__csin): Likewise.
42638 * math/s_csinh.c (__csinh): Likewise.
42639 * math/s_ctan.c (__ctan): Likewise.
42640 * math/s_ctanh.c (ctanh): Likewise.
42641 * math/s_ccoshl.c (__ccoshl): Likewise.
42642 * math/s_cexpl.c (__cexpl): Likewise.
42643 * math/s_csinl.c (__csinl): Likewise.
42644 * math/s_csinhl.c (__csinhl): Likewise.
42645 * math/s_ctanl.c (__ctanl): Likewise.
42646 * math/s_ctanhl.c (__ctanhl): Likewise.
42648 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42650 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42651 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42652 (_IO_off_t): Define to __off_t, not _G_off_t.
42653 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42654 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42655 (_IO_wint_t): Define to wint_t, not _G_wint_t.
42656 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42657 type of __dummy and __dummy2 fields.
42658 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42659 (_G_ssize_t): Likewise.
42660 (_G_off_t): Likewise.
42661 (_G_pid_t): Likewise.
42662 (_G_uid_t): Likewise.
42663 (_G_wchar_t): Likewise.
42664 (_G_wint_t): Likewise.
42665 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42666 (_G_ssize_t): Likewise.
42667 (_G_off_t): Likewise.
42668 (_G_pid_t): Likewise.
42669 (_G_uid_t): Likewise.
42670 (_G_wchar_t): Likewise.
42671 (_G_wint_t): Likewise.
42672 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42673 (_G_ssize_t): Likewise.
42674 (_G_off_t): Likewise.
42675 (_G_pid_t): Likewise.
42676 (_G_uid_t): Likewise.
42677 (_G_wchar_t): Likewise.
42678 (_G_wint_t): Likewise.
42680 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42682 * malloc/arena.c: Include malloc-sysdep.h.
42683 (shrink_heap): Use check_may_shrink_heap to decide if madvise
42684 is sufficient to shrink the heap or an unmap is needed.
42685 * sysdeps/generic/malloc-sysdep.h: New file. Define
42686 new function check_may_shrink_heap.
42687 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
42688 new function check_may_shrink_heap.
42690 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42692 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42695 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
42697 * catgets/test-gencat.sh: Add "set -e".
42698 * elf/tst-pathopt.sh: Likewise.
42699 * grp/tst_fgetgrent.sh: Likewise.
42700 * iconvdata/run-iconv-test.sh: Likewise.
42701 * intl/tst-gettext.sh: Likewise.
42702 * intl/tst-gettext2.sh: Likewise.
42703 * intl/tst-gettext4.sh: Likewise.
42704 * intl/tst-gettext6.sh: Likewise.
42705 * intl/tst-translit.sh: Likewise.
42706 * io/ftwtest-sh: Likewise.
42707 * libio/test-freopen.sh: Likewise.
42708 * malloc/tst-mtrace.sh: Likewise.
42709 * posix/globtest.sh: Likewise.
42710 * posix/tst-getconf.sh: Likewise.
42711 * posix/wordexp-tst.sh: Likewise.
42712 * stdio-common/tst-printf.sh: Likewise.
42713 * stdio-common/tst-unbputc.sh: Likewise.
42714 * stdlib/tst-fmtmsg.sh: Likewise.
42715 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42716 * catgets/Makefile: Do not specify -e option when running
42717 testsuite shell scripts.
42718 * elf/Makefile: Likewise.
42719 * grp/Makefile: Likewise.
42720 * iconvdata/Makefile: Likewise.
42721 * intl/Makefile: Likewise.
42722 * io/Makefile: Likewise.
42723 * libio/Makefile: Likewise.
42724 * malloc/Makefile: Likewise.
42725 * posix/Makefile: Likewise.
42726 * stdio-common/Makefile: Likewise.
42727 * stdlib/Makefile: Likewise.
42728 * sysdeps/x86_64/Makefile: Likewise.
42730 * io/ftwtest-sh: Add copyright header.
42731 * posix/globtest.sh: Likewise.
42732 * posix/tst-getconf.sh: Likewise.
42733 * posix/wordexp-tst.sh: Likewise.
42734 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42736 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
42739 * Makeconfig (+link): Defined as $(+link-static) if
42740 $(build-shared) isn't yes.
42741 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42743 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42745 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42748 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42749 new chunk size with MALLOC_ALIGN_MASK.
42751 2012-09-24 Joseph Myers <joseph@codesourcery.com>
42754 * stdio-common/printf_fphex.c: Include <stdbool.h> and
42756 (__printf_fphex): Determine rounding using get_rounding_mode and
42758 * stdio-common/tst-printf-round.c (struct hex_test): New
42760 (hex_tests): New variable.
42761 (test_hex_in_one_mode): New function.
42762 (do_test): Also run tests for hex float output.
42764 2012-09-21 Joseph Myers <joseph@codesourcery.com>
42766 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42767 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42768 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42769 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42770 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42771 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42772 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42773 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42775 2012-09-20 Joseph Myers <joseph@codesourcery.com>
42777 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42778 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42779 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42780 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42782 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
42785 * elf/rtld.c (dl_main): Limit the check for self loading to normal
42787 * elf/tst-rtld-load-self.sh: New test.
42788 * elf/Makefile: Run it.
42790 2012-09-18 Joseph Myers <joseph@codesourcery.com>
42792 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42793 (tst-writev-ENV): Remove.
42794 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42796 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
42798 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42800 2012-09-17 Joseph Myers <joseph@codesourcery.com>
42802 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42804 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42806 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42807 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42808 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42811 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
42814 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42815 * config.make.in (have-cpp-asm-debuginfo): Removed.
42816 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42817 * configure: Regenerated.
42819 2012-09-14 Joseph Myers <joseph@codesourcery.com>
42822 * stdio-common/printf_fp.c: Include <stdbool.h> and
42824 (___printf_fp): Determine rounding using get_rounding_mode and
42826 * stdio-common/tst-printf-round.c: New file.
42827 * stdio-common/Makefile (tests): Add tst-printf-round.
42828 (link-libm): New variable.
42829 ($(objpfx)tst-printf-round): Depend in $(link-libm).
42831 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
42834 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42835 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42837 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42840 2012-09-13 Joseph Myers <joseph@codesourcery.com>
42842 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42843 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42844 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42845 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42847 2012-09-12 Joseph Myers <joseph@codesourcery.com>
42850 * include/rounding-mode.h: New file.
42851 * sysdeps/generic/get-rounding-mode.h: Likewise.
42852 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42853 * stdlib/strtod_l.c: Include <rounding-mode.h>.
42854 (MAX_VALUE): New macro.
42855 (MIN_VALUE): Likewise.
42856 (overflow_value): New function.
42857 (underflow_value): Likewise.
42858 (round_and_return): Use overflow_value and underflow_value to
42859 determine return values in overflow and underflow cases. Use
42860 round_away to determine rounding depending on rounding mode.
42861 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42862 determine return values in overflow and underflow cases.
42863 * stdlib/tst-strtod-round.c: Include <fenv.h>.
42864 (struct test_results): New structure.
42865 (struct test): Use struct test_results to store expected results
42866 for all rounding modes.
42867 (TEST): Include expected results for all rounding modes.
42868 (test_in_one_mode): New function.
42869 (do_test): Use test_in_one_mode to compute and check results.
42870 Check results for all rounding modes.
42871 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42874 2012-12-09 Allan McRae <allan@archlinux.org>
42876 * sysdeps/i386/fpu/libm-test-ulps: Update
42878 2012-09-11 Joseph Myers <joseph@codesourcery.com>
42880 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42881 (_G_int32_t): Likewise.
42882 (_G_uint16_t): Likewise.
42883 (_G_uint32_t): Likewise.
42884 (_G_HAVE_BOOL): Likewise.
42885 (_G_HAVE_ATEXIT): Likewise.
42886 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42887 (_G_HAVE_IO_FILE_OPEN): Likewise.
42888 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42889 (_G_int32_t): Likewise.
42890 (_G_uint16_t): Likewise.
42891 (_G_uint32_t): Likewise.
42892 (_G_HAVE_BOOL): Likewise.
42893 (_G_HAVE_ATEXIT): Likewise.
42894 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42895 (_G_HAVE_IO_FILE_OPEN): Likewise.
42896 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42897 (_G_int32_t): Likewise.
42898 (_G_uint16_t): Likewise.
42899 (_G_uint32_t): Likewise.
42900 (_G_HAVE_BOOL): Likewise.
42901 (_G_HAVE_ATEXIT): Likewise.
42902 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42903 (_G_HAVE_IO_FILE_OPEN): Likewise.
42905 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
42907 * csu/libc-tls.c: Update copyright years.
42909 2012-09-10 Joseph Myers <joseph@codesourcery.com>
42911 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42912 [!_G_USING_THUNKS]: Remove conditional code.
42913 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42914 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42916 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42917 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42918 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42919 (_G_VTABLE_LABEL_PREFIX): Likewise.
42920 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42921 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42922 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42923 (_G_VTABLE_LABEL_PREFIX): Likewise.
42924 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42925 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42926 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42927 (_G_VTABLE_LABEL_PREFIX): Likewise.
42928 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42930 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
42932 * libio/Makefile: Include ../Makeconfig before tests.
42933 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42934 only if $(build-shared) is yes.
42936 * iconv/gconv_db.c: Update copyright years.
42938 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42940 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42941 unwind info if defined PIC. Fix special cases description.
42942 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42944 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42946 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42948 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
42950 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42952 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42955 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42956 (LDLIBS-tst-chk4): This.
42957 (LDFLAGS-tst-chk5): Renamed to ...
42958 (LDLIBS-tst-chk5): This.
42959 (LDFLAGS-tst-chk6): Renamed to ...
42960 (LDLIBS-tst-chk6): This.
42961 (LDFLAGS-tst-lfschk4): Renamed to ...
42962 (LDLIBS-tst-lfschk4): This.
42963 (LDFLAGS-tst-lfschk5): Renamed to ...
42964 (LDLIBS-tst-lfschk5): This.
42965 (LDFLAGS-tst-lfschk6): Renamed to ...
42966 (LDLIBS-tst-lfschk6): This.
42968 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42969 on $(common-objpfx)soversions.mk.
42971 2012-09-07 Joseph Myers <joseph@codesourcery.com>
42974 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42977 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
42979 * malloc/arena.c (arena_get_retry): New function that gets
42980 another arena for the caller to try its request on.
42981 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42982 current arena cannot fulfill the request.
42983 (__libc_memalign): Likewise.
42984 (__libc_memalign): Likewise.
42985 (__libc_pvalloc): Likewise.
42986 (__libc_calloc): Likewise.
42988 2012-09-05 John Tobey <john.tobey@gmail.com>
42991 * manual/arith.texi (Operations on Complex): Fix description
42992 of carg branch cut.
42994 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42997 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43001 * manual/memory.texi (Memory): Make order of menu items match
43004 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43006 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43007 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
43008 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43010 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43012 * csu/libc-tls.c (static_dtv): Renamed to ...
43013 (_dl_static_dtv): This. Make it global.
43014 (_dl_initial_dtv): Removed.
43015 (__libc_setup_tls): Updated.
43016 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43017 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43020 2012-09-06 Petr Machata <pmachata@redhat.com>
43022 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43023 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43024 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43025 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43027 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43030 * csu/libc-tls.c (_dl_initial_dtv): New variable.
43031 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43034 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43037 * Makeconfig (link-static-before-libc): Replace $(+prector)
43039 (link-static-after-libc): Replace $(+postctor) with
43041 (link-bounded): Replace $(+prector)/$(+postctor) with
43042 $(+prectorT)/$(+postctorT).
43043 (+prectorT): New macro.
43044 (+postctorT): Likewise.
43046 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43048 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43049 (round_str): Handle values above the maximum for IBM long double
43051 * stdlib/tst-strtod-round.c (tests): Regenerated.
43053 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43055 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43057 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43058 zarch_nohighgprs around the zarch optimized routines.
43059 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43060 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43061 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43064 2012-09-05 David S. Miller <davem@davemloft.net>
43066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43068 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43069 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43070 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43071 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43074 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43076 * malloc/arena.c: Fold copyright years.
43077 * malloc/mcheck.c, malloc/memusage.c: Likewise.
43079 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43081 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43083 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43085 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
43087 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43089 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43090 change internal state upon failure.
43092 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43094 * malloc/mcheck.c (mcheck_check_all): Fix typo.
43095 * malloc/memusage.c (mmap): Likewise.
43096 (mmap64, mremap): Likewise. Adjust name in comment.
43098 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43100 * libio/fileops.c: Fix typos in comments.
43101 * libio/oldfileops.c: Likewise.
43102 * libio/wfileops.c: Likewise.
43104 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43107 * malloc/Makefile (tests): Add tst-malloc-usable test case.
43108 (tst-malloc-usable-ENV): Set environment for test case.
43109 * malloc/hooks.c (malloc_check_get_size): New function to get
43111 * malloc/malloc.c (musable): Use malloc_check_get_size.
43112 * malloc/tst-malloc-usable.c: New test case.
43114 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
43116 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43118 2012-09-05 Allan McRae <allan@archlinux.org>
43121 * configure.in (CXX_SYSINCLUDES): Use compiler output to
43122 determine header location.
43123 * configure: Regenerated.
43125 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
43127 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43129 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43130 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43132 (test): Regenerate.
43134 2012-09-04 David S. Miller <davem@davemloft.net>
43136 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43137 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43138 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43140 2012-09-04 Florian Weimer <fweimer@redhat.com>
43142 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43145 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43147 2012-09-04 Joseph Myers <joseph@codesourcery.com>
43150 * libio/iogetdelim.c: Include <limits.h>.
43151 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43152 + len + 1 would overflow.
43154 2012-09-03 Andreas Jaeger <aj@suse.de>
43156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43157 * sysdeps/i386/fpu/libm-test-ulps: Update.
43159 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43161 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43162 Add s_sinf-sse2, s_conf-sse2.
43164 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43165 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43166 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43167 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43169 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43170 for using routine as __sinf_ia32.
43171 Use macro for function declaration and weak_alias.
43172 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43173 for using routine as __cosf_ia32.
43174 Use macro for function declaration and weak_alias.
43176 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43177 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43179 * sysdeps/x86_64/fpu/s_sinf.S: New file.
43180 * sysdeps/x86_64/fpu/s_cosf.S: New file.
43181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43183 * math/libm-test.inc (cos_test): Add more test cases.
43184 (sin_test): Likewise.
43185 (sincos_test): Likewise.
43187 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43189 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43190 (IFUNC_RESOLVE): Make pointers to the specialized implementations
43192 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43194 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
43197 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43198 first element of the GOT.
43199 (elf_machine_load_address): Return the difference between
43200 the runtime address of _DYNAMIC and elf_machine_dynamic ().
43202 2012-09-01 Allan McRae <allan@archlinux.org>
43205 * configure.in (AWK): Require gawk version 3.0 or later.
43206 * configure: Regenerated.
43208 2012-09-01 Joseph Myers <joseph@codesourcery.com>
43210 * sysdeps/unix/sysv/linux/kernel-features.h
43211 (__ASSUME_POSIX_CPU_TIMERS): Remove.
43212 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43213 [__NR_clock_getres]: Make code unconditional.
43214 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43215 (clock_getcpuclockid): Remove code left unreachable by removal of
43217 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43218 code unconditional.
43219 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43220 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43221 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43222 Make code unconditional.
43223 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43224 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43225 * sysdeps/unix/sysv/linux/clock_settime.c
43226 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43228 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43229 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43231 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
43234 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43235 scripts/test-installation.pl.
43237 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43238 and $ld_so_version if it is set.
43240 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43243 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43244 failure if reading from procfs failed.
43245 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43247 2012-08-27 Joseph Myers <joseph@codesourcery.com>
43249 * sysdeps/unix/sysv/linux/kernel-features.h
43250 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43251 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43252 Remove conditional code.
43253 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43254 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43255 Remove conditional code.
43256 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43257 * sysdeps/unix/sysv/linux/i386/fxstat.c
43258 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43259 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43260 * sysdeps/unix/sysv/linux/i386/fxstatat.c
43261 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43262 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43263 * sysdeps/unix/sysv/linux/i386/lxstat.c
43264 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43265 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43266 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43267 Remove conditional code.
43268 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43269 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43270 Remove conditional code.
43271 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43272 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43273 <kernel-features.h>.
43274 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43276 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43277 Remove conditional code.
43278 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43279 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43280 Remove conditional.
43282 2012-08-27 Mike Frysinger <vapier@gentoo.org>
43285 * NEWS: Add fixed bug number.
43287 2012-08-27 Joseph Myers <joseph@codesourcery.com>
43290 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43291 underflowing exponent in case of negative sign.
43292 * stdlib/tst-strtod-round-data: Add more tests.
43293 * stdlib/tst-strtod-round.c (tests): Regenerated.
43296 * stdlib/strtod_l.c (NDIG): Remove.
43297 (HEXNDIG): Likewise.
43298 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43299 smallest representable value.
43300 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43301 lie within an exact representation of 1/2 ulp of the result.
43302 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43304 (TENS_P9_IDX): Define unconditionally.
43305 (TENS_P9_SIZE): Likewise.
43306 (TENS_P10_IDX): Likewise.
43307 (TENS_P10_SIZE): Likewise.
43308 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43309 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43310 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43311 entries for 10^2^13 and 10^2^14.
43312 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43313 (TENS_P13_IDX): Define.
43314 (TENS_P13_SIZE): Likewise.
43315 (TENS_P14_IDX): Likewise.
43316 (TENS_P14_SIZE): Likewise.
43317 (_fpioconst_pow10): Change array size to
43318 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
43320 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43321 1024]: Add entries for 10^2^13 and 10^2^14.
43322 [LAST_POW10 > _LAST_POW10]: Remove #error.
43323 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43324 (_fpioconst_pow10): Change array size to
43325 FPIOCONST_POW10_ARRAY_SIZE.
43326 * stdlib/gen-fpioconst.c: New file.
43327 * stdlib/gen-tst-strtod-round.c: Likewise.
43328 * stdlib/tst-strtod-round-data: Likewise.
43329 * stdlib/tst-strtod-round.c: Likewise.
43330 * stdlib/Makefile (tests): Add tst-strtod-round.
43333 * stdlib/strtod_l.c: Include <stdint.h>.
43334 (NDEBUG): Do not define.
43335 (round_and_return): Change EXPONENT parameter to type intmax_t.
43336 Rearrange calculations to avoid internal overflow possibilities.
43337 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43338 Rearrange calculations to avoid internal overflow possibilities.
43339 Assert that number fits inside MPNSIZE limbs.
43340 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43341 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
43342 calculations and add assertions to avoid internal overflow
43343 possibilities. Add casts to avoid signed/unsigned operations.
43344 * stdlib/tst-strtod-overflow.c: New file.
43345 * stdlib/Makefile (tests): Add tst-strtod-overflow.
43347 2012-08-25 Marek Polacek <polacek@redhat.com>
43349 * time/time.h: Fix some typos in comments.
43351 2012-08-23 Roland McGrath <roland@hack.frob.com>
43353 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43354 * posix/tst-rfc3484-2.c: Likewise.
43355 * posix/tst-rfc3484-3.c: Likewise.
43357 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
43359 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43360 (EF_ARM_ABI_FLOAT_HARD): Likewise.
43362 2012-08-23 Joseph Myers <joseph@codesourcery.com>
43364 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43365 #include of fxstatat64.c.
43367 2012-08-22 Roland McGrath <roland@hack.frob.com>
43369 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43370 * shadow/getspent_r.c: Likewise.
43371 * shadow/getspnam.c: Likewise.
43372 * shadow/getspnam_r.c: Likewise.
43373 * gshadow/getsgent.c: Likewise.
43374 * gshadow/getsgent_r.c: Likewise.
43375 * gshadow/getsgnam.c: Likewise.
43376 * gshadow/getsgnam_r.c: Likewise.
43377 * inet/getnetbyad.c: Likewise.
43378 * inet/getnetbyad_r.c: Likewise.
43379 * inet/getnetbynm.c: Likewise.
43380 * inet/getnetbynm_r.c: Likewise.
43381 * inet/getnetent.c: Likewise.
43382 * inet/getnetent_r.c: Likewise.
43383 * inet/getproto.c: Likewise.
43384 * inet/getproto_r.c: Likewise.
43385 * inet/getprtent.c: Likewise.
43386 * inet/getprtent_r.c: Likewise.
43387 * inet/getprtname.c: Likewise.
43388 * inet/getprtname_r.c: Likewise.
43389 * inet/getrpcbyname.c: Likewise.
43390 * inet/getrpcbyname_r.c: Likewise.
43391 * inet/getrpcbynumber.c: Likewise.
43392 * inet/getrpcbynumber_r.c: Likewise.
43393 * inet/getrpcent.c: Likewise.
43394 * inet/getrpcent_r.c: Likewise.
43395 * inet/getaliasent.c: Likewise.
43396 * inet/getaliasent_r.c: Likewise.
43397 * inet/getaliasname.c: Likewise.
43398 * inet/getaliasname_r.c: Likewise.
43399 * nscd/getgrgid_r.c: Likewise.
43400 * nscd/getgrnam_r.c: Likewise.
43401 * nscd/gethstbyad_r.c: Likewise.
43402 * nscd/gethstbynm3_r.c: Likewise.
43403 * nscd/getpwnam_r.c: Likewise.
43404 * nscd/getpwuid_r.c: Likewise.
43405 * nscd/getsrvbynm_r.c: Likewise.
43406 * nscd/getsrvbypt_r.c: Likewise.
43407 * nscd/gai.c: Likewise.
43409 * configure.in (build_nscd): New substituted variable, set
43410 by --disable-build-nscd and defaults to $use_nscd.
43411 * configure: Regenerated.
43412 * config.make.in (build-nscd): New substituted variable.
43413 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43414 Change conditional to require [$(build-nscd) = yes] as well.
43415 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43418 * configure.in (use_nscd): New substituted variable, set by
43419 --disable-nscd. If enabled, define USE_NSCD.
43420 * configure: Regenerated.
43421 * config.h.in: Add USE_NSCD.
43422 * config.make.in (use-nscd): New substituted variable.
43423 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43424 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43425 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43426 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43427 (CFLAGS-getgrnam_r.c): Likewise.
43428 (CFLAGS-initgroups.c): Likewise.
43429 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43430 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43432 * inet/getnetgrent_r.c
43433 (nscd_setnetgrent): New function, broken out of ...
43434 (setnetgrent): ... here. Call it.
43435 (innetgr): Conditionalize nscd bits on [USE_NSCD].
43436 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43437 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43438 * nscd/Makefile (routines, aux): Move definitions after include of
43439 Makeconfig. Conditionalize on [$(use-nscd) != no].
43440 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43441 Conditionalize on [USE_NSCD].
43442 (is_nscd, nscd_init_cb): Likewise.
43443 (nss_load_library): Conditionalize init callback on [USE_NSCD].
43444 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43445 * nss/nss_db/db-init.c: Likewise.
43446 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43448 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43449 (make_request): Use it.
43450 (cache_valid_p): New function.
43451 (__check_pf): Use it.
43452 * NEWS: Add item for --disable-nscd.
43454 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
43456 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43457 to support sed >= 4.2.1-20-ga9bf076.
43458 * configure: Regenerated.
43460 2012-08-22 Roland McGrath <roland@hack.frob.com>
43462 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43463 Conditionalize whole body on [IREL].
43465 2012-08-22 Jeff Law <law@redhat.com>
43468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43469 if the family is PF_UNSPEC.
43471 2012-08-22 Mike Frysinger <vapier@gentoo.org>
43473 * Makerules (lib-version): Rename from V.
43474 (install-lib-nosubdir): Change V to lib-version.
43476 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
43479 * powerpc32/power6/wcschr.c: New file.
43480 * powerpc32/power6/wcscpy.c: New file.
43481 * powerpc32/power6/wcsrchr.c: New file.
43482 * powerpc64/power6/wcschr.c: New file.
43483 * powerpc64/power6/wcscpy.c: New file.
43484 * powerpc64/power6/wcsrchr.c: New file.
43486 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43488 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43489 (two_way_short_needle): Use it.
43490 * string/strstr.c (AVAILABLE1_USES_J): Define.
43491 * string/strcasestr.c: Likewise.
43493 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43495 * string/strcasestr.c (TOLOWER): Make side-effect safe.
43498 * NEWS: Add an entry.
43499 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43500 define their defaults.
43501 (two_way_short_needle): Detect end-of-string on-the-fly.
43502 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43503 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43504 * string/bug-strcasestr1.c: New test.
43505 * string/Makefile: Run it.
43507 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43510 * string/str-two-way.h (two_way_short_needle): Optimize matching of
43511 the first character.
43513 2012-08-21 Roland McGrath <roland@hack.frob.com>
43515 * csu/elf-init.c (__libc_csu_irel): Function removed.
43516 * csu/libc-start.c (apply_irel): New function.
43517 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43519 2012-08-21 Joseph Myers <joseph@codesourcery.com>
43521 * sysdeps/unix/sysv/linux/kernel-features.h
43522 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43523 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43524 <kernel-features.h>.
43525 [__NR_fadvise64_64]: Make code unconditional.
43526 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43527 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43528 !__NR_fadvise64_64)]: Likewise.
43529 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43530 !__NR_fadvise64_64))]: Likewise.
43531 [__NR_fadvise64]: Make code unconditional.
43532 [!__NR_fadvise64]: Remove conditional code.
43533 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43534 <kernel-features.h>.
43535 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43537 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43540 not include <kernel-features.h>.
43541 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43543 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43545 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43546 include <kernel-features.h>.
43547 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43549 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43552 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43554 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43555 slight instruction rearrangements per scrollpipe analysis.
43556 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43558 2012-08-20 Roland McGrath <roland@hack.frob.com>
43560 * manual/syslog.texi (syslog; vsyslog, closelog):
43561 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43562 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43564 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43565 DSOCAPS to match condition on defining it.
43567 2012-08-20 Joseph Myers <joseph@codesourcery.com>
43569 * sysdeps/unix/sysv/linux/kernel-features.h
43570 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43572 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43573 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43575 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43576 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43578 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43579 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43581 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43582 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43584 * sysdeps/unix/sysv/linux/kernel-features.h
43585 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43586 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43588 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43589 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43590 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43591 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43592 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43593 Make code unconditional.
43594 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43595 (__mmap64) [!__NR_mmap2]: Likewise.
43596 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43597 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43598 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43599 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43600 [__NR_mmap2]: Make code unconditional.
43601 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43602 (__mmap64) [!__NR_mmap2]: Likewise.
43604 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43606 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43608 2012-08-18 Andreas Jaeger <aj@suse.de>
43610 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43612 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43614 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43615 * include/unistd.h (__have_sock_cloexec): Likewise.
43616 (__have_pipe2): Likewise.
43617 (__have_dup3): Likewise.
43619 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43622 * include/unistd.h (__have_pipe2): Change define into an extern int.
43623 (__have_dup3): Likewise.
43624 * socket/have_sock_cloexec.c: Include fcntl.h.
43625 (__have_pipe2): New variable.
43626 (__have_dup3): Likewise.
43628 2012-08-17 Mike Frysinger <vapier@gentoo.org>
43630 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43632 2012-08-17 Marek Polacek <polacek@redhat.com>
43634 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43635 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43637 2012-08-17 Roland McGrath <roland@hack.frob.com>
43639 * configure.in: Add AC_SUBST for sysheaders.
43640 * configure: Regenerated.
43641 * config.make.in (sysheaders): New substituted variable.
43643 * sysdeps/unix/mkfifo.c: Moved ...
43644 * sysdeps/posix/mkfifo.c: ... here.
43645 * sysdeps/unix/mkfifoat.c: Moved ...
43646 * sysdeps/posix/mkfifoat.c: ... here.
43648 * sysdeps/unix/utime.c: Moved ...
43649 * sysdeps/posix/utime.c: ... here.
43651 * sysdeps/unix/time.c: Moved ...
43652 * sysdeps/posix/time.c: ... here.
43653 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43654 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43656 * sysdeps/unix/nice.c: Moved ...
43657 * sysdeps/posix/nice.c: ... here.
43659 * sysdeps/unix/alarm.c: Moved ...
43660 * sysdeps/posix/alarm.c: ... here.
43662 * intl/Makefile ($(codeset_mo)): Depend on the input file.
43664 2012-08-17 Jeff Law <law@redhat.com>
43666 * intl/Makefile (codeset_mo): New variable.
43667 ($(codeset_mo)): New target.
43668 (tst-codeset.out): Depend on that. Remove explicit rule.
43669 (tst-gettext3.out, tst-gettext5.out): Likewise.
43670 (LOCPATH-ENV, tst-codeset-ENV): New variables.
43671 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43672 * intl/tst-codeset.sh: Remove.
43673 * intl/tst-gettext3.sh: Likewise.
43674 * intl/tst-gettext5.sh: Likewise.
43676 2012-08-17 Roland McGrath <roland@hack.frob.com>
43678 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
43679 * sysdeps/unix/syscalls.list: ... here.
43681 * sysdeps/posix/getaddrinfo.c
43682 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43683 (gaiconf_init, gaiconf_reload): Use them.
43684 [!_STATBUF_ST_NSEC]
43685 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43686 Define using time_t rather than struct timespec.
43688 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43689 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43691 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43693 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43694 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43697 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43698 __libc_cleanup_push argument.
43700 * bits/param.h: New file.
43701 * misc/sys/param.h: New file.
43702 * include/sys/param.h: New file.
43703 * misc/Makefile (headers): Add bits/param.h.
43704 * sysdeps/generic/sys/param.h: File removed.
43705 * sysdeps/unix/sysv/linux/bits/param.h: New file.
43706 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43707 * sysdeps/mach/hurd/bits/param.h: New file.
43708 * sysdeps/mach/hurd/sys/param.h: File removed.
43710 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43713 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43715 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43716 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43719 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43720 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43721 rather than -D_IO_MTSAFE_IO conditionally.
43722 * stdio-common/Makefile (CPPFLAGS): Likewise.
43723 * wcsmbs/Makefile (CPPFLAGS): Likewise.
43724 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43725 Use $(libio-mtsafe).
43726 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43727 of -D_IO_MTSAFE_IO.
43728 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43729 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43730 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43731 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43732 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43733 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43734 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43735 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43736 (CFLAGS-fread_u_chk.c): Likewise.
43737 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43738 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43739 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43740 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43741 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43742 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43743 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43744 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43745 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43747 * libio/Makefile: Test [$(libc-reentrant) = yes]
43748 instead of [$(filter %REENTRANT, $(defines)) nonempty].
43751 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43752 * sysdeps/pthread/configure: File removed.
43753 * sysdeps/pthread/Makeconfig: New file.
43754 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43755 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43757 2012-08-16 Gary Benson <gbenson@redhat.com>
43759 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43760 unmapping the first object in a namespace.
43762 2012-08-16 Roland McGrath <roland@hack.frob.com>
43764 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43765 (__internal_setnetgrent): ... this. Add internal_function to
43766 definition. Add libc_hidden_def.
43767 (setnetgrent): Update caller.
43768 (internal_endnetgrent): Renamed to ...
43769 (__internal_endnetgrent): ... this. Add internal_function to
43770 definition. Add libc_hidden_def.
43771 (endnetgrent): Update caller.
43772 (internal_getnetgrent_r): Renamed to ...
43773 (__internal_getnetgrent_r): ... this. Add internal_function to
43774 definition. Add libc_hidden_def.
43775 (__getnetgrent_r): Update caller.
43776 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
43778 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43780 * stdlib/longlong.h: Update from GCC.
43782 2012-08-16 Roland McGrath <roland@hack.frob.com>
43784 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43785 on _QL, which is set by umul_ppmm but never used.
43786 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43787 variables, which are set by GMP macros but never used.
43788 * stdio-common/_itowa.c (_itowa): Likewise.
43789 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43790 * stdlib/mod_1.c (mpn_mod_1): Likewise.
43792 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
43794 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43795 struct La_sh_regs is not constant.
43796 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43797 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43798 and struct La_sparc64_regs are not constant.
43800 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43802 * sysdeps/unix/sysv/linux/kernel-features.h
43803 (__ASSUME_POSIX_TIMERS): Remove.
43804 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43805 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43806 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43807 Make code unconditional.
43808 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43809 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43810 Make code unconditional.
43811 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43812 * sysdeps/unix/sysv/linux/clock_nanosleep.c
43813 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43814 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43815 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43816 Make code unconditional.
43817 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43818 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43819 (__libc_missing_posix_timers): Remove.
43821 2012-08-15 Roland McGrath <roland@hack.frob.com>
43823 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43824 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43826 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43828 * elf/dl-sym.c: Include <stdlib.h>.
43830 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43831 constants, which avoids warnings in 32-bit builds.
43833 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43834 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43836 * misc/lseek.c: File moved to ...
43837 * io/lseek.c: ... here.
43839 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43841 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43842 shifting LEN more than 31 bits at once.
43844 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43847 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43848 segmentation fault for a case of two empty input strings.
43849 * string/test-strncasecmp.c (check1): Renamed to...
43850 (bz12205): ...this.
43851 (bz14195): Add new testcase for two empty input strings and N > 0.
43852 (test_main): Call new testcase, adapt for renamed function.
43854 2012-08-15 Andreas Jaeger <aj@suse.de>
43857 * crypt/md5test2.c: New test, based on test supplied by Serge
43858 Belyshev <belyshev@depni.sinp.msu.ru>.
43859 * crypt/Makefile (xtests): Add md5test-giant..
43860 * crypt/Makefile ($(objpfx)md5test-giant): Add.
43862 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
43865 * crypt/md5.c (md5_process_block): Don't assume the buffer
43866 length is less than 2**32.
43867 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43868 length is less than 2**64.
43870 2012-08-15 Roland McGrath <roland@hack.frob.com>
43872 * string/str-two-way.h: Include <sys/param.h>.
43873 (MAX): Macro removed.
43875 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43876 Move #define and #undef of memmove to just before and after
43877 including <string.h>.
43879 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43880 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43881 and after including <string.h>. Move declarations of
43882 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43883 to before #include "string/memmove.c".
43885 * include/dirent.h: Declare __getdirentries.
43887 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43888 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43890 2012-08-14 Mike Frysinger <vapier@gentoo.org>
43892 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43893 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43894 * sysdeps/i386/configure: Regenerated.
43895 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43896 STABS_CURRENT_FILE, and STABS_FUN.
43897 (END): Remove call to STABS_FUN_END.
43898 (STABS_CURRENT_FILE1): Delete.
43899 (STABS_CURRENT_FILE): Likewise.
43900 (STABS_FUN): Likewise.
43901 (STABS_FUN_END): Likewise.
43902 (STABS_FUN2): Likewise.
43903 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43904 * sysdeps/x86_64/configure: Regenerated.
43906 2012-08-14 Roland McGrath <roland@hack.frob.com>
43908 * elf/dl-open.c: Include <atomic.h>.
43909 * elf/dl-lookup.c: Likewise.
43911 2012-08-14 Joseph Myers <joseph@codesourcery.com>
43913 * sysdeps/unix/sysv/linux/kernel-features.h
43914 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43915 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43917 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43919 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43920 condition on __ASSUME_CLONE_THREAD_FLAGS.
43922 2012-08-14 Andreas Jaeger <aj@suse.de>
43924 * sysdeps/i386/fpu/libm-test-ulps: Update.
43926 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
43928 * include/atomic.h (atomic_exchange_and_add): Split into ...
43929 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43932 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
43934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43936 2012-08-13 Jeff Law <law@redhat.com>
43938 * manual/stdio.texi (snprintf): Clarify handling of the trailing
43939 null byte in the output string.
43941 2012-08-10 Joseph Myers <joseph@codesourcery.com>
43943 * sysdeps/unix/sysv/linux/kernel-features.h
43944 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43945 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43946 (__ASSUME_ARG_MAX_STACK_BASED): Define.
43947 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43948 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43949 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
43950 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43952 2012-08-09 Jeff Law <law@redhat.com>
43955 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43956 When avoid_arena is set, don't retry in the that arena. Pick the
43957 next one, whatever it might be.
43958 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43959 (arena_lock): Pass in new parameter to arena_get2.
43960 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43962 (__libc_malloc): Unify retrying after main arena failure with
43963 __libc_memalign version.
43964 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43966 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
43969 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43970 to __redirect_strstr.
43971 (__strstr_sse42): Use typeof __redirect_strstr.
43972 (__strstr_ia32): Likewise.
43973 (__libc_strstr): New prototype.
43974 (strstr): Renamed to ...
43975 (__libc_strstr): This.
43976 (strstr): New strong alias of __libc_strstr.
43977 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43978 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43981 (__libc_time): New prototype.
43982 (time_ifunc): Replace time with __libc_time.
43983 (time): New strong alias and hidden definition of __libc_time.
43984 (__GI_time): Remove strong alias.
43985 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43986 Include <stddef.h>.
43987 (memmove): Redefined to __redirect_memmove.
43988 (__memmove_sse2): Use typeof __redirect_memmove.
43989 (__memmove_ssse3): Likewise.
43990 (__memmove_ssse3_back): Likewise.
43991 (__libc_memmove): New prototype.
43992 (memmove): Renamed to ...
43993 (__libc_memmove): This.
43994 (memmove): New strong alias of __libc_memmove.
43996 2012-08-08 Mark Salter <msalter@redhat.com>
43999 (R_MN10300_TLS_GD): Define.
44000 (R_MN10300_TLS_LD): Likewise.
44001 (R_MN10300_TLS_LDO): Likewise.
44002 (R_MN10300_TLS_GOTIE): Likewise.
44003 (R_MN10300_TLS_IE): Likewise.
44004 (R_MN10300_TLS_LE): Likewise.
44005 (R_MN10300_TLS_DTPMOD): Likewise.
44006 (R_MN10300_TLS_DTPOFF): Likewise.
44007 (R_MN10300_TLS_TPOFF): Likewise.
44008 (R_MN10300_SYM_DIFF): Likewise.
44009 (R_MN10300_ALIGN): Likewise.
44010 (R_MN10300_NUM): Update.
44012 2012-08-08 Joseph Myers <joseph@codesourcery.com>
44014 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44017 2012-08-08 Roland McGrath <roland@hack.frob.com>
44019 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44021 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44022 sysdeps/unix -> sysdeps/posix move.
44023 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44025 2012-08-07 Allan McRae <allan@archlinux.org>
44028 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44029 (SUNOS_CPP): Likewise.
44030 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44032 (open_input): Call CPP using execvp.
44034 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44036 * sysdeps/unix/sysv/linux/kernel-features.h
44037 (__ASSUME_PROT_GROWSUPDOWN): Remove.
44038 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44039 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44040 (__ASSUME_WAITID_SYSCALL): Likewise.
44041 * sysdeps/unix/sysv/linux/dl-execstack.c
44042 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44043 code unconditional.
44044 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44046 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44047 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44048 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44050 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44052 [__ASSUME_WAITID_SYSCALL]: Likewise.
44053 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44055 2012-08-07 Roland McGrath <roland@hack.frob.com>
44057 * sysdeps/unix/closedir.c: Renamed to ...
44058 * sysdeps/posix/closedir.c: ... here.
44059 * sysdeps/unix/dirfd.c: Renamed to ...
44060 * sysdeps/posix/dirfd.c: ... here.
44061 * sysdeps/unix/dirstream.h: Renamed to ...
44062 * sysdeps/posix/dirstream.h: ... here.
44063 * sysdeps/unix/fdopendir.c: Renamed to ...
44064 * sysdeps/posix/fdopendir.c: ... here.
44065 * sysdeps/unix/opendir.c: Renamed to ...
44066 * sysdeps/posix/opendir.c: ... here.
44067 * sysdeps/unix/readdir.c: Renamed to ...
44068 * sysdeps/posix/readdir.c: ... here.
44069 * sysdeps/unix/readdir_r.c: Renamed to ...
44070 * sysdeps/posix/readdir_r.c: ... here.
44071 * sysdeps/unix/rewinddir.c: Renamed to ...
44072 * sysdeps/posix/rewinddir.c: ... here.
44073 * sysdeps/unix/seekdir.c: Renamed to ...
44074 * sysdeps/posix/seekdir.c: ... here.
44075 * sysdeps/unix/telldir.c: Renamed to ...
44076 * sysdeps/posix/telldir.c: ... here.
44077 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44078 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44079 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44080 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44082 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44083 * bits/fcntl.h: ... here.
44085 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44087 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44088 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44089 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44090 (struct flock): Move l_start, l_len to the beginning.
44091 Use __pid_t for l_pid.
44092 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44093 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44094 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44095 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44096 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44097 [__USE_LARGEFILE64] (struct flock64): New type.
44098 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44100 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44101 * bits/dirent.h: ... here.
44103 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44104 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44106 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44108 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44109 Change from 2.6.0 to 2.6.16.
44110 * sysdeps/unix/sysv/linux/configure: Regenerated.
44111 * sysdeps/unix/sysv/linux/kernel-features.h
44112 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44113 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44115 (__ASSUME_UTIMES): Likewise.
44116 (__ASSUME_CLONE_STOPPED): Remove.
44117 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44118 architectures, not kernel version.
44119 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44120 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44121 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44122 (__ASSUME_WAITID_SYSCALL): Likewise.
44123 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44124 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44125 * README: State 2.6.16 as minimum Linux kernel version. Do not
44126 refer to older versions.
44128 2012-08-06 Roland McGrath <roland@hack.frob.com>
44130 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44131 Define alphasort64 as an alias.
44132 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44133 Define versionsort64 as an alias.
44134 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44135 Define scandir64 as an alias.
44136 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44137 Define scandirat64 as an alias.
44138 * dirent/alphasort64.c (alphasort64):
44139 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44140 * dirent/versionsort64.c: Likewise.
44141 * dirent/scandir64.c: Likewise.
44142 * dirent/scandirat64.c: Likewise.
44143 * sysdeps/wordsize-64/alphasort.c: File removed.
44144 * sysdeps/wordsize-64/alphasort64.c: File removed.
44145 * sysdeps/wordsize-64/scandir.c: File removed.
44146 * sysdeps/wordsize-64/scandir64.c: File removed.
44147 * sysdeps/wordsize-64/scandirat.c: File removed.
44148 * sysdeps/wordsize-64/scandirat64.c: File removed.
44149 * sysdeps/wordsize-64/versionsort.c: File removed.
44150 * sysdeps/wordsize-64/versionsort64.c: File removed.
44151 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44152 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44153 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44154 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44155 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44156 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44157 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44158 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44160 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44161 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44162 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44163 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44164 [defined __arch64__ || defined __sparcv9]
44165 (__INO_T_MATCHES_INO64_T): New macro.
44166 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44167 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44168 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44169 * sysdeps/unix/sysv/linux/bits/dirent.h
44170 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44171 (_DIRENT_MATCHES_DIRENT64): New macro.
44173 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44174 Define lockf64 as an alias.
44175 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44176 Define fseeko64 as an alias.
44177 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44178 Define ftello64 as an alias.
44179 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44180 Define _IO_fgetpos64 and fgetpos64 as aliases.
44181 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44182 Define _IO_fsetpos64 and fsetpos64 as aliases.
44183 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44184 Conditionalize body on this.
44185 * libio/fseeko64.c: Likewise.
44186 * libio/ftello64.c: Likewise.
44187 * libio/iofgetpos64.c: Likewise.
44188 * libio/iofsetpos64.c: Likewise.
44189 * sysdeps/wordsize-64/lockf.c: File removed.
44190 * sysdeps/wordsize-64/lockf64.c: File removed.
44191 * sysdeps/wordsize-64/fseeko.c: File removed.
44192 * sysdeps/wordsize-64/fseeko64.c: File removed.
44193 * sysdeps/wordsize-64/ftello.c: File removed.
44194 * sysdeps/wordsize-64/ftello64.c: File removed.
44195 * sysdeps/wordsize-64/iofgetpos.c: File removed.
44196 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44197 * sysdeps/wordsize-64/iofsetpos.c: File removed.
44198 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44199 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44200 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44201 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44202 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44203 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44204 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44205 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44206 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44207 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44208 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44210 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44211 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44212 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44213 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44214 [defined __arch64__ || defined __sparcv9]
44215 (__OFF_T_MATCHES_OFF64_T): New macro.
44216 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44217 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44219 (__OFF_T_MATCHES_OFF64_T): New macro.
44221 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
44223 * stdlib/secure-getenv.c (__secure_getenv): Replace
44224 GLIBC_2_16 with GLIBC_2_17.
44226 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
44228 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44229 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44231 2012-08-03 David S. Miller <davem@davemloft.net>
44233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44235 2012-08-03 Joseph Myers <joseph@codesourcery.com>
44237 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44239 (__ASSUME_CORRECT_SI_PID): Likewise.
44240 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44241 (__ASSUME_TMPFS_NAME): Likewise.
44242 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44243 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44244 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44245 (HAVE_AUX_SECURE): Make definition unconditional.
44246 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44247 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44249 2012-08-03 Roland McGrath <roland@hack.frob.com>
44251 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44252 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44253 * sysdeps/mach/hurd/eloop-threshold.h: New file.
44254 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44255 __eloop_threshold instead of SYMLOOP_MAX.
44257 * sysdeps/generic/eloop-threshold.h: New file.
44258 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44260 * elf/chroot_canon.c (chroot_canon): Likewise.
44262 2012-08-03 Joseph Myers <joseph@codesourcery.com>
44265 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44266 Change to 2.6.0 everywhere.
44267 * sysdeps/unix/sysv/linux/configure: Regenerated.
44268 * sysdeps/unix/sysv/linux/kernel-features.h
44269 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44270 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44272 (__ASSUME_POSIX_TIMERS): Define unconditionally.
44273 (__ASSUME_FUTEX_REQUEUE): Remove.
44274 (__ASSUME_STATFS64): Define unconditionally.
44275 (__ASSUME_AT_SECURE): Likewise.
44276 (__ASSUME_CORRECT_SI_PID): Likewise.
44277 (__ASSUME_TGKILL): Define without depending on kernel version for
44279 (__ASSUME_UTIMES): Likewise.
44280 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44282 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44283 (__ASSUME_TMPFS_NAME): Likewise.
44284 * README: Update reference to Linux kernel versions.
44286 2012-08-02 Marek Polacek <polacek@redhat.com>
44289 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
44290 libc_cv_asm_type_prefix with %.
44291 * configure: Regenerated.
44292 * include/libc-symbols.h: Remove comment about
44293 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44294 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44295 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44296 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44297 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44298 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44299 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44300 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44301 * elf/tst-unique2mod1.c: Likewise.
44302 * elf/tst-unique1mod2.c: Likewise.
44303 * elf/tst-unique1mod1.c: Likewise.
44304 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44305 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44306 Replace ASM_TYPE_DIRECTIVE with .type.
44307 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44308 * sysdeps/i386/sysdep.h: Likewise.
44309 * sysdeps/x86_64/sysdep.h: Likewise.
44310 * sysdeps/sh/sysdep.h: Likewise.
44311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44312 Do not define ASM_TYPE_DIRECTIVE.
44313 * sysdeps/powerpc/sysdep.h: Likewise.
44314 * sysdeps/powerpc/powerpc32/sysdep.h:
44315 Replace ASM_TYPE_DIRECTIVE with .type.
44316 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44317 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44318 * sysdeps/i386/fpu/e_powf.S: Likewise.
44319 * sysdeps/i386/fpu/e_expl.S: Likewise.
44320 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44321 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44322 * sysdeps/i386/fpu/e_pow.S: Likewise.
44323 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44324 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44325 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44326 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44327 * sysdeps/i386/fpu/e_log2.S: Likewise.
44328 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44329 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44330 * sysdeps/i386/fpu/e_powl.S: Likewise.
44331 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44332 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44333 * sysdeps/i386/fpu/e_logl.S: Likewise.
44334 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44335 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44336 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44337 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44338 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44339 * sysdeps/i386/fpu/e_log.S: Likewise.
44340 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44341 * sysdeps/i386/fpu/e_logf.S: Likewise.
44342 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44343 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44344 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44345 * sysdeps/i386/fpu/e_log10.S: Likewise.
44346 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44347 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44348 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44349 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44350 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44351 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44352 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44353 * sysdeps/i386/i686/strtok.S: Likewise.
44354 * sysdeps/i386/i386-mcount.S: Likewise.
44355 * sysdeps/i386/strtok.S: Likewise.
44356 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44357 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44358 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44359 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44360 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44361 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44362 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44363 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44364 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44365 * sysdeps/x86_64/_mcount.S: Likewise.
44366 * sysdeps/x86_64/strtok.S: Likewise.
44367 * sysdeps/sh/_mcount.S: Likewise.
44369 2012-08-01 Roland McGrath <roland@hack.frob.com>
44371 * libio/iofopen.c: Include <fcntl.h>.
44372 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44373 (_IO_fopen64, fopen64): Define as aliases.
44374 * libio/iofopen64.c: Include <fcntl.h>.
44375 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44376 Conditionalize body on this.
44377 * sysdeps/wordsize-64/iofopen.c: File removed.
44378 * sysdeps/wordsize-64/iofopen64.c: File removed.
44380 2012-08-01 Marek Polacek <polacek@redhat.com>
44382 * libc/Makeconfig: Use elf in place of binfmt-subdir.
44383 Use dlfcn directly instead of a variable.
44384 (binfmt-subdir): Do not define.
44387 2012-08-01 Joseph Myers <joseph@codesourcery.com>
44389 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44390 Remove all definitions.
44391 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44392 <kernel-features.h>.
44393 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44394 (miss_F_GETOWN_EX): Remove all definitions.
44395 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44397 [!__ASSUME_FCNTL64]: Remove conditional code.
44398 [__ASSUME_FCNTL64]: Make code unconditional.
44399 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44400 <kernel-features.h>.
44401 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44402 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44403 (lockf64) [__NR_fcntl64]: Make code unconditional.
44404 (lockf64) [__ASSUME_FCNTL64]: Likewise.
44406 * sysdeps/unix/sysv/linux/kernel-features.h
44407 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44408 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44409 Make code unconditional.
44410 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44411 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44413 [__NR_vfork]: Make code unconditional.
44414 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44415 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44417 [__NR_vfork]: Make code unconditional.
44418 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44419 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44421 2012-08-01 Roland McGrath <roland@hack.frob.com>
44423 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44424 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44426 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44427 Define mkstemp64 as an alias.
44428 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44429 Define mkstemps64 as an alias.
44430 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44431 Define mkostemp64 as an alias.
44432 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44433 Define mkostemps64 as an alias.
44434 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44435 Conditionalize body on this.
44436 * misc/mkostemp64.c: Likewise.
44437 * misc/mkostemps64.c: Likewise.
44438 * misc/mkstemps64.c: Likewise.
44439 * sysdeps/wordsize-64/mkstemp64.c: File removed.
44440 * sysdeps/wordsize-64/mkostemp64.c: File removed.
44441 * sysdeps/wordsize-64/mkostemp.c: File removed.
44442 * sysdeps/wordsize-64/mkstemp.c: File removed.
44443 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44444 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44445 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44446 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44449 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44450 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44451 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44452 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44454 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44455 compat_symbol macros from <shlib-compat.h> rather than the underlying
44456 default_symbol_version and symbol_version macros, so that DEFAULT
44457 lines in shlib-versions are respected.
44458 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44460 2012-08-01 Florian Weimer <fweimer@redhat.com>
44462 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44463 Declare with warn_unused_result.
44464 (setgid, setregid, setegid, setresgid): Likewise.
44465 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44467 * WUR-REPORT: Remove set*id functions.
44469 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
44471 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44473 2012-07-31 Roland McGrath <roland@hack.frob.com>
44476 * include/sys/socket.h (__libc_accept, __libc_accept4):
44477 Add attribute_hidden.
44478 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44480 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44482 * inet/getnetgrent_r.c (setup): Likewise.
44484 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44486 2012-07-31 David S. Miller <davem@davemloft.net>
44488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44490 2012-07-31 Joseph Myers <joseph@codesourcery.com>
44493 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44494 value between 1.0 and 2.0 and smaller part has absolute value less
44496 * math/s_clog10.c (__clog10): Likewise.
44497 * math/s_clog10f.c (__clog10f): Likewise.
44498 * math/s_clog10l.c (__clog10l): Likewise.
44499 * math/s_clogf.c (__clogf): Likewise.
44500 * math/s_clogl.c (__clogl): Likewise.
44501 * math/libm-test.inc (clog_test): Add more tests.
44502 (clog10_test): Likewise.
44503 * sysdeps/i386/fpu/libm-test-ulps: Update.
44504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44506 2012-07-31 Florian Weimer <fweimer@redhat.com>
44508 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44509 Exit with zero in case no suitable GID is found, and write a
44510 message to standard error.
44512 2012-07-30 Roland McGrath <roland@hack.frob.com>
44514 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44516 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44517 (MAXPATHLEN): Removed.
44518 (NOGROUP, NODEV): New macros.
44519 (setbit, clrbit, isset, isclr): New macros.
44520 (howmany, roundup, powerof2): New macros.
44521 (DEV_BSIZE): New macro.
44523 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44524 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44526 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44527 definition on [!__NO_LONG_DOUBLE_MATH].
44529 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44530 PTR_MANGLE and PTR_DEMANGLE.
44532 * socket/accept4.c (accept4): Rename to __libc_accept4.
44533 Define accept4 as a weak alias.
44535 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44536 on [_DIRENT_HAVE_D_TYPE].
44537 * io/ftw.c (ftw_dir): Likewise.
44539 * io/xmknod.c (__xmknod): Don't check PATH for being null.
44541 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44543 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44544 Use the BSD numbers rather than the arbitrary ones we had.
44545 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44546 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44547 (SIGXCPU, SIGXFSZ): New macros.
44550 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44551 initializer on [_LIBC_REENTRANT].
44553 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44554 definitions inside [_POSIX_MAPPED_FILES].
44556 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44558 * dirent/opendir.c: Include <fcntl.h>.
44560 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44561 (__libc_getspecific): Likewise.
44562 (__libc_key_create): Likewise.
44564 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44565 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44566 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44567 (tmpfile64): Define as alias.
44568 * sysdeps/wordsize-64/tmpfile.c: File removed.
44569 * sysdeps/wordsize-64/tmpfile64.c: File removed.
44570 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44571 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44573 * stdio-common/vfscanf.c: Include <stdbool.h>.
44574 * nss/makedb.c: Likewise.
44575 * stdio-common/_i18n_number.h: Likewise.
44576 * argp/argp-help.c: Likewise.
44577 * posix/wordexp.c: Likewise.
44578 * sysdeps/posix/spawni.c: Likewise.
44579 * nss/nss_files/files-initgroups.c: Likewise.
44580 * stdio-common/reg-modifier.c: Include <stdlib.h>.
44581 * nss/nss_files/files-initgroups.c: Likewise.
44582 * nss/nss_db/db-netgrp.c: Likewise.
44583 * nss/nss_db/db-initgroups.c: Likewise.
44584 * io/fchmodat.c: Include <sys/stat.h>.
44586 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44587 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44589 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44592 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44593 Add multiple inclusion protection.
44595 2012-07-27 David S. Miller <davem@davemloft.net>
44597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44599 2012-07-27 Gary Benson <gbenson@redhat.com>
44602 * elf/rtld.c: Include <stap-probe.h>.
44603 (dl_main): Added static probes "init_start" and "init_complete".
44604 * elf/dl-load.c: Include <stap-probe.h>.
44605 (lose): Take new parameter "nsid".
44606 Added static probe "map_failed".
44607 (_dl_map_object_from_fd): Pass namespace id to lose.
44608 Added static probe "map_start".
44609 (open_verify): Pass namespace id to lose.
44610 * elf/dl-open.c: Include <stap-probe.h>.
44611 (dl_open_worker) Added static probes "map_complete", "reloc_start"
44612 and "reloc_complete".
44613 * elf/dl-close.c: Include <stap-probe.h>.
44614 (_dl_close_worker): Added static probes "unmap_start" and
44616 * elf/rtld-debugger-interface.txt: New file documenting the above.
44618 2012-07-26 Roland McGrath <roland@hack.frob.com>
44620 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44621 rather than a string variable.
44622 * sunrpc/rpc_main.c (h_output): Likewise.
44623 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44625 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
44627 * inet/check_native.c: New file.
44629 2012-07-26 Joseph Myers <joseph@codesourcery.com>
44632 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44633 if larger part has absolute value 1.0.
44634 * math/s_clog10.c (__clog10): Likewise.
44635 * math/s_clog10f.c (__clog10f): Likewise.
44636 * math/s_clog10l.c (__clog10l): Likewise.
44637 * math/s_clogf.c (__clogf): Likewise.
44638 * math/s_clogl.c (__clogl): Likewise.
44639 * math/libm-test.inc (clog_test): Add more tests.
44640 (clog10_test): Likewise.
44641 * sysdeps/i386/fpu/libm-test-ulps: Update.
44642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44644 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44645 (pltexit): Likewise.
44646 (La_regs): Likewise.
44647 (La_retval): Likewise.
44648 (int_retval): Likewise.
44649 Update #error for removed macros to refer only to definitions in
44651 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44653 (pltexit): Likewise.
44654 (La_regs): Likewise.
44655 (La_retval): Likewise.
44656 (int_retval): Likewise.
44657 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44659 (pltexit): Likewise.
44660 (La_regs): Likewise.
44661 (La_retval): Likewise.
44662 (int_retval): Likewise.
44663 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44665 (pltexit): Likewise.
44666 (La_regs): Likewise.
44667 (La_retval): Likewise.
44668 (int_retval): Likewise.
44669 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44671 (pltexit): Likewise.
44672 (La_regs): Likewise.
44673 (La_retval): Likewise.
44674 (int_retval): Likewise.
44675 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44677 (pltexit): Likewise.
44678 (La_regs): Likewise.
44679 (La_retval): Likewise.
44680 (int_retval): Likewise.
44681 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44683 (pltexit): Likewise.
44684 (La_regs): Likewise.
44685 (La_retval): Likewise.
44686 (int_retval): Likewise.
44687 * sysdeps/generic/tst-audit.h: Update comment to refer only to
44688 macro definitions in tst-audit.h.
44689 * sysdeps/i386/tst-audit.h: New file.
44690 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44691 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44692 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44693 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44694 * sysdeps/sh/tst-audit.h: Likewise.
44695 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44696 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44697 * sysdeps/x86_64/tst-audit.h: Likewise.
44699 2012-07-26 Andreas Jaeger <aj@suse.de>
44701 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44704 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44705 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44706 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44708 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44709 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44710 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44712 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44715 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44717 (si_call_addr, si_syscall, si_arch): Define new macro.
44718 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44720 (si_call_addr, si_syscall, si_arch): Define new marcro.
44721 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44723 (si_call_addr, si_syscall, si_arch): Define new macro.
44724 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44726 (si_call_addr, si_syscall, si_arch): Define new macro.
44728 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44731 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44732 Change to 2.4.21 where previously 2.4.1.
44733 * sysdeps/unix/sysv/linux/configure: Regenerated.
44734 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44735 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44736 Linux kernel version.
44737 (__ASSUME_STD_AUXV): Remove.
44738 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44740 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44741 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44742 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44743 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44744 (__ASSUME_NETLINK_SUPPORT): Likewise.
44745 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44746 (__no_netlink_support): Remove conditional definition.
44747 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44749 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44750 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44751 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44752 (if_nameindex_ioctl): Remove.
44753 (if_nameindex_netlink): Do not handle __no_netlink_support.
44754 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44756 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44757 Remove conditional code.
44758 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44760 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44762 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44763 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44764 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44766 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44767 [!__ASSUME_STD_AUXV]: Remove conditional code.
44768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44769 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44770 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44772 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44773 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44775 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44777 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44778 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44780 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44782 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44785 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44788 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44789 code unconditional.
44790 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44792 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44794 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44797 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44799 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44802 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44803 code unconditional.
44804 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44806 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44808 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44811 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44812 code unconditional.
44813 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44815 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44817 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44820 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
44822 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44823 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44824 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44825 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44826 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44827 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44828 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44829 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44830 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44831 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44832 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44833 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44834 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44835 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44836 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44837 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44838 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44839 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44840 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44841 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44842 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44843 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44844 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44846 2012-07-25 Florian Weimer <fweimer@redhat.com>
44848 * Versions.def: Add GLIBC_2.17.
44849 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44850 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44851 Introduce __libc_secure_getenv.
44852 * stdlib/Versions (2.17): Add secure_getenv
44853 (GLIBC_PRIVATE): Add __libc_secure_getenv.
44854 * stdlib/secure-getenv.c: Rename __secure_getenv to
44855 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
44856 symbol __secure_getenv for GLIBC_2.0.
44857 * stdlib/tst-secure-getenv.c: New.
44858 * stdlib/Makefile (tests): Add testcase.
44859 * manual/startup.texi (Environment Access): Document
44861 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44862 __libc_secure_getenv.
44863 * inet/ruserpass.c (ruserpass): Likewise.
44864 * malloc/mtrace.c (mtrace): Likewise.
44865 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44866 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44867 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44868 * sysdeps/posix/tempname.c: Likewise. Evaluate
44869 HAVE_SECURE_GETENV.
44870 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44871 __secure_getenv to __libc_secure_getenv.
44872 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44879 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44885 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44887 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44888 (struct La_i86_retval): Likewise.
44889 (struct La_x86_64_regs): Likewise.
44890 (struct La_x86_64_retval): Likewise.
44891 (struct La_x32_regs): Likewise.
44892 (struct La_x32_retval): Likewise.
44893 (struct La_ppc32_regs): Likewise.
44894 (struct La_ppc32_retval): Likewise.
44895 (struct La_ppc64_regs): Likewise.
44896 (struct La_ppc64_retval): Likewise.
44897 (struct La_sh_regs): Likewise.
44898 (struct La_sh_retval): Likewise.
44899 (struct La_s390_32_regs): Likewise.
44900 (struct La_s390_32_retval): Likewise.
44901 (struct La_s390_64_regs): Likewise.
44902 (struct La_s390_64_retval): Likewise.
44903 (struct La_sparc32_regs): Likewise.
44904 (struct La_sparc32_retval): Likewise.
44905 (struct La_sparc64_regs): Likewise.
44906 (struct La_sparc64_retval): Likewise.
44907 (struct audit_ifaces): Remove architecture-specific pltenter and
44909 * sysdeps/i386/ldsodefs.h: New file.
44910 * sysdeps/powerpc/ldsodefs.h: Likewise.
44911 * sysdeps/s390/ldsodefs.h: Likewise.
44912 * sysdeps/sh/ldsodefs.h: Likewise.
44913 * sysdeps/sparc/ldsodefs.h: Likewise.
44914 * sysdeps/x86_64/ldsodefs.h: Likewise.
44916 2012-07-25 Marek Polacek <polacek@redhat.com>
44919 * math/libm-test.inc (yn_test): Add another test.
44920 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44921 to ERANGE when the result is +-Inf.
44922 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44923 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44924 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44925 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44927 2012-07-24 Joseph Myers <joseph@codesourcery.com>
44929 * conform/data/time.h-data (NULL): Use macro-constant. Require
44931 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
44933 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
44935 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
44937 * configure.in <sysdeps resolving>: Correct printing
44939 * configure: Regenerate.
44941 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
44943 * math/w_ilogb.c: Include <limits.h>.
44944 * math/w_ilogbl.c: Likewise.
44946 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44948 * manual/lang.texi (__va_copy): Document primarily as ISO C99
44949 va_copy. Document allowing for unavailable va_copy only as
44950 pre-C99 compatibility.
44951 * manual/string.texi (Copying and Concatenation): Use va_copy
44952 instead of __va_copy in concat example.
44954 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
44956 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44957 (__sendto): Use create_address_port. Initialize APORT and deallocate
44960 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44961 with O_NOLINK passed to __file_name_lookup.
44963 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44964 with O_NOLINK passed to __file_name_lookup.
44966 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44967 negative N or less than NGIDS.
44969 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44970 type to string_t. Set ERANGE as errno and return it if NAME is not big
44971 enough. Use memcpy instead of strncpy.
44973 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44975 * elf/Makefile (check-data): Remove.
44976 (localplt.data): New vpath directive.
44977 ($(objpfx)check-localplt.out): Use localplt.data from vpath
44978 instead of $(check-data).
44979 * scripts/data/localplt-generic.data: Move to ...
44980 * sysdeps/generic/localplt.data: ... here.
44981 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44982 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44983 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44986 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44989 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44992 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44995 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44998 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45002 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45004 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45005 PPC32 and PPC64 files.
45006 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45007 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45009 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45011 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45012 __makecontext_ret to ...
45013 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45014 ... here and call exit if uc_link is NULL. New file.
45015 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45016 __makecontext_ret.S.
45017 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45018 __makecontext_ret to ...
45019 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45020 ... here and call exit if uc_link is NULL. New file.
45021 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45022 __makecontext_ret.S.
45024 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45026 * elf/elf.h (R_390_IRELATIVE): New definition.
45027 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45028 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
45029 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45030 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45031 (elf_machine_lazy_rel): Likewise.
45032 * sysdeps/s390/dl-irel.h: New file.
45033 * sysdeps/s390/s390-64/memcpy.S: New asm code.
45034 * sysdeps/s390/s390-64/memset.S: New asm code.
45035 * sysdeps/s390/s390-64/memcmp.S: New asm code.
45036 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45037 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45038 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45039 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45040 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45041 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45042 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45043 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45044 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45045 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45046 * sysdeps/s390/s390-32/memcpy.S: New asm code.
45047 * sysdeps/s390/s390-32/memset.S: New asm code.
45048 * sysdeps/s390/s390-32/memcmp.S: New asm code.
45050 2012-07-17 Marek Polacek <polacek@redhat.com>
45053 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45054 * sysdeps/s390/s390-64/configure.in: Likewise.
45055 * sysdeps/sparc/configure.in: Likewise.
45056 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45057 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45058 * sysdeps/i386/configure.in: Likewise.
45059 * sysdeps/x86_64/configure.in: Likewise.
45060 * sysdeps/sh/configure.in: Likewise.
45061 * sysdeps/s390/s390-32/configure: Regenerated.
45062 * sysdeps/s390/s390-64/configure: Likewise.
45063 * sysdeps/x86_64/configure: Likewise.
45064 * sysdeps/sh/configure: Likewise.
45065 * sysdeps/powerpc/powerpc64/configure: Likewise.
45066 * sysdeps/powerpc/powerpc32/configure: Likewise.
45067 * sysdeps/sparc/configure: Likwise.
45068 * sysdeps/i386/configure: Likewise.
45070 * elf/dl-open.c: Comment fixes.
45072 2012-07-17 Joseph Myers <joseph@codesourcery.com>
45074 * Makefile [CXX] (check-data): Remove.
45075 [CXX] (c++-types.data): New vpath directive.
45076 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45077 vpath. Do not allow for C++ type data being missing.
45078 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45079 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45080 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45081 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45082 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45083 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45084 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45087 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45090 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45093 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45096 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45099 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45102 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45105 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45108 * elf/tls-macros.h (TLS_LE): Move architecture-specific
45109 definitions to architecture-specific files.
45110 (TLS_IE): Likewise.
45111 (TLS_LD): Likewise.
45112 (TLS_GD): Likewise.
45113 * sysdeps/i386/tls-macros.h: New file.
45114 * sysdeps/powerpc/tls-macros.h: Likewise.
45115 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45116 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45117 * sysdeps/sh/tls-macros.h: Likewise.
45118 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45119 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45120 * sysdeps/x86_64/tls-macros.h: Likewise.
45122 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
45124 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45125 zero value for regular exit case.
45127 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45128 (__start_context): Preserve zero value for regular exit case.
45130 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
45131 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45133 * manual/setjmp.texi (setcontext): Clarify normal process
45134 termination when uc_link is the null pointer.
45135 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45138 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
45140 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45141 preprocessor. Test for each exception mask separately.
45143 2012-07-16 Andreas Jaeger <aj@suse.de>
45145 * po/ru.po: Update from translation team.
45147 2012-07-15 Joseph Myers <joseph@codesourcery.com>
45149 * conform/data/string.h-data (NULL): Use macro-constant. Require
45151 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45152 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45153 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45154 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45155 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45157 2012-07-13 Andreas Jaeger <aj@suse.de>
45159 * po/fr.po: Update from translation team.
45161 2012-07-12 Marek Polacek <polacek@redhat.com>
45164 * math/libm-test.inc (yn_test): Add test for BZ #14173.
45165 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45168 2012-07-12 Joseph Myers <joseph@codesourcery.com>
45171 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45172 Change to 2.4.1 where previously 2.4.0.
45173 * sysdeps/unix/sysv/linux/configure: Regenerated.
45174 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45175 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45177 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45178 (__ASSUME_AT_CLKTCK): Remove.
45179 (__ASSUME_AT_PAGESIZE): Likewise.
45180 (__ASSUME_AT_XID): Likewise.
45181 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45182 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45183 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45185 (HAVE_AUX_PAGESIZE): Likewise.
45186 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45187 [__ASSUME_AT_CLKTCK]: Make code unconditional.
45188 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45190 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
45193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45194 the temporary buffer used to invoke __gethostbyname2_r,
45195 __gethostbyaddr_r and gethostbyname4_r to make room for struct
45196 host_data / struct gaih_addrtuple.
45197 * resolv/nss_dns/dns-host.c (global scope): Move definition of
45198 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45199 header file nss/nsswitch.h.
45200 * nss/nsswitch.h (global scope): Add definition of implementation
45201 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45202 resolv/nss_dns/dns-host.c).
45204 2012-07-11 Andreas Jaeger <aj@suse.de>
45206 * po/fr.po: Update from translation team.
45208 * po/sv.po: Update from translation team
45209 * po/fr.po: Another update from translation team.
45211 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45213 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45214 for subnormals or multiply small sinh result by itself.
45215 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45218 2012-07-11 David S. Miller <davem@davemloft.net>
45220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45222 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
45225 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45226 (INTERNAL_MARK): Shift it here.
45228 2012-07-10 Marek Polacek <polacek@redhat.com>
45231 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
45232 libc_cv_asm_global_directive with .globl.
45233 * configure: Regenerated.
45234 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45236 * sysdeps/i386/configure: Regenerated.
45237 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45239 * sysdeps/x86_64/configure: Regenerated.
45240 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45241 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45242 * elf/tst-unique2mod2.c: Likewise.
45243 * elf/tst-unique2mod1.c: Likewise.
45244 * elf/tst-unique1mod2.c: Likewise.
45245 * elf/tst-unique1mod1.c: Likewise.
45246 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45247 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45248 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45249 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45250 * sysdeps/mach/sysdep.h: Likewise.
45251 * sysdeps/i386/sysdep.h: Likewise.
45252 * sysdeps/i386/i386-mcount.S: Likewise.
45253 * sysdeps/x86_64/_mcount.S: Likewise.
45254 * sysdeps/x86_64/sysdep.h: Likewise.
45255 * sysdeps/sh/_mcount.S: Likewise.
45256 * sysdeps/sh/sysdep.h: Likewise.
45257 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45258 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45259 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45260 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45261 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45262 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45263 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45264 * locale/localeinfo.h: Likewise.
45265 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45266 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45268 2012-07-09 Roland McGrath <roland@hack.frob.com>
45271 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45273 * manual/message.texi (The Uniforum approach): Likewise.
45274 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45275 (glibc iconv Implementation): Likewise.
45277 2012-07-09 Joseph Myers <joseph@codesourcery.com>
45280 * math/s_clog.c (__clog): Avoid scaling a value down where that
45281 could result in underflow.
45282 * math/s_clog10.c (__clog10): Likewise.
45283 * math/s_clog10f.c (__clog10f): Likewise.
45284 * math/s_clog10l.c (__clog10l): Likewise.
45285 * math/s_clogf.c (__clogf): Likewise.
45286 * math/s_clogl.c (__clogl): Likewise.
45287 * math/libm-test.inc (clog_test): Add more tests.
45288 (clog10_test): Likewise.
45289 * sysdeps/i386/fpu/libm-test-ulps: Update.
45290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45292 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
45295 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45296 by 7 not 8 to examine high bit of fractional part.
45299 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45300 for call to __mcount_internal.
45301 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45302 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45303 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45305 2012-07-06 Joseph Myers <joseph@codesourcery.com>
45308 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45309 approximation for values within 0x1p-13f of an odd multiple of
45311 * math/libm-test.inc (tan_test): Do not allow spurious underflow
45312 exception. Add more tests.
45313 * sysdeps/i386/fpu/libm-test-ulps: Update.
45316 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45317 inputs and return -1 for them. Do not check for +Inf in case not
45318 reachable for +Inf.
45319 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45320 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45321 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45322 and return -1 for them. Do not check for +Inf in case not
45323 reachable for +Inf.
45324 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45326 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45327 and return -1 for them. Do not check for +Inf in case not
45328 reachable for +Inf.
45329 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
45330 spurious underflow.
45331 * sysdeps/i386/fpu/libm-test-ulps: Update.
45332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45334 2012-07-06 Mike Frysinger <vapier@gentoo.org>
45336 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45338 2012-07-05 Joseph Myers <joseph@codesourcery.com>
45342 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45343 could result in spurious underflow. Scale down values above
45344 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45345 * math/s_csqrtf.c (__csqrtf): Likewise.
45346 * math/s_csqrtl.c (__csqrtl): Likewise.
45347 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
45348 spurious underflow.
45349 * sysdeps/i386/fpu/libm-test-ulps: Update.
45350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45352 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
45354 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45356 * catgets/xopen-msg.awk: New file.
45357 * catgets/xopen-msg.sed: Removed.
45359 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45361 * intl/po2test.awk: New file.
45362 * intl/po2test.sed: Removed.
45364 2012-07-04 Joseph Myers <joseph@codesourcery.com>
45367 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45368 or multiply small sinh result by itself.
45369 * math/s_ctanf.c (__ctanf): Likewise.
45370 * math/s_ctanh.c (__ctanh): Likewise.
45371 * math/s_ctanhf.c (__ctanhf): Likewise.
45372 * math/s_ctanhl.c (__ctanhl): Likewise.
45373 * math/s_ctanl.c (__ctanl): Likewise.
45374 * math/libm-test.inc (ctan_test_tonearest): New function.
45375 (ctan_test_towardzero): Likewise.
45376 (ctan_test_downward): Likewise.
45377 (ctan_test_upward): Likewise.
45378 (ctanh_test_tonearest): Likewise.
45379 (ctanh_test_towardzero): Likewise.
45380 (ctanh_test_downward): Likewise.
45381 (ctanh_test_upward): Likewise.
45382 (main): Call these new functions.
45383 * sysdeps/i386/fpu/libm-test-ulps: Update.
45384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45386 2012-07-03 Mike Frysinger <vapier@gentoo.org>
45388 * .gitignore: Delete /ports entry.
45390 2012-07-03 Andreas Jaeger <aj@suse.de>
45392 * po/bg.po: Update from translation team.
45393 * po/cs.po: Likewise.
45394 * po/de.po: Likewise.
45395 * po/hr.po: Likewise.
45396 * po/nl.pl: Likewise.
45397 * po/pl.po: Likewise.
45398 * po/vi.po: Likewise.
45400 2012-07-03 Joseph Myers <joseph@codesourcery.com>
45402 * Makeconfig [!+link] (+link-before-libc): New variable.
45403 [!+link] (+link-after-libc): Likewise.
45404 [!+link] (+link-tests): Likewise.
45405 [!+link] (+link): Define in terms of $(+link-before-libc) and
45406 $(+link-after-libc).
45407 [!+link-static] (+link-static-before-libc): New variable.
45408 [!+link-static] (+link-static-after-libc): Likewise.
45409 [!+link-static] (+link-static-tests): Likewise.
45410 [!+link-static] (+link-static): Define in terms of
45411 $(+link-static-before-libc) and $(+link-static-after-libc).
45412 [build-shared] (link-libc-before-gnulib): New variable.
45413 [build-shared] (link-libc-tests): Likewise.
45414 [build-shared] (link-libc): Define in terms of
45415 $(link-libc-before-gnulib).
45416 [!build-shared] (link-libc-tests): New variable.
45417 (link-libc-static-tests): New variable.
45418 [!gnulib] (gnulib-arch): New variable.
45419 [!gnulib] (gnulib-tests): Likewise.
45420 [!gnulib] (static-gnulib-arch): Likewise.
45421 [!gnulib] (static-gnulib-tests): Likewise.
45422 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
45423 Define with "=" instead of ":=".
45424 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
45425 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
45426 * Rules (binaries-all-notests): New variable.
45427 (binaries-all-tests): Likewise.
45428 (binaries-static-notests): Likewise.
45429 (binaries-static-tests): Likewise.
45430 (binaries-all): Define using $(binaries-all-notests) and
45431 $(binaries-all-tests).
45432 (binaries-static): Define using $(binaries-static-notests) and
45433 $(binaries-static-tests).
45434 (binaries-shared-tests): New variable.
45435 (binaries-shared-notests): Likewise.
45436 (binaries-shared): Remove variable.
45437 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45438 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45439 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45440 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45441 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45442 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45443 * elf/Makefile (sln-modules): New variable.
45444 (extra-objs): Add $(sln-modules:=.o).
45445 (ldconfig-modules): Add static-stubs.
45446 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45447 * elf/static-stubs.c: New file.
45450 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45451 by 7 not 8 to examine high bit of fractional part. Use volatile
45452 variables when splitting into final array of floats if
45453 __FLT_EVAL_METHOD__ != 0.
45454 * math/libm-test.inc (cos_test): Add another test.
45455 (sin_test): Likewise.
45456 * sysdeps/i386/fpu/libm-test-ulps: Update.
45459 * math/libm-test.inc (cosh_test): Add more tests.
45461 * version.h (RELEASE): Set to "development".
45462 (VERSION): Set to "2.16.90".
45464 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
45466 * NEWS: Update copyright. Remove last-updated date.
45467 Mention math library bug fixes and timezone data changes.
45468 * README: Mention GNU/Hurd, x32, and HPPA support status.
45470 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
45472 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45474 2012-06-27 Andreas Jaeger <aj@suse.de>
45476 * manual/contrib.texi (Contributors): Add Samuel Thibault.
45478 2012-06-25 Andreas Jaeger <aj@suse.de>
45480 * sysdeps/s390/fpu/libm-test-ulps: Update.
45482 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
45483 Thomas Schwinge <thomas@codesourcery.com>
45485 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45486 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45487 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45490 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
45492 * sysdeps/mach/start.c: Remove file.
45493 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45494 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45495 * sysdeps/sh/init-first.c: Likewise.
45497 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45498 registers for frame unwinding purposes, add CFI directives.
45499 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45500 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45501 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45504 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45505 __fortify_fail returning.
45506 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45508 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45509 sysdeps/sh/____longjmp_chk.S.
45510 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45511 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45512 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45513 (gen-as-const-headers): Append sigaltstack-offsets.sym.
45515 * sysdeps/sh/abort-instr.h: New file.
45516 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45517 process in case exit returns.
45519 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45520 initialize the GOT register before use.
45522 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45523 calculation of ARGC > 4.
45525 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45526 meaningful names to some local labels.
45528 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45529 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45531 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45532 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45533 (__arch_compare_and_exchange_val_16_acq): Likewise.
45534 (__arch_compare_and_exchange_val_32_acq): Likewise.
45535 (atomic_exchange_and_add): Fix gUSA sequence.
45536 (atomic_add): Likewise.
45537 (atomic_add_negative): Likewise.
45538 (atomic_add_zero): Likewise.
45539 (atomic_bit_test_set): Likewise.
45541 2012-06-22 Andreas Schwab <schwab@redhat.com>
45544 * include/link.h (struct link_map): Add l_free_initfini.
45545 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45547 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45548 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45549 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45552 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
45554 * configure.in: Use AC_LANG_SOURCE.
45555 * configure: Regenerate.
45557 2012-06-22 Roland McGrath <roland@hack.frob.com>
45559 * configure.in (libc_cv_localstatedir): New substituted variable.
45560 * configure: Regenerated.
45561 * config.make.in (localstatedir): New variable, substituted from
45562 libc_cv_localstatedir.
45563 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45564 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45565 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45566 * sysdeps/gnu/configure: Regenerated.
45568 2012-06-21 Jeff Law <law@redhat.com>
45571 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45572 free. Simplify list management for _LIBC case.
45574 2012-06-21 Joseph Myers <joseph@codesourcery.com>
45577 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45578 Clear sign bit of 64-bit integer value before comparing against
45581 * sysdeps/mach/configure: Regenerated.
45583 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
45586 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45588 2012-06-21 Jeff Law <law@redhat.com>
45591 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
45592 uint16_t for elements in the "seen" array to avoid char overflows.
45593 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45594 * elf/dl-open.c (dl_open_worker): Likewise.
45596 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
45598 * scripts/list-sources.sh: Scan PORTS for translations.
45599 * po/libc.pot: Regenerated.
45601 2012-06-21 Andreas Jaeger <aj@suse.de>
45604 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45606 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45607 * bits/byteswap-16.h (__bswap_16): Likewise.
45608 * bits/byteswap.h (__bswap_constant_16): Likewise.
45610 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
45613 * sysdeps/i386/fpu_control.h: Removed.
45614 * sysdeps/x86_64/fpu_control.h: Moved to ...
45615 * sysdeps/x86/fpu_control.h: Here.
45617 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45618 (_FPU_SETCW): Likewise.
45620 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
45623 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45624 * sysdeps/x86/fpu/bits/mathinline.h: This.
45625 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45629 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45630 functions if __x86_64__ is defined.
45632 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
45634 * string/endian.h: Add !__ASSEMBLER__ condition for including
45635 conversion interfaces.
45637 2012-06-15 Joseph Myers <joseph@codesourcery.com>
45640 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45641 of ABS(x) in calculating zero to negative powers other than odd
45643 * math/libm-test.inc (pow_test): Add more tests.
45645 2012-06-15 Andreas Jaeger <aj@suse.de>
45647 * manual/contrib.texi (Contributors): Update entry of Liubov
45648 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45651 2012-06-15 Cyril Hrubis <metan@ucw.cz>
45653 * string/string.h: Add __wur to GNU version of strerror_r.
45655 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
45658 * string/Makefile (tests): Add tst-strtok_r.
45659 * string/tst-strtok_r.c: New file.
45660 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45661 RAX_LP/RDX_LP on SAVE_PTR.
45663 2012-06-14 Roland McGrath <roland@hack.frob.com>
45665 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45667 2012-06-14 Joseph Myers <joseph@codesourcery.com>
45669 * libm_test.inc (csqrt_test): Allow more spurious underflow
45671 (j0_test): Likewise.
45672 (j1_test): Likewise.
45673 (y0_test): Likewise.
45674 (y1_test): Likewise.
45676 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
45678 * po/Makefile (libc.pot): Use UTF-8 charset.
45680 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
45683 Suppress sign-conversion warning from FD_SET.
45684 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45685 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45686 not unsigned long int.
45687 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45689 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
45693 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45694 __extern_always_inline instead of __extern_inline.
45695 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45696 (__signbit): Likewise.
45697 (__signbitl): Support C++ namespace.
45698 (lrintf): New inline function.
45700 (llrintf): Likewise.
45701 (llrint): Likewise.
45711 (floorf): Likewise.
45712 (nearbyint): Likewise.
45713 (nearbyintf): Likewise.
45715 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
45717 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45718 non-default versions.
45720 2012-06-11 Roland McGrath <roland@hack.frob.com>
45723 * manual/argp.texi (Argp): Reword argp_parse description slightly.
45725 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
45727 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45728 (FE_UPWARD, FE_DOWNWARD): Don't define.
45729 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45730 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45732 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45734 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45735 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45737 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45739 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45740 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45741 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45742 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45744 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
45747 * sysdeps/i386/fpu/bits/fenv.h: Removed.
45748 * sysdeps/i386/fpu/Implies: New file.
45749 * sysdeps/x86_64/fpu/Implies: Likewise.
45750 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45751 * sysdeps/x86/fpu/bits/fenv.h: This.
45753 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45756 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
45759 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45760 character 0xffff that matches the last element of the
45763 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45765 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45768 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45770 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45771 values higher than 25.6283.
45773 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45775 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45776 subnormal exponent extraction and add some __builtin_expect.
45777 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45778 Fix for subnormal mantissa calculation.
45780 2012-06-04 Mike Frysinger <vapier@gentoo.org>
45782 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45783 cpu2 is -1 and errno is not ENOSYS.
45785 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
45788 * sysdeps/i386/i486/bits/string.h: Renamed to ...
45789 * sysdeps/x86/bits/string.h: This.
45790 * sysdeps/x86_64/bits/string.h: Removed.
45792 * sysdeps/i386/i486/bits/string.h: Define inline functions only
45793 if not compiling for x86-64, but compiling for >= i486.
45795 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45796 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45798 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45799 New macro from Linux kernel 3.4.0.
45800 (FP_XSTATE_MAGIC2): Likewise.
45801 (FP_XSTATE_MAGIC2_SIZE): Likewise.
45802 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45803 (struct _fpx_sw_bytes): New struct.
45804 (struct _xsave_hdr): Likewise.
45805 (struct _ymmh_state): Likewise.
45806 (struct _xstate): Likewise.
45808 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45809 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45810 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45811 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45812 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45813 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45815 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45816 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45817 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45818 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45819 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45820 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45822 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45825 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45826 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45827 (sysdep_headers): Include sys/platform/ppc.h.
45828 * sysdeps/powerpc/test-gettimebase.c: Test for
45829 __ppc_get_timebase() to catch future ISA opcode/insn changes.
45830 * manual/Makefile (appendices): Include platform.texi.
45831 * manual/contrib.texi (Contributors): Update @node pointers.
45832 * manual/maint.texi (Maintenance): Likewise.
45833 (Platform): New node.
45834 * manual/platform.texi: New file. Document the new features.
45836 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45837 Jakub Jelinek <jakub@redhat.com>
45840 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45841 where __builtin_expect is unavailable.
45843 2012-06-03 David S. Miller <davem@davemloft.net>
45845 * stdlib/longlong.h: Updated from GCC.
45847 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
45850 * sysdeps/powerpc/powerpc32/mcount.c: New file.
45851 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45854 (GLIBC_2.16): Likewise.
45856 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45858 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45860 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45863 (default-abi): New variable.
45864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45865 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45867 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45869 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45871 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45874 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45875 definition. Document in comment.
45877 2012-06-01 David S. Miller <davem@davemloft.net>
45879 * stdlib/longlong.h: Updated from GCC.
45881 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45884 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45885 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45886 sys/debugreg.h sys/io.h here.
45887 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45888 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45890 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45891 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45892 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45893 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45894 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45895 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45897 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45898 Define only if __x86_64__ is defined.
45900 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45903 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45904 Use int64_t for variable i.
45905 * math/libm-test.inc (fmod_test): Add more tests.
45907 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45908 z computation is not scheduled after fetestexcept.
45909 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45910 Use math_force_eval instead of asm to ensure calculation scheduled
45911 before exception test.
45912 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45913 Ensure a1 + u.d computation is not scheduled after fetestexcept.
45915 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
45917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45918 computation is not scheduled after fetestexcept.
45920 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45923 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45924 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45926 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45928 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45929 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45931 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45934 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45936 (__WCHAR_MIN): Support __WORDSIZE == 64.
45937 (__WCHAR_MAX): Likewise.
45939 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45940 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45943 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45944 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45947 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45948 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45950 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45951 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45953 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45954 Defined to 1 if __x86_64__ isn't defined.
45955 (_STAT_VER_LINUX_OLD): New.
45956 (st_atime): Remove duplicate.
45957 (st_mtime): Likewise.
45958 (st_ctime): Likewise.
45960 2012-05-31 David S. Miller <davem@davemloft.net>
45962 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45965 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
45967 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45971 * elf/dl-reloc.c: Include <_itoa.h>.
45972 (_dl_reloc_bad_type): Remove use of INTUSE.
45973 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45974 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45975 * stdio-common/psiginfo.c (psiginfo): Likewise.
45976 * stdio-common/psignal.c (psignal): Likewise.
45977 * string/strsignal.c (strsignal): Likewise.
45978 * include/signal.h (_sys_siglist): Declare hidden proto.
45979 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
45980 INTVARDEF with libc_hidden_data_def.
45981 * stdio-common/itoa-udigits.c: Likewise.
45982 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45983 (_itoa_lower_digits_internal): Remove declaration.
45984 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45985 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45986 (_sys_sigabbrev_internal): Remove aliases.
45987 (_sys_siglist): Define hidden alias.
45989 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
45991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45994 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45997 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45998 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46000 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46001 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46002 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46003 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46004 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46005 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46007 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46008 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46009 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46011 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46019 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46020 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46021 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46023 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46024 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46025 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46026 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46027 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46028 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46030 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46031 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46033 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46034 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46036 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46037 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46038 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46040 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46041 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46043 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46045 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46046 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46047 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46049 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46051 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46053 2012-05-31 Joseph Myers <joseph@codesourcery.com>
46055 * math/math.h (M_El): Use two more decimal places.
46056 (M_LOG2El): Likewise.
46057 (M_LOG10El): Likewise.
46058 (M_LN2l): Likewise.
46059 (M_LN10l): Likewise.
46061 (M_PI_2l): Likewise.
46062 (M_PI_4l): Likewise.
46063 (M_1_PIl): Likewise.
46064 (M_2_PIl): Likewise.
46065 (M_2_SQRTPIl): Likewise.
46066 (M_SQRT2l): Likewise.
46067 (M_SQRT1_2l): Likewise.
46069 2012-05-31 David S. Miller <davem@davemloft.net>
46071 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46072 values between float registers.
46073 * sysdeps/sparc/sparc64/memset.S: Likewise.
46074 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46076 2012-05-31 Mike Frysinger <vapier@gentoo.org>
46078 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46079 -D_FORTIFY_SOURCE=1.
46080 (CPPFLAGS-tst-longjmp_chk.c): Define.
46081 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46082 (CPPFLAGS-tst-longjmp_chk2.c): Define.
46083 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46084 CFLAGS-tst-wchar-h.c.
46086 2012-05-31 Marek Polacek <polacek@redhat.com>
46089 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46090 __endmntent_internal): Remove declaration.
46091 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46092 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46093 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46095 2012-05-30 David S. Miller <davem@davemloft.net>
46097 * sysdeps/sparc/sparc32/soft-fp/q_util.c
46098 (___Q_simulate_exceptions): Use real FP ops rather than writing
46100 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46103 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46106 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46107 * sysdeps/x86/bits/xtitypes.h: This.
46109 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46110 * sysdeps/x86/bits/wordsize.h: This.
46112 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46113 * sysdeps/x86/bits/huge_vall.h: This.
46115 * sysdeps/i386/bits/select.h: Removed.
46116 * sysdeps/x86_64/bits/select.h: Renamed to ...
46117 * sysdeps/x86/bits/select.h: This.
46119 * sysdeps/i386/bits/setjmp.h: Removed.
46120 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46121 * sysdeps/x86/bits/setjmp.h: This.
46123 * sysdeps/i386/bits/mathdef.h: Removed.
46124 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46125 * sysdeps/x86/bits/mathdef.h: This.
46127 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
46130 * include/sys/socket.h (__connect_internal)
46131 (__libc_sa_len_internal): Remove declaration.
46132 (__connect, __libc_sa_len): Declare hidden_proto.
46133 (SA_LEN): Remove use of INTUSE.
46134 * socket/connect.c: Add libc_hidden_def.
46135 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46136 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46137 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46139 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46140 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46141 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46142 of adding _internal alias.
46144 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46147 * sysdeps/i386/bits/link.h: Removed.
46148 * sysdeps/i386/bits/linkmap.h: Likewise.
46149 * sysdeps/x86_64/bits/link.h: Renamed to ...
46150 * sysdeps/x86/bits/link.h: This.
46151 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46152 * sysdeps/x86/bits/linkmap.h: This.
46154 * sysdeps/i386/bits/endian.h: Removed.
46155 * sysdeps/x86_64/bits/endian.h: Renamed to ...
46156 * sysdeps/x86/bits/endian.h: This.
46158 * sysdeps/i386/bits/byteswap.h: Removed.
46159 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46160 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46161 * sysdeps/x86/bits/byteswap.h: This.
46162 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46163 * sysdeps/x86/bits/byteswap-16.h: This.
46164 * sysdeps/i386/Implies: Add x86.
46165 * sysdeps/x86_64/Implies: Likewise.
46167 2012-05-30 David S. Miller <davem@davemloft.net>
46169 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46170 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46171 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46172 (FP_TRAPPING_EXCEPTIONS): Define.
46173 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46174 (FP_TRAPPING_EXCEPTIONS): Define.
46175 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46176 subnormals only when inexact has been signalled or underflow
46177 exceptions are enabled.
46178 (_FP_PACK_CANONICAL): Likewise.
46180 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46183 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46184 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46186 2012-05-30 Richard Henderson <rth@twiddle.net>
46188 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46189 with #ifndef NOT_IN_libc.
46191 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
46192 marked to avoid plt entry.
46194 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46197 * Makeconfig (default-abi): New macro.
46198 (abi-includes): Likewise.
46199 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
46200 $(abi-$(default-abi)-lib-soname) for soname if defined.
46201 ($(common-objpfx)gnu/lib-names.stmp): Generate from
46203 * Makefile (installed-stubs): Likewise.
46204 * include/stubs-biarch.h: Removed.
46205 * scripts/lib-names.awk: Only handle one library at a time.
46206 * scripts/soversions.awk: Remove WORDSIZE support.
46207 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46209 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46211 (syscall-list-default-condition): Likewise.
46212 (syscall-list-default-condition): Likewise.
46213 (syscall-list-includes): Likewise.
46214 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46215 syscall-list-* with abi-*. Handle undefined abi-variants.
46216 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46217 * sysdeps/unix/sysv/linux/i386/Implies: New file.
46218 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46219 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46220 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46221 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46223 (syscall-list-32-options): Likewise.
46224 (syscall-list-32-condition): Likewise.
46225 (syscall-list-64-options): Likewise.
46226 (syscall-list-64-condition): Likewise.
46227 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46229 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46232 (abi-64-ld-soname): New macro.
46233 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46234 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46237 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46238 * sysdeps/x86_64/x32/shlib-versions: Likewise.
46240 2012-05-30 Joseph Myers <joseph@codesourcery.com>
46242 * sysdeps/unix/sysv/linux/kernel-features.h
46243 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46244 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46245 include <kernel-features.h>.
46246 [!__NR_ftruncate64]: Remove conditional code.
46247 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46248 [__NR_ftruncate64]: Make code unconditional.
46249 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46250 * sysdeps/unix/sysv/linux/truncate64.c: Do not
46251 include <kernel-features.h>.
46252 [!__NR_ftruncate64]: Remove conditional code.
46253 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46254 [__NR_ftruncate64]: Make code unconditional.
46255 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46257 include <kernel-features.h>.
46258 [!__NR_ftruncate64]: Remove conditional code.
46259 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46260 [__NR_ftruncate64]: Make code unconditional.
46261 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46263 include <kernel-features.h>.
46264 [!__NR_ftruncate64]: Remove conditional code.
46265 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46266 [__NR_ftruncate64]: Make code unconditional.
46267 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46269 * configure.in (libc_cv_fpie): Weaken to a compile test using
46270 LIBC_TRY_CC_OPTION.
46271 * configure: Regenerated.
46273 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46288 2012-05-27 David S. Miller <davem@davemloft.net>
46290 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46292 (__Q_simulate_exceptions): Return void. Change to simulate
46293 exceptions by writing into the %fsr.
46294 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46295 (__Qp_handle_exceptions): Likewise.
46297 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46298 __Qp_handle_exceptions.
46299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46300 __Qp_handle_exceptions.
46301 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46302 as unused and give dummy FP_RND_NEAREST initializer.
46303 (FP_INHIBIT_RESULTS): Define.
46304 (___Q_simulate_exceptions): Update declaration.
46305 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46307 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46308 as unused and give dummy FP_RND_NEAREST initializer.
46309 (__Qp_handle_exceptions): Update declaration.
46310 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46313 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
46315 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46316 the temporary FPU control word.
46317 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46318 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46319 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46320 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46321 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46322 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46323 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46324 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46325 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46326 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46327 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46329 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46331 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46334 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
46336 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46337 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46338 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46339 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46341 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46342 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46345 2012-05-27 Ulrich Drepper <drepper@gmail.com>
46347 * po/h.po: Update from translation team.
46349 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
46351 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46353 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46354 handling of denormals.
46355 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46356 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46357 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46358 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46359 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46360 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46361 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46364 2012-05-26 Marek Polacek <polacek@redhat.com>
46367 * math/libm-test.inc (fma_test): Don't always expect underflow
46370 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46373 * elf/tst-execstack.c: Include stackinfo.h.
46374 (do_test): Adjust test case to ensure that pthread_getattr_np
46375 behaviour remains the same after marking stack executable.
46377 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46379 * sysdeps/unix/sysv/linux/kernel-features.h
46380 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46381 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46383 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46384 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46385 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46387 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46388 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46390 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
46392 * configure.in: Define the default includes to being none.
46393 * configure: Regenerated.
46395 2012-05-25 Roland McGrath <roland@hack.frob.com>
46397 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46398 * sysdeps/x86_64/setjmp.S: Likewise.
46399 * sysdeps/i386/bsd-setjmp.S: Likewise.
46400 * sysdeps/i386/bsd-_setjmp.S: Likewise.
46401 * sysdeps/i386/setjmp.S: Likewise.
46402 * sysdeps/i386/__longjmp.S: Likewise.
46403 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46404 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46406 * include/stap-probe.h: New file.
46407 * configure.in: Handle --enable-systemtap.
46408 * configure: Regenerated.
46409 * config.h.in (USE_STAP_PROBE): New #undef.
46410 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46411 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46412 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46414 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46417 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46418 to 2.4.0 where earlier.
46419 * sysdeps/unix/sysv/linux/configure: Regenerated.
46420 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46421 <kernel-features.h>.
46422 [__ASSUME_32BITUIDS]: Make code unconditional.
46423 [!__ASSUME_32BITUIDS]: Remove conditional code.
46424 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46425 <kernel-features.h>.
46426 [__ASSUME_32BITUIDS]: Make code unconditional.
46427 [!__ASSUME_32BITUIDS]: Remove conditional code.
46428 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46429 [__ASSUME_32BITUIDS]: Make code unconditional.
46430 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46431 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46432 <kernel-features.h>.
46433 [__ASSUME_32BITUIDS]: Make code unconditional.
46434 [!__ASSUME_32BITUIDS]: Remove conditional code.
46435 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46436 <kernel-features.h>.
46437 [__ASSUME_32BITUIDS]: Make code unconditional.
46438 [!__ASSUME_32BITUIDS]: Remove conditional code.
46439 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46440 <kernel-features.h>.
46441 [__ASSUME_32BITUIDS]: Make code unconditional.
46442 [!__ASSUME_32BITUIDS]: Remove conditional code.
46443 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46444 <kernel-features.h>.
46445 [__ASSUME_32BITUIDS]: Make code unconditional.
46446 [!__ASSUME_32BITUIDS]: Remove conditional code.
46447 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46448 <kernel-features.h>.
46449 [__ASSUME_32BITUIDS]: Make code unconditional.
46450 [!__ASSUME_32BITUIDS]: Remove conditional code.
46451 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46452 <kernel-features.h>.
46453 [__ASSUME_32BITUIDS]: Make code unconditional.
46454 [!__ASSUME_32BITUIDS]: Remove conditional code.
46455 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46456 <kernel-features.h>.
46457 [__ASSUME_32BITUIDS]: Make code unconditional.
46458 [!__ASSUME_32BITUIDS]: Remove conditional code.
46459 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46460 <kernel-features.h>.
46461 [__ASSUME_32BITUIDS]: Make code unconditional.
46462 [!__ASSUME_32BITUIDS]: Remove conditional code.
46463 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46464 <kernel-features.h>.
46465 [__ASSUME_32BITUIDS]: Make code unconditional.
46466 [!__ASSUME_32BITUIDS]: Remove conditional code.
46467 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46468 <kernel-features.h>.
46469 [__ASSUME_32BITUIDS]: Make code unconditional.
46470 [!__ASSUME_32BITUIDS]: Remove conditional code.
46471 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46472 <kernel-features.h>.
46473 [__NR_setresgid] (__setresgid): Do not declare.
46474 [__ASSUME_32BITUIDS]: Make code unconditional.
46475 [!__ASSUME_32BITUIDS]: Remove conditional code.
46476 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46477 <kernel-features.h>.
46478 [__NR_setresuid] (__setresuid): Do not declare.
46479 [__ASSUME_32BITUIDS]: Make code unconditional.
46480 [!__ASSUME_32BITUIDS]: Remove conditional code.
46481 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46482 <kernel-features.h>.
46483 [__ASSUME_32BITUIDS]: Make code unconditional.
46484 [!__ASSUME_32BITUIDS]: Remove conditional code.
46485 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46486 <kernel-features.h>.
46487 [__ASSUME_32BITUIDS]: Make code unconditional.
46488 [!__ASSUME_32BITUIDS]: Remove conditional code.
46489 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46490 <kernel-features.h>.
46491 [__ASSUME_32BITUIDS]: Make code unconditional.
46492 [!__ASSUME_32BITUIDS]: Remove conditional code.
46493 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46494 <kernel-features.h>.
46495 [__ASSUME_32BITUIDS]: Make code unconditional.
46496 [!__ASSUME_32BITUIDS]: Remove conditional code.
46497 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46498 <kernel-features.h>.
46499 [__ASSUME_32BITUIDS]: Make code unconditional.
46500 [!__ASSUME_32BITUIDS]: Remove conditional code.
46501 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46502 <kernel-features.h>.
46503 [__ASSUME_32BITUIDS]: Make code unconditional.
46504 [!__ASSUME_32BITUIDS]: Remove conditional code.
46505 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46506 <kernel-features.h>.
46507 [__ASSUME_32BITUIDS]: Make code unconditional.
46508 [!__ASSUME_32BITUIDS]: Remove conditional code.
46509 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46510 <kernel-features.h>.
46511 [__ASSUME_32BITUIDS]: Make code unconditional.
46512 [!__ASSUME_32BITUIDS]: Remove conditional code.
46513 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46514 <kernel-features.h>.
46515 [__ASSUME_32BITUIDS]: Make code unconditional.
46516 [!__ASSUME_32BITUIDS]: Remove conditional code.
46517 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46518 <kernel-features.h>.
46519 [__ASSUME_32BITUIDS]: Make code unconditional.
46520 [!__ASSUME_32BITUIDS]: Remove conditional code.
46521 * sysdeps/unix/sysv/linux/kernel-features.h
46522 (__ASSUME_SETRESUID_SYSCALL): Remove.
46523 (__ASSUME_SETRESGID_SYSCALL): Likewise.
46524 (__ASSUME_32BITUIDS): Likewise.
46525 (__ASSUME_LDT_WORKS): Likewise.
46526 (__ASSUME_O_DIRECTORY): Likewise.
46527 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46528 architecture but not kernel version.
46529 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46530 (__ASSUME_MMAP2_SYSCALL): Likewise.
46531 (__ASSUME_STAT64_SYSCALL): Likewise.
46532 (__ASSUME_IPC64): Likewise.
46533 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46534 <kernel-features.h>.
46535 [__ASSUME_32BITUIDS]: Make code unconditional.
46536 [!__ASSUME_32BITUIDS]: Remove conditional code.
46537 * sysdeps/unix/sysv/linux/opendir.c: Do not include
46538 <kernel-features.h>.
46539 [__ASSUME_O_DIRECTORY]: Make code unconditional.
46540 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46541 132096]: Remove conditional code.
46542 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46543 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46544 <kernel-features.h>.
46545 [__ASSUME_32BITUIDS]: Make code unconditional.
46546 [!__ASSUME_32BITUIDS]: Remove conditional code.
46547 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46548 <kernel-features.h>.
46549 [__ASSUME_32BITUIDS]: Make code unconditional.
46550 [!__ASSUME_32BITUIDS]: Remove conditional code.
46551 * sysdeps/unix/sysv/linux/setegid.c: Do not include
46552 <kernel-features.h>.
46553 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46555 (__setresgid): Do not declare.
46556 [__ASSUME_32BITUIDS]: Make code unconditional.
46557 [!__ASSUME_32BITUIDS]: Remove conditional code.
46558 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46559 <kernel-features.h>.
46560 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46562 (__setresuid): Do not declare.
46563 [__ASSUME_32BITUIDS]: Make code unconditional.
46564 [!__ASSUME_32BITUIDS]: Remove conditional code.
46565 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46566 <kernel-features.h>.
46567 [__ASSUME_32BITUIDS]: Make code unconditional.
46568 [!__ASSUME_32BITUIDS]: Remove conditional code.
46569 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46570 <kernel-features.h>.
46571 [__ASSUME_32BITUIDS]: Make code unconditional.
46572 [!__ASSUME_32BITUIDS]: Remove conditional code.
46574 2012-05-25 Richard Henderson <rth@twiddle.net>
46576 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46577 dl_hwcap to ifunc resolver.
46578 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46580 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46581 dl_hwcap to ifunc resolver.
46582 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46584 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46587 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46588 for |x| <= 2**-26, not 2**-57.
46589 * math/libm-test.inc (acos_test): Do not allow spurious underflow
46592 2012-05-24 Jeff Law <law@redhat.com>
46594 * stdio-common/Makefile (tests): Add bug25.
46595 * stdio-common/bug25.c: New test.
46597 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46600 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46601 multiple of MALLOC_ALIGNMENT in size.
46602 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46604 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46606 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46608 (FILENAME_MAX): Use macro-int-constant.
46609 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
46610 (_IOFBF): Use macro-int-constant.
46611 (_IOLBF): Likewise.
46612 (_IONBF): Likewise.
46613 (SEEK_CUR): Likewise.
46614 (SEEK_END): Likewise.
46615 (SEEK_SET): Likewise.
46616 (TMP_MAX): Likewise.
46617 (EOF): Use macro-int-constant. Require < 0.
46618 (NULL): Use macro-constant. Require == 0.
46619 (stdin): Require type to be FILE *.
46620 (stdout): Likewise.
46621 (stderr): Likewise.
46622 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46623 macro-int-constant.
46624 (EXIT_SUCCESS): Likewise.
46625 (NULL): Use macro-constant. Require == 0.
46626 (RAND_MAX): Use macro-int-constant.
46627 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46628 [C99-based standards] (strtof): Require function.
46629 [C99-based standards] (strtold): Likewise.
46630 [C99-based standards] (strtoll): Likewise.
46631 [C99-based standards] (strtoull): Likewise.
46632 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46633 [ISO || ISO99 || ISO11] (limits.h): Likewise.
46634 [ISO || ISO99 || ISO11] (math.h): Likewise.
46635 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46636 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46637 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46639 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
46642 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46643 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46644 * intl/dgettext.c (DCGETTEXT): Likewise.
46645 * intl/gettext.c (DCGETTEXT): Likewise.
46646 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46647 * posix/regex_internal.h (gettext): Likewise.
46648 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46649 Remove declaration.
46650 * include/argz.h (__argz_count_internal)
46651 (__argz_stringify_internal): Remove declaration.
46652 (__argz_count, __argz_stringify): Declare hidden proto.
46653 * intl/dcgettext.c: Remove use of INTDEF.
46654 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46655 * string/argz-stringify.c: Likewise.
46656 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46657 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46658 Declare hidden proto.
46659 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46660 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46661 Declare hidden proto.
46662 * include/stdio.h (__asprintf_internal): Don't declare.
46663 (__asprintf): Don't define as macro. Declare hidden proto.
46664 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46665 (__fsetlocking): Declare hidden proto.
46666 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46667 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46669 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46670 (_IO_setlinebuf): Remove use of INTUSE.
46671 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46672 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46673 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46674 Remove declaration.
46675 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46676 (_IO_do_flush): Remove use of INTUSE.
46677 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46678 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46679 (_IO_adjust_column, _IO_least_wmarker)
46680 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46681 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46682 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46683 (_IO_default_doallocate, _IO_wdefault_doallocate)
46684 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46685 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46686 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46687 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46688 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46689 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46690 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46691 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46692 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46693 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46694 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46695 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46696 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46698 (_IO_flush_all_internal, _IO_adjust_column_internal)
46699 (_IO_default_uflow_internal, _IO_default_finish_internal)
46700 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46701 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46702 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46703 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46704 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46705 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46706 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46707 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46708 (_IO_file_close_internal, _IO_file_close_it_internal)
46709 (_IO_file_underflow_internal, _IO_file_overflow_internal)
46710 (_IO_file_init_internal, _IO_file_attach_internal)
46711 (_IO_file_fopen_internal, _IO_file_read_internal)
46712 (_IO_file_sync_internal, _IO_file_seek_internal)
46713 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46714 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46715 (_IO_str_underflow_internal, _IO_str_overflow_internal)
46716 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46717 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46718 (_IO_list_all_internal, _IO_link_in_internal)
46719 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46720 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46721 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46722 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46723 (_IO_do_write_internal, _IO_padn_internal)
46724 (_IO_getline_info_internal, _IO_getline_internal)
46725 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46726 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46727 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46728 (_IO_vfscanf_internal, _IO_vfprintf_internal)
46729 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46730 (_IO_init_internal, _IO_un_link_internal): Don't declare.
46731 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46732 with libc_hidden_ver, remove use of INTUSE.
46733 * libio/genops.c: Likewise.
46734 * libio/freopen.c: Likewise.
46735 * libio/freopen64.c: Likewise.
46736 * libio/iofclose.c: Likewise.
46737 * libio/iofdopen.c: Likewise.
46738 * libio/iofflush.c: Likewise.
46739 * libio/iofflush_u.c: Likewise.
46740 * libio/iofgets.c: Likewise.
46741 * libio/iofgets_u.c: Likewise.
46742 * libio/iofopen.c: Likewise.
46743 * libio/iofopncook.c: Likewise.
46744 * libio/iofread.c: Likewise.
46745 * libio/iofread_u.c: Likewise.
46746 * libio/ioftell.c: Likewise.
46747 * libio/iofwrite.c: Likewise.
46748 * libio/iogetline.c: Likewise.
46749 * libio/iogets.c: Likewise.
46750 * libio/iogetwline.c: Likewise.
46751 * libio/iopadn.c: Likewise.
46752 * libio/iopopen.c: Likewise.
46753 * libio/ioseekoff.c: Likewise.
46754 * libio/ioseekpos.c: Likewise.
46755 * libio/iosetbuffer.c: Likewise.
46756 * libio/iosetvbuf.c: Likewise.
46757 * libio/ioungetc.c: Likewise.
46758 * libio/ioungetwc.c: Likewise.
46759 * libio/iovdprintf.c: Likewise.
46760 * libio/iovsprintf.c: Likewise.
46761 * libio/iovsscanf.c: Likewise.
46762 * libio/memstream.c: Likewise.
46763 * libio/obprintf.c: Likewise.
46764 * libio/oldfileops.c: Likewise.
46765 * libio/oldiofclose.c: Likewise.
46766 * libio/oldiofdopen.c: Likewise.
46767 * libio/oldiofopen.c: Likewise.
46768 * libio/oldiopopen.c: Likewise.
46769 * libio/oldstdfiles.c: Likewise.
46770 * libio/putc.c: Likewise.
46771 * libio/setbuf.c: Likewise.
46772 * libio/setlinebuf.c: Likewise.
46773 * libio/stdfiles.c: Likewise.
46774 * libio/strops.c: Likewise.
46775 * libio/vasprintf.c: Likewise.
46776 * libio/vscanf.c: Likewise.
46777 * libio/vsnprintf.c: Likewise.
46778 * libio/vswprintf.c: Likewise.
46779 * libio/wfiledoalloc.c: Likewise.
46780 * libio/wfileops.c: Likewise.
46781 * libio/wgenops.c: Likewise.
46782 * libio/wmemstream.c: Likewise.
46783 * libio/wstrops.c: Likewise.
46784 * libio/__fpurge.c: Likewise.
46785 * libio/__fsetlocking.c: Likewise.
46786 * assert/assert.c: Likewise.
46787 * debug/fgets_chk.c: Likewise.
46788 * debug/fgets_u_chk.c: Likewise.
46789 * debug/fread_chk.c: Likewise.
46790 * debug/fread_u_chk.c: Likewise.
46791 * debug/gets_chk.c: Likewise.
46792 * debug/obprintf_chk.c: Likewise.
46793 * debug/vasprintf_chk.c: Likewise.
46794 * debug/vdprintf_chk.c: Likewise.
46795 * debug/vsnprintf_chk.c: Likewise.
46796 * debug/vsprintf_chk.c: Likewise.
46797 * malloc/mtrace.c: Likewise.
46798 * misc/error.c: Likewise.
46799 * misc/syslog.c: Likewise.
46800 * stdio-common/asprintf.c: Likewise.
46801 * stdio-common/fxprintf.c: Likewise.
46802 * stdio-common/getw.c: Likewise.
46803 * stdio-common/isoc99_fscanf.c: Likewise.
46804 * stdio-common/isoc99_scanf.c: Likewise.
46805 * stdio-common/isoc99_vfscanf.c: Likewise.
46806 * stdio-common/isoc99_vscanf.c: Likewise.
46807 * stdio-common/isoc99_vsscanf.c: Likewise.
46808 * stdio-common/printf-prs.c: Likewise.
46809 * stdio-common/printf_fp.c: Likewise.
46810 * stdio-common/printf_fphex.c: Likewise.
46811 * stdio-common/printf_size.c: Likewise.
46812 * stdio-common/putw.c: Likewise.
46813 * stdio-common/scanf.c: Likewise.
46814 * stdio-common/sprintf.c: Likewise.
46815 * stdio-common/tmpfile.c: Likewise.
46816 * stdio-common/vfprintf.c: Likewise.
46817 * stdio-common/vfscanf.c: Likewise.
46818 * stdlib/strfmon_l.c: Likewise.
46819 * sunrpc/openchild.c: Likewise.
46820 * sunrpc/xdr_stdio.c: Likewise.
46821 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46822 * sysdeps/mach/hurd/tmpfile.c: Likewise.
46824 2012-05-24 Roland McGrath <roland@hack.frob.com>
46826 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46828 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46829 in the third column, to generate for the shared library an IFUNC
46830 that uses _dl_vdso_vsym.
46831 * Makerules (COMPILE.c, compile-stdin.c): New variables.
46832 * Makeconfig (object-suffixes-noshared): New variable.
46834 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46835 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46836 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46837 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46840 * include/sys/time.h (__gettimeofday): Remove macro.
46841 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46842 * time/gettimeofday.c (__gettimeofday): Remove #undef.
46844 (__gettimeofday): Add libc_hidden_def.
46845 (gettimeofday): Add libc_hidden_weak.
46846 * sysdeps/mach/gettimeofday.c: Likewise.
46847 * sysdeps/posix/gettimeofday.c: Likewise.
46848 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46849 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46850 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46851 (__gettimeofday_internal): Remove strong_alias.
46852 (__gettimeofday): Add libc_hidden_def.
46853 (gettimeofday): Add libc_hidden_weak.
46854 * sysdeps/unix/syscalls.list (gettimeofday):
46855 Remove __gettimeofday_internal alias.
46857 2012-05-24 Daniel Jacobowitz <drow@false.org>
46858 H.J. Lu <hongjiu.lu@intel.com>
46861 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46862 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46863 (largebin_index_32_big): New.
46864 (largebin_index): Use it for 16-byte alignment.
46865 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
46866 correction with front_misalign.
46868 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46896 * scripts/data/c++-types-x32-linux-gnu.data: New file.
46897 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46899 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46903 * math/libm-test.inc (exp_test): Add test from bug 14036.
46904 (pow_test): Add test from bug 10846.
46906 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46908 (special_function): Do not include flags in test name.
46909 (parse_args): Likewise.
46910 * sysdeps/i386/fpu/libm-test-ulps: Update.
46911 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46912 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46913 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46916 * math/gen-libm-test.pl (%beautify): Add entries for underflow
46918 * math/libm-test.inc ("Philosophy"): Update comment about
46920 (UNDERFLOW_EXCEPTION): New macro.
46921 (UNDERFLOW_EXCEPTION_OK): Likewise.
46922 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46923 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46924 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46925 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46926 (INVALID_EXCEPTION_OK): Update value.
46927 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46928 (OVERFLOW_EXCEPTION_OK): Likewise.
46929 (IGNORE_ZERO_INF_SIGN): Likewise.
46930 (test_exceptions): Handle underflow exceptions.
46931 (acos_test): Update for underflow exception expectations.
46932 (cexp_test): Likewise.
46933 (clog_test): Likewise.
46934 (clog10_test): Likewise.
46935 (csqrt_test): Likewise.
46936 (ctan_test): Likewise.
46937 (ctanh_test): Likewise.
46938 (exp_test): Likewise.
46939 (exp10_test): Likewise.
46940 (exp2_test): Likewise.
46941 (expm1_test): Likewise.
46942 (fma_test): Likewise.
46943 (j0_test): Likewise.
46944 (jn_test): Likewise.
46945 (nexttoward_test): Likewise.
46946 (pow_test): Likewise.
46947 (scalbn_test): Likewise.
46948 (scalbln_test): Likewise.
46949 (tan_test): Likewise.
46950 (y1_test): Likewise.
46951 * sysdeps/i386/fpu/libm-test-ulps: Update.
46952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46954 2012-05-23 David S. Miller <davem@davemloft.net>
46956 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46957 (__libc_sigaction): Remove unused local variables.
46959 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46961 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46963 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
46965 mktime: avoid signed integer overflow
46966 * time/mktime.c (__mktime_internal): Do not mishandle the case
46967 where diff == INT_MIN.
46969 mktime: simplify computation of average
46970 * time/mktime.c (ranged_convert): Use new time_t_avg function
46971 instead of rolling our own (probably-slower) code.
46973 mktime: do not assume signed right shift propagates sign bit
46974 * time/mktime.c (isdst_differ): New static function.
46975 (__mktime_internal): No need to normalize tm_isdst now.
46976 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46979 mktime: merge another wrapv change from gnulib
46980 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46981 from some compilers.
46983 mktime: remove incorrect attempt at unusual arithmetics
46984 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46985 The code didn't really work on such machines anyway.
46986 (TYPE_MINIMUM): Assume two's complement.
46987 (twos_complement_arithmetic): Verify that long_int and time_t
46988 are two's complement (or unsigned, in the latter case).
46990 mktime: check signed shifts on long_int and time_t, too
46991 * time/mktime.c (SHR): Check that shifts work as desired
46992 on the types long_int and time_t too, as SHR is used on
46995 mktime: do not assume 'long' is wide enough
46996 * time/mktime.c (verify): Move decl up.
46997 (long_int): New type.
46998 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46999 to remove assumption in the code that 'long' is wide enough to
47000 store year values. This assumption is not true on x32 and on
47001 some non-glibc platforms.
47003 mktime: merge wrapv change from gnulib
47004 * time/mktime.c (WRAPV): New macro.
47005 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47006 (guess_time_tm, __mktime_internal): Do not assume that signed
47007 integer overflow wraps around; modern compilers generate code
47008 where this assumption is no longer valid.
47010 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47012 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47013 Replace "jmp L(pseudo_end)" with "ret".
47014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47017 2012-05-23 Andreas Jaeger <aj@suse.de>
47019 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47020 * sysdeps/unix/sysv/linux/poll.c: Remove file.
47022 2012-05-23 Andreas Jaeger <aj@suse.de>
47023 Maximilian Attems <max@stro.at>
47025 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47028 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47030 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47031 code so that pseudo_end is just ret and the stack pointer is
47032 correct also for static library in error case.
47034 2012-05-23 Joseph Myers <joseph@codesourcery.com>
47036 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47037 move to syscalls.list.
47038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47043 * manual/install.texi (Running make install): Do not mention Linux
47044 kernel version for which pt_chown is not needed.
47045 (Linux): Do not mention problems with nscd with 2.0 kernels.
47046 * INSTALL: Regenerated.
47048 2012-05-23 Andreas Jaeger <aj@suse.de>
47050 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47051 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47053 * sysdeps/unix/sysv/linux/s390/bits/mman.h
47054 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47055 * sysdeps/unix/sysv/linux/sh/bits/mman.h
47056 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47057 * sysdeps/unix/sysv/linux/i386/bits/mman.h
47058 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47059 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47060 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47061 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47062 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47063 * sysdeps/unix/sysv/linux/bits/in.h
47064 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47066 2012-05-22 Roland McGrath <roland@hack.frob.com>
47068 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47069 (PREPARE_VERSION): Just use assert instead, it will be elided
47070 under [NDEBUG] anyway.
47072 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47074 * sysdeps/unix/sysv/linux/Makefile: Include
47075 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47076 (sysdep_routines): Remove sysctl.
47077 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47078 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47079 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47080 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47081 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47083 2012-05-22 Andreas Jaeger <aj@suse.de>
47085 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47086 that pseudo_end is just ret and the stack pointer is correct also
47087 for static library in error case.
47089 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
47092 * nss/nsswitch.c (defconfig_entries): New variable.
47093 (__nss_database_lookup): Don't leak defconfig entries.
47094 (nss_parse_service_list): Don't leak on error paths.
47095 (free_database_entries): New function.
47096 (free_defconfig): New function.
47097 (free_mem): Move common code to free_database_entries.
47099 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47101 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47103 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47105 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47106 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47107 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47109 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47110 (INTERNAL_SYSCALL_TYPES): Likewise.
47111 (LOAD_ARGS_TYPES_[1-6]): Likewise.
47112 (LOAD_REGS_TYPES_[1-6]): Likewise.
47113 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47114 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47116 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47118 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47119 copysignl for GLIBC_2_0.
47120 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47121 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47122 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47123 logbl for GLIBC_2_0.
47124 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47125 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47127 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47129 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47130 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47132 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47135 * time/mktime.c: Update copyright years.
47137 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
47139 mktime: merge comment-quoting-style change from gnulib
47140 * time/mktime.c: Quote 'like this' in comments.
47141 The GNU coding standards suggest that we no longer quote `like this',
47142 as "`" and "'" are typically rendered asymmetrically nowadays.
47143 The typical gnulib style is to quote 'like this' when quoting
47144 code, and "like this" when quoting English.
47146 * time/mktime.c (compile-command): Add "-I.".
47148 mktime: merge mktime-internal.h change from gnulib
47149 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47151 mktime: merge time_r change from gnulib
47152 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47154 mktime: merge DEBUG change from gnulib
47155 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47156 case system <time.h> has a #define.
47158 mktime: merge <sys/types.h> change from gnulib
47159 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47160 since <time.t> is now guaranteed to define time_t.
47162 mktime: merge HAVE_CONFIG_H change from gnulib
47163 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47165 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47167 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47170 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47172 (struct rusage): Use anonymous union to pad each field to
47175 2012-05-21 David S. Miller <davem@davemloft.net>
47177 * Makefules (o-iterator): Remove .s cases.
47178 (compile-command.s): Delete.
47179 (COMPILE.s): Delete.
47180 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47182 2012-05-21 Joseph Myers <joseph@codesourcery.com>
47184 * configure.in (libc_cv_predef_stack_protector): Only consider
47185 "foobar" and "__stack_chk_fail" lines in libc_undefs.
47186 * configure: Regenerated.
47188 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47191 New macro. Use R*LP on int and pointer.
47192 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47193 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47194 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47195 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47197 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47198 [__WORDSIZE_TIME64_COMPAT32] instead of
47199 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47200 (struct utmp): Likewise.
47201 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47202 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47204 (__WORDSIZE_TIME64_COMPAT32): This.
47205 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47206 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47207 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47208 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47209 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47210 (__WORDSIZE_TIME64_COMPAT32): New macro.
47212 2012-05-21 Andreas Jaeger <aj@suse.de>
47214 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47215 only if [SHARED]. Add prototype for __wcschr_ia32.
47217 2012-05-21 Roland McGrath <roland@hack.frob.com>
47219 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47220 of %rbp unmolested in the jmp_buf while mangling the low bits.
47221 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47222 unmolested high bits of %rbp while demangling the low bits.
47223 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47225 2012-05-21 Andreas Jaeger <aj@suse.de>
47227 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47228 * sunrpc/svc_simple.c: Use it for registerrpc.
47229 * sunrpc/xcrypt.c: Use it for passwd2des.
47231 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47233 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47235 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47236 Don't define if [__SYSCALL_WORDSIZE != 32].
47237 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47240 2012-05-21 Bruno Haible <bruno@clisp.org>
47241 Andreas Jaeger <aj@suse.de>
47243 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47244 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47245 inptr and inend for must_buffer_ch.
47246 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47247 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47248 * stdio-common/Makefile (tests): Remove bug15.
47249 (bug15-ENV): Remove macro.
47250 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47253 2012-05-19 Andreas Jaeger <aj@suse.de>
47254 Roland McGrath <roland@hack.frob.com>
47256 * manual/contrib.texi: Completely rewritten. It contains now an
47257 alphabetical list of contributors and their contributions.
47259 2012-05-21 Richard Henderson <rth@twiddle.net>
47261 * misc/getauxval.c (__getauxval): Use unsigned long int.
47262 * misc/sys/auxv.h: Include <sys/cdefs.h>.
47263 (getauxval): Use unsigned long int.
47265 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47267 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47269 2012-05-21 Roland McGrath <roland@hack.frob.com>
47271 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47272 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47273 __alignof__ (long double).
47275 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47279 2012-05-20 Richard Henderson <rth@twiddle.net>
47281 * misc/getauxval.c: New file.
47282 * misc/sys/auxv.h: New file.
47283 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47284 (routines): Add getauxval.
47285 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47286 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47287 * elf/dl-sysdep.c (_dl_auxv): Remove.
47288 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47289 * elf/dl-support.c (_dl_auxv): New variable.
47290 (_dl_aux_init): Initialize it.
47291 * manual/startup.texi (Auxiliary Vector): New node.
47292 * sysdeps/generic/bits/hwcap.h: New file.
47293 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47294 * sysdeps/powerpc/sysdep.h: ... here. Include it.
47295 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47296 * sysdeps/sparc/sysdep.h: ... here. Include it.
47297 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47298 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47304 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47310 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47314 2012-05-19 David S. Miller <davem@davemloft.net>
47316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47318 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47321 * math/s_ccosh.c: Include <float.h>
47322 (__ccosh): Avoid internal overflow calculating sinh and cosh
47323 values before multiplying by sin and cos values.
47324 * math/s_ccoshf.c: Likewise.
47325 * math/s_ccoshl.c: Likewise.
47326 * math/s_csin.c: Likewise.
47327 * math/s_csinf.c: Likewise.
47328 * math/s_csinl.c: Likewise.
47329 * math/s_csinh.c: Likewise.
47330 * math/s_csinhf.c: Likewise.
47331 * math/s_csinhl.c: Likewise.
47332 * math/libm-test.inc (ccos_test): Add more tests.
47333 (ccosh_test): Likewise.
47334 (csin_test): Likewise.
47335 (csinh_test): Likewise.
47336 * sysdeps/i386/fpu/libm-test-ulps: Update.
47337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47339 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
47341 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47342 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47344 * sysdeps/x86_64/x32/_itoa.h: Add comment.
47346 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47348 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47349 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47350 * sysdeps/powerpc/soft-fp/Versions: Likewise.
47351 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47352 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47353 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47354 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47355 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47356 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47357 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47358 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47359 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47360 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47361 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47362 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47363 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47364 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47365 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47366 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47367 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47368 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47369 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47370 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47371 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47372 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47373 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47374 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47375 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47376 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47377 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47378 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47380 2012-05-18 Andreas Jaeger <aj@suse.de>
47382 * csu/.gitignore: Delete.
47384 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47386 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47387 (timex): Use __syscall_slong_t.
47389 2012-05-18 Andreas Jaeger <aj@suse.de>
47390 Carlos O'Donell <carlos_odonell@mentor.com>
47392 * manual/install.texi (Configuring and compiling): Update
47393 description about files modified in the source directory.
47394 * INSTALL: Regenerated.
47396 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47398 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47399 value. Use "or" to set return value to -1.
47400 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47401 negate return value.
47403 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47405 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47406 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47407 failure if the compiler has Graphite support disabled.
47408 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47410 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47411 (CFLAGS-memmove.c): Likewise.
47412 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47415 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47417 * sysdeps/x86_64/x32/_itoa.h: New file.
47419 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47420 getdents system call only if kernel and user dirents have the
47421 same d_ino and d_off.
47423 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47424 LLONG_MAX != LONG_MAX.
47425 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47426 (_fitoa_word): Likewise.
47428 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47430 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47431 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47432 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47434 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47435 include <bits/wordsize.h>. Check __x86_64__ instead of
47437 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47438 if __x86_64__ is defined. Use anonymous union on fpstate.
47440 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47443 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
47445 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47446 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47447 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47448 Refer to _rtld_local_ro instead of _rtld_global_ro.
47449 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47451 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47453 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47455 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47456 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47457 of _rtld_global, and rtld_progname instead of _dl_argv[0].
47459 * sysdeps/powerpc/powerpc32/dl-machine.c
47460 (__elf_machine_runtime_setup) [PROF]: Don't reference
47463 2012-05-18 Andreas Jaeger <aj@suse.de>
47465 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47466 function only available for GCCs before 3.4 since GCC 3.4
47467 introduced a builtin.
47469 (llrintf): Likewise.
47470 (llrint): Likewise.
47477 (nearbyint): Likewise.
47478 (nearbyintf): Likewise.
47482 (floorf): Likewise.
47484 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47486 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47487 on both fields and cast pointer to __syscall_ulong_t.
47489 * bits/types.h (__fsword_t): New type.
47490 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47491 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47492 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47493 (__FSWORD_T_TYPE): Likewise.
47494 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47495 (__FSWORD_T_TYPE): Likewise.
47496 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47497 (__FSWORD_T_TYPE): Likewise.
47498 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47499 (__FSWORD_T_TYPE): Likewise.
47500 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47501 __SWORD_TYPE with __fsword_t.
47502 (statfs64): Likewise.
47504 2012-05-17 David S. Miller <davem@davemloft.net>
47506 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47508 2012-05-17 Andreas Jaeger <aj@suse.de>
47510 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47513 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47515 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47517 2012-05-17 Andreas Jaeger <aj@suse.de>
47519 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47522 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47524 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47526 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47528 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47529 * sysdeps/x86_64/tst-mallocalign1.c: New file.
47531 2012-05-17 Andreas Jaeger <aj@suse.de>
47532 Carlos O'Donell <carlos_odonell@mentor.com>
47535 * sysdeps/x86_64/multiarch/init-arch.h
47536 (bit_YMM_Usable): Rename to...
47537 (bit_AVX_Usable): ... this.
47538 (bit_FMA4_Usable): New macro.
47539 (bit_XMM_state): New macro.
47540 (bit_YMM_state): New macro.
47541 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47542 [__ASSEMBLER__] (index_AVX_Usable): ... this.
47543 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47544 (CPUID_OSXSAVE): New macro.
47545 (CPUID_AVX): New macro.
47546 (CPUID_FMA4): New macro.
47547 (index_YMM_Usable): Rename to...
47548 (index_AVX_Usable): ... this.
47549 (HAS_AVX): Use HAS_ARCH_FEATURE.
47550 (HAS_FMA4): Likewise.
47551 (HAS_YMM_USABLE): Remove.
47552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47553 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47555 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47556 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47557 * sysdeps/x86_64/multiarch/Makefile: Likewise.
47558 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47559 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47561 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47563 * math/libm-test.c: Support platforms without multiple rounding modes.
47564 * math/bug-nextafter.c: Support platforms without FP exceptions.
47565 * math/bug-nexttoward.c: Likewise.
47566 * math/test-fenv.c: Likewise.
47567 * math/test-misc.c: Likewise.
47568 * stdlib/bug-getcontext.c: Likewise.
47570 2012-05-17 Andreas Jaeger <aj@suse.de>
47572 * manual/examples/search.c (critter_cmp): Change signature to
47574 * manual/string.texi (Collation Functions): Likewise.
47576 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47578 * bits/types.h: Fold copyright years.
47579 * bits/typesizes.h: Likewise.
47580 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47581 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47582 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47583 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47584 * time/time.h: Likewise.
47586 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
47589 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47590 in instead of returning them. Return void.
47591 (__libc_mallinfo): Accumulate over all arenas.
47592 (__malloc_stats): Adjust for change in int_mallinfo interface.
47594 2012-05-16 Roland McGrath <roland@hack.frob.com>
47597 * configure.in (NM): Add AC_CHECK_TOOL for it.
47598 (libc_extra_cflags): New substituted variable.
47599 Check for -fstack-protector being used implicitly.
47600 * configure: Regenerated.
47601 * config.make.in (config-extra-cflags): New variable,
47602 gets @libc_extra_cflags@.
47603 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47606 * configure.in: Check for _FORTIFY_SOURCE being predefined.
47607 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47608 * configure: Regenerated.
47609 * config.make.in (CPPUNDEFS): New substituted variable.
47610 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47611 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47612 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47614 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47616 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47617 (mq_attr): Use __syscall_slong_t.
47619 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47621 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47622 Check __x86_64__ instead of __WORDSIZE.
47623 (_STAT_VER_LINUX): Likewise.
47624 (stat): Check __x86_64__ instead of __WORDSIZE. Use
47625 __syscall_ulong_t and __syscall_slong_t.
47626 (stat64): Likewise.
47628 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47630 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47632 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47634 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47636 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47638 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47641 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47642 include <bits/wordsize.h>. Check __x86_64__ instead of
47644 (greg_t): Use "__extension__ long long int" if __x86_64__ is
47646 (mcontext_t): Replace "unsigned long" with "unsigned long long".
47648 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47649 include <bits/wordsize.h>. Check __x86_64__ instead of
47651 (user_regs_struct): Use "__extension__ unsigned long long"
47652 instead of "unsigned long" if __x86_64__ is defined.
47653 (user): Likewise. Pad after pointer field if __ILP32__ is
47656 2012-05-16 Joseph Myers <joseph@codesourcery.com>
47658 * configure.in (makeinfo): Require version 4.5 or later. Allow
47660 * configure: Regenerated.
47661 * manual/install.texi (texinfo): Increase version requirement to
47663 * INSTALL: Regenerated.
47665 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47667 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47669 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47671 * sysdeps/x86_64/x32/ffs.c: New file.
47673 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47675 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47676 defined. Use __syscall_ulong_t.
47677 (shminfo): Use __syscall_ulong_t.
47678 (shm_info): Likewise.
47680 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47683 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47685 (msgqnum_t): Use __syscall_ulong_t.
47686 (msglen_t): Likewise.
47687 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
47690 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47691 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47693 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47695 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47696 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47698 * sysvipc/sys/msg.h (msgbuf): Replace long int with
47701 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47702 include <bits/wordsize.h>. Check __x86_64__ instead of
47705 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47706 "unsigned long long int" if __x86_64__ is defined.
47707 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47709 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47710 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47711 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47713 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47715 (GET_PC): Cast to uintptr_t first.
47716 (GET_FRAME): Likewise.
47717 (GET_STACK): Likewise.
47719 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47720 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47721 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47722 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47723 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47724 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47725 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47726 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47727 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47728 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47729 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47730 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47731 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47732 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47733 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47734 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47735 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47736 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47737 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47738 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47739 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47740 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47741 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47742 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47743 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47744 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47745 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47746 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47747 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47749 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
47751 * Makerules (+depfiles): Also collect depfiles from .oS in
47753 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47754 .oS, $(libnldbl-routines)).
47756 * Makerules (native-compile-mkdep-flags): Define.
47757 * sunrpc/Makefile (extra-objs): Add $(addprefix
47758 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47759 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47760 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
47761 calling $(make-target-directory).
47763 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47765 * bits/types.h (__snseconds_t): Removed.
47766 * time/time.h (struct timespec): Replace __snseconds_t with
47768 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47769 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47771 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47772 (__SNSECONDS_T_TYPE): Likewise.
47773 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47774 (__SNSECONDS_T_TYPE): Likewise.
47775 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47776 (__SNSECONDS_T_TYPE): Likewise.
47778 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47780 * sysdeps/mach/hurd/bits/typesizes.h
47781 (__SYSCALL_SLONG_TYPE): New macro.
47782 (__SYSCALL_ULONG_TYPE): Likewise.
47784 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47786 * bits/types.h (__syscall_slong_t): New type.
47787 (__syscall_ulong_t): Likewise.
47789 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47790 (__SYSCALL_ULONG_TYPE): Likewise.
47791 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47792 (__SYSCALL_SLONG_TYPE): Likewise.
47793 (__SYSCALL_ULONG_TYPE): Likewise.
47794 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47795 (__SYSCALL_SLONG_TYPE): Likewise.
47796 (__SYSCALL_ULONG_TYPE): Likewise.
47797 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47798 (__SYSCALL_SLONG_TYPE): Likewise.
47799 (__SYSCALL_ULONG_TYPE): Likewise.
47801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47803 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47804 Add sigaltstack-offsets.sym.
47805 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47806 <sigaltstack-offsets.h>.
47807 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
47808 longjmp_msg pointer.
47809 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
47810 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47812 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47814 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47816 * elf/stackguard-macros.h: Remove file.
47817 * sysdeps/generic/stackguard-macros.h: New file.
47818 * sysdeps/i386/stackguard-macros.h: Likewise.
47819 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47820 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47821 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47822 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47823 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47824 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47825 * sysdeps/x86_64/stackguard-macros.h: Likewise.
47826 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47827 <elf/stackguard-macros.h>.
47830 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47831 __aligned__ in attribute.
47832 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47833 (gregset_t): Likewise.
47835 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47837 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47838 * sysdeps/x86_64/64/Implies-after: Here. New file.
47839 * sysdeps/x86_64/x32/Implies-after: New file.
47841 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47843 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47844 and access return value for _dl_profile_fixup. Use R10_LP to
47847 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47849 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47851 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47853 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47854 * sysdeps/x86_64/x32/sysdep.h: New file.
47856 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47858 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47859 * sysdeps/x86_64/setjmp.S: Likewise.
47861 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47863 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47864 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47865 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47866 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47867 remove unused global constant.
47869 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
47871 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47872 include of <not-cancel.h>.
47874 2012-05-15 Roland McGrath <roland@hack.frob.com>
47876 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47878 2012-05-15 Jeff Law <law@redhat.com>
47879 Andreas Jaeger <aj@suse.de>
47882 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47884 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47885 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47886 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47887 code changing __hst_map_handle.map.
47889 2012-05-15 Roland McGrath <roland@hack.frob.com>
47891 * configure.in (sysnames): Look for Implies-before and Implies-after
47893 * configure: Regenerated.
47895 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47897 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47898 8-byte data alignment with LP_SIZE alignment.
47900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47902 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47907 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47909 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47911 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47912 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47913 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47915 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47919 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47920 (stackinfo_sub_sp): Likewise.
47922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47924 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47929 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47934 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47937 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47939 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47941 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47943 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47944 into R11_LP and load __x86_64_shared_cache_size_half into
47947 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47949 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47952 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47954 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47956 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47958 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47960 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47961 powerpc32/power7/fpu/s_logb.c via #include.
47962 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47963 powerpc32/power7/fpu/s_logbf.c via #include.
47964 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47965 powerpc32/power7/fpu/s_logbl.c via #include.
47967 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47969 * README.libm: Remove file.
47971 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47973 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47974 count for x32. Use R*_LP and omit operand-size suffix.
47976 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47978 * shlib-versions: Move x86_64-.*-linux.* entries to ...
47979 * sysdeps/x86_64/64/shlib-versions: Here. New file.
47980 * sysdeps/x86_64/x32/shlib-versions: New file.
47982 2012-05-14 Roland McGrath <roland@hack.frob.com>
47984 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47985 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47986 Use _dl_fatal_printf instead.
47988 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47990 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47991 set if not set by the user. Do not allow for being unset.
47992 * sysdeps/unix/sysv/linux/configure: Regenerated.
47994 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47996 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47997 the `q' suffix from lea and replace .quad with ASM_ADDR.
47999 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48001 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48002 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
48004 (PTR_DEMANGLE): Likewise.
48006 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48008 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48010 (ASM_ADDR): Likewise.
48011 (RAX_LP): Likewise.
48012 (RBP_LP): Likewise.
48013 (RBX_LP): Likewise.
48014 (RCX_LP): Likewise.
48015 (RDI_LP): Likewise.
48016 (RSI_LP): Likewise.
48017 (RSP_LP): Likewise.
48020 (R10_LP): Likewise.
48021 (R10_LP): Likewise.
48022 (R11_LP): Likewise.
48023 (R12_LP): Likewise.
48024 (R13_LP): Likewise.
48025 (R14_LP): Likewise.
48026 (R15_LP): Likewise.
48028 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48030 * sysdeps/x86_64/x32/dl-machine.h: New file.
48032 2012-05-14 Andreas Jaeger <aj@suse.de>
48034 * manual/Makefile (subdir): Remove export of subdir.
48035 (all): Remove target.
48036 (.PHONY): Remove all from list.
48037 (mkinstalldirs): Remove.
48038 (.PHONY): Remove installdirs from list.
48039 ($(inst_infodir)/libc.info): Use make-target-directory.
48040 (installdirs): Remove.
48041 (subdir_%): Remove.
48042 (glibc-targets): Remove.
48045 ($(objpfx)stubs ../po/manual.pot): Remove.
48046 ($(objpfx)stamp%): Remove.
48047 (make-target-directory): Remove.
48048 (subdir_install): Remove.
48049 (routines): Remove.
48056 * manual/.gitignore: Remove, it's not needed anymore.
48057 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48059 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48061 (texis): Renamed to $(objpfx)texis.
48062 (texis-path): New, contains path to generated files.
48063 (chapters.%): Use texis-path for complete path, add extra argument
48065 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48066 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48067 (summary,texi, stamp-summary): Use complete path of
48068 files. Generate files in build dir.
48069 (dir-add.texi): Build in build dir.
48070 (libm-err.texi,stamp-libm-err): Likewise.
48071 (version.texi, stamp-version): Likewise.
48072 (.%c.texi): Likewise.
48073 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48074 (mostlyclean): Remove target.
48075 (realclean): Remove target.
48076 (generated): Add new variable with contents from mostlyclean and
48077 realclean, remove entries duplicated in common-mostlyclean, add
48078 stamp-libm-err and stamp-version.
48079 (generated-dirs): Add libc directory.
48080 ($(inst_infodir)/libc.info): Install files from build dir.
48082 * manual/install.texi (Configuring and compiling): Adjust since
48083 the info files are not part of the tar ball anymore.
48085 2012-05-14 Andreas Jaeger <aj@suse.de>
48087 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48090 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48093 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48094 to 2.2.0 where earlier.
48095 * sysdeps/unix/sysv/linux/configure: Regenerated.
48096 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48097 Remove conditional code.
48098 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48099 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48100 Remove conditional code.
48101 [!__NR_lchown]: Likewise.
48102 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48103 [__NR_lchown]: Likewise.
48104 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48105 comment referencing __ASSUME_LCHOWN_SYSCALL.
48106 * sysdeps/unix/sysv/linux/i386/sigaction.c
48107 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48108 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48109 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48110 Remove conditional code.
48111 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48112 (__protocol_available): Remove #if 0 code.
48113 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48115 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48116 * sysdeps/unix/sysv/linux/kernel-features.h
48117 (__ASSUME_GETCWD_SYSCALL): Don't define.
48118 (__ASSUME_REALTIME_SIGNALS): Likewise.
48119 (__ASSUME_PREAD_SYSCALL): Likewise.
48120 (__ASSUME_PWRITE_SYSCALL): Likewise.
48121 (__ASSUME_POLL_SYSCALL): Likewise.
48122 (__ASSUME_LCHOWN_SYSCALL): Likewise.
48123 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48125 (__ASSUME_SIOCGIFNAME): Don't define.
48126 (__ASSUME_MSG_NOSIGNAL): Likewise.
48127 (__ASSUME_SENDFILE): Define unconditionally.
48128 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48129 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48131 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48132 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48133 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48134 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48135 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48136 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48137 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48139 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48140 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48142 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48143 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48145 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48146 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48148 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48151 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48152 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48154 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48155 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48157 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48158 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48160 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48161 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48162 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48163 Remove conditional code.
48164 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48165 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48166 Remove conditional code.
48167 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48168 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48169 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48170 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48171 Remove conditional code.
48172 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48173 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48174 Remove conditional code.
48175 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48176 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48177 Remove conditional code.
48178 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48179 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48180 Remove conditional code.
48181 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48182 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48183 Remove conditional code.
48184 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48185 * sysdeps/unix/sysv/linux/sh/pwrite64.c
48186 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48187 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48188 * sysdeps/unix/sysv/linux/sigaction.c
48189 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48190 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48191 * sysdeps/unix/sysv/linux/sigpending.c
48192 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48193 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48194 * sysdeps/unix/sysv/linux/sigprocmask.c
48195 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48196 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48197 * sysdeps/unix/sysv/linux/sigsuspend.c
48198 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48199 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48200 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48201 (__libc_missing_rt_sigs): Remove.
48202 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48203 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48204 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48205 Remove conditional code.
48206 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48207 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48209 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48210 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48211 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48212 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48214 2012-05-14 Andreas Jaeger <aj@suse.de>
48216 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48217 it's not used in glibc.
48218 (__coshm1): Likewise.
48219 (__acosh1p): Likewise.
48222 * manual/string.texi (Copying and Concatenation): Add missing
48223 variable in concat example.
48224 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48226 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48229 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48230 __builtin_clzl with __builtin_clzll.
48232 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48235 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48238 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48240 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48241 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48242 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48243 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48245 2012-05-14 Mike Frysinger <vapier@gentoo.org>
48247 * NEWS: Update ia64 info.
48249 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
48251 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48254 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
48256 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48257 * sysdeps/unix/syscalls.list (dup3): Likewise.
48258 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48259 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48261 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
48263 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48264 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48266 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
48268 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48270 (TLS_IE): Use mov/add instead of movq/addq to load thread
48272 (TLS_GD_PREFIX): New.
48275 2012-05-11 David S. Miller <davem@davemloft.net>
48277 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48278 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48279 (_FPU_SETCW): Likewise.
48281 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48283 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48284 is 32-byte aligned.
48286 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
48289 * iconvdata/gb18030.c: Update tables.
48290 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
48291 characters specially.
48292 (BODY for TO_LOOP): Add encoding of missing ranges.
48294 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
48297 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48298 * sysdeps/mach/hurd/dup3.c: Likewise.
48299 * sysdeps/mach/hurd/readlinkat.c: Likewise.
48300 * sysdeps/powerpc/memmove.c:: Likewise.
48302 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48304 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48305 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48307 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48309 * elf/elf.h (R_X86_64_RELATIVE64): New.
48310 (R_X86_64_NUM): Updated.
48311 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48312 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
48313 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48314 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48315 tst-quad1pie tst-quad2pie
48316 (modules-names): Add tst-quadmod1 tst-quadmod2.
48317 ($(objpfx)tst-quad1): New dependency.
48318 ($(objpfx)tst-quad2): Likewise.
48319 ($(objpfx)tst-quad1pie): Likewise.
48320 ($(objpfx)tst-quad2pie): Likewise.
48321 * sysdeps/x86_64/tst-quad1.c: New file.
48322 * sysdeps/x86_64/tst-quad1pie.c: New file.
48323 * sysdeps/x86_64/tst-quad2.c: Likewise.
48324 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48325 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48326 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48327 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48328 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48330 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48332 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48333 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48334 * streams/stropts.h (t_scalar_t): Define type.
48336 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48337 (_PATH_PRESERVE): Set to "/var/lib".
48338 (_PATH_RWHODIR): Set to "/var/spool/rwho".
48340 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48343 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48344 if __dir_mkfile succeeded.
48346 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48347 checking for _hurd_dtablesize. Unlock it right after having
48348 finished _hurd_dtable allocation.
48350 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48352 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48353 * sysdeps/mach/hurd/configure: Regenerated.
48354 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48355 special-casing to...
48356 * sysdeps/gnu/configure.in: ... this new file.
48357 * sysdeps/unix/sysv/linux/configure: Regenerated.
48358 * sysdeps/gnu/configure: New generated file.
48360 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48361 for Linux: use nsec instead of usec, as well as:
48362 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48363 members of type struct timespec.
48364 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48366 (struct stat64): Likewise.
48367 (_STATBUF_ST_NSEC): New macro.
48368 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48370 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48371 __strtoul_internal rather than strtoul.
48373 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48375 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48378 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48380 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48381 which preserves existing values.
48382 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48384 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48386 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48387 TIMEOUT values. Return EINVAL for NFDS values either negative or
48388 greater than FD_SETSIZE.
48390 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48392 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48393 allocated, call __vm_protect to finish enabling the existing space, and
48394 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48395 allocate the remainder.
48397 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48399 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48400 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
48402 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48404 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48405 sysdeps/mach/hurd/readlink.c.
48407 * posix/tst-sysconf.c (posix_options): Only use
48408 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48409 _POSIX_SYNCHRONIZED_IO when they are defined
48410 * sysdeps/mach/hurd/bits/posix_opt.h:
48411 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48412 (_XOPEN_REALTIME): Undefine macro.
48413 (_XOPEN_REALTIME_THREADS): Undefine macro.
48414 (_XOPEN_SHM): Undefine macro.
48415 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48417 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48419 (_POSIX_ASYNC_IO): Undefine macro.
48420 (_POSIX_PRIORITIZED_IO): Undefine macro.
48421 (_POSIX_SPIN_LOCKS): Define macro to -1.
48423 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48424 SA_NODEFER, SA_RESETHAND.
48425 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48426 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48429 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48431 * elf/Makefile (pldd-modules): Define unconditionally.
48433 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48435 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48437 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48439 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48440 Return ENOENT when name is empty.
48441 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48443 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48445 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48447 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48449 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48451 Fix mlock in all cases except non-readable pages.
48452 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48453 instead of VM_PROT_ALL as parameter to __vm_wire function.
48455 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48456 (__mkdir): When path is `/', just fail with EEXIST.
48457 * sysdeps/mach/hurd/mkdirat.c: Likewise.
48459 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48461 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48462 <sys/uio.h> (for writev).
48463 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48464 and <sys/param.h> (for MIN).
48466 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48468 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48469 REQUESTED_TIME. Properly set the remaining time and return EINTR
48472 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48474 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48475 Depend on against $(link-rpcuserlibs).
48477 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48479 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48480 (__libc_stack_end): Do not use attribute_relro.
48481 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48482 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48483 to libthread-provided value.
48484 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48487 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48490 * bits/libc-lock.h (__libc_once_get): New macro.
48491 * sysdeps/mach/bits/libc-lock.h: Likewise.
48492 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48493 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48494 instead of using implementation details.
48496 * libio/fileops.c: Unconditionally include <kernel-features.h>.
48497 * libio/freopen.c: Likewise.
48498 * libio/freopen64.c: Likewise.
48499 * misc/syslog.c: Likewise.
48500 * nscd/connections.c: Likewise.
48501 * nscd/netgroupcache.c: Likewise.
48502 * sysdeps/posix/getcwd.c: Likewise.
48504 2012-05-10 Roland McGrath <roland@hack.frob.com>
48506 * math/w_ilogbf.c: Add #include <limits.h>.
48508 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48510 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48511 path instead of returning without unlocking.
48513 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48514 immediate-write ioctls.
48515 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48517 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48519 * sysdeps/mach/hurd/i386/init-first.c (init): Use
48520 __builtin_frame_address instead of making assumptions about the
48521 location of the return address relative to DATA. Force early load of
48522 the return address.
48523 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48524 __builtin_frame_address.
48527 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48528 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
48529 implement dup3 and do some further code clean-ups.
48530 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48531 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48533 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48535 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48537 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48538 HURD_CRITICAL_END around holding _hurd_dtable_lock.
48539 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48540 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48541 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48544 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48545 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
48546 when handler == SIG_ERR, not when handler != SIG_ERR.
48548 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48550 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48551 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48554 accept4 for GNU Hurd.
48555 * include/sys/socket.h (__libc_accept4): New prototype.
48556 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
48557 to implement __libc_accept4.
48558 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48560 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48562 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48563 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48564 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48565 signal-defines.sym.
48567 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48569 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48571 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48573 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48574 assertion on O_CLOEXEC flag.
48575 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48576 * hurd/intern-fd.c: Likewise.
48577 * hurd/port2fd.c: Likewise.
48579 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48582 * bits/in.h (IPV6_PKTINFO): Define new macro.
48583 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48585 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48590 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48591 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48592 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48593 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48594 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48595 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48596 * math/libm-test.inc (logb_test) : Additional logb tests.
48598 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
48599 Andreas Jaeger <aj@suse.de>
48601 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48602 * configure: Regenerated.
48603 * config.h.in (LINK_OBSOLETE_RPC): New macro.
48604 * config.make.in (link-obsolete-rpc): New substituted variable.
48605 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48606 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48607 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48608 (shared-only-routines): Don't set it under [link-obsolete-rpc],
48609 so that libc.a contains the symbols.
48610 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48611 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48612 * sunrpc/auth_none.c: Likewise.
48613 * sunrpc/auth_unix.c: Likewise.
48614 * sunrpc/authdes_prot.c: Likewise.
48615 * sunrpc/authuxprot.c: Likewise.
48616 * sunrpc/clnt_gen.c: Likewise.
48617 * sunrpc/clnt_perr.c: Likewise.
48618 * sunrpc/clnt_raw.c: Likewise.
48619 * sunrpc/clnt_simp.c: Likewise.
48620 * sunrpc/clnt_tcp.c: Likewise.
48621 * sunrpc/clnt_udp.c: Likewise.
48622 * sunrpc/clnt_unix.c: Likewise.
48623 * sunrpc/des_crypt.c: Likewise.
48624 * sunrpc/des_soft.c: Likewise.
48625 * sunrpc/get_myaddr.c: Likewise.
48626 * sunrpc/key_call.c: Likewise.
48627 * sunrpc/key_prot.c: Likewise.
48628 * sunrpc/netname.c: Likewise.
48629 * sunrpc/pm_getmaps.c: Likewise.
48630 * sunrpc/pm_getport.c: Likewise.
48631 * sunrpc/pmap_clnt.c: Likewise.
48632 * sunrpc/pmap_prot.c: Likewise.
48633 * sunrpc/pmap_prot2.c: Likewise.
48634 * sunrpc/pmap_rmt.c: Likewise.
48635 * sunrpc/publickey.c: Likewise.
48636 * sunrpc/rpc_cmsg.c: Likewise.
48637 * sunrpc/rpc_common.c: Likewise.
48638 * sunrpc/rpc_dtable.c: Likewise.
48639 * sunrpc/rpc_prot.c: Likewise.
48640 * sunrpc/rpc_thread.c: Likewise.
48641 * sunrpc/rtime.c: Likewise.
48642 * sunrpc/svc.c: Likewise.
48643 * sunrpc/svc_auth.c: Likewise.
48644 * sunrpc/svc_raw.c: Likewise.
48645 * sunrpc/svc_run.c: Likewise.
48646 * sunrpc/svc_tcp.c: Likewise.
48647 * sunrpc/svc_udp.c: Likewise.
48648 * sunrpc/svc_unix.c: Likewise.
48649 * sunrpc/svcauth_des.c: Likewise.
48650 * sunrpc/xcrypt.c: Likewise.
48651 * sunrpc/xdr.c: Likewise.
48652 * sunrpc/xdr_array.c: Likewise.
48653 * sunrpc/xdr_float.c: Likewise.
48654 * sunrpc/xdr_intXX_t.c: Likewise.
48655 * sunrpc/xdr_mem.c: Likewise.
48656 * sunrpc/xdr_rec.c: Likewise.
48657 * sunrpc/xdr_ref.c: Likewise.
48658 * sunrpc/xdr_sizeof.c: Likewise.
48659 * sunrpc/xdr_stdio.c: Likewise.
48661 2012-05-10 Roland McGrath <roland@hack.frob.com>
48663 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48664 change. Update copyright years.
48666 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48668 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48670 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
48671 Joseph Myers <joseph@codesourcery.com>
48672 Paul Pluzhnikov <ppluzhnikov@google.com>
48675 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48677 [cross-compiling] (extra-libs): Likewise.
48678 [cross-compiling] (extra-libs-others): Likewise.
48679 [cross-compiling] (librpcsvc-routines): Likewise.
48680 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48681 [cross-compiling] (omit-deps): Likewise.
48682 (sunrpc-CPPFLAGS): New variable.
48683 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48684 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48685 (cross-rpcgen-objs): New variable.
48686 (extra-objs): Append $(cross-rpcgen-objs).
48687 ($(cross-rpcgen-objs)): New rule.
48688 ($(objpfx)cross-rpcgen): Likewise.
48689 (rpcgen-cmd): Define to use $(built-program-file). Expand
48691 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48692 ($(objpfx)x%.stmp): Likewise.
48693 * sunrpc/proto.h [IS_IN_build] (_): Define.
48694 [IS_IN_build] (_libc_intl_domainname): Likewise.
48696 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48698 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48699 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48700 and R_X86_64_TPOFF64.
48702 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48704 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48705 sysdeps/unix/sysv/syscalls.list.
48708 * sysdeps/unix/sysv/syscalls.list: Remove file.
48710 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
48713 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48714 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48715 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48716 (__LC_IDENTIFICATION): Make these macros useful in #if
48717 expressions, as required by C99.
48719 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
48721 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48722 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
48725 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
48727 * stdlib/longlong.h: Updated from GCC.
48729 2012-05-09 Andreas Jaeger <aj@suse.de>
48731 * nscd/nscd.c (run_modes): Make named enum, reorder so that
48732 default is first entry.
48733 (run_mode): Set type.
48734 (main): Remove informal message about syslog.
48735 (options): Fix typo.
48738 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48741 (llrintf): Likewise.
48742 (llrint): Likewise.
48745 (nearbyint): Likewise.
48746 (nearbyintf): Likewise.
48748 2012-05-09 Andreas Jaeger <aj@suse.de>
48749 Pedro Alves <palves@redhat.com>
48751 * nscd/nscd.c (run_mode): Use enum.
48752 (main): Cleanup coding style issue.
48754 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
48755 Andreas Jaeger <aj@suse.de>
48757 * nscd/nscd.c (go_background): Replaced with...
48758 (run_mode): ... this.
48759 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48760 (options): Add -F --foreground.
48761 (main): Implement it.
48762 (parse_opt): Parse it.
48764 2012-05-09 Andreas Jaeger <aj@suse.de>
48767 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48768 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48769 -Wconversion warning.
48770 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48773 2012-05-09 Joseph Myers <joseph@codesourcery.com>
48775 * conform/data/locale.h-data (NULL): Use macro-constant. Require
48777 (LC_ALL): Use macro-int-constant.
48778 (LC_COLLATE): Likewise.
48779 (LC_CTYPE): Likewise.
48780 (LC_MESSAGES): Likewise.
48781 (LC_MONETARY): Likewise.
48782 (LC_NUMERIC): Likewise.
48783 (LC_TIME): Likewise.
48784 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48785 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48786 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48787 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48789 [C99-based standards] (float_t): Expect type.
48790 [C99-based standards] (double_t): Expect type.
48791 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
48793 [C99-based standards] (HUGE_VALL): Likewise.
48794 [C99-based standards] (INFINITY): Likewise.
48795 [C99-based standards] (NAN): Likewise.
48796 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48797 [C99-based standards] (FP_NAN): Likewise.
48798 [C99-based standards] (FP_NORMAL): Likewise.
48799 [C99-based standards] (FP_SUBNORMAL): Likewise.
48800 [C99-based standards] (FP_ZERO): Likewise.
48801 [C99-based standards] (FP_FAST_FMA): Use
48802 optional-macro-int-constant. Specify type. Require == 1.
48803 [C99-based standards] (FP_FAST_FMAF): Likewise.
48804 [C99-based standards] (FP_FAST_FMAL): Likewise.
48805 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48806 [C99-based standards] (FP_ILOGBNAN): Likewise.
48807 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48809 [C99-based standards] (MATH_ERREXCEPT): Likewise.
48810 [C99-based standards] (math_errhandling): Specify type.
48811 [ISO99 || ISO11] (signgam): Do not allow.
48812 [non-C99-based standards] (copysignf): Do not allow.
48813 [non-C99-based standards] (exp2f): Likewise.
48814 [non-C99-based standards] (log2f): Likewise.
48815 [non-C99-based standards] (modff): Allow.
48816 [non-C99-based standards] (erff): Do not allow.
48817 [non-C99-based standards] (erfcf): Likewise.
48818 [non-C99-based standards] (gammaf): Likewise.
48819 [non-C99-based standards] (hypotf): Likewise.
48820 [non-C99-based standards] (j0f): Likewise.
48821 [non-C99-based standards] (j1f): Likewise.
48822 [non-C99-based standards] (jnf): Likewise.
48823 [non-C99-based standards] (lgammaf): Likewise.
48824 [non-C99-based standards] (tgammaf): Likewise.
48825 [non-C99-based standards] (y0f): Likewise.
48826 [non-C99-based standards] (y1f): Likewise.
48827 [non-C99-based standards] (ynf): Likewise.
48828 [non-C99-based standards] (isnanf): Likewise.
48829 [non-C99-based standards] (acoshf): Likewise.
48830 [non-C99-based standards] (asinhf): Likewise.
48831 [non-C99-based standards] (atanhf): Likewise.
48832 [non-C99-based standards] (cbrtf): Likewise.
48833 [non-C99-based standards] (expm1f): Likewise.
48834 [non-C99-based standards] (ilogbf): Likewise.
48835 [non-C99-based standards] (log1pf): Likewise.
48836 [non-C99-based standards] (logbf): Likewise.
48837 [non-C99-based standards] (nextafterf): Likewise.
48838 [non-C99-based standards] (remainderf): Likewise.
48839 [non-C99-based standards] (rintf): Likewise.
48840 [non-C99-based standards] (scalbf): Likewise.
48841 [non-C99-based standards] (copysignl): Likewise.
48842 [non-C99-based standards] (exp2l): Likewise.
48843 [non-C99-based standards] (log2l): Likewise.
48844 [non-C99-based standards] (modfl): Allow.
48845 [non-C99-based standards] (erfl): Do not allow.
48846 [non-C99-based standards] (erfcl): Likewise.
48847 [non-C99-based standards] (gammal): Likewise.
48848 [non-C99-based standards] (hypotl): Likewise.
48849 [non-C99-based standards] (j0l): Likewise.
48850 [non-C99-based standards] (j1l): Likewise.
48851 [non-C99-based standards] (jnl): Likewise.
48852 [non-C99-based standards] (lgammal): Likewise.
48853 [non-C99-based standards] (tgammal): Likewise.
48854 [non-C99-based standards] (y0l): Likewise.
48855 [non-C99-based standards] (y1l): Likewise.
48856 [non-C99-based standards] (ynl): Likewise.
48857 [non-C99-based standards] (isnanl): Likewise.
48858 [non-C99-based standards] (acoshl): Likewise.
48859 [non-C99-based standards] (asinhl): Likewise.
48860 [non-C99-based standards] (atanhl): Likewise.
48861 [non-C99-based standards] (cbrtl): Likewise.
48862 [non-C99-based standards] (expm1l): Likewise.
48863 [non-C99-based standards] (ilogbl): Likewise.
48864 [non-C99-based standards] (log1pl): Likewise.
48865 [non-C99-based standards] (logbl): Likewise.
48866 [non-C99-based standards] (nextafterl): Likewise.
48867 [non-C99-based standards] (remainderl): Likewise.
48868 [non-C99-based standards] (rintl): Likewise.
48869 [non-C99-based standards] (scalbl): Likewise.
48870 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48871 [non-C99-based standards] (FP_*): Do not allow.
48872 [C99-based standards] (FP_*): Change to
48873 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48874 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48876 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48877 (SIG_ERR): Likewise.
48878 [X/Open-based standards] (SIG_HOLD): Likewise.
48879 (SIG_IGN): Likewise.
48880 (SIGABRT): Use macro-int-constant. Specify type. Require
48882 (SIGFPE): Likewise.
48883 (SIGILL): Likewise.
48884 (SIGINT): Likewise.
48885 (SIGSEGV): Likewise.
48886 (SIGTER): Likewise.
48887 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48888 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48889 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48890 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48891 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48892 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48893 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48894 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48895 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48896 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48897 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48898 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48899 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48900 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48901 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48902 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48903 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48904 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48905 [X/Open-based standards] (SIGTRAP): Likewise.
48906 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48907 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48908 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48909 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48910 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48913 2012-05-08 Ian Wienand <ianw@vmware.com>
48916 * time/tzset.c (__tzset_parse_tz): Update default rules for
48917 daylight time changes in the Energy Policy Act of 2005.
48919 2012-05-09 Andreas Jaeger <aj@suse.de>
48922 * elf/ldconfig.c (parse_conf): Change string to make clear that
48923 ldconfig only issued a warning if ld.so.conf does not exist.
48925 2012-05-08 David S. Miller <davem@davemloft.net>
48927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48928 movxtod instead of popping the value on the stack.
48930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48932 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
48934 * config.h.in: Add HAVE_ARM_PCS_VFP.
48936 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
48939 * include/features.h: Warn if user requests __FORTIFY_SOURCE
48940 checking but the checks are disabled for any reason.
48942 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
48944 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48945 and ELF64_R_TYPE with ELFW(R_TYPE).
48947 2012-05-08 Joseph Myers <joseph@codesourcery.com>
48949 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48950 (ulimit): Likewise.
48952 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48953 (settimeofday): Likewise.
48955 2012-05-08 Mike Frysinger <vapier@gentoo.org>
48957 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
48958 a struct th_u2 inside the union, and move tu_block/tu_code into
48959 a new th_u3 union of tu_block/tu_code inside of that. Move
48960 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
48961 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
48962 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48963 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48964 (th_stuff): Change to th_u1.tu_stuff.
48966 (th_msg): Change to th_u1.th_u2.tu_data.
48968 2012-05-07 David S. Miller <davem@davemloft.net>
48970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48973 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48974 (SETUP_PIC_REG): Use it.
48975 (SETUP_PIC_REG_LEAF): Use it.
48977 2012-05-07 Joseph Myers <joseph@codesourcery.com>
48981 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48983 (EXPL_FINITE): Likewise.
48984 (FLDLOG): Likewise.
48985 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48986 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48988 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48990 (EXPL_FINITE): Likewise.
48991 (FLDLOG): Likewise.
48992 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48993 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48995 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
48996 test of -max_value argument for long double.
48997 * sysdeps/i386/fpu/libm-test-ulps: Update.
48998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49000 2012-05-06 David S. Miller <davem@davemloft.net>
49002 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49003 quad soft-float symbols whose references which are compiler
49005 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49007 2012-05-06 Joseph Myers <joseph@codesourcery.com>
49011 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49013 (EXPL_FINITE): Likewise.
49014 (FLDLOG): Likewise.
49017 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49018 Adjust comments for base varying.
49019 (__expl_finite): Change alias to EXPL_FINITE.
49020 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49022 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49023 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49024 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49025 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49026 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49028 (EXPL_FINITE): Likewise.
49029 (FLDLOG): Likewise.
49032 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49033 Adjust comments for base varying.
49034 (__expl_finite): Change alias to EXPL_FINITE.
49035 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
49037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49040 * math/libm-test.inc (check_float_internal): Correct ulp
49041 calculation for subnormal expected results.
49043 2012-05-06 Andreas Jaeger <aj@suse.de>
49045 * Makeconfig (+math-flags): New, set to -frounding-math.
49046 (+cflags): Add +math-flags so that all of glibc gets compiled with
49049 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49051 2012-05-05 Joseph Myers <joseph@codesourcery.com>
49053 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49059 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49060 (__ieee754_expl): Allow for and saturate large arguments.
49061 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49062 (u_threshold): Likewise.
49063 (__exp): Call __ieee754_exp before checking for overflow and
49065 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49066 (u_threshold): Likewise.
49067 (__expf): Call __ieee754_expf before checking for overflow and
49069 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49070 (u_threshold): Likewise.
49071 (__expl): Call __ieee754_expl before checking for overflow and
49073 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49074 (__ieee754_expl): Allow for and saturate large arguments.
49075 * math/libm-test.inc (exp_test): Add another test. Do not allow
49076 missing overflow exception on overflow.
49077 (expm1_test): Do not allow missing overflow exception on overflow.
49079 * sysdeps/i386/fpu/e_expl.c: Move to ...
49080 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
49081 rather than using inline asm.
49082 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49083 * sysdeps/x86_64/fpu/e_expl.S: Copy from
49084 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49086 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49089 (signal): Likewise.
49093 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49095 * sysdeps/unix/syscalls.list (adjtime): Add entry from
49096 sysdeps/unix/common/syscalls.list.
49097 (fchmod): Likewise.
49098 (fchown): Likewise.
49099 (ftruncate): Likewise.
49100 (getrusage): Likewise.
49101 (gettimeofday): Likewise.
49102 (setpgid): Likewise.
49103 (setregid): Likewise.
49104 (setreuid): Likewise.
49105 (sigaction): Likewise.
49106 (truncate): Likewise.
49107 (vhangup): Likewise.
49108 * sysdeps/unix/common/syscalls.list: Remove file.
49109 * sysdeps/unix/bsd/Implies: Don't include unix/common.
49110 * sysdeps/unix/sysv/linux/Implies: Likewise.
49112 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
49114 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49116 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49120 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49123 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49126 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49129 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49132 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49135 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49138 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49142 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49146 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49149 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49153 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49157 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49159 * sysdeps/unix/common/bits/dirent.h: Remove file.
49160 * sysdeps/unix/common/bits/fcntl.h: Likewise.
49162 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49163 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49164 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49165 * sysdeps/unix/bsd/isatty.c: Likewise.
49166 * sysdeps/unix/bsd/tcdrain.c: Likewise.
49167 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49168 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49170 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49173 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49174 long double comparison inaccuracies.
49175 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49178 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
49180 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49181 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49183 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49186 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49187 nonzero digits before rounding a hex value.
49188 * stdlib/tst-strtod.c (tests): Add another test.
49190 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49192 * sysdeps/s390/fpu/libm-test-ulps: Update.
49194 2012-05-03 Andreas Jaeger <aj@suse.de>
49196 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49197 does not get optimized out.
49198 (malloc_opt_barrier): New.
49200 2012-05-03 Andreas Jaeger <aj@suse.de>
49201 Roland McGrath <roland@hack.frob.com>
49203 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49204 intermediate file deletion.
49205 (generated): Add .symlist files.
49207 2012-05-03 Joseph Myers <joseph@codesourcery.com>
49210 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49211 Redirect under this condition.
49212 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49213 [__USE_GNU] (__dprintf_chk): Not under this condition.
49214 [__USE_GNU] (__vdprintf_chk): Likewise.
49215 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49216 under this condition.
49217 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49218 [__USE_XOPEN2K8] (dprintf): Define under this condition.
49219 [__USE_XOPEN2K8] (vdprintf): Likewise.
49220 [__USE_GNU] (__dprintf_chk): Not under this condition.
49221 [__USE_GNU] (__vdprintf_chk): Likewise.
49222 [__USE_GNU] (dprintf): Likewise.
49223 [__USE_GNU] (vdprintf): Likewise.
49225 2012-05-03 Roland McGrath <roland@hack.frob.com>
49227 * elf/Makefile (common-generated): Set this instead of generated for
49228 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
49229 $(all-built-dso)-derived lists.
49231 2012-05-03 Andreas Jaeger <aj@suse.de>
49233 * sysdeps/i386/fpu/libm-test-ulps: Update.
49236 * FAQ.in: Likewise.
49237 * scripts/gen-FAQ.pl: Likewise.
49238 * manual/install.texi (Installation): Point to online location of
49240 * Makefile (files-for-dist): Remove FAQ.
49243 2012-05-02 Allan McRae <allan@archlinux.org>
49245 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49246 (LDFLAGS-reldepmod5.so): Likewise.
49247 (LDFLAGS-reldep6mod1.so): Likewise.
49248 (LDFLAGS-reldep6mod4.so): Likewise.
49249 (LDFLAGS-reldep8mod3.so): Likewise.
49250 (LDFLAGS-unload4mod1.so): Likewise.
49251 (LDFLAGS-unload4mod2.so): Likewise.
49252 (LDFLAGS-tst-initorder): Likewise.
49253 (LDFLAGS-tst-initordera2.so): Likewise.
49254 (LDFLAGS-tst-initordera3.so): Likewise.
49255 (LDFLAGS-tst-initordera4.so): Likewise.
49256 (LDFLAGS-tst-initorderb2.so): Likewise.
49257 (LDFLAGS-noload): Likewise.
49258 (LDFLAGS-next): Likewise.
49259 (LDFLAGS-order2mod1.so): Likewise.
49260 (LDFLAGS-order2mod2.so): Likewise.
49261 (LDFLAGS-tst-initorder2): Likewise.
49262 (LDFLAGS-tst-initorder2a.so): Likewise.
49263 (LDFLAGS-tst-initorder2b.so): Likewise.
49264 (LDFLAGS-tst-initorder2c.so): Likewise.
49265 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49267 2012-05-02 David S. Miller <davem@davemloft.net>
49269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49271 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
49274 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49276 2012-05-02 Andreas Jaeger <aj@suse.de>
49278 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49279 since we manipulate rounding mode.
49280 (CPPFLAGS-test-idouble.c): Likewise.
49281 (CPPFLAGS-test-ifloat.c): Likewise.
49282 (CFLAGS-test-ldouble.c): Likewise.
49283 (CFLAGS-test-double.c): Likewise.
49284 (CFLAGS-test-float.c): Likewise.
49285 (CFLAGS-test-misc.c): Likewise.
49286 (CFLAGS-test-test-fenv.c): Likewise.
49288 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49292 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49293 comparisons to determine direction to adjust input.
49295 2012-05-01 Roland McGrath <roland@hack.frob.com>
49297 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49298 output to the target.
49300 * scripts/localplt.awk: New file.
49301 * elf/Makefile ($(objpfx)check-localplt): Target removed.
49302 (check-localplt-CFLAGS): Variable removed.
49303 ($(all-built-dso:=.jmprel)): New static pattern rule.
49304 (generated): Add those targets.
49305 (localplt-built-dso): New variable.
49306 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49308 * elf/check-localplt.c: File removed.
49310 * scripts/check-execstack.awk: New file.
49311 * elf/Makefile ($(objpfx)check-execstack): Target removed.
49312 (check-execstack-CFLAGS): Variable removed.
49313 ($(objpfx)check-execstack.h): Target removed.
49314 ($(objpfx)execstack-default): New target.
49315 (generated): Add that instead of check-execstack.h.
49316 ($(all-built-dso:=.phdr)): New static pattern rule.
49317 (generated): Add those targets.
49318 * elf/check-execstack.c: File removed.
49320 * scripts/check-textrel.awk: New file.
49321 * elf/Makefile ($(objpfx)check-textrel): Target removed.
49322 (check-textrel-CFLAGS): Variable removed.
49323 (all-built-dso): Use := to define.o
49324 ($(all-built-dso:=.dyn)): New static pattern rule.
49325 (generated): Add those targets.
49326 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49327 * config.make.in (READELF): New substituted variable.
49328 * elf/check-textrel.c: File removed.
49330 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49332 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49334 * conform/data/ctype.h-data [C99-based standards] (isblank):
49336 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49337 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49338 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49339 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49340 Specify type. Require positive value.
49341 (EILSEQ): Likewise.
49342 (ERANGE): Likewise.
49343 [ISO || POSIX] (EILSEQ): Do not expect.
49344 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49345 Specify type. Require positive value.
49346 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49347 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49348 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49349 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49350 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49351 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49352 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49353 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49354 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49355 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49356 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49357 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49358 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49359 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49360 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49361 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49362 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49363 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49364 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49365 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49366 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49367 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49368 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49369 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49370 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49371 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49372 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49373 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49374 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49375 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49376 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49377 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49378 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49379 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49380 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49381 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49382 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49383 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49384 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49385 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49386 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49387 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49388 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49389 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49390 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49391 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49392 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49393 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49394 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49395 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49396 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49397 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49398 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49399 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49400 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49401 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49402 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49403 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49404 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49405 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49406 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49407 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49408 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49409 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49410 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49411 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49412 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49413 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49414 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49415 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49416 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49417 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49418 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49419 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49420 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49421 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49422 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49424 (FLT_ROUNDS): Expect as macro, not constant.
49425 (FLT_MANT_DIG): Use macro-int-constant.
49426 (DBL_MANT_DIG): Likewise.
49427 (LDBL_MANT_DIG): Likewise.
49428 (FLT_DIG): Likewise.
49429 (DBL_DIG): Likewise.
49430 (LDBL_DIG): Likewise.
49431 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
49432 (DBL_MIN_EXP): Likewise.
49433 (LDBL_MIN_EXP): Likewise.
49434 (FLT_MAX_EXP): Use macro-int-constant.
49435 (DBL_MAX_EXP): Likewise.
49436 (LDBL_MAX_EXP): Likewise.
49437 (FLT_MAX_10_EXP): Likewise.
49438 (DBL_MAX_10_EXP): Likewise.
49439 (LDBL_MAX_10_EXP): Likewise.
49440 (FLT_MAX): Use macro-constant.
49441 (DBL_MAX): Likewise.
49442 (LDBL_MAX): Likewise.
49443 (FLT_EPSILON): Use macro-constant. Give upper bound.
49444 (DBL_EPSILON): Likewise.
49445 (LDBL_EPSILON): Likewise.
49446 (FLT_MIN): Likewise.
49447 (DBL_MIN): Likewise.
49448 (LDBL_MIN): Likewise.
49449 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49450 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49451 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49452 [ISO11] (FLT_HAS_SUBNORM): Likewise.
49453 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49454 [ISO11] (DBL_DECIMAL_DIG): Likewise.
49455 [ISO11] (FLT_DECIMAL_DIG): Likewise.
49456 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49457 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49458 [ISO11] (FLT_TRUE_MIN): Likewise.
49459 [ISO11] (LDBL_TRUE_MIN): Likewise.
49460 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49461 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49462 (SCHAR_MIN): Use macro-int-constant. Specify type.
49463 (SCHAR_MAX): Likewise.
49464 (UCHAR_MAX): Likewise.
49465 (CHAR_MIN): Likewise.
49466 (CHAR_MAX): Likewise.
49467 (MB_LEN_MAX): Use macro-int-constant.
49468 (SHRT_MIN): Use macro-int-constant. Specify type.
49469 (SHRT_MAX): Likewise.
49470 (USHRT_MAX): Likewise.
49471 (INT_MAX): Likewise.
49472 (INT_MIN): Use macro-int-constant. Specify type. Make upper
49474 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
49476 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49478 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
49479 bound negative. Suffix upper bound with "L".
49480 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49482 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49484 [C99-based standards] (LLONG_MAX): Likewise.
49485 [C99-based standards] (ULLONG_MAX): Likewise.
49486 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
49488 [ISO11] (max_align_t): Require type.
49489 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49491 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49492 from $CFLAGS, without defining away __attribute__ calls.
49493 (checknamespace): Use $CFLAGS_namespace.
49495 * conform/conformtest.pl (@keywords): Only include C99 keywords
49496 for standards based on C99 or C11.
49498 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49500 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49503 * conform/conformtest.pl: Handle "macro-int-constant" and test for
49504 usability of symbols in #if.
49506 * conform/conformtest.pl: If macro or constant types start
49507 "promoted:", expect the symbol to be of the following type
49508 promoted by the integer promotions.
49510 * conform/conformtest.pl: Parse all "constant" and "macro" lines
49511 in one place. Also handle "macro-constant".
49513 * conform/conformtest.pl: Only accept expected macro values with
49514 "==". Parse all "macro" lines in one place.
49515 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49517 * conform/conformtest.pl: Handle braced types on "constant" lines
49518 instead of handling "typed-constant".
49519 * conform/data/signal.h-data: Use "constant" instead of
49522 * conform/conformtest.pl: Handle "optional-" at start of lines in
49523 one place rather than duplicating several cases. Handle each
49524 format of "macro" line with initial "optional-".
49526 * conform/conformtest.pl: Only accept expected constant or
49527 optional-constant values with "==". Parse all "constant" lines in
49528 one place. Parse all "optional-constant" lines in one place.
49529 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49530 * conform/data/fmtmsg.h-data: Likewise.
49531 * conform/data/netinet/in.h-data: Likewise.
49532 * conform/data/tar.h-data: Likewise.
49533 * conform/data/limits.h-data: Use "==" form on "constant" and
49534 "optional-constant" lines.
49536 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49537 Use -std=c99 for XOPEN2K.
49538 (@knownproblems): Remove.
49539 (newtoken): Don't check %isknown.
49541 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49542 Do not expect macro.
49543 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49544 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49545 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49546 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49547 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49548 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49549 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49550 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49551 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49552 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49553 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49554 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49555 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49556 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49557 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49558 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49559 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49560 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49561 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49562 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49563 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49564 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49565 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49566 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49567 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49568 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49569 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49570 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49571 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49572 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49573 [XPG3] (acosh): Likewise.
49574 [XPG3] (asinh): Likewise.
49575 [XPG3] (atanh): Likewise.
49576 [XPG3] (cbrt): Likewise.
49577 [XPG3] (expm1): Likewise.
49578 [XPG3] (ilogb): Likewise.
49579 [XPG3] (log1p): Likewise.
49580 [XPG3] (logb): Likewise.
49581 [XPG3] (nextafter): Likewise.
49582 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49583 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49584 [XPG3] (remainder): Likewise.
49585 [XPG3] (rint): Likewise.
49586 [XPG3 || XPG4 || UNIX98] (round): Likewise.
49587 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49588 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49589 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49590 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49591 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49592 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49593 [UNIX98 || XOPEN2K] (scalb): Expect.
49594 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49595 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49596 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49597 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49598 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49599 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49600 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49601 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49602 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49603 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49604 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49605 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49606 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49607 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49608 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49609 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49610 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49611 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49612 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49613 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49614 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49615 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49616 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49617 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49618 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49619 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49620 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49621 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49622 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49623 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49624 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49625 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49626 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49627 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49628 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49629 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49630 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49631 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49632 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49633 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49634 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49635 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49636 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49637 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49638 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49639 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49640 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49641 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49642 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49643 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49644 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49645 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49646 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49647 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49648 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49649 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49650 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49651 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49652 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49653 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49654 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49655 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49656 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49657 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49658 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49659 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49660 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49661 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49662 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49663 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49664 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49665 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49666 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49667 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49668 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49669 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49670 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49671 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49672 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49673 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49674 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49675 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49676 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49677 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49678 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49679 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49680 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49681 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49682 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49683 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49684 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49685 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49686 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49687 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49688 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49689 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49690 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49691 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49692 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49693 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49694 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49695 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49696 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49697 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49698 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49699 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49700 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49701 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49702 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49703 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49704 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49705 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49706 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49707 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49708 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49709 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49710 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49711 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49712 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49713 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49714 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49715 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49716 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49717 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49718 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49719 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49720 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49721 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49722 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49723 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49724 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49725 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49726 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49727 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49728 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49729 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49730 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49732 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49733 _XOPEN_SOURCE_EXTENDED for XPG4.
49735 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49737 * Makeconfig (localtime): Remove variable.
49738 (inst_localtime-file): Likewise.
49740 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49761 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49765 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49766 comparisons to determine direction to adjust input.
49767 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49768 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49769 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49771 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49773 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49775 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49776 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49778 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49780 * math/libm-test.inc (nexttoward_test): Add more tests.
49782 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49785 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49786 in version GLIBC_2.1, not GLIBC_2.0.
49787 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49790 2012-04-30 Joseph Myers <joseph@codesourcery.com>
49793 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49795 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49796 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49797 * math/libm-test.inc (acos_test): Add more tests.
49798 (asin_test): Likewise.
49799 * sysdeps/i386/fpu/libm-test-ulps: Update.
49800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49803 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49805 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49806 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49807 * math/libm-test.inc (acos_test_tonearest): New function.
49808 (acos_test_towardzero): Likewise.
49809 (acos_test_downward): Likewise.
49810 (acos_test_upward): Likewise.
49811 (asin_test_tonearest): Likewise.
49812 (asin_test_towardzero): Likewise.
49813 (asin_test_downward): Likewise.
49814 (asin_test_upward): Likewise.
49815 (main): Call the new functions.
49816 * sysdeps/i386/fpu/libm-test-ulps: Update.
49817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49821 * math/e_exp10.c: Include <float.h>.
49822 (__ieee754_exp10): Handle underflow here rather than multiplying
49823 large negative argument by M_LN10.
49824 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49826 * math/e_exp10l.c: Include <float.h>.
49827 (__ieee754_exp10l): Handle underflow here rather than multiplying
49828 large negative argument by M_LN10l.
49829 * math/libm-test.inc (exp10_test): Add another test. Do not allow
49830 spurious overflow exception on underflow.
49832 2012-04-29 Marek Polacek <polacek@redhat.com>
49834 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49835 (__fortify_function): New macro.
49836 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49837 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49838 __extern_always_inline.
49839 * libio/bits/stdio2.h: Likewise.
49840 * libio/bits/stdio.h: Likewise.
49841 * string/string.h: Likewise.
49842 * string/bits/string3.h: Likewise.
49843 * include/stdio.h: Likewise.
49844 * stdlib/bits/stdlib.h: Likewise.
49845 * stdlib/stdlib.h: Likewise.
49846 * rt/bits/mqueue2.h: Likewise.
49847 * rt/mqueue.h: Likewise.
49848 * posix/bits/unistd.h: Likewise.
49849 * posix/unistd.h: Likewise.
49850 * io/bits/poll2.h: Likewise.
49851 * io/bits/fcntl2.h: Likewise.
49852 * io/fcntl.h: Likewise.
49853 * io/sys/poll.h: Likewise.
49854 * misc/bits/syslog.h: Likewise.
49855 * misc/bits/syslog-ldbl.h: Likewise.
49856 * misc/sys/syslog.h: Likewise.
49857 * socket/bits/socket2.h: Likewise.
49858 * socket/sys/socket.h: Likewise.
49859 * debug/tst-chk1.c: Likewise.
49860 * wcsmbs/bits/wchar2.h: Likewise.
49861 * wcsmbs/bits/wchar-ldbl.h: Likewise.
49862 * wcsmbs/wchar.h: Likewise.
49864 2012-04-29 Andreas Jaeger <aj@suse.de>
49866 * Makerules (tests): Remove enable-check-abi protection.
49867 (check-abi-warn): Remove.
49868 (check-abi-%): Remove check-abi-warn usage.
49870 * configure.in: Remove check-abi configure option.
49871 * configure: Regenerated.
49872 * config.make.in (enable-check-abi): Remove.
49874 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
49877 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49878 double functions to double *_finite functions.
49881 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49882 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49884 * stdio-common/Makefile (tests): Add tst-sprintf3.
49885 * stdio-common/tst-sprintf3.c: New file.
49887 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49888 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49890 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49892 * conform/conformtest.pl: Remove duplicate typed-constant
49895 2012-04-28 David S. Miller <davem@davemloft.net>
49897 * Makerules (%.abilist): Add vpath on sysdep_dirs.
49898 (check-abi-%): Remove AWK script prerequisite and explicit
49900 (check-abi): Rewrite to just diff the symlist with the abilist.
49901 (config-tls, config-abi-config): Delete, no longer used.
49902 (update-abi-%): Remove AWK script and explicit abilist directory.
49903 (update-abi): Rewrite to simply compare and conditionally copy the
49904 symlist and the sysdep abilist file. Remove update-abi-config
49906 * abilist/ld.abilist: Remove.
49907 * abilist/libBrokenLocale.abilist: Remove.
49908 * abilist/libanl.abilist: Remove.
49909 * abilist/libcrypt.abilist: Remove.
49910 * abilist/libdl.abilist: Remove.
49911 * abilist/librt.abilist: Remove.
49912 * abilist/libthread_db.abilist: Remove.
49913 * abilist/libutil.abilist: Remove.
49914 * scripts/extract-abilist.awk: Remove.
49915 * scripts/merge-abilist.awk: Remove.
49916 * sysdeps/generic/libcidn.abilist: New file.
49917 * sysdeps/generic/libnss_compat.abilist: New file.
49918 * sysdeps/generic/libnss_db.abilist: New file.
49919 * sysdeps/generic/libnss_dns.abilist: New file.
49920 * sysdeps/generic/libnss_files.abilist: New file.
49921 * sysdeps/generic/libnss_hesiod.abilist: New file.
49922 * sysdeps/generic/libnss_nis.abilist: New file.
49923 * sysdeps/generic/libnss_nisplus.abilist: New file.
49924 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49925 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49926 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49928 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49929 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49930 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49931 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49932 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49933 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49934 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49935 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49936 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49938 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49939 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49940 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49941 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49943 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49944 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49945 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49946 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49947 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49948 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49950 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49951 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49952 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49954 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49955 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49957 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49959 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49961 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49963 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50057 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50058 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50059 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50061 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50062 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50063 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50064 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50065 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50066 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50067 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50068 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50069 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50070 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50122 2012-04-28 Joseph Myers <joseph@codesourcery.com>
50124 * conform/conformtest.pl: Fix typo in handling typed-constant from
50127 2012-04-27 Joseph Myers <joseph@codesourcery.com>
50129 * README: Cut down references to pre-2.6 Linux kernels and
50130 Linuxthreads. Update lists of configurations in libc and ports
50131 and sort alphabetically. Say "or newer" with Linux kernel version
50134 * config.h.in [IS_IN_build]: Allow compiling without optimization.
50136 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
50139 * math/libm-test.inc (logb_test_downward): New test to expose
50140 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50143 2012-04-27 Joseph Myers <joseph@codesourcery.com>
50146 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50148 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50149 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50151 2012-04-26 Joseph Myers <joseph@codesourcery.com>
50153 * sysdeps/unix/i386/brk.S: Remove file.
50154 * sysdeps/unix/i386/dl-brk.S: Likewise.
50155 * sysdeps/unix/i386/pipe.S: Likewise.
50156 * sysdeps/unix/i386/sigreturn.S: Likewise.
50157 * sysdeps/unix/i386/syscall.S: Likewise.
50158 * sysdeps/unix/i386/vfork.S: Likewise.
50159 * sysdeps/unix/i386/wait.S: Likewise.
50161 * sysdeps/unix/common/tcsendbrk.c: Move to ...
50162 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50164 * configure.in (arm*-none*): Do not allow without
50165 --enable-hacker-mode.
50166 (netbsd*): Remove case setting base_os.
50167 (386bsd*): Likewise.
50168 (freebsd*): Likewise.
50171 (sunos*): Likewise.
50172 (ultrix*): Likewise.
50173 (newsos*): Likewise.
50174 (dynix*): Likewise.
50180 (minix*): Likewise.
50181 (irix4*): Likewise.
50182 (irix6*): Likewise.
50183 (solaris[2-9]*): Likewise.
50185 * configure: Regenerated.
50187 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50190 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50191 overflow or cancellation in calculating denominator.
50192 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50193 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50194 down expression to avoid unexpected rounding in newer GCCs.
50195 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50197 2012-04-26 David S. Miller <davem@davemloft.net>
50199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50200 long-double compat symbols.
50201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50215 2012-04-25 David S. Miller <davem@davemloft.net>
50217 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50218 HWCAP_* values only after the memory barriers have been defined.
50219 (atomic_full_barrier): Define.
50220 (atomic_read_barrier): Define.
50221 (atomic_write_barrier): Define.
50223 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50225 * shlib-versions: Add libgcc_s version information.
50226 * sysdeps/generic/libgcc_s.h: Remove.
50227 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50229 * sysdeps/gnu/unwind-resume.c: Likewise.
50230 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50232 2012-04-25 David S. Miller <davem@davemloft.net>
50234 * sysdeps/unix/sparc/brk.S: Delete.
50235 * sysdeps/unix/sparc/dl-brk.S: Delete.
50236 * sysdeps/unix/sparc/pipe.S: Delete.
50237 * sysdeps/unix/sparc/sysdep.S: Delete.
50238 * sysdeps/unix/sparc/sysdep.h: Delete.
50239 * sysdeps/unix/sparc/vfork.S: Delete.
50240 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50241 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50242 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50243 (ret_ERRVAL, r0, r1, MOVE): Define.
50244 (JUMPTARGET): Remove.
50245 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50246 sysdeps/unix/sparc/sysdep.h
50247 (ENTRY, END): Remove.
50248 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50250 2012-04-25 Joseph Myers <joseph@codesourcery.com>
50252 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50253 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50256 * timezone/README: Update upstream location and email address for
50258 * timezone/zdump.c: Update from tzcode 2012b.
50259 * timezone/zic.c: Likewise.
50261 * configure.in (libc_cv_as_needed): Remove test.
50262 * configure: Regenerated.
50263 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50264 conditional definition.
50265 [$(have-as-needed) != yes] (no-as-needed): Likewise.
50266 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50267 * config.make.in (have-as-needed): Remove variable.
50269 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
50270 Paul Pluzhnikov <ppluzhnikov@google.com>
50272 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50275 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
50277 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50278 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50279 * sysdeps/sh/strlen.S: Likewise.
50281 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50283 * sysdeps/unix/fork.S: Remove file.
50284 * sysdeps/unix/i386/fork.S: Likewise.
50285 * sysdeps/unix/sparc/fork.S: Likewise.
50287 * sysdeps/unix/system.c: Remove file.
50288 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50290 * sysdeps/unix/getegid.S: Remove file.
50291 * sysdeps/unix/geteuid.S: Likewise.
50293 2012-04-24 Roland McGrath <roland@hack.frob.com>
50295 * scripts/check-localplt.awk: New file.
50296 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50298 * scripts/data/localplt-generic.data: Add a comment.
50300 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50301 NODE when __dir_mkfile failed.
50302 * sysdeps/mach/hurd/symlinkat.c: Likewise.
50303 Reported by Ludovic Courtès <ludo@gnu.org>.
50305 2012-04-24 Andreas Jaeger <aj@suse.de>
50307 * Makerules (common-clean): Also remove gen-as-const-headers
50310 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50312 * Makerules (native-compile): Do not change working directory for
50313 build. Use $(OUTPUT_OPTION) in command.
50314 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50316 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50319 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50320 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50321 * math/libm-test.inc (floor_test): Add more tests.
50322 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50324 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50326 * sysdeps/unix/getdents.c: Remove file.
50327 * sysdeps/unix/sysv/getdents.c: Likewise.
50328 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50330 * sysdeps/unix/syscalls.list (madvise): Add syscall from
50331 sysdeps/unix/mman/syscalls.list.
50333 (mprotect): Likewise.
50335 (munmap): Likewise.
50336 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50337 * sysdeps/unix/mman/syscalls.list: Remove.
50338 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50340 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50341 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50342 * configure: Regenerated.
50343 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50344 $(libgcc_s_suffix).
50345 * config.make.in (libgcc_s_suffix): Remove variable.
50347 2012-04-23 Joseph Myers <joseph@codesourcery.com>
50349 * sysdeps/unix/sysv/gethostname.c: Move to ...
50350 * sysdeps/posix/gethostname.c: ... here.
50352 * sysdeps/unix/execve.S: Remove file.
50354 * sysdeps/unix/_exit.S: Remove file.
50356 2012-04-23 Andreas Jaeger <aj@suse.de>
50359 * manual/Makefile: Remove make dist support, there's no
50360 need for a stand-alone documentation tar ball.
50361 (TEXI2DVI): Define always, it's not in Makeconfig.
50364 (edition): Removed.
50365 (glibc-doc-$(edition).tar): Removed
50369 (ETAGS): Remove, it's in Makeconfig.
50370 (move-if-change): Remove, it's in Makeconfig.
50372 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
50375 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50376 (strtod, strtof, strtold, strtol, strtoul, strtoq)
50377 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50378 (strtod_l, strtof_l, strtold_l): Remove __wur.
50379 It is not necessarily an error to ignore strtol's return value.
50380 One can reliably look at the stored endptr to decide whether
50381 the number had valid syntax.
50383 2012-04-21 Andreas Jaeger <aj@suse.de>
50386 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50388 2012-04-21 Joseph Myers <joseph@codesourcery.com>
50390 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50391 * sysdeps/unix/sysv/Versions: Remove file.
50393 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
50396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50398 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
50401 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50402 version from __vm86.
50404 2012-04-20 Joseph Myers <joseph@codesourcery.com>
50406 * sysdeps/unix/common/lxstat.c: Remove file.
50407 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50409 * sysdeps/unix/sysv/Makefile: Remove file.
50411 * sysdeps/unix/sysv/direct.h: Remove file.
50413 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50414 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50415 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50416 * sysdeps/unix/sysv/bits/signum.h: Likewise.
50417 * sysdeps/unix/sysv/bits/stat.h: Likewise.
50418 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50419 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50421 * sysdeps/unix/sysv/setrlimit.c: Remove file.
50423 * sysdeps/unix/xmknod.c: Remove file.
50424 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50426 * sysdeps/unix/sysv/settimeofday.c: Remove file.
50428 * sysdeps/unix/sysv/i386/time.S: Remove file.
50430 * sysdeps/unix/fxstat.c: Remove file.
50431 * sysdeps/unix/xstat.c: Likewise.
50432 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50434 * sysdeps/unix/sysv/sigaction.c: Remove file.
50436 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50437 (sysdep_headers): Remove variable.
50438 [termio.h not in sysdep_headers] (generated): Likewise.
50439 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50440 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50441 * sysdeps/unix/sysv/tcdrain.c: Likewise.
50442 * sysdeps/unix/sysv/tcflow.c: Likewise.
50443 * sysdeps/unix/sysv/tcflush.c: Likewise.
50444 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50445 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50446 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50447 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50448 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50450 * sysdeps/unix/siglist.c: Remove file.
50452 * sysdeps/unix/getppid.S: Remove file.
50454 * sysdeps/unix/mkdir.c: Remove file.
50455 * sysdeps/unix/rmdir.c: Likewise.
50457 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
50459 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50461 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50462 errlist-compat value.
50464 2012-04-18 David S. Miller <davem@davemloft.net>
50466 * sysdeps/generic/memcopy.h (reg_char): Delete.
50467 * debug/strcat_chk.c: Use char, not reg_char.
50468 * debug/strcpy_chk.c: Likewise.
50469 * debug/strncat_chk.c: Likewise.
50470 * debug/strncpy_chk.c: Likewise.
50471 * string/memchr.c: Likewise.
50472 * string/memrchr.c: Likewise.
50473 * string/rawmemchr.c: Likewise.
50474 * string/strcat.c: Likewise.
50475 * string/strchr.c: Likewise.
50476 * string/strchrnul.c: Likewise.
50477 * string/strcmp.c: Likewise.
50478 * string/strcpy.c: Likewise.
50479 * string/strncat.c: Likewise.
50480 * string/strncmp.c: Likewise.
50481 * string/strncpy.c: Likewise.
50483 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50485 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50486 __builtin_memcopy is called when src and dest ranges are known to not
50489 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50491 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50492 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50493 fwd_align_merge macro call.
50494 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50495 bwd_align_merge macro call.
50496 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50498 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50500 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50501 bwd_align_merge macros.
50502 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50503 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50504 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50506 2012-04-18 David S. Miller <davem@davemloft.net>
50508 * sysdeps/sparc/sparc64/memcopy.h: Delete.
50510 2012-04-18 Andreas Jaeger <aj@suse.de>
50513 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50514 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50515 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50517 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50518 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50519 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50521 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50522 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50523 Adjust for changed ldbl-128 files.
50525 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50526 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50527 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50529 2012-04-17 David S. Miller <davem@davemloft.net>
50531 * sysdeps/sparc/sparc32/memcopy.h: Delete.
50533 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
50535 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50536 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50537 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50538 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50539 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50540 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50542 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50545 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50546 * math/libm-test.inc: Add ilogb errno and exception tests.
50547 * math/w_ilogb.c: New file: ilogb wrapper.
50548 * math/w_ilogbf.c: New file: ilogbf wrapper.
50549 * math/w_ilogbl.c: New file: ilogbl wrapper.
50550 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50551 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50552 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50553 exception being thrown with 0.0 as argument.
50554 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50555 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50556 exception being thrown with 0.0 as argument.
50557 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50558 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50559 exception being thrown with 0.0 as argument.
50560 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50561 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50562 exception being thrown with 0.0 as argument.
50563 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50564 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50565 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50566 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50567 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50568 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50569 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50570 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50571 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50573 2012-04-17 Petr Baudis <pasky@ucw.cz>
50575 * include/sys/uio.h: Change __vector to __iovec to avoid clash
50578 2012-04-16 Marek Polacek <polacek@redhat.com>
50580 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50582 2012-04-16 Marek Polacek <polacek@redhat.com>
50584 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50585 operands of fdivp instruction.
50587 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50589 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50590 * elf/tst-auditmod3b.c: Likewise.
50591 * elf/tst-auditmod4b.c: Likewise.
50592 * elf/tst-auditmod5b.c: Likewise.
50593 * elf/tst-auditmod6b.c: Likewise.
50594 * elf/tst-auditmod6c.c: Likewise.
50595 * elf/tst-auditmod7b.c: Likewise.
50596 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50597 * sysdeps/x86_64/preconfigure.in: Likewise.
50598 * sysdeps/x86_64/preconfigure: Regenerated.
50600 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50602 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50605 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
50607 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50608 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50610 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
50613 * locale/iso-639.def: Fix gl language name. Spotted by
50616 2012-04-12 Roland McGrath <roland@hack.frob.com>
50619 * libio/libio.h (__io_write_fn): Update comment.
50621 2012-04-12 Petr Baudis <pasky@ucw.cz>
50624 * stdio.texi (Hook Functions): The user provided writer function
50625 is not allowed to return -1.
50627 2012-04-11 David S. Miller <davem@davemloft.net>
50629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50631 2012-04-11 Mike Frysinger <vapier@gentoo.org>
50633 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50634 Add a leading slash to rtkaio.
50636 2012-04-11 Jim Meyering <meyering@redhat.com>
50639 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50640 It is not necessarily an error to ignore fwrite's return
50641 value. One can reliably use ferror to test for errors after
50644 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50646 * bits/types.h (__snseconds_t): New type.
50647 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50649 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50650 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50651 (__SNSECONDS_T_TYPE): Likewise.
50652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50653 (__SNSECONDS_T_TYPE): Likewise.
50654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50655 (__SNSECONDS_T_TYPE): Likewise.
50657 2012-04-10 Andreas Jaeger <aj@suse.de>
50660 * manual/time.texi (Processor Time): Return type of times is
50661 elapsed real time since an arbitrary point in the past.
50662 (CPU Time): Move CLK_TCK from here...
50663 (Processor Time): ...to here. Correct description.
50664 * manual/conf.texi (Constants for Sysconf): Correct description of
50667 2012-04-10 David S. Miller <davem@davemloft.net>
50670 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50671 where the is a gap between DT_REL(A) and DT_JMPREL.
50673 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50675 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50676 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50677 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50679 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50681 * elf/dl-support.c (_dl_inhibit_cache): New variable.
50682 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50683 (dl_main): Handle --inhibit-cache.
50684 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50686 * elf/dl-load.c (_dl_map_object): Use it.
50687 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50689 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50692 * sysdeps/i386/fpu/e_powl.S (p78): New object.
50693 (__ieee754_powl): Saturate large exponents rather than testing for
50694 overflow of y*log2(x).
50695 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50696 * math/libm-test.inc (pow_test): Do not permit spurious overflow
50700 * math/s_ctan.c: Include <float.h>.
50701 (__ctan): Avoid internal overflow or cancellation in calculating
50703 * math/s_ctanf.c: Likewise.
50704 * math/s_ctanl.c: Likewise.
50705 * math/s_ctanh.c: Likewise.
50706 * math/s_ctanhf.c: Likewise.
50707 * math/s_ctanhl.c: Likewise.
50708 * math/libm-test.inc (ctan_test): Add more tests.
50709 (ctanh_test): Likewise.
50710 * sysdeps/i386/fpu/libm-test-ulps: Update.
50711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50713 2012-04-09 Andreas Jaeger <aj@suse.de>
50716 * manual/filesys.texi (Directory Entries): Mention that d_namlen
50717 is an optional BSD extension.
50720 * manual/stdio.texi (Opening Streams): Document additional fopen
50723 2012-04-09 Roland McGrath <roland@hack.frob.com>
50725 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50726 %eax without telling the compiler.
50728 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
50731 * manual/install.texi: Use sourceware.org.
50733 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50736 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50737 (__ieee754_pow): Generate overflow and underflow using huge*huge
50738 and tiny*tiny rather than just returning constant infinity or zero
50739 for large exponents.
50740 * math/libm-test.inc (pow_test): Require overflow exceptions for
50741 applicable cases of large exponents.
50744 * sysdeps/i386/fpu/e_pow.S (p10): New object.
50745 (__ieee754_pow): Use iterative multiplication algorithm only for
50746 integer exponents with absolute value below 1024. Check for odd
50747 integer exponents when using algorithm for real exponents.
50748 * math/libm-test.inc (pow_test): Add more tests.
50749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50751 2012-04-08 Joseph Myers <joseph@codesourcery.com>
50754 * math/libm-test.inc (exp_test): Do not allow overflow exception
50757 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
50760 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50761 instead of __kernel_standard_f.
50763 2012-04-08 Mike Frysinger <vapier@gentoo.org>
50765 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50766 * sysdeps/x86_64/memset_chk.S: Likewise.
50768 2012-04-08 Andreas Jaeger <aj@suse.de>
50771 * manual/startup.texi (Environment Access): Describe return value
50772 for putenv and setenv.
50775 * manual/filesys.texi (Directory Entries): Add description for
50779 * manual/filesys.texi (Directory Entries): Clarify that it's file
50780 system not operating system in the description of DT_UNKNOWN.
50783 * manual/syslog.texi (closelog): Fix reference, it's openlog.
50785 2012-04-08 Stephen Compall <s11@member.fsf.org>
50788 * manual/llio.texi (Opening and Closing Files): Add cross
50789 reference to explain mode argument.
50791 2012-04-07 Mike Frysinger <vapier@gentoo.org>
50793 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50794 * sysdeps/x86_64/memset_chk.S: Likewise.
50796 2012-04-07 David S. Miller <davem@davemloft.net>
50798 * elf/elf.h (R_SPARC_WDISP10): Define.
50799 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50801 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50802 R_SPARC_SIZE64 and R_SPARC_H34.
50804 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
50806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50807 conditions and remove no longer applicable assertion.
50809 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50811 * bits/byteswap.h: Include <features.h>.
50812 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50813 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50815 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50817 * bits/byteswap.h (__bswap_16): Removed.
50818 Include <bits/byteswap-16.h> to get __bswap_16.
50819 * sysdeps/i386/bits/byteswap.h: Likewise.
50820 * sysdeps/s390/bits/byteswap.h: Likewise.
50821 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50822 * bits/byteswap-16.h: New file.
50823 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50824 * sysdeps/s390/bits/byteswap-16.h: Likewise.
50825 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50826 * string/Makefile (headers): Add bits/byteswap-16.h.
50828 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50831 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50833 * nss/Makefile (tests-static, tests): Add tst-nss-static.
50834 * nss/tst-nss-static.c: New.
50836 2012-04-06 Robert Millan <rmh@gnu.org>
50839 * manual/llio.texi (File Position Primitive): lseek
50840 refers to WHENCE when it really means OFFSET.
50842 2012-04-06 Andreas Jaeger <aj@suse.de>
50844 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50845 strncmp declarations.
50847 * abilist/libc.abilist: Add __poll and __ppoll.
50849 2012-04-05 David S. Miller <davem@davemloft.net>
50851 * scripts/check-local-headers.sh: Accept a host triplet in the
50852 path matched by the exclude regexp.
50854 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50856 * sysdeps/powerpc/powerpc32/dl-machine.h
50857 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50858 * sysdeps/s390/s390-32/dl-machine.h
50859 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50860 * sysdeps/sparc/sparc32/dl-machine.h
50861 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50862 * sysdeps/sparc/sparc64/dl-machine.h
50863 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50865 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50867 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50868 undefined symbol errors.
50870 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50873 2012-04-05 Michael Matz <matz@suse.de>
50876 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50878 2012-04-05 Andreas Jaeger <aj@suse.de>
50881 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50884 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50886 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50887 which ROUND is no valid rounding mode.
50889 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50891 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50893 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50895 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50897 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50898 an exception using FPU order intentionally.
50900 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50902 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50903 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50904 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50905 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50907 2012-04-05 Simon Josefsson <simon@josefsson.org>
50910 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50911 EINVAL when BUFLEN is too smal.
50913 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
50916 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50917 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50919 2012-04-03 Andreas Jaeger <aj@suse.de>
50922 * manual/setjmp.texi (System V contexts): Fix sentence.
50925 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50926 New macro for this case.
50927 [!__GNUC__] (__bswap_64): New inline function for this case.
50928 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50929 * bits/byteswap.h: Likewise.
50930 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50931 ull, guard with __GLIBC_HAVE_LONG_LONG.
50933 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50934 __GLIBC_HAVE_LONG_LONG.
50936 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50937 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50939 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50942 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50943 inptr and inend, rather than using last_ch.
50945 2012-04-02 David S. Miller <davem@davemloft.net>
50947 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50948 * stdio-common/printf-parse.h (read_int): Change return type to
50949 'int', return -1 on INT_MAX overflow.
50950 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50951 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
50952 overflows INT_MAX. Check for overflow of in-format-string precision
50953 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
50954 SIZE_MAX not INT_MAX for integer overflow test.
50955 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50956 skip the construct in the format string but do not record anything.
50957 * stdio-common/bug22.c: Adjust to test both width/prevision
50958 INT_MAX overflow as well as total length INT_MAX overflow. Check
50959 explicitly for proper errno values.
50961 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
50963 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50965 * string/test-strcmp.c [! WIDE]: Likewise.
50966 * time/tst-mktime2.c: Likewise for INT_MAX.
50967 * string/test-string.h: #include <sys/param.h> for MIN.
50969 * csu/init-first.c (__libc_init_first): Call __ctype_init.
50970 * sysdeps/i386/init-first.c (init): Likewise.
50971 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50972 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50973 * sysdeps/sh/init-first.c (init): Likewise.
50975 2012-04-01 Ulrich Drepper <drepper@gmail.com>
50977 * po/ru.po: Update from translation team.
50978 * po/vi.po: Likewise.
50980 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50982 * resolv/nss_dns/dns-host.c: Merge copyright years.
50984 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50986 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50987 Optimize memcpy with prefetch if
50988 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
50989 src, dst pointers have unequal 16 byte alignments.
50991 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50994 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50995 from a CNAME entry and return the minimum ttl for the query.
50996 (gaih_getanswer_slice): Likewise.
50998 2012-03-30 Jeff Law <law@redhat.com>
51000 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51002 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51003 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51005 * resolv/nss_dns/dns-host.c: Update copyright year.
51007 2012-03-30 Ulrich Drepper <drepper@gmail.com>
51009 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51010 requests to save a system call. Fix check that all bytes are sent.
51012 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51013 comments for sendmmsg.
51015 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51018 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51019 with only 1 character between 0x0041 and 0x01b0.
51020 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51021 * wcsmbs/tst-mbsnrtowcs.c: New file.
51023 2012-03-29 David S. Miller <davem@davemloft.net>
51025 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51026 small copies by hand.
51028 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51031 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51032 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51035 2012-03-28 David S. Miller <davem@davemloft.net>
51037 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51038 that branches into memcpy.
51039 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51040 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51041 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51042 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51043 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51045 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51046 implementation too.
51047 * sysdeps/sparc/mempcpy.S: New file.
51049 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51050 the IFUNC routine in the libc case.
51051 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51053 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51054 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51055 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51056 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51057 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51058 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51059 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51060 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51062 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51063 loop to 256 bytes instead of 64 bytes and fix test signedness.
51065 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51066 * sysdeps/sparc/sparc32/Makefile: rather than here...
51067 * sysdeps/sparc/sparc64/Makefile: and here.
51069 2012-03-28 Ulrich Drepper <drepper@gmail.com>
51071 * malloc/mallocbug.c: Avoid warnings about unused variables.
51073 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51076 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51077 in the right place. Discard and retry query if response is
51078 larger than input buffer size.
51080 2012-03-28 Joseph Myers <joseph@codesourcery.com>
51085 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51086 x for large integer exponent.
51087 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51088 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
51089 sign of result as needed afterwards.
51090 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51091 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51092 result for underflowing pow the same as for overflow.
51093 (__kernel_standard_l): Handle powl overflow and underflow here
51094 rather than calling __kernel_standard.
51095 * math/libm-test.inc (pow_test): Add more tests.
51110 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51111 * sysdeps/ieee754/k_standard.c: Include <float.h>.
51112 (__kernel_standard_l): New function.
51113 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51115 * math/w_acosl.c (__acosl): Likewise.
51116 * math/w_asinl.c (__asinl): Likewise.
51117 * math/w_atan2l.c (__atan2l): Likewise.
51118 * math/w_atanhl.c (__atanhl): Likewise.
51119 * math/w_coshl.c (__coshl): Likewise.
51120 * math/w_exp10l.c (__exp10l): Likewise.
51121 * math/w_exp2l.c (__exp2l): Likewise.
51122 * math/w_fmodl.c (__fmodl): Likewise.
51123 * math/w_hypotl.c (__hypotl): Likewise.
51124 * math/w_j0l.c (__j0l, __y0l): Likewise.
51125 * math/w_j1l.c (__j1l, __y1l): Likewise.
51126 * math/w_jnl.c (__jnl, __ynl): Likewise.
51127 * math/w_lgammal.c (__lgammal): Likewise.
51128 * math/w_log10l.c (__log10l): Likewise.
51129 * math/w_log2l.c (__log2l): Likewise.
51130 * math/w_logl.c (__logl): Likewise.
51131 * math/w_powl.c (__powl): Likewise.
51132 * math/w_remainderl.c (__remainderl): Likewise.
51133 * math/w_scalbl.c (sysv_scalbl): Likewise.
51134 * math/w_sinhl.c (__sinhl): Likewise.
51135 * math/w_sqrtl.c (__sqrtl): Likewise.
51136 * math/w_tgammal.c (__tgammal): Likewise.
51137 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51138 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51139 * math/libm-test.inc (acos_test): Add more tests.
51140 (acosh_test): Likewise.
51141 (asin_test): Likewise.
51142 (atanh_test): Likewise.
51143 (exp_test): Likewise.
51144 (exp10_test): Likewise.
51145 (exp2_test): Likewise.
51146 (expm1_test): Likewise.
51147 (lgamma_test): Likewise.
51148 (log_test): Likewise.
51149 (log10_test): Likewise.
51150 (log1p_test): Likewise.
51151 (log2_test): Likewise.
51152 (pow_test): Do not allow some spurious overflow exceptions.
51153 (sqrt_test): Add more tests.
51154 (tgamma_test): Likewise.
51155 (y0_test): Likewise.
51156 (y1_test): Likewise.
51157 (yn_test): Likewise.
51159 2012-03-27 Anton Blanchard <anton@samba.org>
51161 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51163 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51164 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51165 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51167 2012-03-27 David S. Miller <davem@davemloft.net>
51169 * conform/Makefile: Run run-conformtest.sh using $(BASH).
51171 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51172 have-as-vis3 check.
51174 2012-03-27 Andreas Jaeger <aj@suse.de>
51176 * sysdeps/x86_64/elf/configure.in: Moved to ...
51177 * sysdeps/x86_64/configure.in: ... here.
51178 * sysdeps/x86_64/elf/start.S: Moved to ...
51179 * sysdeps/x86_64/start.S: ... here.
51180 * sysdeps/x86_64/elf/configure: Delete.
51182 * sysdeps/x86_64/configure.in: Merge contents from
51183 sysdeps/i386/configure.in (without i686 check).
51185 * sysdeps/i386/elf/Versions: Merge into ...
51186 * sysdeps/i386/Versions: ... this.
51187 * sysdeps/i386/elf/Versions: Delete file.
51188 * sysdeps/i386/elf/start.S: Moved to ...
51189 * sysdeps/i386/start.S: ...here.
51190 * sysdeps/i386/elf/configure.in: Merge into...
51191 * sysdeps/i386/configure.in: ...here.
51192 * sysdeps/i386/elf/configure.in: Delete file.
51193 * sysdeps/i386/elf/configure: Delete file.
51195 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51196 * debug/backtracesyms.c: ... here.
51197 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51198 * debug/backtracesymsfd.c: ... here.
51199 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51200 * sysdeps/generic/ifunc-sel.h: ... here.
51202 * sysdeps/unix/i386/start.c: Delete file.
51203 * sysdeps/unix/sparc/start.c: Delete file.
51204 * sysdeps/unix/start.c: Delete file.
51206 * sysdeps/sh/elf/configure.in: Moved to ...
51207 * sysdeps/sh/configure.in: ... here.
51208 * sysdeps/sh/elf/start.S: Moved to ...
51209 * sysdeps/sh/start.S: ... here.
51210 * sysdeps/sh/elf/configure: Delete file.
51212 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51213 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51214 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51215 * sysdeps/powerpc/powerpc64/entry.h: ... here.
51216 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51217 * sysdeps/powerpc/powerpc64/start.S: here.
51218 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51219 * sysdeps/powerpc/powerpc64/Makefile: ... this.
51220 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51221 * sysdeps/powerpc/powerpc64/configure.in: ... this.
51222 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51224 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51225 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51226 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51227 * sysdeps/powerpc/powerpc32/start.S: ... here.
51228 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51229 * sysdeps/powerpc/powerpc32/configure.in: ... this.
51230 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51232 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51233 * sysdeps/powerpc/ifunc-sel.h: ... here.
51234 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51235 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51237 * sysdeps/sparc/elf/configure.in: Moved to ...
51238 * sysdeps/sparc/configure.in: ... here.
51239 * sysdeps/sparc/elf/configure: Delete file.
51240 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51241 * sysdeps/sparc/sparc32/start.S: ... here.
51242 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51243 * sysdeps/sparc/sparc64/start.S: ... here.
51244 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51245 * sysdeps/sparc/sparc32/Makefile: ... this.
51246 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51247 * sysdeps/sparc/sparc64/Makefile: ... this.
51249 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51250 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51251 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51252 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51253 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51254 * sysdeps/s390/s390-32/setjmp.S: ... here.
51255 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51256 * sysdeps/s390/s390-32/configure.in: ... here.
51257 * sysdeps/s390/s390-32/elf/configure: Delete file.
51258 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51259 * sysdeps/s390/s390-32/start.S: ... here.
51261 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51262 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51263 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51264 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51265 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51266 * sysdeps/s390/s390-64/setjmp.S: ... here.
51267 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51268 * sysdeps/s390/s390-64/configure.in: ... here
51269 * sysdeps/s390/s390-64/elf/configure: Delete file.
51270 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51271 * sysdeps/s390/s390-64/start.S: ... here.
51272 * sysdeps/s390/s390-64/elf/configure: Delete.
51274 * configure.in: Remove support for elf directories in sysdeps.
51276 * configure: Regenerated.
51277 * sysdeps/i386/configure: Regenerated.
51278 * sysdeps/powerpc/powerpc32/configure: Regenerated.
51279 * sysdeps/powerpc/powerpc64/configure: Regenerated.
51280 * sysdeps/s390/s390-32/configure: Regenerated.
51281 * sysdeps/s390/s390-64/configure: Regenerated.
51282 * sysdeps/sh/configure: Regenerated.
51283 * sysdeps/sparc/configure: Regenerated.
51284 * sysdeps/x86_64/configure: Regenerated.
51286 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
51288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51290 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51291 denormal result into account.
51293 2012-03-25 Roland McGrath <roland@hack.frob.com>
51295 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51296 Reported by Allan McRae <allan@archlinux.org>.
51298 2012-03-23 Jeff Law <law@redhat.com>
51300 * nss/getnssent.c (__nss_getent): Fix typo.
51302 2012-03-23 David S. Miller <davem@davemloft.net>
51304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51306 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
51308 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51309 to pad to uint64_t for each field.
51310 (dl_tls_index): Replace unsigned long with uint64_t.
51312 2012-03-23 Daniel Jacobowitz <dmj@google.com>
51313 Paul Pluzhnikov <ppluzhnikov@google.com>
51316 * grp/Makefile (otherlibs): Don't set it.
51317 * inet/Makefile (otherlibs): Likewise.
51318 * login/Makefile (otherlibs): Likewise.
51319 * nscd/Makefile (otherlibs): Likewise.
51320 * posix/Makefile (otherlibs): Likewise.
51321 * pwd/Makefile (otherlibs): Likewise.
51322 * rt/Makefile (otherlibs): Likewise.
51323 * sunrpc/Makefile (otherlibs): Likewise.
51324 * nss/Makefile (otherlibs): Likewise.
51325 Add libnss_files to routines and static-only-routines.
51326 ($(objpfx)getent): Remove rule.
51327 * resolv/Makefile: Add libnss_dns and libresolv to routines and
51328 static-only-routines.
51330 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51333 * math/s_cexp.c: Include <float.h>.
51334 (__cexp): Handle exp result overflowing not necessarily
51335 overflowing both real and imaginary parts of result.
51336 * math/s_cexpf.c: Likewise.
51337 * math/s_cexpl.c: Likewise.
51338 * math/libm-test.inc (cexp_test): Add more tests.
51339 * sysdeps/i386/fpu/libm-test-ulps: Update.
51340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51342 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51344 * include/link.h (ELFW): New macro.
51345 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51346 Replace ELF64_R_TYPE with ELFW(R_TYPE).
51348 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51350 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51353 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51355 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51357 (struct La_x32_retval): Likewise.
51359 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51361 * sysdeps/x86_64/preconfigure.in: New file.
51362 * sysdeps/x86_64/preconfigure: New generated file.
51364 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51367 * math/e_exp2l.c: Include <float.h>.
51368 (__ieee754_exp2l): Handle overflow and underflow cases
51369 separately. Only pass fractional part of argument to
51371 * math/libm-test.inc (exp2_test): Add more tests.
51373 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51374 negating x to take absolute value.
51375 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51377 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51378 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51380 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51381 computing low part if x was negated.
51382 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51384 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51386 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51387 la_x32_gnu_pltexit.
51388 (pltexit): Cast int_retval to ptrdiff_t.
51389 * elf/tst-auditmod3b.c: Likewise.
51390 * elf/tst-auditmod4b.c: Likewise.
51391 * elf/tst-auditmod5b.c: Likewise.
51392 * elf/tst-auditmod6b.c: Likewise.
51393 * elf/tst-auditmod6c.c: Likewise.
51394 * elf/tst-auditmod7b.c: Likewise.
51396 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51397 and x32_gnu_pltexit.
51399 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51400 __ELF_NATIVE_CLASS.
51401 (La_x32_regs): New macro.
51402 (La_x32_retval): Likewise.
51403 (la_x32_gnu_pltenter): New function prototype.
51404 (la_x32_gnu_pltexit): Likewise.
51406 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
51408 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51413 * configure.in (libc_cv_cc_nofma): Check for option to disable
51414 generation of FMA instructions.
51415 * configure: Regenerate.
51416 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51417 * sysdeps/ieee754/dbl-64/Makefile: New file.
51418 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51419 Remove brandred-fma4.
51420 (CFLAGS-brandred-fma4.c): Remove.
51421 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51422 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51424 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51427 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51429 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51430 LLONG_MAX != LONG_MAX.
51431 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51432 (_fitoa_word): Likewise.
51433 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51434 LLONG_MAX != LONG_MAX.
51435 * stdio-common/_itowa.h: Include <_itoa.h>.
51436 (_itowa_word): Use _ITOA_WORD_TYPE on value.
51437 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
51438 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
51439 only if not defined.
51440 (_ITOA_WORD_TYPE): Likewise.
51441 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51442 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51444 2012-03-21 David S. Miller <davem@davemloft.net>
51446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51448 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51450 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51451 of x86_64 when setting libc_cv_slibdir, libdir and
51453 * sysdeps/unix/sysv/linux/configure: Regenerated.
51455 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51457 * manual/lang.texi (Old Varargs): Remove section.
51458 (How Variadic): Update menu.
51459 (va_start): Do not mention varargs.h.
51461 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51462 Joseph Myers <joseph@codesourcery.com>
51464 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51466 * configure: Regenerated.
51468 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51470 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51471 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51474 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51477 * Makefile (files-for-dist): Remove NOTES.
51478 (NOTES): Remove rule.
51479 * README: Don't refer to NOTES.
51480 * manual/creature.texi: Don't include macros.texi.
51481 * manual/intro.texi (creature.texi): Remove comment referring to
51484 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51485 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51486 * configure: Regenerated.
51487 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51488 LIBC_TRY_CC_OPTION.
51489 (libc_cv_as_i686): Likewise.
51490 (libc_cv_cc_avx): Likewise.
51491 (libc_cv_cc_sse2avx): Likewise.
51492 (libc_cv_cc_fma4): Likewise.
51493 (libc_cv_cc_novzeroupper): Likewise.
51494 * sysdeps/i386/configure: Regenerated.
51497 * sysdeps/i386/fpu/s_cexp.S: Remove.
51498 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51499 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51500 * math/libm-test.inc (cexp_test): Add more tests.
51501 * sysdeps/i386/fpu/libm-test-ulps: Update.
51502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51504 2012-03-21 Allan McRae <allan@archlinux.org>
51506 * timezone/Makefile: Do not install iso3166.tab and zone.tab
51508 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51511 * math/w_exp2.c: Do not include <float.h>.
51512 (o_threshold, u_threshold): Remove.
51513 (__exp2): Calculate result before checking finiteness and calling
51515 * math/w_exp2f.c: Likewise.
51516 * math/w_exp2l.c: Likewise.
51517 * math/libm-test.inc (exp2_test): Require overflow exception for
51521 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51522 range of signed 64-bit integers before using fistpll. Remove
51523 checks for whether integers fit in mantissa bits.
51524 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51525 the range of signed 32-bit integers before using fistpl. Remove
51526 checks for whether integers fit in mantissa bits.
51527 * sysdeps/i386/fpu/e_powl.S (p64): New object.
51528 (__ieee754_powl): Test for y outside the range of signed 64-bit
51529 integers before using fistpll. Reduce 64-bit values to 63-bit
51531 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51532 divide-by-zero is raised for zero to large negative powers.
51533 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51534 (__ieee754_powl): Test for y outside the range of signed 64-bit
51535 integers before using fistpll. Reduce 64-bit values to 63-bit
51537 * math/libm-test.inc (pow_test): Add more tests.
51539 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51541 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51542 <stdio-common/_itoa.h>.
51543 * debug/segfault.c: Likewise.
51544 * elf/dl-cache.c: Likewise.
51545 * elf/dl-minimal.c: Likewise.
51546 * elf/dl-misc.c: Likewise.
51547 * elf/dl-sysdep.c: Likewise.
51548 * elf/dl-version.c: Likewise.
51549 * elf/rtld.c: Likewise.
51550 * hurd/hurdsock.c: Likewise.
51551 * hurd/lookup-retry.c: Likewise.
51552 * malloc/malloc.c: Likewise.
51553 * malloc/mtrace.c: Likewise.
51554 * nscd/nscd_getgr_r.c: Likewise.
51555 * nscd/nscd_getpw_r.c: Likewise.
51556 * nscd/nscd_getserv_r.c: Likewise.
51557 * posix/getopt_init.c: Likewise.
51558 * posix/wordexp.c: Likewise.
51559 * stdio-common/_itoa.c: Likewise.
51560 * stdio-common/printf_fphex.c: Likewise.
51561 * stdio-common/vfprintf.c: Likewise.
51562 * string/_strerror.c: Likewise.
51563 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51564 * sysdeps/i386/i686/hp-timing.h: Likewise.
51565 * sysdeps/mach/_strerror.c: Likewise.
51566 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51567 * sysdeps/mach/hurd/sethostid.c: Likewise.
51568 * sysdeps/mach/hurd/xmknodat.c: Likewise.
51569 * sysdeps/mach/xpg-strerror.c: Likewise.
51570 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51571 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51572 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51573 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51574 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51575 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51576 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51577 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51578 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51579 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51580 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51581 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51582 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51583 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51584 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51585 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51586 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51587 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51588 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51589 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51590 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51592 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51594 * stdio-common/_itoa.h: Moved to ...
51595 * sysdeps/generic/_itoa.h: Here.
51597 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51599 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51600 instead of "_itoa.h" and "_itowa.h".
51601 * stdio-common/vfprintf.: Likewise.
51603 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51605 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51607 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51608 (__signbit): Likwise.
51609 (llrintf): Likwise.
51612 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51614 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51617 2012-03-20 Joseph Myers <joseph@codesourcery.com>
51619 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51620 OVERFLOW_EXCEPTION_OK.
51621 * math/libm-test.inc ("Philosophy"): Update comment about
51623 (OVERFLOW_EXCEPTION): Define.
51624 (OVERFLOW_EXCEPTION_OK): Likewise.
51625 (INVALID_EXCEPTION_OK): Renumber.
51626 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51627 (IGNORE_ZERO_INF_SIGN): Likewise.
51628 (test_exceptions): Handle FE_OVERFLOW.
51629 (exp10_test): Expect overflow exceptions.
51630 (exp2_test): Likewise.
51631 (expm1_test): Likewise.
51632 (nextafter_test): Likewise.
51633 (pow_test): Likewise.
51634 (scalbn_test): Likewise.
51635 (scalbln_test): Likewise.
51637 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51639 * sysdeps/x86_64/bits/atomic.h
51640 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51642 (atomic_exchange_acq): Likewise.
51643 (__arch_exchange_and_add_body): Likewise.
51644 (__arch_add_body): Likewise.
51645 (atomic_add_negative): Likewise.
51646 (atomic_add_zero): Likewise.
51648 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51650 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51651 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51653 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51655 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51656 Check __x86_64__ instead of __WORDSIZE.
51658 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51660 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51662 2012-03-19 David S. Miller <davem@davemloft.net>
51664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51666 * sysdeps/sparc/fpu/fenv_private.h: New file.
51667 * sysdeps/sparc/fpu/math_private.h: Use it.
51668 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51670 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51671 (libc_feholdexcept_setroundl): Remove.
51672 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51674 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51675 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51677 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51679 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51680 int64_t instead of long int.
51681 (INSERT_WORDS64): Likwise.
51683 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51685 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51686 _Unwind_GetCFA return to _Unwind_Ptr first.
51688 2012-03-19 Joseph Myers <joseph@codesourcery.com>
51691 * math/s_clog.c: Include <float.h>.
51692 (__clog): Scale large or subnormal inputs.
51693 * math/s_clogf.c: Likewise.
51694 * math/s_clogl.c: Likewise.
51695 * math/s_clog10.c: Include <float.h>.
51696 (M_LOG10_2): Define.
51697 (__clog10): Scale large or subnormal inputs.
51698 * math/s_clog10f.c: Likewise.
51699 * math/s_clog10l.c: Likewise.
51700 * math/libm-test.inc (clog_test): Add more tests.
51701 (clog10_test): Likewise.
51702 * sysdeps/i386/fpu/libm-test-ulps: Update.
51703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51706 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51708 * math/libm-test.inc (atan2_test): Add another test.
51710 * Makerules (common-objdir-compile): Remove.
51711 * sysdeps/unix/Makefile (config-generated): Do not add
51712 $(unix-generated) to variable.
51713 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51714 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51716 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51718 [generic bits/local_lim.h] (before-compile): Do not append to
51720 [generic bits/local_lim.h] (common-generated): Likewise.
51721 [generic sys/param.h] (before-compile): Do not append to variable.
51722 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51723 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51724 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51725 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51727 [generic sys/param.h] (sys/param.h-includes): Remove variable.
51728 [generic sys/param.h] (sys/param.h-includes): Remove rule.
51729 [generic sys/param.h] ($(addprefix
51730 $(common-objpfx),$(sys/param.h-includes))): Likewise.
51731 [generic sys/param.h] (common-generated): Do not append to
51733 [generic sys/param.h] (sysdep_headers): Likewise.
51734 [generic bits/errno.h] (before-compile): Do not append to
51736 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51738 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51739 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51740 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51741 [generic bits/errno.h] (common-generated): Do not append to
51743 [generic bits/ioctls.h] (before-compile): Do not append to
51745 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51747 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51748 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51749 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51751 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51752 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51753 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51754 [generic bits/ioctls.h] (common-generated): Do not append to
51756 [generic sys/syscall.h] (syscall.h): Remove variable.
51757 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51759 [generic sys/syscall.h] (before-compile): Do not append to
51761 [generic sys/syscall.h] (common-generated): Likewise.
51762 * sysdeps/unix/errnos-tmpl.c: Remove file.
51763 * sysdeps/unix/errnos.awk: Likewise.
51764 * sysdeps/unix/ioctls-tmpl.c: Likewise.
51765 * sysdeps/unix/ioctls.awk: Likewise.
51766 * sysdeps/unix/mk-local_lim.c: Likewise.
51767 * sysdeps/unix/snarf-ioctls: Likewise.
51769 2012-03-19 Richard Henderson <rth@twiddle.net>
51771 * sysdeps/i386/fpu/fenv_private.h: New file.
51772 * sysdeps/i386/fpu/math_private.h: Use it.
51773 (math_opt_barrier, math_force_eval): Remove.
51774 (libc_feholdexcept_setround_53bit): Remove.
51775 (libc_feupdateenv_53bit): Remove.
51776 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51777 (math_opt_barrier, math_force_eval): Remove.
51778 (libc_feholdexcept): Remove.
51779 (libc_feholdexcept_setround): Remove.
51780 (libc_fetestexcept, libc_fesetenv): Remove.
51781 (libc_feupdateenv_test): Remove.
51782 (libc_feupdateenv, libc_feholdsetround): Remove.
51783 (libc_feresetround): Remove.
51785 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51786 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51788 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51789 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51790 (libc_feupdateenv_testl): New.
51791 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51792 (libc_feupdateenv_testf): New.
51793 (libc_feupdateenv): Use libc_feupdateenv_test.
51794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51795 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51797 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51798 (libc_feholdsetroundf, libc_feholdsetroundl): New.
51799 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51800 (libc_feresetround_noex): New.
51801 (libc_feresetround_noexf): New.
51802 (libc_feresetround_noexl): New.
51803 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51804 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51805 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51806 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51808 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51809 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51811 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51812 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51813 SET_RESTORE_ROUND_NOEX.
51814 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51815 SET_RESTORE_ROUND_NOEXF.
51816 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51817 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51818 (libc_feholdsetroundf): New.
51819 (libc_feresetround, libc_feresetroundf): New.
51821 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51822 (libc_feholdexcept_setround_53bit): Convert from macro to function.
51823 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
51825 * sysdeps/generic/math_private.h: Include <fenv.h>.
51826 (default_libc_feholdexcept): New.
51827 (default_libc_feholdexcept_setround): New.
51828 (default_libc_fesetenv, default_libc_feupdateenv): New.
51829 (libc_feholdexcept): Only define if undefined.
51830 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51831 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51832 (libc_feholdexcept_setroundl): Likewise.
51833 (libc_feholdexcept_setround_53bit): Likewise.
51834 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51835 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51836 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51837 (libc_feupdateenv_53bit): Likewise.
51838 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51839 (libc_feholdexcept): Convert from macro to inline function.
51840 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51841 (libc_fesetenv, libc_feupdateenv): Likewise.
51843 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51844 not previously defined.
51845 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51846 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51847 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51848 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51849 * sysdeps/ieee754/flt-32/math_private.h: New file.
51850 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51851 math_private.h below SET_FLOAT_WORD.
51852 (__isnan, __isinf_ns, __finite): Remove.
51853 (__isnanf, __isinf_nsf, __finitef): Remove.
51855 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
51857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51859 2012-03-17 David S. Miller <davem@davemloft.net>
51862 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51865 2012-03-16 David S. Miller <davem@davemloft.net>
51867 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51871 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51873 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51874 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51875 sysdep_routines when subdir is sysvipc.
51876 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51877 __getshmlba helper.
51879 * sysdeps/sparc/fpu/libm-test/ulps: Update.
51881 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51883 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51886 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51888 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51889 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51890 (__lround): Renamed to ...
51891 (__llround): This. Replace long int with long long int.
51892 Define lround functions as aliases of llround functions.
51893 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51895 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51897 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51898 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
51899 adresses to uintptr_t. Replace "long int" and "unsigned long
51900 int" with "greg_t" on va_arg.
51902 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51904 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51905 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51907 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51908 Move e_machine check before EI_CLASS check. Handle x32
51909 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51910 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51911 SKIP_EM_IA_64 and include
51912 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51914 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51915 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51916 (add_system_dir): New macro.
51918 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51919 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51921 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51932 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51934 * math/w_j0f.c (j0f): Likewise.
51936 * math/w_j0l.c (__j0l): Likewise.
51938 * math/w_j1.c (j1): Likewise.
51940 * math/w_j1f.c (j1f): Likewise.
51942 * math/w_j1l.c (__j1l): Likewise.
51944 * math/w_jn.c (jn): Likewise.
51946 * math/w_jnf.c (jnf): Likewise.
51948 * math/w_jnl.c (__jnl): Likewise.
51950 * math/libm-test.inc (j0_test): Add more tests.
51951 (j1_test): Likewise.
51952 (jn_test): Likewise. Add trailing semicolon to existing test.
51953 (y0_test): Likewise.
51954 (y1_test): Likewise.
51955 * sysdeps/i386/fpu/libm-test-ulps: Update.
51956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51960 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51961 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51962 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51963 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51964 (__tanl): Set errno for infinite argument.
51965 * sysdeps/i386/fpu/mptan.c: Remove.
51966 * sysdeps/i386/fpu/s_tan.S: Likewise.
51967 * sysdeps/i386/fpu/s_tanl.S: Likewise.
51968 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51969 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51970 * math/libm-test.inc (tan_test): Add more tests and enable more
51971 tests for double and long double.
51972 * sysdeps/i386/fpu/libm-test-ulps: Update.
51973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51975 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
51977 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51978 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51980 2012-03-16 Roland McGrath <roland@hack.frob.com>
51982 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51983 * configure.in: Use it for both main tree and add-ons.
51984 * configure: Regenerated.
51986 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51988 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51990 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51992 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51996 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51997 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51998 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51999 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52000 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52002 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52003 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52004 != 0 for prec == 2.
52005 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52006 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52007 * sysdeps/i386/fpu/s_cosl.S: Likewise.
52008 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52009 * sysdeps/i386/fpu/s_sinl.S: Likewise.
52010 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52011 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52012 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52013 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52014 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52015 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52016 * math/libm-test.inc (cos_test): Add more tests and enable more
52017 tests for long double.
52018 (sin_test): Likewise.
52019 (sincos_test): Likewise.
52020 * sysdeps/i386/fpu/libm-test-ulps: Update.
52021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52023 2012-03-16 David S. Miller <davem@davemloft.net>
52025 * sysdeps/sparc/fpu/math_private.h: New file.
52027 2012-03-15 David S. Miller <davem@davemloft.net>
52029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52039 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52043 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52044 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52046 * sysdeps/sparc/sparc-ifunc.h: New file.
52047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52073 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52074 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52075 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52076 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52081 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52085 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52086 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52087 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52088 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52089 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52090 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52092 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
52094 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52098 2012-03-15 Andreas Jaeger <aj@suse.de>
52101 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52102 ieee754/flt-32 implementation for sin, cos and sincos.
52103 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52104 * sysdeps/i386/fpu/s_cosf.S: Likewise.
52105 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52106 * sysdeps/i386/fpu/s_sinf.S: Likewise.
52107 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52108 ieee754/flt-32 implementation for tan.
52110 * math/libm-test.inc (cos_test): Enable some large input tests for
52112 (sin_test): Likewise.
52113 (sincos_test): Likewise.
52114 (tan_test): Add tests for large input.
52116 * sysdeps/i386/fpu/libm-test-ulps: Update.
52118 2012-03-15 Andreas Jaeger <aj@suse.de>
52121 * math/libm-test.inc (cos_test): Add more test cases.
52122 (sin_test): Likewise.
52123 (sincos_test): Likewise.
52125 2012-03-15 Andreas Jaeger <aj@suse.de>
52128 * math/libm-test.inc (cos_test): Add a test case for large input
52130 (sin_test): Likewise.
52131 (sincos_test): Likewise.
52133 2012-03-15 Andreas Jaeger <aj@suse.de>
52134 Joseph Myers <joseph@codesourcery.com>
52137 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52138 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52139 * sysdeps/i386/fpu/branred.c: Likewise.
52140 * sysdeps/i386/fpu/dosincos.c: Likewise.
52141 * sysdeps/i386/fpu/mpa.c: Likewise.
52142 * sysdeps/i386/fpu/s_cos.S: Likewise.
52143 * sysdeps/i386/fpu/s_sin.S: Likewise.
52144 * sysdeps/i386/fpu/s_sincos.S: Likewise.
52145 * sysdeps/i386/fpu/sincos32.c: Likewise.
52147 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52149 (libc_feupdateenv_53bit): Define.
52150 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52152 (libc_feupdateenv_53bit): Define.
52154 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52155 53 bit (without extend i386 double precision).
52157 * math/libm-test.inc (sincos_test): Add tests for large input.
52161 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52163 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
52165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52167 2012-03-15 David S. Miller <davem@davemloft.net>
52169 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52170 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52171 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52172 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52196 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52197 fmin/fmax sysdep routines.
52198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52200 2012-03-14 David S. Miller <davem@davemloft.net>
52202 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52204 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52205 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52206 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52207 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52208 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52209 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52210 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52213 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52222 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52223 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52224 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52225 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52226 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52227 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52228 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52229 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52230 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52274 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52279 * sysdeps/sparc/configure.in: New file.
52280 * sysdeps/sparc/configure: Generate.
52281 * configure.in (libc_cv_sparc_as_vis3): Substitute.
52282 * configure: Regenerate.
52283 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52284 * config.make.in (have-as-vis3): New.
52285 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52286 available use -Av9d instead of -Av9a.
52287 * sysdeps/sparc/sparc64/Makefile: Likewise.
52288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52297 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52298 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52299 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52300 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52301 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52303 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52304 fzeros/fnegs to load 0x80000000 into a float register instead of
52306 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52308 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52310 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52312 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52313 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52314 ($(inst_includedir)/bits/syscall.h): Remove rule.
52315 ($(objpfx)bits/syscall.d): Include instead of
52316 $(objpfx)syscall-list.d.
52317 (generated): Change syscall-list.h and syscall-list.d to
52318 bits/syscall.h and bits/syscall.d.
52320 2012-03-14 Roland McGrath <roland@hack.frob.com>
52323 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52325 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52328 * math/s_csqrt.c: Include <float.h>.
52329 (__csqrt): Scale large or subnormal inputs.
52330 * math/s_csqrtf.c: Likewise.
52331 * math/s_csqrtl.c: Likewise.
52332 * math/libm-test.inc (csqrt_test): Add more tests.
52333 * sysdeps/i386/fpu/libm-test-ulps: Update.
52334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52337 * math/libm-test.inc (hypot_test): Add more tests.
52339 2012-03-13 David S. Miller <davem@davemloft.net>
52342 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52343 double-precision for the calculation instead of scaling.
52345 2012-03-13 Joseph Myers <joseph@codesourcery.com>
52347 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52348 manipulate bits before adding and subtracting TWO52[sx].
52349 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52350 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52352 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52354 2012-03-13 David S. Miller <davem@davemloft.net>
52356 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52357 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52358 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52359 rtld-global-offsets.h
52360 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52362 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52365 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52367 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52368 'err' in the ifdef scope in which it is actually used.
52370 * nss/nss_db/db-init.c: Include string.h
52372 2012-03-12 David S. Miller <davem@davemloft.net>
52374 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52375 masking out of the most significant byte of random value used.
52376 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52377 Fix coding style in previous change.
52379 * sysdeps/unix/sysv/linux/kernel-features.h
52380 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52381 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52383 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52386 2012-03-11 David S. Miller <davem@davemloft.net>
52388 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52389 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52390 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52391 for 'resultvar' otherwise things get truncated on 64-bit.
52393 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52394 Fix masking out of the most significant byte of random value used.
52396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52398 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
52400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52402 2012-03-09 David S. Miller <davem@davemloft.net>
52404 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52405 variables with appropriate CPP guards.
52406 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52407 from the frame pointer, not the stack pointer. Correct layout
52408 comments. Fix test on resulting framesize and the management of
52409 the outregs buffer for pltexit. Preserve floating point return
52410 values across _dl_call_pltexit call.
52411 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52412 framesize and the management of the outregs buffer for pltexit.
52413 Preserve floating point return values across _dl_call_pltexit
52415 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52416 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52417 (la_sparc64_gnu_pltexit): New functions.
52418 (print_exit): Fix format string for return register value.
52420 2012-03-10 Joseph Myers <joseph@codesourcery.com>
52422 * sunrpc/Makefile (others): Add rpcgen.
52423 ($(objpfx)rpcgen): Remove special build rule and dependency on
52425 * sunrpc/rpcgen.c: New file.
52427 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
52430 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52431 * stdio-common/bug-vfprintf-nargs.c: Likewise.
52432 * sysdeps/i386/crti.S: Likewise.
52433 * sysdeps/i386/crtn.S: Likewise.
52434 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52435 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52436 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52437 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52438 * sysdeps/sh/crti.S: Likewise.
52439 * sysdeps/sh/crtn.S: Likewise.
52440 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52443 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52445 * locale/programs/locfile-kw.gperf: Likewise.
52446 * locale/programs/charmap-kw.h: Regenerated.
52447 * locale/programs/locfile-kw.h: Likewise.
52450 * intl/plural.y: Replace FSF snail mail address with URL.
52451 * intl/plural.c: Regenerated.
52453 2012-03-09 Richard Henderson <rth@twiddle.net>
52455 * include/math_private.h: Remove file.
52456 * math/math_private.h: Move file ...
52457 * sysdeps/generic/math_private.h: ... here.
52459 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52460 * sysdeps/powerpc/fpu/math_private.h: Likewise.
52461 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52463 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52464 and <math_private.h>.
52465 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52466 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52467 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52468 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52469 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52470 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52471 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52472 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52473 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52474 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52475 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52476 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52477 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52478 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52479 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52480 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52481 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52482 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52483 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52484 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52485 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52486 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52487 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52488 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52489 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52490 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52491 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52492 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52493 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52494 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52495 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52496 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52497 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52498 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52499 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52500 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52501 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52502 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52503 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52504 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52505 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52506 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52507 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52508 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52509 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52510 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52511 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52512 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52513 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52514 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52515 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52516 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52517 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52518 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52519 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52520 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52521 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52522 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52523 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52524 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52525 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52526 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52527 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52528 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52529 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52530 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52531 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52532 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52533 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52534 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52535 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52536 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52537 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52538 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52539 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52540 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52541 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52542 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52543 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52544 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52545 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52546 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52547 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52548 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52549 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52550 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52551 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52552 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52553 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52554 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52555 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52556 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52557 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52558 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52559 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52560 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52561 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52562 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52563 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52564 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52565 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52566 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52567 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52568 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52569 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52570 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52571 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52572 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52573 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52574 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52575 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52576 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52577 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52578 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52579 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52580 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52581 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52582 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52583 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52584 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52585 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52586 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52587 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52588 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52589 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52590 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52591 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52592 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52593 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52594 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52595 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52596 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52597 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52598 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52599 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52600 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52601 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52602 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52603 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52604 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52605 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52606 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52607 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52608 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52609 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52610 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52611 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52612 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52613 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52614 * sysdeps/ieee754/k_standard.c: Likewise.
52615 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52616 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52617 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52618 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52619 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52620 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52621 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52622 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52623 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52624 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52625 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52626 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52627 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52628 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52629 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52630 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52631 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52632 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52633 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52634 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52635 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52636 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52637 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52638 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52639 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52640 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52641 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52642 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52643 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52644 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52645 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52646 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52647 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52648 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52649 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52650 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52651 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52652 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52653 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52654 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52655 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52656 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52657 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52658 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52659 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52660 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52661 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52662 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52663 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52664 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52665 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52666 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52667 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52668 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52669 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52670 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52671 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52672 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52673 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52674 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52675 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52676 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52677 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52678 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52679 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52680 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52681 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52682 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52683 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52684 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52685 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52686 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52687 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52688 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52689 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52690 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52691 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52692 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52693 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52694 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52695 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52696 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52697 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52698 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52699 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52700 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52701 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52702 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52703 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52704 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52705 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52706 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52707 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52708 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52709 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52710 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52711 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52712 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52713 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52714 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52715 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52716 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52717 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52718 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52719 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52720 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52721 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52722 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52723 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52724 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52725 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52726 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52727 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52728 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52729 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52730 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52731 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52732 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52733 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52734 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52735 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52736 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52737 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52738 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52739 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52740 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52741 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52742 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52743 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52744 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52745 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52746 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52747 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52748 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52749 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52750 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52751 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52752 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52753 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52754 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52755 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52756 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52757 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52758 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52759 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52760 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52761 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52762 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52763 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52764 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52765 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52766 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52767 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52768 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52769 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52770 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52771 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52772 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52773 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52774 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52775 * sysdeps/ieee754/s_lib_version.c: Likewise.
52776 * sysdeps/ieee754/s_matherr.c: Likewise.
52777 * sysdeps/ieee754/s_signgam.c: Likewise.
52778 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52779 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52780 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52781 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52782 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52783 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52784 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52785 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52786 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52787 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52788 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52789 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52790 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52791 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52792 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52793 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52794 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52795 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52796 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52797 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52798 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52800 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52802 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52803 * sunrpc/rpc_main.c: Likewise.
52804 * sunrpc/rpc_svcout.c: Likewise.
52806 2012-03-09 David S. Miller <davem@davemloft.net>
52808 * include/math_private.h: New file.
52810 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52812 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52813 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52814 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52815 from <bits/socket_type.h>.
52816 (enum __socket_type): Don't define here.
52817 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52819 bits/socket_type.h.
52822 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52823 checking __USE_GNU.
52825 * Makerules ($(inst_includedir)/%.h): New rule.
52826 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52827 (install-others): Remove variable setting.
52828 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52830 2012-03-08 Richard Henderson <rth@twiddle.net>
52832 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52833 from macro to inline function; merge with the
52834 !__LIBC_INTERNAL_MATH_INLINES version.
52835 (__ieee754_sqrtf): Likewise.
52837 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52838 to inline function.
52839 (__rintf, __floor, __floorf): Likewise.
52841 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52842 macro to inline function.
52843 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52845 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52846 not <math/math_private.h>.
52848 2012-03-08 David S. Miller <davem@davemloft.net>
52850 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52852 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52854 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
52856 * resolv/gai_misc.c (handle_requests): Fix struct timespec
52858 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52859 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52861 2012-03-08 Ulrich Drepper <drepper@gmail.com>
52863 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
52864 be defined individually, they must be defined as a block. Define
52865 S for printing a string instead of hidint the different by using a
52866 macro for adding the 'l'.
52867 * stdio-common/tst-fphex-wide.c: Adjust.
52869 2012-03-07 Marek Polacek <polacek@redhat.com>
52871 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52873 2012-03-08 Marek Polacek <polacek@redhat.com>
52876 * stdio-common/Makefile (tests): Add tst-fphex-wide.
52877 * stdio-common/tst-fphex.c: Define a few macros to make the
52878 test reusable. Use them.
52879 * stdio-common/tst-fphex-wide.c: New file.
52881 2012-03-08 Joseph Myers <joseph@codesourcery.com>
52884 * manual/macros.texi (gnusystems): New macro.
52885 (nongnusystems): Likewise.
52886 (gnulinuxhurdsystems): Likewise.
52887 (gnuhurdsystems): Likewise..
52888 (gnulinuxsystems): Likewise.
52889 * manual/charset.texi: Use new macros or @theglibc{} to refer to
52890 variants of the GNU system, not "GNU system".
52891 * manual/conf.texi: Likewise.
52892 * manual/errno.texi: Likewise. Update example of errno macro
52894 * manual/filesys.texi: Likewise.
52895 (getumask): Document as specific to GNU/Hurd.
52896 * manual/install.texi: Likewise. Reword some references to
52898 * manual/intro.texi: Likewise.
52899 * manual/io.texi: Likewise.
52900 (File Name Portability): Detail which constraints are inapplicable
52901 to all GNU systems and which are only inapplicable to GNU/Hurd.
52902 * manual/job.texi: Likewise.
52903 * manual/llio.texi: Likewise.
52904 (O_NOCTTY): Document as present on GNU/Linux.
52905 * manual/maint.texi: Likewise.
52906 * manual/memory.texi: Likewise.
52907 * manual/pattern.texi: Likewise.
52908 * manual/pipe.texi: Likewise.
52909 * manual/process.texi: Likewise.
52910 * manual/resource.texi: Likewise.
52911 (RUSAGE_CHILDREN): Remove statement about specifying a particular
52913 * manual/setjmp.texi: Likewise.
52914 * manual/signal.texi: Likewise.
52915 * manual/startup.texi: Likewise.
52916 * manual/stdio.texi: Likewise.
52917 * manual/terminal.texi: Likewise.
52918 (ONLCR): Document as POSIX.
52919 (OXTABS): Document availability on GNU/Linux as XTABS.
52920 (ONOEOT): Document availability separately from other bits.
52921 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52922 * manual/time.texi: Likewise.
52923 * manual/users.texi: Likewise.
52924 * INSTALL: Regenerated.
52925 * sysdeps/gnu/errlist.c: Regenerated.
52927 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52928 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52929 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
52931 * configure: Regenerated.
52933 2012-03-07 Joseph Myers <joseph@codesourcery.com>
52935 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52936 default includes instead of AC_HEADER_CHECK.
52937 * sysdeps/i386/configure: Regenerated.
52940 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52941 * math/s_cacoshf.c (__cacoshf): Likewise.
52942 * math/s_cacoshl.c (__cacoshl): Likewise.
52943 * math/s_casinh.c (__casinh): Set signs of result from argument.
52944 * math/s_casinhf.c (__casinhf): Likewise.
52945 * math/s_casinhl.c (__casinhl): Likewise.
52946 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52947 (casinh_test): Add more tests.
52948 * sysdeps/i386/fpu/libm-test-ulps: Update.
52949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52951 2012-03-07 Ulrich Drepper <drepper@gmail.com>
52953 * po/zh_TW.po: Update from translation team.
52955 * login/Makefile (distribute): Remove variable.
52956 * catgets/Makefile: Likewise.
52957 * mach/Makefile: Likewise.
52958 * malloc/Makefile: Likewise.
52959 * misc/Makefile: Likewise.
52960 * iconv/Makefile: Likewise.
52961 * nscd/Makefile: Likewise.
52962 * hurd/Makefile: Likewise.
52963 * manual/Makefile: Likewise.
52964 * locale/Makefile: Likewise.
52965 * intl/Makefile: Likewise.
52966 * conform/Makefile: Likewise.
52967 * nss/Makefile: Likewise.
52968 * time/Makefile: Likewise.
52969 * soft-fp/Makefile: Likewise.
52970 * dirent/Makefile: Likewise.
52971 * gmon/Makefile: Likewise.
52972 * po/Makefile: Likewise.
52973 * rt/Makefile: Likewise.
52974 * socket/Makefile: Likewise.
52975 * math/Makefile: Likewise.
52976 * signal/Makefile: Likewise.
52977 * debug/Makefile: Likewise.
52978 * elf/Makefile: Likewise.
52979 * timezone/Makefile: Likewise.
52980 * stdlib/Makefile: Likewise.
52981 * iconvdata/Makefile: Likewise.
52982 * sunrpc/Makefile: Likewise.
52983 * io/Makefile: Likewise.
52984 * argp/Makefile: Likewise.
52985 * inet/Makefile: Likewise.
52986 * hesiod/Makefile: Likewise.
52987 * grp/Makefile: Likewise.
52988 * csu/Makefile: Likewise.
52989 * wctype/Makefile: Likewise.
52990 * crypt/Makefile: Likewise.
52991 * libio/Makefile: Likewise.
52992 * string/Makefile: Likewise.
52993 * nis/Makefile: Likewise.
52994 * resolv/Makefile: Likewise.
52995 * stdio-common/Makefile: Likewise.
52996 * wcsmbs/Makefile: Likewise.
52997 * dlfcn/Makefile: Likewise.
52998 * posix/Makefile: Likewise.
53001 * timezone/Makefile: Don't install timezone files, just the programs
53004 2012-03-06 Ulrich Drepper <drepper@gmail.com>
53006 * nss/databases.def: Add missing gshadow entry.
53008 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
53010 2012-03-06 Marek Polacek <polacek@redhat.com>
53013 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53014 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53015 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53016 * stdio-common/tst-long-dbl-fphex.c: New file.
53018 2012-03-06 David S. Miller <davem@davemloft.net>
53020 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53021 (set_obp_int): New function.
53022 (get_obp_int): New function.
53023 (__get_clockfreq_via_dev_openprom): Likewise.
53024 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53025 Avoid unused variable warnings on 'val' and use builtin_expect.
53026 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53028 (INLINE_CLONE_SYSCALL): Likewise.
53030 2012-03-05 David S. Miller <davem@davemloft.net>
53032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53034 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
53036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53038 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53039 only for |x| >= 40.
53040 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53042 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
53044 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53045 Replace gettimeofday with __vdso_gettimeofday.
53047 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53048 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53049 __vdso_clock_gettime and __vdso_getcpu.
53051 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53052 time with __vdso_time.
53054 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53056 * manual/lang.texi (size_t): Note types to which size_t may be
53057 equivalent with the GNU C Library, but do not describe when
53058 differences between them are significant.
53060 2012-03-05 Andreas Jaeger <aj@suse.de>
53062 * sysdeps/i386/fpu/libm-test-ulps: Update.
53064 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53067 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53068 (__ieee754_pow): Save and restore rounding mode and use
53069 round-to-nearest for main computations.
53070 * math/libm-test.inc (pow_test_tonearest): New function.
53071 (pow_test_towardzero): Likewise.
53072 (pow_test_downward): Likewise.
53073 (pow_test_upward): Likewise.
53074 (main): Call the new functions.
53075 * sysdeps/i386/fpu/libm-test-ulps: Update.
53076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53079 * math/libm-test.inc (cosh_test_tonearest): New function.
53080 (cosh_test_towardzero): Likewise.
53081 (cosh_test_downward): Likewise.
53082 (cosh_test_upward): Likewise.
53083 (sinh_test_tonearest): Likewise.
53084 (sinh_test_towardzero): Likewise.
53085 (sinh_test_downward): Likewise.
53086 (sinh_test_upward): Likewise.
53087 (main): Call the new functions.
53088 * sysdeps/i386/fpu/libm-test-ulps: Update.
53089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53091 2012-03-05 Tom de Vries <tom@codesourcery.com>
53093 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53094 default stack guard is set in last bytes.
53095 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53097 2012-03-05 Kees Cook <keescook@chromium.org>
53099 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53102 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53103 possibly allocate from heap instead of stack.
53104 * stdio-common/bug-vfprintf-nargs.c: New file.
53105 * stdio-common/Makefile (tests): Add nargs overflow test.
53107 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
53109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53111 2012-03-03 Marek Polacek <polacek@redhat.com>
53113 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53114 * math/math_private.h: Likewise.
53115 * stdlib/tst-strtod.c: Likewise.
53116 * sysdeps/i386/i486/bits/atomic.h: Likewise.
53117 * sysdeps/x86_64/bits/atomic.h: Likewise.
53119 2012-03-02 David S. Miller <davem@davemloft.net>
53121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53125 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53126 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53127 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53128 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53130 2012-03-02 Roland McGrath <roland@hack.frob.com>
53133 * manual/examples/README: New file, says the example source files
53134 can be used under GPL>=2.
53135 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53136 line containing just "*/".
53137 * manual/examples/add.c: Add copyright header (GPL>=2).
53138 * manual/examples/argp-ex1.c: Likewise.
53139 * manual/examples/argp-ex2.c: Likewise.
53140 * manual/examples/argp-ex3.c: Likewise.
53141 * manual/examples/argp-ex4.c: Likewise.
53142 * manual/examples/atexit.c: Likewise.
53143 * manual/examples/db.c: Likewise.
53144 * manual/examples/dir.c: Likewise.
53145 * manual/examples/dir2.c: Likewise.
53146 * manual/examples/execinfo.c: Likewise.
53147 * manual/examples/filecli.c: Likewise.
53148 * manual/examples/filesrv.c: Likewise.
53149 * manual/examples/fmtmsgexpl.c: Likewise.
53150 * manual/examples/genpass.c: Likewise.
53151 * manual/examples/inetcli.c: Likewise.
53152 * manual/examples/inetsrv.c: Likewise.
53153 * manual/examples/isockad.c: Likewise.
53154 * manual/examples/longopt.c: Likewise.
53155 * manual/examples/memopen.c: Likewise.
53156 * manual/examples/memstrm.c: Likewise.
53157 * manual/examples/mkfsock.c: Likewise.
53158 * manual/examples/mkisock.c: Likewise.
53159 * manual/examples/mygetpass.c: Likewise.
53160 * manual/examples/pipe.c: Likewise.
53161 * manual/examples/popen.c: Likewise.
53162 * manual/examples/rprintf.c: Likewise.
53163 * manual/examples/search.c: Likewise.
53164 * manual/examples/select.c: Likewise.
53165 * manual/examples/setjmp.c: Likewise.
53166 * manual/examples/sigh1.c: Likewise.
53167 * manual/examples/sigusr.c: Likewise.
53168 * manual/examples/stpcpy.c: Likewise.
53169 * manual/examples/strdupa.c: Likewise.
53170 * manual/examples/strftim.c: Likewise.
53171 * manual/examples/strncat.c: Likewise.
53172 * manual/examples/subopt.c: Likewise.
53173 * manual/examples/swapcontext.c: Likewise.
53174 * manual/examples/termios.c: Likewise.
53175 * manual/examples/testopt.c: Likewise.
53176 * manual/examples/testpass.c: Likewise.
53177 * manual/examples/timeval_subtract.c: Likewise.
53180 * manual/time.texi (Elapsed Time): Move timeval_subtract example
53182 * manual/timeval_subtract.c.texi: ... here, new file.
53184 2012-03-02 David S. Miller <davem@davemloft.net>
53186 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53188 2012-03-02 Joseph Myers <joseph@codesourcery.com>
53191 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53192 (__sin): Save and restore rounding mode and use round-to-nearest
53193 for all computations.
53194 (__cos): Save and restore rounding mode and use round-to-nearest
53195 for all computations.
53196 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53198 (tan): Save and restore rounding mode and use round-to-nearest for
53200 * math/libm-test.inc (cos_test_tonearest): New function.
53201 (cos_test_towardzero): Likewise.
53202 (cos_test_downward): Likewise.
53203 (cos_test_upward): Likewise.
53204 (sin_test_tonearest): Likewise.
53205 (sin_test_towardzero): Likewise.
53206 (sin_test_downward): Likewise.
53207 (sin_test_upward): Likewise.
53208 (tan_test_tonearest): Likewise.
53209 (tan_test_towardzero): Likewise.
53210 (tan_test_downward): Likewise.
53211 (tan_test_upward): Likewise.
53212 (main): Call the new functions.
53213 * sysdeps/i386/fpu/libm-test-ulps: Update.
53214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53217 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53218 small n, then large n, before computing and testing k+n.
53219 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53220 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53222 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53224 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53225 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53226 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53227 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53228 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53229 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53230 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53231 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53232 * math/libm-test.inc (scalbn_test): Add more tests.
53233 (scalbln_test): Likewise.
53235 * manual/filesys.texi (mode_t): Describe constraints on size and
53236 signedness, not exact equivalence to a particular type.
53238 (ino64_t): Likewise.
53240 (nlink_t): Likewise.
53241 (blkcnt_t): Likewise.
53242 (blkcnt64_t): Likewise.
53243 * manual/llio.texi (off_t): Likewise.
53246 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53247 (__ieee754_exp): Save and restore rounding mode and use
53248 round-to-nearest for all computations.
53249 * math/libm-test.inc (exp_test_tonearest): New function.
53250 (exp_test_towardzero): Likewise.
53251 (exp_test_downward): Likewise.
53252 (exp_test_upward): Likewise.
53253 (main): Call the new functions.
53254 * sysdeps/i386/fpu/libm-test-ulps: Update.
53255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53257 2012-03-01 Chris Demetriou <cgd@google.com>
53259 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53260 have predictable order.
53262 2012-03-01 David S. Miller <davem@davemloft.net>
53264 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53266 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53267 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53268 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53269 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53271 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53272 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53273 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53275 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53276 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53277 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53278 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53279 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53283 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53284 * sysdeps/sparc/fpu/libm-test-ulps: to here.
53285 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53287 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53288 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53289 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53290 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53291 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53292 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53293 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53294 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53295 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53296 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53297 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53298 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53299 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53300 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53301 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53303 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53304 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53305 * sysdeps/sparc/elf/configure: Regenerated.
53307 2012-03-01 Joseph Myers <joseph@codesourcery.com>
53309 * configure.in (AS, LD): Require binutils 2.20 or later.
53310 * configure: Regenerated.
53311 * manual/install.texi (Tools for Compilation): Give binutils 2.20
53312 as required minimum version.
53313 * INSTALL: Regenerated.
53317 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53318 before squaring exponent.
53319 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53320 bottom long double and 27 bits of top long double before squaring
53322 * math/libm-test.inc (erfc_test): Add more tests.
53323 * sysdeps/i386/fpu/libm-test-ulps: Update.
53324 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53327 2012-03-01 Kai Tietz <ktietz@redhat.com>
53329 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53330 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53331 containing bit-fields.
53332 * soft-fp/extended.h (_FP_UNION_E): Likewise.
53333 * soft-fp/single.h (_FP_UNION_S): Likewise.
53334 * soft-fp/double.h (_FP_UNION_D): Likewise.
53336 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53339 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53340 not include ../strcmp.S.
53341 [USE_AS_STRNCASECMP_L]: Likewise.
53342 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53343 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53344 * sysdeps/i386/i686/multiarch/strncase_l-c.c
53345 (__strncasecmp_l_ia32): Define as alias to
53346 __strncasecmp_l_nonascii.
53349 * math/libm-test.inc (expm1_test): Add test for bug 5794.
53350 * sysdeps/i386/fpu/libm-test-ulps: Update.
53351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53353 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53356 2012-02-29 Jeff Law <law@redhat.com>
53358 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53359 out of bounds read.
53361 2012-02-29 Marek Polacek <polacek@redhat.com>
53364 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53365 * elf/Makefile: Add rules to run tst-unused-dep.out.
53367 2012-02-28 David S. Miller <davem@davemloft.net>
53369 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53370 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53371 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53372 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53373 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53374 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53376 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53378 * math/libm-test.inc (llround_test): Move one test from
53379 lround_test. Use TEST_f_L in moved test.
53380 (lround_test): Move misplaced test to llround_test. Add testcase
53383 2012-02-28 Ulrich Drepper <drepper@gmail.com>
53385 * sysdeps/x86_64/fpu/e_expf.S: New file.
53386 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53388 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
53391 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53392 of remain_len that may cause incomplete multi-byte character and
53394 * posix/bug-regex33.c: New file.
53395 * posix/Makefile (tests): Add bug-regex33.
53397 2012-02-28 Joseph Myers <joseph@codesourcery.com>
53399 * manual/macros.texi: New file.
53400 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53401 * manual/libc.texinfo: Include macros.texi.
53402 * manual/creatute.texi: Likewise.
53403 * manual/install.texi: Likewise.
53404 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53405 @glibcadj{} in references to the GNU C Library.
53406 * manual/charset.texi: Likewise.
53407 * manual/conf.texi: Likewise.
53408 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
53409 when not using those macros.
53410 * manual/creature.texi: Likewise.
53411 * manual/crypt.texi: Likewise.
53412 * manual/errno.texi: Likewise.
53413 * manual/filesys.texi: Likewise.
53414 * manual/header.texi: Likewise.
53415 * manual/install.texi: Likewise.
53416 * manual/intro.texi: Likewise.
53417 * manual/io.texi: Likewise.
53418 * manual/job.texi: Likewise.
53419 * manual/lang.texi: Likewise.
53420 * manual/libc.texiinfo: Likewise.
53421 * manual/llio.texi: Likewise.
53422 * manual/locale.texi: Likewise.
53423 * manual/maint.texi: Likewise.
53424 * manual/math.texi: Likewise.
53425 * manual/memory.texi: Likewise.
53426 * manual/message.texi: Likewise.
53427 * manual/nss.texi: Likewise.
53428 * manual/pattern.texi: Likewise.
53429 * manual/process.texi: Likewise.
53430 * manual/resource.texi: Likewise.
53431 * manual/search.texi: Likewise.
53432 * manual/setjmp.texi: Likewise.
53433 * manual/signal.texi: Likewise.
53434 * manual/socket.texi: Likewise.
53435 * manual/startup.texi: Likewise.
53436 * manual/stdio.texi: Likewise.
53437 * manual/string.texi: Likewise.
53438 * manual/sysinfo.texi: Likewise.
53439 * manual/syslog.texi: Likewise.
53440 * manual/terminal.texi: Likewise.
53441 * manual/time.texi: Likewise.
53442 * manual/users.texi: Likewise.
53443 * INSTALL: Regenerated.
53444 * NOTES: Regenerated.
53445 * sysdeps/gnu/errlist.c: Regenerated.
53447 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
53449 * include/dirent.h: Include <dirstream.h> before
53452 2012-02-28 David S. Miller <davem@davemloft.net>
53454 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53455 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53456 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53457 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53459 2012-02-27 David S. Miller <davem@davemloft.net>
53461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53463 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53464 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53467 frame pointer instead of stack pointer relative arg slot.
53468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53469 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53470 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53472 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
53475 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53477 2012-02-27 David S. Miller <davem@davemloft.net>
53479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53483 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53484 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53485 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53486 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53488 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53490 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53491 later. Allow versions 5-9.
53492 * configure: Regenerated.
53493 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53494 required minimum version and 4.6 as recommended version. Do not
53495 mention bugs in GCC 2.7 and 2.8.
53496 * INSTALL: Regenerated.
53498 2012-02-27 David S. Miller <davem@davemloft.net>
53500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53504 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53505 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53506 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53507 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53509 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53510 manipulate bits before adding and subtracting TWO112[sx].
53511 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53513 2012-02-27 Roland McGrath <roland@hack.frob.com>
53516 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53517 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53518 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53519 being in POSIX, because they are in 1003.1-2008.
53521 * rt/tst-aio.c: Include <fcntl.h>.
53522 * rt/tst-aio7.c: Likewise.
53523 * rt/tst-aio64.c: Likewise.
53525 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53527 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53529 * manual/install.texi (--with-headers): Describe headers as
53530 interface headers, not private headers.
53531 (Specific advice for GNU/Linux systems): Describe use of headers
53532 from "make headers_install", not private headers from older
53534 * INSTALL: Regenerated.
53535 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53537 * sysdeps/unix/sysv/linux/configure: Regenerated.
53539 * manual/llio.texi (fclean): Remove documentation.
53541 * manual/Makefile (libc-texi-generated): New variable. Include
53543 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53544 $(libc-texi-generated), not duplicated list of files.
53545 (version.texi, stamp-version): New rules.
53546 (realclean): Remove $(libc-texi-generated), not individual files
53547 from that list. Do not remove dir-add.texinfo.
53548 * manual/libc.texinfo: Comment out uses of edition numbers and
53549 references to printed manual. Remove last-updated dates.
53550 (EDITION): Comment out.
53552 (VERSION, UPDATED): Remove.
53553 (version.texi): Include.
53555 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
53557 * sysdeps/posix/spawni.c: Include <signal.h>.
53558 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53559 * sysdeps/pthread/aio_fsync.c: Likewise.
53561 2012-02-26 Ulrich Drepper <drepper@gmail.com>
53563 * conform/Makefile (tests): Run only when not cross-compiling and
53564 when fast-check is not defined.
53566 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53567 * conform/data/limits.h-data: Fixes for POSIX2008.
53568 * conform/run-conformtest.sh: Run all tests.
53569 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53571 * include/bits/dlfcn.h: Likewise.
53572 * include/langinfo.h: Likewise.
53573 * include/monetary.h: Likewise.
53574 * include/sys/poll.h: Likewise.
53576 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53578 * posix/spawn.h: Define __need_sigset_t.
53579 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53580 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53581 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
53582 to get sigevent_t only.
53583 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53584 only for __USE_GNU.
53585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53586 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53587 process_vm_writev only for __USE_GNU.
53588 * termios/termios.h: Declare tcgetsid also for POSIX2008.
53590 * conform/Makefile: For now ignore errors from run-conformtest.
53591 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
53592 POSIX to avoid namespace pollution. Don't prepend headers.
53593 * conform/data/aio.h-data: Fixes for POSIX testing.
53594 * conform/data/fcntl.h-data: Likewise.
53595 * conform/data/glob.h-data: Likewise.
53596 * conform/data/grp.h-data: Likewise.
53597 * conform/data/pthread.h-data: Likewise.
53598 * conform/data/pwd.h-data: Likewise.
53599 * conform/data/signal.h-data: Likewise.
53600 * conform/data/spawn.h-data: Likewise.
53601 * conform/data/stdio.h-data: Likewise.
53602 * conform/data/stdlib.h-data: Likewise.
53603 * conform/data/stropts.h-data: Likewise.
53604 * conform/data/sys/mman.h-data: Likewise.
53605 * conform/data/sys/stat.h-data: Likewise.
53606 * conform/data/sys/types.h-data: Likewise.
53607 * conform/data/sys/wait.h-data: Likewise.
53608 * conform/data/time.h-data: Likewise.
53609 * conform/data/unistd.h-data: Likewise.
53610 * conform/data/utime.h-data: Likewise.
53612 * io/sys/stat.h: fchmod was always in POSIX.
53613 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53614 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53615 * rt/aio.h: Define __need_timespec before including <time.h>.
53616 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53617 struct. Add forward declaration of pthread_attr_t and use it in
53619 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53620 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53621 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53622 always remove CLK_TCK definition.
53624 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
53626 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53628 2012-02-25 Ulrich Drepper <drepper@gmail.com>
53630 * conform/run-conformtest.sh: New file.
53631 * conform/Makefile: Run run-conformtest for tests.
53632 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
53635 * conform/data/uchar.h-data: New file.
53636 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53637 * conform/data/arpa/inet.h-data: Likewise.
53638 * conform/data/assert.h-data: Likewise.
53639 * conform/data/complex.h-data: Likewise.
53640 * conform/data/cpio.h-data: Likewise.
53641 * conform/data/ctype.h-data: Likewise.
53642 * conform/data/dirent.h-data: Likewise.
53643 * conform/data/dlfcn.h-data: Likewise.
53644 * conform/data/errno.h-data: Likewise.
53645 * conform/data/fcntl.h-data: Likewise.
53646 * conform/data/float.h-data: Likewise.
53647 * conform/data/fmtmsg.h-data: Likewise.
53648 * conform/data/fnmatch.h-data: Likewise.
53649 * conform/data/ftw.h-data: Likewise.
53650 * conform/data/glob.h-data: Likewise.
53651 * conform/data/grp.h-data: Likewise.
53652 * conform/data/iconv.h-data: Likewise.
53653 * conform/data/inttypes.h-data: Likewise.
53654 * conform/data/langinfo.h-data: Likewise.
53655 * conform/data/libgen.h-data: Likewise.
53656 * conform/data/limits.h-data: Likewise.
53657 * conform/data/locale.h-data: Likewise.
53658 * conform/data/math.h-data: Likewise.
53659 * conform/data/monetary.h-data: Likewise.
53660 * conform/data/mqueue.h-data: Likewise.
53661 * conform/data/ndbm.h-data: Likewise.
53662 * conform/data/net/if.h-data: Likewise.
53663 * conform/data/netdb.h-data: Likewise.
53664 * conform/data/netinet/in.h-data: Likewise.
53665 * conform/data/nl_types.h-data: Likewise.
53666 * conform/data/poll.h-data: Likewise.
53667 * conform/data/pthread.h-data: Likewise.
53668 * conform/data/pwd.h-data: Likewise.
53669 * conform/data/regex.h-data: Likewise.
53670 * conform/data/sched.h-data: Likewise.
53671 * conform/data/search.h-data: Likewise.
53672 * conform/data/semaphore.h-data: Likewise.
53673 * conform/data/setjmp.h-data: Likewise.
53674 * conform/data/signal.h-data: Likewise.
53675 * conform/data/spawn.h-data: Likewise.
53676 * conform/data/stdarg.h-data: Likewise.
53677 * conform/data/stdio.h-data: Likewise.
53678 * conform/data/stdlib.h-data: Likewise.
53679 * conform/data/string.h-data: Likewise.
53680 * conform/data/strings.h-data: Likewise.
53681 * conform/data/stropts.h-data: Likewise.
53682 * conform/data/sys/ipc.h-data: Likewise.
53683 * conform/data/sys/mman.h-data: Likewise.
53684 * conform/data/sys/msg.h-data: Likewise.
53685 * conform/data/sys/resource.h-data: Likewise.
53686 * conform/data/sys/select.h-data: Likewise.
53687 * conform/data/sys/sem.h-data: Likewise.
53688 * conform/data/sys/shm.h-data: Likewise.
53689 * conform/data/sys/socket.h-data: Likewise.
53690 * conform/data/sys/stat.h-data: Likewise.
53691 * conform/data/sys/statvfs.h-data: Likewise.
53692 * conform/data/sys/time.h-data: Likewise.
53693 * conform/data/sys/timeb.h-data: Likewise.
53694 * conform/data/sys/times.h-data: Likewise.
53695 * conform/data/sys/types.h-data: Likewise.
53696 * conform/data/sys/uio.h-data: Likewise.
53697 * conform/data/sys/un.h-data: Likewise.
53698 * conform/data/sys/utsname.h-data: Likewise.
53699 * conform/data/sys/wait.h-data: Likewise.
53700 * conform/data/syslog.h-data: Likewise.
53701 * conform/data/tar.h-data: Likewise.
53702 * conform/data/termios.h-data: Likewise.
53703 * conform/data/utime.h-data: Likewise.
53704 * conform/data/utmpx.h-data: Likewise.
53705 * conform/data/varargs.h-data: Likewise.
53706 * conform/data/wchar.h-data: Likewise.
53707 * conform/data/wctype.h-data: Likewise.
53708 * conform/data/wordexp.h-data: Likewise.
53710 * include/stropts.h: New file.
53711 * include/uchar.h: New file.
53712 * include/aio.h: Changes to allow conformtest.pl to use the headers.
53713 * include/assert.h: Likewise.
53714 * include/ctype.h: Likewise.
53715 * include/dirent.h: Likewise.
53716 * include/dlfcn.h: Likewise.
53717 * include/fcntl.h: Likewise.
53718 * include/fnmatch.h: Likewise.
53719 * include/glob.h: Likewise.
53720 * include/grp.h: Likewise.
53721 * include/libio.h: Likewise.
53722 * include/locale.h: Likewise.
53723 * include/math.h: Likewise.
53724 * include/net/if.h: Likewise.
53725 * include/netdb.h: Likewise.
53726 * include/netinet/in.h: Likewise.
53727 * include/pthread.h: Likewise.
53728 * include/pwd.h: Likewise.
53729 * include/regex.h: Likewise.
53730 * include/sched.h: Likewise.
53731 * include/search.h: Likewise.
53732 * include/setjmp.h: Likewise.
53733 * include/signal.h: Likewise.
53734 * include/stdio.h: Likewise.
53735 * include/stdlib.h: Likewise.
53736 * include/string.h: Likewise.
53737 * include/sys/cdefs.h: Likewise.
53738 * include/sys/mman.h: Likewise.
53739 * include/sys/msg.h: Likewise.
53740 * include/sys/resource.h: Likewise.
53741 * include/sys/select.h: Likewise.
53742 * include/sys/socket.h: Likewise.
53743 * include/sys/stat.h: Likewise.
53744 * include/sys/statvfs.h: Likewise.
53745 * include/sys/time.h: Likewise.
53746 * include/sys/times.h: Likewise.
53747 * include/sys/uio.h: Likewise.
53748 * include/sys/utsname.h: Likewise.
53749 * include/sys/wait.h: Likewise.
53750 * include/termios.h: Likewise.
53751 * include/time.h: Likewise.
53752 * include/ulimit.h: Likewise.
53753 * include/unistd.h: Likewise.
53754 * include/utime.h: Likewise.
53755 * include/wchar.h: Likewise.
53756 * include/wctype.h: Likewise.
53757 * include/wordexp.h: Likewise.
53759 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53761 * time/time.h: TIME_UTC must be a macro.
53762 Make timespec_get available for ISO C11 only as well.
53764 2012-02-24 Ulrich Drepper <drepper@gmail.com>
53766 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53767 Reported by Peng Haitao <penght@cn.fujitsu.com>.
53769 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53771 * configure.in: Use -o not -a in test for unsupported multi-arch.
53773 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53775 * manual/texinfo.tex: Update to version 2012-01-19.16.
53777 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53779 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53781 2012-02-24 Roland McGrath <roland@hack.frob.com>
53784 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53785 * manual/fdl-1.3.texi: New file.
53786 * manual/fdl-1.1.texi: File removed.
53789 * manual/libc.texinfo (FDL_VERSION): New @set.
53790 Use it for mention of FDL in cover text.
53791 (Documentation License): Use it in @include file name.
53793 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53794 Roland McGrath <roland@hack.frob.com>
53797 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53798 (not LONG_LONG_MAX and LONG_LONG_MIN.
53799 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53800 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
53802 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53804 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53808 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53809 manipulate bits before adding and subtracting TWO23[sx].
53810 * math/libm-test.inc (nearbyint_test): Add more tests.
53812 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53815 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53816 bits before adding and subtracting TWO23[sx].
53817 * math/libm-test.inc (rint_test): Add more tests.
53818 (rint_test_tonearest): Likewise.
53819 (rint_test_towardzero): Likewise.
53820 (rint_test_downward): Likewise.
53821 (rint_test_upward: Likewise.
53823 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53826 * include/stdc-predef.h: New file. Extracted from features.h.
53827 * include/features.h: Include stdc-predef.h.
53828 * Makefile (headers): Add stdc-predef.h.
53829 * CONFORMANCE (Compiler limitations): Update.
53831 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53833 * manual/libc.texinfo (VERSION, UPDATED): Revert.
53835 2012-02-21 David S. Miller <davem@davemloft.net>
53837 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53838 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53840 2012-02-20 David S. Miller <davem@davemloft.net>
53842 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53843 using a normal save/restore sequence, rather than allocating a
53844 dummy stack frame just to store a frame pointer and restore.
53845 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53847 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53849 * manual/install.texi: Fix stray word in line-wrapped comment.
53851 2012-02-20 David S. Miller <davem@davemloft.net>
53853 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53854 both binutils and gcc support GOTDATA.
53856 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53857 "rd %pc" in the PIC register setup sequences.
53859 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53860 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53861 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53862 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53863 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53864 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53865 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53866 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53868 (SYSCALL_ERROR_HANDLER): Likewise.
53869 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53870 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53871 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53872 (SYSCALL_ERROR_HANDLER): Likewise.
53874 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53875 (HAVE_GCC_GOTDATA): New.
53876 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53877 relocation support in both binutils and gcc.
53878 * sysdeps/sparc/elf/configure: Regenerate.
53880 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53881 * sysdeps/sparc/sparc32/elf/configure: Delete.
53882 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53883 * sysdeps/sparc/sparc64/elf/configure: Delete.
53884 * sysdeps/sparc/elf/configure.in: New file.
53885 * sysdeps/sparc/elf/configure: Generate.
53887 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53888 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53889 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53890 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53891 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53893 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53895 * manual/install.texi: Do not mention specific glibc version
53897 * manual/libc.texinfo (VERSION, UPDATED): Update.
53898 (@copying): Use @copyright{} and range of years.
53900 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53903 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53904 [crti.S not in sysdirs] (generated): Do not append.
53905 [crti.S not in sysdirs] (omit-deps): Likewise.
53906 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53907 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53908 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53909 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53910 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53912 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53913 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53914 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53915 * csu/defs.awk: Remove file.
53916 * sysdeps/generic/initfini.c: Likewise.
53917 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53919 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53922 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53924 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53925 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53926 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53927 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53928 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53929 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53931 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53932 (__EPOLL_PACKED): Define to empty if not defined by
53934 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53938 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53940 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53941 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53942 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53943 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53945 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53949 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53951 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53953 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53954 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53955 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53958 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
53960 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53961 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53963 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
53965 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53966 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53968 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53970 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53973 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
53975 * math/w_acos.c: Use non-signaling floating-point comparisons.
53976 * math/w_acosf.c: Likewise.
53977 * math/w_acosh.c: Likewise.
53978 * math/w_acoshf.c: Likewise.
53979 * math/w_acoshl.c: Likewise.
53980 * math/w_acosl.c: Likewise.
53981 * math/w_asin.c: Likewise.
53982 * math/w_asinf.c: Likewise.
53983 * math/w_asinl.c: Likewise.
53984 * math/w_atanh.c: Likewise.
53985 * math/w_atanhf.c: Likewise.
53986 * math/w_atanhl.c: Likewise.
53987 * math/w_exp2.c: Likewise.
53988 * math/w_exp2f.c: Likewise.
53989 * math/w_exp2l.c: Likewise.
53990 * math/w_j0.c: Likewise.
53991 * math/w_j0f.c: Likewise.
53992 * math/w_j0l.c: Likewise.
53993 * math/w_j1.c: Likewise.
53994 * math/w_j1f.c: Likewise.
53995 * math/w_j1l.c: Likewise.
53996 * math/w_jn.c: Likewise.
53997 * math/w_jnf.c: Likewise.
53998 * math/w_log.c: Likewise.
53999 * math/w_log10.c: Likewise.
54000 * math/w_log10f.c: Likewise.
54001 * math/w_log10l.c: Likewise.
54002 * math/w_log2.c: Likewise.
54003 * math/w_log2f.c: Likewise.
54004 * math/w_log2l.c: Likewise.
54005 * math/w_logf.c: Likewise.
54006 * math/w_logl.c: Likewise.
54007 * math/w_sqrt.c: Likewise.
54008 * math/w_sqrtf.c: Likewise.
54009 * math/w_sqrtl.c: Likewise.
54010 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54011 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54012 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54013 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54014 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54016 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54019 * manual/string.texi (strnlen): Use correct parameter name in
54020 equivalent expression.
54022 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54025 * manual/users.texi (seteuid): Consistently use neweuid for
54028 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54031 * manual/nss.texi (Services in the NSS configuration): Correct
54032 list of services in example configuration file.
54034 2012-02-19 Nick Bowler <nbowler@draconx.ca>
54037 * manual/arith.texi: Remove statements about negative zero
54038 behaving identically to zero.
54040 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54043 * manual/install.texi: Do not document upgrading from libc5.
54045 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54048 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54050 2012-02-18 David S. Miller <davem@davemloft.net>
54052 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54053 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54054 %o7 across the call.
54055 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54057 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54058 SETUP_PIC_REG_LEAF.
54059 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54060 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54061 * sysdeps/sparc/crtn.S: Likewise.
54063 2012-02-17 Ulrich Drepper <drepper@gmail.com>
54065 * aout/Makefile: Remove.
54067 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
54070 * manual/examples/argp-ex1.c (main): Format definition in GNU
54072 * manual/examples/argp-ex2.c (main): Likewise.
54073 * manual/examples/argp-ex3.c (main): Likewise.
54074 * manual/examples/argp-ex4.c (main): Likewise.
54075 * manual/examples/longopt.c (main): Use new-style prototype
54077 * manual/examples/strncat.c (main): Specify return type and use
54078 (void) for arguments.
54079 * manual/examples/subopt.c (main): Use char **argv argument.
54081 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54084 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54087 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
54090 * manual/string.texi (strchr): Change when strchrnul is
54093 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
54096 * manual/locale.texi (setlocale): Document LOCPATH.
54098 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54101 * manual/process.texi (execle): Move @dots{} before last argument.
54103 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
54106 * manual/charset.texi (Generic Charset Conversion): Fix typo
54107 (LC_TYPE -> LC_CTYPE).
54109 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
54112 * manual/arith.texi (scalbn): Use @var{} on parameter names.
54113 (scalbnf): Likewise.
54114 (scalbnl): Likewise.
54115 (scalbln): Likewise.
54116 (scalblnf): Likewise.
54117 (scalblnl): Likewise.
54118 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54119 (vwarnx): Likewise.
54122 * manual/filesys.texi (telldir): Use braces around return type.
54123 * manual/llio.texi (mmap): Add space after comma.
54124 (mmap64): Likewise.
54125 * manual/math.texi (jn): Use @var{} on parameter names.
54131 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54133 * manual/resource.texi (ulimit): Use @dots{} instead of literal
54135 (sched_get_priority_min): Remove semicolon on @deftypefun line.
54136 (sched_get_priority_max): Likewise.
54137 * manual/signal.texi (sigvec): Add space after comma.
54138 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54140 (if_indextoname): Likewise.
54141 (if_freenameindex): Likewise.
54142 (sendto): Use ',' instead of '.' in prototype.
54143 * manual/startup.texi (syscall): Use @dots{} instead of literal
54145 * manual/stdio.texi (__fpending): Separate initial words of
54146 paragraph from @deftypefun line.
54147 * manual/syslog.texi (syslog): Use @dots{} instead of literal
54149 (vsyslog): Use @var{} on parameter names.
54150 * manual/terminal.texi (stty): Use @var{} on parameter names.
54151 * manual/users.texi (getutmp): Use @var{} on parameter names.
54152 (getutmpx): Likewise.
54154 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54157 * manual/stdio.texi (fopen): Fix typos in description of
54160 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
54163 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54164 get clock_id definition.
54166 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
54169 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54170 (madvise): Cast every argument to void on its own.
54172 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54175 * manual/startup.texi (Exit Status): Fix typo.
54177 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54180 * manual/examples/argp-ex1.c: Include <stdlib.h>.
54181 * manual/examples/argp-ex2.c: Likewise.
54182 * manual/examples/argp-ex3.c: Likewise.
54184 2012-02-16 Richard Henderson <rth@redhat.com>
54186 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54187 * sysdeps/s390/s390-32/initfini.c: Remove.
54188 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54189 * sysdeps/s390/s390-64/initfini.c: Remove.
54191 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54193 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54194 compiler output for sysdeps/generic/initfini.c.
54195 * sysdeps/sh/elf/initfini.c: Remove file.
54197 2012-02-16 David S. Miller <davem@davemloft.net>
54200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54202 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54203 * sysdeps/sparc/crti.S: New file.
54204 * sysdeps/sparc/crtn.S: New file.
54205 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54206 * sysdeps/sparc/sparc64/Makefile: Likewise.
54208 2012-02-15 Mike Frysinger <vapier@gentoo.org>
54211 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54213 2012-02-15 Roland McGrath <roland@hack.frob.com>
54216 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54218 * mach/devstream.c (cookie_io_functions_t): Macro removed.
54219 (write, read, close): Likewise.
54220 Patch by Aurelien Jarno <aurelien@aurel32.net>.
54222 2012-02-15 Joseph Myers <joseph@codesourcery.com>
54224 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54225 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54226 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54227 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54229 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54233 2012-02-14 Marek Polacek <polacek@redhat.com>
54235 * sysdeps/x86_64/crti.S: New file.
54236 * sysdeps/x86_64/crtn.S: New file.
54237 * sysdeps/x86_64/elf/initfini.c: Remove file.
54239 2012-02-13 Joseph Myers <joseph@codesourcery.com>
54241 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54242 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54243 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54244 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54246 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54250 2012-02-13 Joseph Myers <joseph@codesourcery.com>
54252 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54253 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54254 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54255 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54257 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54261 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
54263 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54264 __feraiseexcept instead of feraiseexcept.
54266 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54267 nanosleep invocations.
54268 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54269 strings, and add error checking for a nanosleep invocations.
54271 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
54273 Replace FSF snail mail address with URLs, as per GNU coding standards.
54274 Most of the snail mail addresses were wrong anyway, and omitting
54275 them makes the source code easier to maintain. Almost all of the
54276 changes are to license notices and to locale LC_IDENTIFICATION
54277 addresses, except for this one:
54278 * manual/libc.texinfo: In "Published by", give the FSF's URL,
54279 not its snail mail address.
54281 2012-02-09 Richard Henderson <rth@twiddle.net>
54283 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54284 of kernel-features.h.
54286 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54288 2012-02-08 Marek Polacek <polacek@redhat.com>
54290 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54291 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54292 * sysdeps/gnu/_G_config.h: Likewise.
54293 * sysdeps/generic/_G_config.h: Likewise.
54295 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
54297 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54301 * sysdeps/powerpc/powerpc32/crti.S: New file.
54302 * sysdeps/powerpc/powerpc32/crtn.S: New file.
54303 * sysdeps/powerpc/powerpc64/crti.S: New file.
54304 * sysdeps/powerpc/powerpc64/crtn.S: New file.
54306 * Makeconfig (have-initfini): Don't set.
54307 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54308 * configure.in (nopic_initfini): Don't substitute.
54309 * config.h.in (HAVE_INITFINI): Don't #undef.
54310 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54311 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54313 2012-02-08 Joseph Myers <joseph@codesourcery.com>
54315 Support crti.S and crtn.S provided directly by architectures.
54316 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54317 [crti.S in sysdirs] (omit-deps): Likewise.
54318 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54319 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54320 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54321 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54322 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54323 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54324 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54325 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54326 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54327 compiler output for sysdeps/generic/initfini.c.
54328 * sysdeps/i386/elf/Makefile: Remove file.
54329 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54331 2012-02-07 Marek Polacek <polacek@redhat.com>
54333 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54334 * sysdeps/gnu/_G_config.h: Likewise.
54335 * sysdeps/mach/hurd/_G_config.h: Likewise.
54337 2012-02-07 Marek Polacek <polacek@redhat.com>
54339 * math/Makefile (tests): Add tst-CMPLX2.
54340 * math/tst-CMPLX2.c: New file.
54342 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
54344 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54346 * math/libm-test.inc (jn_test): Add missing L suffix.
54348 2012-02-06 Marek Polacek <polacek@redhat.com>
54350 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54351 * sysdeps/i386/fpu/e_powf.S: Likewise.
54352 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54353 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54354 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54355 * sysdeps/i386/fpu/e_pow.S: Likewise.
54356 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54357 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54358 * sysdeps/i386/fpu/s_expm1.S: Likewise.
54359 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54360 * sysdeps/i386/fpu/e_log2.S: Likewise.
54361 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54362 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54363 * sysdeps/i386/fpu/e_powl.S: Likewise.
54364 * sysdeps/i386/fpu/s_log1p.S: Likewise.
54365 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54366 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54367 * sysdeps/i386/fpu/e_logl.S: Likewise.
54368 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54369 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54370 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54371 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54372 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54373 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54374 * sysdeps/i386/fpu/e_log.S: Likewise.
54375 * sysdeps/i386/fpu/s_cexp.S: Likewise.
54376 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54377 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54378 * sysdeps/i386/fpu/e_logf.S: Likewise.
54379 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54380 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54381 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54382 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54383 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54384 * sysdeps/i386/fpu/e_log10.S: Likewise.
54385 * sysdeps/i386/fpu/s_frexp.S: Likewise.
54386 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54387 * sysdeps/i386/fpu/s_asinh.S: Likewise.
54388 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54389 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54390 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54391 * sysdeps/i386/asm-syntax.h: Likewise.
54392 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54393 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54394 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54395 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54396 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54397 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54398 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54399 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54400 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54401 * sysdeps/powerpc/sysdep.h: Likewise.
54402 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54403 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54405 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54408 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54410 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54412 * sysdeps/i386/sysdep.h: Include <features.h>.
54413 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54416 2012-02-05 Joseph Myers <joseph@codesourcery.com>
54418 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54420 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54423 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54425 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54426 (SETUP_PIC_REG): Use GET_PC_THUNK.
54427 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54430 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54432 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54433 for non-PIC compilation.
54434 (SETUP_PIC_REG): Add .p2align directive.
54435 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54436 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54437 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54438 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54439 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54440 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54441 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54442 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54443 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54444 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54445 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54446 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54447 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54448 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54449 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54450 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54451 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54452 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54453 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54454 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54455 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54456 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54457 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54458 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54459 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54460 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54461 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54462 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54463 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54464 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54465 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54466 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54467 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54468 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54469 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54470 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54471 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54472 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54473 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54474 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54475 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54477 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54479 * math/tst-CMPLX.c: Include <stdio.h>.
54481 2012-01-31 Joseph Myers <joseph@codesourcery.com>
54483 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54485 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54486 * sysdeps/sparc/bits/mathdef.h: Likewise.
54488 2012-01-31 Marek Polacek <polacek@redhat.com>
54490 * libio/libio.h: Don't define _PARAMS.
54491 * locale/programs/config.h: Don't define PARAMS.
54492 * stdlib/strtol_l.c: Likewise.
54493 (__strtol_l): Remove PARAMS from the prototype.
54495 2012-01-31 Ulrich Drepper <drepper@gmail.com>
54497 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
54498 names. Just use the correct names. Remove unnecessary wrapper
54500 * malloc/arena.c: Likewise.
54501 * malloc/hooks.c: Likewise.
54503 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54504 ARENA_TEST says not to. Simplify test for creation of a new arena.
54505 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54507 2012-01-30 Ulrich Drepper <drepper@gmail.com>
54509 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54511 (update_get_addr): New function.
54512 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54513 GET_ADDR_MODULE parameter.
54515 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54517 * crypt/cert.c: Remove __STDC__ conditionals.
54518 * crypt/crypt-entry.c: Likewise.
54519 * crypt/crypt_util.c: Likewise.
54520 * libio/filedoalloc.c: Likewise.
54521 * libio/fileops.c: Likewise.
54522 * libio/genops.c: Likewise.
54523 * libio/iofclose.c: Likewise.
54524 * libio/iofdopen.c: Likewise.
54525 * libio/iofopen.c: Likewise.
54526 * libio/iofopen64.c: Likewise.
54527 * libio/iogetdelim.c: Likewise.
54528 * libio/iopopen.c: Likewise.
54529 * libio/obprintf.c: Likewise.
54530 * libio/oldfileops.c: Likewise.
54531 * libio/oldiofclose.c: Likewise.
54532 * libio/oldiofdopen.c: Likewise.
54533 * libio/oldiofopen.c: Likewise.
54534 * libio/oldiopopen.c: Likewise.
54535 * libio/wfiledoalloc.c: Likewise.
54536 * libio/wgenops.c: Likewise.
54537 * locale/programs/xmalloc.c: Likewise.
54538 * misc/syslog.c: Likewise.
54539 * stdio-common/xbug.c: Likewise.
54540 * string/memchr.c: Likewise.
54541 * string/memcmp.c: Likewise.
54542 * string/memrchr.c: Likewise.
54543 * string/rawmemchr.c: Likewise.
54544 * sysdeps/posix/getcwd.c: Likewise.
54545 * time/strftime_l.c: Likewise.
54547 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54549 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54550 * config.make.in (config-cflags-sse2avx): Define.
54551 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54554 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
54556 * scripts/config.guess: Update from upstream config git repository.
54557 * scripts/config.sub: Likewise.
54559 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
54561 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54563 (R_TILEPRO_*, R_TILEGX_*): New macros.
54565 * scripts/firstversions.awk: Fix bug in version range handling.
54567 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54569 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54571 * include/sys/epoll.h: New file.
54572 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54575 2012-01-28 Ulrich Drepper <drepper@gmail.com>
54577 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54578 Avoid unnecessary __WORDSIZE == 64 test.
54579 (fmaxf): Use VEX format if possible.
54584 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54585 * math/math_private.h: Remove libc_fegetround* and
54587 * sysdeps/i386/configure.in: Check for -msse2avx.
54588 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54589 also if SSE2AVX is defined.
54590 Remove libc_fegetround* and libc_fesetround*.
54591 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54592 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
54593 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54595 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54596 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54597 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54598 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54599 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54601 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54603 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54605 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54607 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54609 2012-01-27 Ulrich Drepper <drepper@gmail.com>
54612 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54614 * Makeconfig (libm): Define.
54615 * elf/Makefile: Add rules to build and run tst-relsort1.
54616 * elf/tst-relsort1.c: New file.
54617 * elf/tst-relsort1mod1.c: New file.
54618 * elf/tst-relsort1mod2.c: New file.
54620 2012-01-27 Joseph Myers <joseph@codesourcery.com>
54622 * math/s_ldexp.c: Remove __STDC__ conditionals.
54623 * math/s_ldexpf.c: Likewise.
54624 * math/s_ldexpl.c: Likewise.
54625 * math/s_nextafter.c: Likewise.
54626 * math/s_nexttowardf.c: Likewise.
54627 * math/s_significand.c: Likewise.
54628 * math/s_significandf.c: Likewise.
54629 * math/s_significandl.c: Likewise.
54630 * math/w_jnl.c: Likewise.
54631 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54632 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54633 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54634 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54635 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54636 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54637 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54638 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54639 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54640 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54641 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54642 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54643 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54644 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54645 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54646 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54647 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54648 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54649 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54650 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54651 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54652 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54653 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54654 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54655 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54656 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54657 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54658 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54659 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54660 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54661 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54662 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54663 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54664 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54665 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54666 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54667 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54668 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54669 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54670 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54671 * sysdeps/ieee754/k_standard.c: Likewise.
54672 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54673 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54674 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54675 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54676 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54677 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54678 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54679 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54680 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54681 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54682 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54683 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54684 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54685 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54686 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54687 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54688 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54689 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54690 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54691 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54692 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54693 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54694 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54695 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54696 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54697 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54698 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54699 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54700 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54701 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54702 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54703 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54704 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54705 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54706 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54707 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54708 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54709 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54710 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54711 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54712 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54713 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54714 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54715 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54716 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54717 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54718 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54719 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54720 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54721 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54722 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54723 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54724 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54725 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54726 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54727 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54728 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54729 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54730 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54731 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54732 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54733 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54734 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54735 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54736 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54737 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54738 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54739 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54740 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54741 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54742 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54743 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54744 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54745 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54746 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54747 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54748 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54749 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54750 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54751 * sysdeps/ieee754/s_matherr.c: Likewise.
54752 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54753 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54754 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54755 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54757 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54759 * crypt/md5.h: Remove __STDC__ conditionals.
54760 * libio/libioP.h: Likewise.
54761 * locale/programs/config.h: Likewise.
54762 * sysdeps/generic/sysdep.h: Likewise.
54763 * sysdeps/i386/asm-syntax.h: Likewise.
54764 * sysdeps/s390/asm-syntax.h: Likewise.
54765 * sysdeps/unix/sysdep.h: Likewise.
54766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54769 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54771 * libio/libio.h: Remove __STDC__ conditionals.
54772 * malloc/obstack.h: Likewise.
54773 * math/complex.h: Likewise.
54774 * math/math.h: Likewise.
54775 * sysdeps/generic/_G_config.h: Likewise.
54776 * sysdeps/gnu/_G_config.h: Likewise.
54777 * sysdeps/mach/hurd/_G_config.h: Likewise.
54778 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54779 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54780 * sysdeps/sparc/bits/mathdef.h: Likewise.
54782 2012-01-26 Ulrich Drepper <drepper@gmail.com>
54785 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54786 Clean up HAS_* macros.
54787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54788 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54790 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54792 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54793 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54794 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54795 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54796 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54798 2012-01-25 Joseph Myers <joseph@codesourcery.com>
54800 * elf/tst-unique3.cc (gets): Remove declaration.
54801 * elf/tst-unique3lib.cc (gets): Likewise.
54802 * elf/tst-unique3lib2.cc (gets): Likewise.
54803 * elf/tst-unique4.cc (gets): Likewise.
54805 2012-01-24 Ulrich Drepper <drepper@gmail.com>
54807 * include/stdio.h: Add C++ protection. Add gets declarations and
54809 * debug/tst-chk1.c: Don't declare gets here.
54810 * stdio-common/tst-gets.c: Likewise.
54812 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54814 * posix/glob: Remove directory.
54816 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54818 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54820 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
54822 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54823 of the non-standard EPFNOSUPPORT.
54825 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
54827 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54828 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54829 ANYWHERE set to 1 only on KERN_NO_SPACE error.
54831 2012-01-21 Ulrich Drepper <drepper@gmail.com>
54833 * wcsmbs/uchar.h: Test __STDC_VERSION__.
54835 2012-01-20 Ulrich Drepper <drepper@gmail.com>
54837 * nscd/aicache.c (addhstaiX): Do not cache negative results of
54839 * nscd/grpcache.c (cache_addgr): Likewise.
54840 * nscd/hstcache.c (cache_addhst): Likewise.
54841 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54842 * nscd/pwdcache.c (cache_addpw): Likewise.
54843 * nscd/servicescache.c (cache_addserv): Likewise.
54845 2012-01-16 Ulrich Drepper <drepper@gmail.com>
54847 * malloc/malloc.c: Various cleanups.
54848 * malloc/hooks.c: Likewise.
54850 * stdlib/Makefile (tests): Add bug-fmtmsg1.
54851 * stdlib/bug-fmtmsg1.c: New file.
54853 * stdlib/fmtmsg.c (init): Add missing unlock.
54854 Patch by Peng Haitao <penght@cn.fujitsu.com>.
54856 2012-01-12 Marek Polacek <polacek@redhat.com>
54858 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54861 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54863 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54864 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54865 macro to ensure uniqueness of label name.
54866 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54867 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54869 2012-01-11 Ulrich Drepper <drepper@gmail.com>
54871 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54873 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54874 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54875 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54876 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54878 2012-01-10 Ulrich Drepper <drepper@gmail.com>
54880 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54882 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54883 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54884 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54886 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54888 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54889 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54890 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54891 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54893 * math/bits/math-finite.h: Add ldexp support.
54895 2012-01-10 Marek Polacek <polacek@redhat.com>
54897 * locale/programs/localedef.h (show_archive_content): Add noreturn
54900 2012-01-09 Ulrich Drepper <drepper@gmail.com>
54902 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54904 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54906 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54908 * io/Makefile (headers): Add bits/poll2.h.
54910 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
54912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54913 typo #include statement.
54915 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54917 * include/sys/cdefs.h: Define __attribute_alloc_size.
54918 * catgets/gencat.c: Add alloc_size attribute and apply consistently
54919 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54920 * elf/pldd.c: Likewise.
54921 * iconv/iconv_charmap.c: Likewise.
54922 * iconv/iconvconfig.c: Likewise.
54923 * iconv/strtab.c: Likewise.
54924 * locale/programs/locale.c: Likewise.
54925 * locale/programs/localedef.h: Likewise.
54926 * locale/programs/simple-hash.c: Likewise.
54927 * nscd/nscd.h: Likewise.
54928 * nss/makedb.c: Likewise.
54929 * sysdeps/generic/ldconfig.h: Likewise.
54930 * locale/programs/localedef.c: Remove xmalloc prototype.
54931 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54933 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54935 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54938 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54940 * math/Makefile (tests): Add tst-CMPLX.
54941 * math/tst-CMPLX.c: New file.
54943 * math/complex.h (CMPLXL): Fix typo.
54945 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54946 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54948 * debug/tst-chk1.c: Add poll and ppoll tests.
54949 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54950 * include/sys/poll.h: Add hidden proto for ppoll.
54951 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54952 * sysdeps/mach/hurd/ppoll.c: Likewise.
54953 * io/ppoll.c: Likewise.
54954 * debug/poll_chk.c: New file.
54955 * debug/ppoll_chk.c: New file.
54956 * include/bits/poll2.h: New file.
54957 * io/bits/poll2.h: New file.
54960 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54962 * configure.in: static is always set to yes. Remove.
54963 * config.make.in: Don't set build-static.
54964 * Makeconfig: Remove use of build-static.
54965 * dlfcn/Makefile: Likewise.
54966 * elf/Makefile: Likewise.
54967 * math/Makefile: Likewise.
54968 * misc/Makefile: Likewise.
54969 * nptl/Makefile: Likewise.
54970 * sysdeps/mach/hurd/Makefile: Likewise.
54972 * configure.in: PWD_P is not used anymore.
54973 * config.make.in: Remove PWD_P entry.
54975 * configure.in: Remove last remnants of RANLIB.
54976 No need to check for signed size_t anymore.
54977 Don't set libc_commonpagesize and libc_relro_required here for Alpha
54979 Remove __builtin_expect test because we require at least gcc 3.4.
54980 * aclocal.m4: Likewise.
54982 * wcsmbs/mbrtoc16.c: Implement using towc function.
54983 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54984 * wcsmbs/wcsmbsload.c: Likewise.
54985 * iconv/gconv_simple.c: Likewise.
54986 * iconv/gconv_int.h: Likewise.
54987 * iconv/gconv_builtin.h: Likewise.
54988 * iconv/iconv_prog.c: Remove CHAR16 handling.
54990 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54992 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54994 * configure.in: Remove --with-elf and --enable-bounded options.
54995 Dont set base_machine for ia64. More non-ELF conditions removed.
54996 Remove testing and setting of leading underscore information.
54997 * config.make.in (build-bounded): Set to no.
54998 * config.h.in: Remove NO_UNDERSCORES entry.
54999 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
55001 * csu/start.c: Remove !NO_UNDERSCORE code.
55002 * locale/localeinfo.h: Likewise.
55003 * sysdeps/generic/machine-gmon.h: Likewise.
55004 * sysdeps/generic/sysdep.h: Likewise.
55005 * sysdeps/i386/sysdep.h: Likewise.
55006 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55007 * sysdeps/mach/sysdep.h: Likewise.
55008 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55009 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55010 * sysdeps/sh/sysdep.h: Likewise.
55011 * sysdeps/sparc/sparc32/alloca.S: Likewise.
55012 * sysdeps/unix/i386/sysdep.S: Likewise.
55013 * sysdeps/unix/sparc/start.c: Likewise.
55014 * sysdeps/unix/sparc/sysdep.S: Likewise.
55015 * sysdeps/unix/sparc/sysdep.h: Likewise.
55016 * sysdeps/unix/start.c: Likewise.
55017 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55018 * sysdeps/x86_64/sysdep.h: Likewise.
55020 2012-01-07 Ulrich Drepper <drepper@gmail.com>
55023 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55025 * argp/argp-fmtstream.h: Use const instead __const.
55026 * argp/argp.h: Likewise.
55027 * assert/assert.h: Likewise.
55028 * bits/fenv.h: Likewise.
55029 * bits/sched.h: Likewise.
55030 * bits/sigset.h: Likewise.
55031 * bits/sigthread.h: Likewise.
55032 * catgets/nl_types.h: Likewise.
55033 * conform/data/pthread.h-data: Likewise.
55034 * crypt/crypt-private.h: Likewise.
55035 * crypt/crypt.h: Likewise.
55036 * crypt/crypt_util.c: Likewise.
55037 * ctype/ctype.h: Likewise.
55038 * debug/execinfo.h: Likewise.
55039 * debug/mbsnrtowcs_chk.c: Likewise.
55040 * debug/mbsrtowcs_chk.c: Likewise.
55041 * debug/wcsnrtombs_chk.c: Likewise.
55042 * debug/wcsrtombs_chk.c: Likewise.
55043 * debug/wcstombs_chk.c: Likewise.
55044 * dirent/dirent.h: Likewise.
55045 * dlfcn/dlfcn.h: Likewise.
55046 * elf/neededtest4.c: Likewise.
55047 * grp/grp.h: Likewise.
55048 * gshadow/gshadow.h: Likewise.
55049 * iconv/gconv.h: Likewise.
55050 * iconv/gconv_int.h: Likewise.
55051 * iconv/gconv_simple.c: Likewise.
55052 * iconv/iconv.h: Likewise.
55053 * iconv/loop.c: Likewise.
55054 * iconv/skeleton.c: Likewise.
55055 * include/aio.h: Likewise.
55056 * include/aliases.h: Likewise.
55057 * include/argz.h: Likewise.
55058 * include/arpa/inet.h: Likewise.
55059 * include/assert.h: Likewise.
55060 * include/dirent.h: Likewise.
55061 * include/dlfcn.h: Likewise.
55062 * include/execinfo.h: Likewise.
55063 * include/fcntl.h: Likewise.
55064 * include/fenv.h: Likewise.
55065 * include/glob.h: Likewise.
55066 * include/grp.h: Likewise.
55067 * include/libintl.h: Likewise.
55068 * include/mntent.h: Likewise.
55069 * include/netdb.h: Likewise.
55070 * include/pwd.h: Likewise.
55071 * include/rpc/netdb.h: Likewise.
55072 * include/sched.h: Likewise.
55073 * include/search.h: Likewise.
55074 * include/shadow.h: Likewise.
55075 * include/signal.h: Likewise.
55076 * include/stdio.h: Likewise.
55077 * include/stdlib.h: Likewise.
55078 * include/string.h: Likewise.
55079 * include/sys/socket.h: Likewise.
55080 * include/sys/stat.h: Likewise.
55081 * include/sys/statfs.h: Likewise.
55082 * include/sys/statvfs.h: Likewise.
55083 * include/sys/syslog.h: Likewise.
55084 * include/sys/time.h: Likewise.
55085 * include/sys/uio.h: Likewise.
55086 * include/time.h: Likewise.
55087 * include/unistd.h: Likewise.
55088 * include/utmp.h: Likewise.
55089 * include/wchar.h: Likewise.
55090 * include/wctype.h: Likewise.
55091 * inet/aliases.h: Likewise.
55092 * inet/arpa/inet.h: Likewise.
55093 * inet/netinet/ether.h: Likewise.
55094 * inet/netinet/in.h: Likewise.
55095 * intl/libintl.h: Likewise.
55096 * io/bits/fcntl2.h: Likewise.
55097 * io/fcntl.h: Likewise.
55098 * io/ftw.h: Likewise.
55099 * io/sys/poll.h: Likewise.
55100 * io/sys/stat.h: Likewise.
55101 * io/sys/statfs.h: Likewise.
55102 * io/sys/statvfs.h: Likewise.
55103 * io/utime.h: Likewise.
55104 * libio/bits/stdio.h: Likewise.
55105 * libio/bits/stdio2.h: Likewise.
55106 * libio/libio.h: Likewise.
55107 * libio/libioP.h: Likewise.
55108 * libio/stdio.h: Likewise.
55109 * locale/lc-ctype.c: Likewise.
55110 * locale/locale.h: Likewise.
55111 * login/utmp.h: Likewise.
55112 * malloc/arena.c: Likewise.
55113 * malloc/malloc.c: Likewise.
55114 * malloc/malloc.h: Likewise.
55115 * malloc/mcheck.c: Likewise.
55116 * malloc/mtrace.c: Likewise.
55117 * math/bits/mathcalls.h: Likewise.
55118 * math/fenv.h: Likewise.
55119 * math/math_private.h: Likewise.
55120 * misc/bits/error.h: Likewise.
55121 * misc/bits/syslog.h: Likewise.
55122 * misc/err.h: Likewise.
55123 * misc/error.h: Likewise.
55124 * misc/fstab.h: Likewise.
55125 * misc/mntent.h: Likewise.
55126 * misc/regexp.h: Likewise.
55127 * misc/search.h: Likewise.
55128 * misc/sgtty.h: Likewise.
55129 * misc/sys/mman.h: Likewise.
55130 * misc/sys/syslog.h: Likewise.
55131 * misc/sys/uio.h: Likewise.
55132 * misc/sys/xattr.h: Likewise.
55133 * misc/ttyent.h: Likewise.
55134 * nis/rpcsvc/ypclnt.h: Likewise.
55135 * nss/nss.h: Likewise.
55136 * posix/bits/unistd.h: Likewise.
55137 * posix/fnmatch.h: Likewise.
55138 * posix/glob.h: Likewise.
55139 * posix/sched.h: Likewise.
55140 * posix/spawn.h: Likewise.
55141 * posix/sys/wait.h: Likewise.
55142 * posix/unistd.h: Likewise.
55143 * posix/wordexp.h: Likewise.
55144 * pwd/pwd.h: Likewise.
55145 * resolv/netdb.h: Likewise.
55146 * resource/sys/resource.h: Likewise.
55147 * rt/aio.h: Likewise.
55148 * rt/bits/mqueue2.h: Likewise.
55149 * rt/mqueue.h: Likewise.
55150 * shadow/shadow.h: Likewise.
55151 * signal/signal.h: Likewise.
55152 * socket/send.c: Likewise.
55153 * socket/sendto.c: Likewise.
55154 * socket/sys/socket.h: Likewise.
55155 * stdio-common/printf.h: Likewise.
55156 * stdlib/bits/stdlib.h: Likewise.
55157 * stdlib/fmtmsg.h: Likewise.
55158 * stdlib/monetary.h: Likewise.
55159 * stdlib/stdlib.h: Likewise.
55160 * stdlib/ucontext.h: Likewise.
55161 * streams/stropts.h: Likewise.
55162 * string/argz.h: Likewise.
55163 * string/bits/string2.h: Likewise.
55164 * string/string.h: Likewise.
55165 * string/strings.h: Likewise.
55166 * sunrpc/rpc/auth.h: Likewise.
55167 * sunrpc/rpc/auth_des.h: Likewise.
55168 * sunrpc/rpc/clnt.h: Likewise.
55169 * sunrpc/rpc/netdb.h: Likewise.
55170 * sunrpc/rpc/pmap_clnt.h: Likewise.
55171 * sunrpc/rpc/xdr.h: Likewise.
55172 * sysdeps/generic/inttypes.h: Likewise.
55173 * sysdeps/generic/net/if.h: Likewise.
55174 * sysdeps/generic/sys/swap.h: Likewise.
55175 * sysdeps/gnu/net/if.h: Likewise.
55176 * sysdeps/gnu/utmpx.h: Likewise.
55177 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55178 * sysdeps/i386/i486/bits/string.h: Likewise.
55179 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55180 * sysdeps/s390/bits/string.h: Likewise.
55181 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55182 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55183 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55184 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55185 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55186 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55187 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55188 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55189 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55190 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55191 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55192 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55193 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55194 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55195 * sysdeps/unix/sysv/linux/readv.c: Likewise.
55196 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55197 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55199 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55200 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55201 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55202 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55203 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55204 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55205 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55206 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55207 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55208 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55209 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55210 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55211 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55212 * sysvipc/sys/ipc.h: Likewise.
55213 * sysvipc/sys/msg.h: Likewise.
55214 * sysvipc/sys/sem.h: Likewise.
55215 * sysvipc/sys/shm.h: Likewise.
55216 * termios/termios.h: Likewise.
55217 * time/sys/time.h: Likewise.
55218 * time/time.h: Likewise.
55219 * wcsmbs/bits/wchar2.h: Likewise.
55220 * wcsmbs/uchar.h: Likewise.
55221 * wcsmbs/wchar.h: Likewise.
55222 * wctype/wctype.h: Likewise.
55225 * Makeconfig: Remove all but ELF support including AIX support.
55226 * Makerules: Likewise.
55227 * config.h.in: Likewise.
55228 * config.make.in: Likewise.
55229 * configure: Likewise.
55230 * configure.in: Likewise.
55231 * csu/Makefile: Likewise.
55232 * csu/version.c: Likewise.
55233 * debug/Makefile: Likewise.
55234 * dlfcn/Makefile: Likewise.
55235 * elf/Makefile: Likewise.
55236 * extra-lib.mk: Likewise.
55237 * iconv/Makefile: Likewise.
55238 * include/libc-symbols.h: Likewise.
55239 * include/shlib-compat.h: Likewise.
55240 * resolv/Makefile: Likewise.
55241 * resolv/res_libc.c: Likewise.
55242 * rt/Makefile: Likewise.
55243 * sysdeps/i386/asm-syntax.h: Likewise.
55244 * sysdeps/i386/sysdep.h: Likewise.
55245 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55246 * sysdeps/mach/sysdep.h: Likewise.
55247 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55248 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55249 * sysdeps/s390/asm-syntax.h: Likewise.
55250 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55251 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55252 * sysdeps/sh/sysdep.h: Likewise.
55253 * sysdeps/unix/sparc/sysdep.h: Likewise.
55254 * sysdeps/wordsize-32/divdi3.c: Likewise.
55255 * sysdeps/x86_64/sysdep.h: Likewise.
55257 * argp/Versions: Remove _argp_unlock_xxx.
55260 * abilist/ld.abilist: Update. Adjust for removal of tls option.
55261 * abilist/libBrokenLocale.abilist: Likewise.
55262 * abilist/libanl.abilist: Likewise.
55263 * abilist/libc.abilist: Likewise.
55264 * abilist/libcrypt.abilist: Likewise.
55265 * abilist/libdl.abilist: Likewise.
55266 * abilist/libm.abilist: Likewise.
55267 * abilist/libnsl.abilist: Likewise.
55268 * abilist/libpthread.abilist: Likewise.
55269 * abilist/libresolv.abilist: Likewise.
55270 * abilist/librt.abilist: Likewise.
55271 * abilist/libthread_db.abilist: Likewise.
55272 * abilist/libutil.abilist: Likewise.
55273 * abilist/libnss_db.abilist: New file.
55275 * scripts/abilist.awk: Add support for indirect functions.
55277 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55279 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55281 * shlib-versions: Remove entries for ports architectures.
55283 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
55285 * elf/stackguard-macros.h: Remove support for IA-64.
55286 * elf/tst-auditmod1.c: Likewise.
55287 * sysdeps/generic/ldsodefs.h: Likewise.
55289 * sysdeps/unix/sysv/linux/configure.in: Ports should define
55290 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55294 * configure.in: Remove --enable-omitfp support.
55296 * config.make.in: Likewise.
55297 * Makeconfig: Likewise.
55298 * manual/install.texi: Likewise.
55300 In case anyone cares, the IA-64 architecture could move to ports.
55301 * sysdeps/ia64/*: Removed.
55302 * sysdeps/unix/sysv/linux/ia64/*: Removed.
55303 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55306 * configure.in: Remove entries for unsupported architectures.
55309 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55310 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
55312 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55313 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55314 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
55315 fall back to using wcrtomb.
55316 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55317 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
55319 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55320 * wcsmbs/tst-c16c32-1.c: New file.
55322 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55325 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55327 * elf/tst-unique3.cc: Add explicit declaration of gets.
55328 * elf/tst-unique3lib.cc: Likewise.
55329 * elf/tst-unique3lib2.cc: Likewise.
55330 * elf/tst-unique4.cc: Likewise.
55332 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55334 2012-01-06 Joseph Myers <joseph@codesourcery.com>
55337 * assert/assert.h (static_assert): Don't define for C++.
55338 * libio/stdio.h (gets): Do declare for C++ <= C++11.
55339 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55341 2012-01-03 Ulrich Drepper <drepper@gmail.com>
55343 * iconv/loop.c (single loop): Fix assertion in storing of
55346 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55348 2012-01-01 Ulrich Drepper <drepper@gmail.com>
55350 * posix/getconf.c: Update copyright year.
55351 * nss/getent.c: Likewise.
55352 * nss/makedb.c: Likewise.
55353 * iconv/iconvconfig.c: Likewise.
55354 * iconv/iconv_prog.c: Likewise.
55355 * elf/ldconfig.c: Likewise.
55356 * elf/pldd.c: Likewise.
55357 * elf/sotruss.ksh: Likewise.
55358 * catgets/gencat.c: Likewise.
55359 * csu/version.c: Likewise.
55360 * elf/ldd.bash.in: Likewise.
55361 * elf/sprof.c (print_version): Likewise.
55362 * locale/programs/locale.c: Likewise.
55363 * locale/programs/localedef.c: Likewise.
55364 * login/programs/pt_chown.c: Likewise.
55365 * nscd/nscd.c (print_version): Likewise.
55366 * debug/xtrace.sh: Likewise.
55367 * malloc/memusage.sh: Likewise.
55368 * malloc/mtrace.pl: Likewise.
55369 * debug/catchsegv.sh: Likewise.
55371 2011-12-30 Jakub Jelinek <jakub@redhat.com>
55373 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55376 2011-12-24 Ulrich Drepper <drepper@gmail.com>
55379 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55380 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55382 * iconv/gconv_int.h: Likewise.
55383 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55384 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55385 from libc for GLIBC_2.16.
55386 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55387 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55388 * wcsmbs/uchar.h: Really define mbstate_t.
55389 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55390 * wcsmbs/c16rtomb.c: New file.
55391 * wcsmbs/mbrtoc16.c: New file.
55392 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55393 for C/POSIX locale.
55394 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55395 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55397 * wcsmbs/wchar.h: Add missing __restrict.
55399 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55402 * time/Makefile (routines): Add timespec_get.
55403 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55404 * time/time.h: Define TIME_UTC and declare timespec_get. Define
55405 timespec for ISO C11.
55406 * time/timespec_get.c: New file.
55407 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55408 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55411 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55412 * stdlib/stdlib.h: Declare aligned_alloc.
55413 * Versions.def: Add GLIBC_2.16 for libc.
55414 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55417 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55420 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55424 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55427 * assert/assert.h (static_assert): Define.
55429 * version.h: Update for 2.16 development version.
55432 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55435 * version.h (RELEASE): Bump for 2.15 release.
55436 * include/features.h (__GLIBC_MINOR__): Bump to 15.
55438 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55439 Patch by Marek Polacek <mpolacek@redhat.com>.
55441 * bits/byteswap.h: Protect long long constants with __extension__.
55442 * sysdeps/i386/bits/byteswap.h: Likewise.
55443 * sysdeps/ia64/bits/byteswap.h: Likewise.
55444 * sysdeps/s390/bits/byteswap.h: Likewise.
55445 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55447 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55450 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55451 destination buffer.
55452 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55454 2011-12-23 Marek Polacek <polacek@redhat.com>
55456 * elf/dl-addr.c (determine_info): Add inline keyword.
55457 * elf/tst-auditmod4b.c (check_avx): Likewise.
55458 * elf/tst-auditmod6b.c (check_avx): Likewise.
55459 * elf/tst-auditmod6c.c (check_avx): Likewise.
55460 * elf/tst-auditmod7b.c (check_avx): Likewise.
55462 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55464 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55467 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55470 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55471 processing for last bytes.
55473 2011-08-06 Bruno Haible <bruno@clisp.org>
55476 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55477 U+0385, not to U+1FEE.
55480 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55481 entry for U+00A5 U+0301.
55483 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55486 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55487 buffer for the output is too small.
55489 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55493 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55494 SSE flags if possible.
55496 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55499 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55500 processing for last bytes.
55502 2011-12-22 Joseph Myers <joseph@codesourcery.com>
55504 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55505 (syscall-list-default-options, syscall-list-default-condition)
55506 (syscall-list-includes): Define.
55507 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55508 list of ABIs and options and #if conditions for each ABI. Do not
55509 handle common syscalls between ABIs specially.
55510 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55512 (syscall-list-variants, syscall-list-32bit-options)
55513 (syscall-list-32bit-condition, syscall-list-64bit-options)
55514 (syscall-list-64bit-condition): Define.
55515 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55516 (syscall-list-variants, syscall-list-32bit-options)
55517 (syscall-list-32bit-condition, syscall-list-64bit-options)
55518 (syscall-list-64bit-condition): Define.
55519 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55521 (syscall-list-variants, syscall-list-32bit-options)
55522 (syscall-list-32bit-condition, syscall-list-64bit-options)
55523 (syscall-list-64bit-condition): Define.
55524 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55526 (syscall-list-variants, syscall-list-32bit-options)
55527 (syscall-list-32bit-condition, syscall-list-64bit-options)
55528 (syscall-list-64bit-condition): Define.
55530 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55532 * locale/iso-639.def: Add brx entry.
55535 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55536 Proposed by Mariusz_Cukr <marcukr@op.pl>.
55538 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55539 __feraiseexcept_renamed.
55541 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55544 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55545 EPOLLET with unsigned values.
55546 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55547 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55549 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55550 to large cancellation.
55551 * math/s_cacoshf.c: Likewise.
55552 * math/s_cacoshl.c: Likewise.
55554 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
55558 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55559 * math/s_cacoshf.c: Likewise.
55560 * math/s_cacoshl.c: Likewise.
55562 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55565 * iconv/gconv.h: Define __GCONV_SWAP.
55566 * iconvdata/unicode.c: The swap bit must be stored in __flags.
55567 * iconvdata/utf-16.c: Likewise.
55568 * iconvdata/utf-32.c: Likewise.
55570 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
55573 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55574 numerator after shifting it by one limb.
55576 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
55578 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55579 under [__USE_EXTERN_INLINES].
55581 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55584 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55586 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55588 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55589 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55591 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55592 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55593 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55594 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55595 for strncasecmp/strncasecmp_l compilation.
55596 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55597 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55599 2011-12-08 Marek Polacek <mpolacek@redhat.com>
55602 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55605 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55608 * time/tzfile.c (__tzfile_read): Check values from file header.
55610 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
55612 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55613 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55614 * powerpc/powerpc32/dl-start.S: Likewise.
55615 * powerpc/powerpc32/elf/start.S: Likewise.
55616 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55617 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55618 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55619 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55620 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55621 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55622 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55623 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55624 * powerpc/powerpc32/fpu/s_round.S: Likewise.
55625 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55626 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55627 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55628 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55629 * powerpc/powerpc32/memset.S: Likewise.
55630 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55631 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55632 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55633 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55634 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55635 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55636 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55637 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55638 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55639 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55640 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55641 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55642 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55644 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55646 * math/libm-test.inc: Added more nearbyint tests.
55647 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55648 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55649 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55650 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55652 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
55654 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55657 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55659 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55660 Add wcscpy-ssse3 wcscpy-c.
55661 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55662 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55663 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55664 * sysdeps/x86_64/wcschr.S: New file.
55665 * sysdeps/x86_64/wcsrchr.S: New file.
55666 * string/test-strcmp.c: Remove checking of wcscmp function for
55668 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55669 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55670 wcsrchr-sse2 wcsrchr-c.
55671 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55672 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55673 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55674 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55675 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55676 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55677 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55678 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55679 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55680 * wcsmbc/wcschr.c (WCSCHR): New macro.
55682 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55684 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55685 * wcsmbs/test-wcsrchr.c: New file.
55686 * string/test-strrchr.c: Add wcsrchr support.
55688 * wcsmbs/test-wcscpy.c: New file.
55689 * string/test-strcpy.c: Add wcscpy support.
55692 2011-12-10 Ulrich Drepper <drepper@gmail.com>
55694 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55697 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
55700 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55702 2011-12-04 Ulrich Drepper <drepper@gmail.com>
55704 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55705 Minor optimizations.
55707 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55708 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55709 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55711 2011-12-03 Ulrich Drepper <drepper@gmail.com>
55713 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55714 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55715 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55716 for gcc to avoid warnings.
55717 * inet/Makefile (tests): Add tst-checks.
55718 * inet/tst-checks.c: New file.
55720 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55723 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55726 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55727 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55729 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55731 2011-12-02 Ulrich Drepper <drepper@gmail.com>
55733 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55736 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55738 2011-11-29 Joseph Myers <joseph@codesourcery.com>
55740 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55741 conditional on GCC version.
55742 (__arch_compare_and_exchange_val_8_acq)
55743 (__arch_compare_and_exchange_val_16_acq)
55744 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55745 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55746 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55748 2011-12-02 Joseph Myers <joseph@codesourcery.com>
55750 * sysdeps/sh/backtrace.c: New file.
55752 2011-12-02 Andreas Schwab <schwab@redhat.com>
55754 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
55757 2011-12-01 Andreas Schwab <schwab@redhat.com>
55759 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55760 falling back to utime.
55762 2011-11-30 Andreas Schwab <schwab@redhat.com>
55764 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55765 expectations for float.
55767 2011-11-29 Andreas Schwab <schwab@redhat.com>
55769 * locale/weight.h (findidx): Add parameter len.
55770 * locale/weightwc.h (findidx): Likewise.
55771 * posix/fnmatch_loop.c (FCT): Adjust caller.
55772 * posix/regcomp.c (build_equiv_class): Likewise.
55773 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55774 * posix/regexec.c (check_node_accept_bytes): Likewise.
55775 * string/strcoll_l.c (STRCOLL): Likewise.
55776 * string/strxfrm_l.c (STRXFRM): Likewise.
55778 2011-11-17 Ulrich Drepper <drepper@gmail.com>
55780 * Makefile.in: Remove CVSOPT handling.
55781 * configure.in: Remove use of AC_REVISION.
55782 * iconvdata/Makefile (distribute): No need to filter out CVS.
55783 * scripts/list-sources.sh: Remove CVS, subversion and monotone
55786 2011-11-16 Andreas Schwab <schwab@redhat.com>
55788 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55789 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55790 [USE_AS_STRNCASECMP_L]: Likewise.
55791 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55792 NO_TLS_DIRECT_SEG_REFS.
55793 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55794 Fix argument offsets for non-PIC.
55795 [USE_AS_STRNCASECMP_L]: Likewise.
55796 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55797 NO_TLS_DIRECT_SEG_REFS.
55799 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55801 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55803 * locale/loadlocale.c (_nl_load_locale): Likewise.
55805 2011-11-15 Andreas Schwab <schwab@redhat.com>
55807 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55808 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55809 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55810 (SYSCALL_GETTIME): Set errno on error.
55812 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55813 count references to noai6ai_cached.
55815 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55817 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55819 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55820 FD_CLOEXEC for /proc/self/maps.
55822 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55823 FD_CLOEXEC for /proc/meminfo.
55825 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55828 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
55829 FD_CLOEXEC for given file.
55831 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55833 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55834 FD_CLOEXEC for /etc/hosts.
55835 (_gethtent): Likewise.
55837 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55839 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55840 cancellation and set FD_CLOEXEC for /etc/netgroup.
55842 * nss/nss_files/files-key.c (search): Don't allow cancellation when
55843 reading /etc/publickey.
55845 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55846 allow cancellation when reading /etc/group.
55848 * nss/nss_files/files-alias.c (internal_setent): Don't allow
55850 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
55852 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55853 when using data file.
55855 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55857 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55858 (write_nis_obj): Use "c" and "e" in fopen.
55860 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55862 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55864 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55866 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55868 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55871 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55873 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55875 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55877 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55878 file parsing and set FD_CLOEXEC.
55880 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55882 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55884 2011-11-14 Andreas Schwab <schwab@redhat.com>
55886 * malloc/arena.c (arena_get2): Don't call reused_arena when
55887 _int_new_arena failed.
55889 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55891 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55892 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55893 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55894 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55895 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55896 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55897 to compile strcasecmp and strncasecmp.
55898 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55899 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55901 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55903 2011-11-13 Ulrich Drepper <drepper@gmail.com>
55905 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55906 locale-defines.sym to gen-as-const-headers.
55907 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55908 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55909 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55910 to compile strcasecmp and strncasecmp.
55911 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55912 strcasecmp_l and strncasecmp_l.
55913 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55914 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55915 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55916 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55917 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55918 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55919 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55920 * sysdeps/i386/i686/multiarch/strncase.S: New file.
55921 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55922 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55923 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55925 2011-11-12 Ulrich Drepper <drepper@gmail.com>
55927 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55928 result of SYSDEP_GETTIME_CPU to retval.
55929 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55930 parameter list to macro. Remove trailing semicolon. Adjust users.
55932 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55935 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55937 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55939 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55940 from unused variable.
55942 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55944 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55947 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55950 * sunrpc/rpc_prot.c (rejected): Fix case value.
55952 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55953 unsigned long long int to avoid warnings in shift.
55955 * posix/regex_internal.c (re_string_reconstruct): Actually use result
55957 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55960 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55961 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55962 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55964 * nis/nis_table.c (nis_list): Use variable of correct type for
55965 result of __follow_path call.
55967 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55969 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55970 of math functions ceil, trunc, floor, round, and sqrt, when
55971 avaliable on the platform.
55972 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55974 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55975 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55976 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55978 2011-10-30 Marek Polacek <mpolacek@redhat.com>
55980 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55981 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55983 2011-11-11 Roland McGrath <roland@hack.frob.com>
55985 * include/unistd.h: Fix __readlink return type.
55986 Reported by Chris Metcalf <cmetcalf@tilera.com>.
55988 2011-11-11 Ulrich Drepper <drepper@gmail.com>
55990 * stdlib/ucontext.h: Undo last change for makecontext.
55992 2011-11-11 Andreas Schwab <schwab@redhat.com>
55994 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55996 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55997 * setjmp/setjmp.h: Mark functions as non-leaf.
55998 * setjmp/bits/setjmp2.h: Likewise.
55999 * stdlib/ucontext.h: Likewise.
56001 2011-11-10 Andreas Schwab <schwab@redhat.com>
56003 * malloc/arena.c (_int_new_arena): Don't increment narenas.
56004 (reused_arena): Don't check arena limit.
56005 (arena_get2): Atomically check arena limit.
56007 2011-11-08 Ulrich Drepper <drepper@gmail.com>
56009 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56010 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56012 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56015 2011-11-07 Andreas Schwab <schwab@redhat.com>
56017 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56018 handler when locking.
56020 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56021 Fix size of allocated buffer.
56023 2011-11-04 Andreas Schwab <schwab@redhat.com>
56026 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56027 declarations for long double functions.
56028 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56030 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56032 2011-11-03 Andreas Schwab <schwab@redhat.com>
56034 * nscd/nscd.c (main): Don't start AVC thread until credentials are
56037 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56040 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
56042 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56044 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
56046 * include/alloca.h (stackinfo_alloca_round): Define.
56047 (extend_alloca): Use it.
56048 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56049 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56052 * scripts/check-local-headers.sh: Ignore libaudit.h.
56054 * nscd/Makefile (extra-objs): Make recursively expanded.
56056 2011-11-01 Ulrich Drepper <drepper@gmail.com>
56058 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56059 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56061 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56062 * posix/tst-rfc3484-2.c: Likewise.
56063 * posix/tst-rfc3484-3.c: Likewise.
56065 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56067 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56069 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56070 process_vm_writev from libc using GLIBC_2.15 version.
56072 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56074 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
56076 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56079 2011-10-31 Ulrich Drepper <drepper@gmail.com>
56082 * nss/getent.c (initgroups_keys): Show error message in case no group
56085 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56086 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56087 __bump_nl_timestamp.
56088 * nscd/connections (nscd_init): When host database is served open
56089 netlink socket and request notification about configuration changes.
56090 (main_loop_poll): Track netlink file descriptor and bump timestamp
56091 in case data becomes available.
56092 (main_loop_epoll): Likewise.
56093 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56094 (database_pers_head): Add extra_data fileds.
56095 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56096 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56097 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56099 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56100 in6ai data, call __free_in6ai.
56101 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56102 Add -DHAVE_NETLINK.
56103 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
56104 interface information. Reuse previous data if netlink timestamp
56106 (__bump_nl_timestamp): New function.
56107 (__free_in6ai): New function.
56109 2011-10-30 Ulrich Drepper <drepper@gmail.com>
56111 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56112 close_not_cancel_no_status here.
56113 (__check_pf): Reorganize code a bit to not call close twice if OOM.
56115 2011-10-29 Ulrich Drepper <drepper@gmail.com>
56118 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56121 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56122 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56123 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56125 2011-07-03 Andreas Jaeger <aj@suse.de>
56128 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56129 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56130 * math/libm-test.inc (sin_test): Add test case.
56132 2011-10-29 Ulrich Drepper <drepper@gmail.com>
56135 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56136 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56138 * elf/chroot_canon.c (chroot_canon): Cleanups.
56140 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56143 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56144 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56146 * string/test-strchr.c: Make usable for strchrnul testing.
56147 * string/test-strchrnul.c: New file.
56148 * string/Makefile (strop-tests): Add strchrnul.
56150 * po/it.po: Update from translation team.
56151 * po/es.po: Likewise.
56153 2011-10-28 Ulrich Drepper <drepper@gmail.com>
56155 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56156 the three constants needed as parameters. Drop the others.
56157 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56158 __m128i_strloadu_tolower.
56159 Create and initialize variable zero and use it in all the places
56160 where _mm_setzero_si128 was used.
56162 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56163 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56164 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56165 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56167 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56168 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56169 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56170 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56171 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56172 __mpranred, __mptan.
56173 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56174 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56175 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56176 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56177 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56178 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56179 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56180 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56181 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56183 2011-10-28 Andreas Schwab <schwab@redhat.com>
56185 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56186 redefine if SHARED.
56187 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56189 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56190 wide char related routines to wcsmbs subdir.
56192 2011-10-27 Andreas Schwab <schwab@redhat.com>
56195 * misc/sys/cdefs.h (__THROWNL): Define.
56196 * posix/unistd.h: Use __THREADNL instead of __THREAD
56197 for memory synchronization functions.
56199 2011-10-26 Roland McGrath <roland@hack.frob.com>
56202 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56204 * manual/stdio.texi (Obstack Streams): Node removed.
56206 2011-10-26 Andreas Schwab <schwab@redhat.com>
56208 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56209 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56210 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56212 * math/math_private.h (math_force_eval): Allow non-addressable
56214 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56216 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56218 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56219 file is not needed.
56221 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56222 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56223 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56224 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56225 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56226 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56227 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56228 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56230 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56231 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56232 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56233 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56234 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56235 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56236 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56237 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56238 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56239 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56240 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56241 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56242 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56243 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56244 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56245 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56246 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56247 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56248 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56250 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56251 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
56253 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56254 place. Use VEX encoding when compiling for AVX.
56256 2011-10-25 Andreas Schwab <schwab@redhat.com>
56258 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56259 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56261 * string/test-strchr.c (do_test): Don't generate NUL bytes.
56263 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56265 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56266 useless if() expression.
56267 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56268 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56269 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56270 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56271 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56272 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56273 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56274 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56275 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56276 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56277 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56278 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56279 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56280 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56281 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56282 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56283 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56284 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56285 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56287 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56289 2011-10-25 Andreas Schwab <schwab@redhat.com>
56291 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56293 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56295 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56297 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56298 .text section. Avoid duplicate constants.
56299 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56300 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56301 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56302 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56303 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56304 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56305 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56307 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56308 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56309 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56310 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56311 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56312 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56313 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56314 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56315 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56316 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56317 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56318 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56319 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56320 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56321 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56322 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56323 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56324 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56325 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56326 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56327 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56328 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56329 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56330 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56331 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56332 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56333 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56334 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56335 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56336 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56337 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56338 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56339 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56340 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56341 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56342 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56343 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56345 2011-10-24 Ulrich Drepper <drepper@gmail.com>
56347 * sysdeps/x86_64/dla.h: Move to ...
56348 * sysdeps/x86_64/fpu/dla.h: ...here.
56349 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56350 situations. Use __builtin_fma only for gcc 4.6 and up.
56352 * config.make.in: Add have-mfma4 entry.
56353 * configure.in: Substitute libc_cv_cc_fma4.
56354 * math/Makefile (dbl-only-routines): Add sincostab.
56355 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56356 Use __sincostab not sincos.
56357 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56359 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56360 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56361 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56362 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
56364 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
56365 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
56366 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56367 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56369 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56370 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56372 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
56373 define aliases when function name is a macro.
56374 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56375 sysdeps/ieee754/dbl-64/sincos.tbl.
56376 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56377 fma4-enabled routines.
56378 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56379 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56380 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56381 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56382 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56383 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56384 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56385 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56386 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56387 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56388 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56389 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56390 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56391 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56392 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56393 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56394 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56395 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56396 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56397 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56398 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56399 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56400 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56401 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56402 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56403 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56404 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56405 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56406 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56407 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56409 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56411 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56412 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56413 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56414 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56415 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56416 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56417 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56420 2011-10-24 Andreas Schwab <schwab@redhat.com>
56422 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56424 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56426 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56428 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56430 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56432 * string/strnlen.c: Don't define STRNLEN, reverse logic.
56433 Remove unused variable magic_bits.
56434 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56436 * string/strnlen.c: Define and use STRNLEN macro.
56437 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56438 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56439 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56440 * wcsmbs/wcslen.c: Define and use WCSLEN.
56441 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56442 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56443 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56444 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56445 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56446 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56447 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56449 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56452 strnlen-sse2-no-bsf.
56453 Rename strlen-no-bsf to strlen-sse2-no-bsf.
56454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56455 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56456 Add strnlen support.
56457 (USE_AS_STRNLEN): New macro.
56458 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56459 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56460 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56461 * sysdeps/x86_64/wcslen.S: New file.
56463 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
56465 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56466 XMM-moves are used for copying on small sizes.
56468 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56470 * wcsmbs/Makefile (strop-tests): Add wcschr.
56471 * wcsmbs/test-wcschr.c: New file.
56472 * string/test-strchr.c: Update.
56473 Add wcschr support.
56476 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56478 * wcsmbs/Makefile (strop-tests): Add wcslen.
56479 * wcsmbs/test-wcslen.c: New file.
56480 * string/test-strlen.c: Update.
56481 Add wcslen support.
56484 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56486 * po/it.po: Update from translation team.
56488 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56490 * sysdeps/x86_64/wcscmp.S: Update.
56491 Fix wrong comparison semantics.
56492 wcscmp shall use signed comparison not unsigned.
56493 Don't use substraction to avoid overflow bug.
56494 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56495 * wcsmbc/wcscmp.c: Likewise.
56496 * string/test-strcmp.c: Likewise.
56497 Add new tests to check cases with negative values.
56499 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56501 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56502 * sysdeps/x86_64/dla.h: ...here. New file.
56503 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56504 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56506 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56507 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56508 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56509 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56510 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56511 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56513 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
56515 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56516 __ynl_finite aliases.
56518 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56522 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56524 [DLA_FMA] (EMULV): Use DLA_FMA.
56525 [DLA_FMA] (MUL12): Use EMULV.
56526 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56527 that are not needed.
56528 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56530 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56531 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56533 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56534 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56536 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
56538 * math/s_nan.c: Undef __nan.
56539 * math/s_nanf.c: Undef __nanf.
56540 * math/s_nanl.c: Undef __nanl.
56541 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56544 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56546 * math/s_catan.c: Add branch predictions.
56547 * math/s_catanf.c: Likewise.
56548 * math/s_catanh.c: Likewise.
56549 * math/s_catanhf.c: Likewise.
56550 * math/s_catanhl.c: Likewise.
56551 * math/s_catanl.c: Likewise.
56552 * math/s_cexp.c: Likewise.
56553 * math/s_cexpf.c: Likewise.
56554 * math/s_cexpl.c: Likewise.
56555 * math/s_clog.c: Likewise.
56556 * math/s_clog10.c: Likewise.
56557 * math/s_clog10f.c: Likewise.
56558 * math/s_clog10l.c: Likewise.
56559 * math/s_clogf.c: Likewise.
56560 * math/s_clogl.c: Likewise.
56561 * math/s_csqrt.c: Likewise.
56562 * math/s_csqrtf.c: Likewise.
56563 * math/s_csqrtl.c: Likewise.
56564 * math/s_ctanf.c: Likewise.
56565 * math/s_ctanh.c: Likewise.
56566 * math/s_ctanhf.c: Likewise.
56567 * math/s_ctanhl.c: Likewise.
56568 * math/s_ctanl.c: Likewise.
56570 * math/math_private.h: Define __nan, __nanf, __nanl.
56571 * math/s_cacosh.c: Include <math_private.h>.
56572 * math/s_cacoshl.c: Likewise.
56573 * math/s_casinh.c: Likewise.
56574 * math/s_casinhf.c: Likewise.
56575 * math/s_casinhl.c: Likewise.
56576 * math/s_ccos.c: Rely entire on ccosh.
56577 * math/s_ccosf.c: Rely entire on ccoshf.
56578 * math/s_ccosl.c: Rely entirely on ccoshl.
56579 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
56580 Remove tests for FE_INVALID.
56581 * math/s_ccoshf.c: Likewise.
56582 * math/s_ccoshl.c: Likewise.
56583 * math/s_csin.c: Likewise.
56584 * math/s_csinf.c: Likewise.
56585 * math/s_csinh.c Likewise.
56586 * math/s_csinhf.c: Likewise.
56587 * math/s_csinhl.c: Likewise.
56588 * math/s_csinl.c: Likewise.
56589 * math/s_ctan.c: Likewise.
56590 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56591 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56592 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56594 2011-10-21 Ulrich Drepper <drepper@gmail.com>
56596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56597 compilation problems.
56599 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56602 2011-10-20 Ulrich Drepper <drepper@gmail.com>
56604 * sysdeps/i386/configure.in: Test for -mfma4 option.
56605 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56606 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56607 COMMON_CPUID_INDEX_80000001.
56608 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56609 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56610 use it if FMA3 is not supported.
56611 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56613 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56614 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56616 2011-10-20 Andreas Schwab <schwab@redhat.com>
56619 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56620 it would create a cycle with a link time dependency.
56622 2011-10-19 Ulrich Drepper <drepper@gmail.com>
56624 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56626 * string/Makefile (strop-tests): Add rawmemchr.
56627 * string/test-rawmemchr.c: New file.
56629 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56630 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
56631 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
56632 when compiling str{,n}casecmp and when AVX is available. Hook up
56633 new optimized code in initializers.
56635 2011-10-19 Andreas Schwab <schwab@redhat.com>
56637 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56638 __feraiseexcept instead of feraiseexcept.
56640 2011-10-18 Ulrich Drepper <drepper@gmail.com>
56642 * math/math_private.h: Define defaults for libc_fetestexcept and
56644 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56645 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56646 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56647 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56648 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56649 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56650 libc_fetestexcept and libc_feupdateenv.
56652 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56653 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56654 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56655 * sysdeps/x86_64/fpu/math_private.h: Define special version of
56656 libc_feholdexcept_setround.
56658 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56659 Add s_nearbyint-c and s_nearbyintf-c.
56660 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56661 nearbyintf inlines.
56662 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56663 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56664 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56665 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56667 * math/math_private.h: Define defaults for libc_fegetround,
56668 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56669 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56670 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56671 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56672 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56673 standard functions.
56674 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56675 Remove comments and hacks for old compiler versions.
56676 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56677 libc_fegetround, libc_fesetround, libc_feholdexcept, and
56678 libc_feholdexceptl.
56680 2011-10-18 Andreas Schwab <schwab@redhat.com>
56682 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56683 (__feraiseexcept_renamed): Add __NTH.
56684 (feraiseexcept): Add __NTH. Rename local variables to fix
56685 namespace violations.
56687 2011-10-17 Ulrich Drepper <drepper@gmail.com>
56689 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56691 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56693 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56694 recently added interfaces.
56695 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56697 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56698 about macro parameter expansion.
56700 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56701 __NO_MATH_INLINES is defined. Cleanups.
56703 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56704 and __floorf is target has SSE4.1.
56705 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56706 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56707 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56708 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56710 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56712 (floorf): Likewise.
56714 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56716 2011-10-17 Andreas Schwab <schwab@redhat.com>
56718 * misc/sys/cdefs.h: Fix last change.
56720 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56723 2011-10-16 Ulrich Drepper <drepper@gmail.com>
56725 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56727 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56728 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56729 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56730 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56732 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56733 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56734 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56735 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56736 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56737 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56738 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56739 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56740 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56741 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56742 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56743 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56744 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56745 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56746 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56747 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56748 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56750 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56751 ceil, ceilf, floor, floorf.
56753 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56754 Perform IRELATIVE relocations last.
56756 * elf/do-rel.h: Add another parameter nrelative, replacing the
56757 local variable with the same name. Change name of the function
56758 to end in Rel or Rela (uppercase).
56759 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56760 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
56761 elf_dynamic_do_##reloc function.
56763 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56765 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56766 is sufficient, at least on modern CPUs.
56768 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56770 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56771 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56773 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56775 * math/bits/math-finite.h: Add entries for exp.
56776 * math/e_expl.c: Add __*_finite alias.
56777 * sysdeps/i386/fpu/e_exp.S: Likewise.
56778 * sysdeps/i386/fpu/e_expf.S: Likewise.
56779 * sysdeps/i386/fpu/e_expl.c: Likewise.
56780 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56781 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56782 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56783 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56784 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56785 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56786 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56788 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56789 is sufficient, at least on modern CPUs.
56791 * ctype/ctype-info.c (__ctype_init): Define.
56792 * include/ctype.h (__ctype_init): Declare.
56793 (__ctype_b_loc): The variable is always initialized.
56794 (__ctype_toupper_loc): Likewise.
56795 (__ctype_tolower_loc): Likewise.
56796 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56797 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56799 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
56801 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56803 * configure.in: Also look in $cxxmachine/include for C++ system
56806 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56808 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56809 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56810 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56811 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
56812 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56813 (USE_AS_WMEMCMP): New macro.
56815 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56816 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56817 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56818 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56819 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56820 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56821 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56822 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56823 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56824 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56825 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56826 (USE_AS_WMEMCMP): New macro.
56827 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56828 * sysdeps/string/test-memcmp.c: Update.
56829 Fix simple_wmemcmp.
56831 * wcsmbs/wmemcmp.c: Update.
56832 (WMEMCMP): New macro.
56835 2011-10-12 Andreas Jaeger <aj@suse.de>
56838 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56840 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56842 * libio/iofwide.c (do_length): Avoid warning.
56844 * ctype/ctype.h (__isctype_f): Add missing __THROW.
56846 2011-10-14 Ulrich Drepper <drepper@gmail.com>
56848 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56850 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56851 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56852 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56853 * sysdeps/i386/i686/fpu/e_log.S: New file.
56854 * sysdeps/i386/i686/fpu/e_logf.S: New file.
56855 * sysdeps/i386/i686/fpu/e_logl.S: New file.
56857 * ctype/ctype.h: Add support for inlined isXXX functions when
56858 compiling C++ code.
56860 2011-10-14 Andreas Schwab <schwab@redhat.com>
56862 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56864 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56866 2011-10-13 Roland McGrath <roland@hack.frob.com>
56869 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56871 2011-10-13 Andreas Schwab <schwab@redhat.com>
56873 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56874 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56877 * sysdeps/x86_64/memrchr.S: Check for zero size.
56879 * string/stratcliff.c: Add memrchr tests.
56881 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56883 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56884 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56885 rawmemchr-sse2 rawmemchr-sse2-bsf.
56886 * sysdeps/i386/i686/multiarch/memchr.S: New file.
56887 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56888 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56889 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56890 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56891 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56892 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56893 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56894 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56895 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56896 * string/memrchr.c (MEMRCHR): New macro.
56898 2011-10-12 Ulrich Drepper <drepper@gmail.com>
56900 Add integration with gcc's -ffinite-math-only and optimize wrapper
56902 * Versions.def: Define GLIBC_2.15 version for libm.
56903 * math/Makefile (headers): Add bits/math-finite.h.
56904 * math/bits/math-finite.h: New file.
56905 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56906 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56907 * math/e_acoshl.c: Add __*_finite alias.
56908 * math/e_acosl.c: Likewise.
56909 * math/e_asinl.c: Likewise.
56910 * math/e_atan2l.c: Likewise.
56911 * math/e_atanhl.c: Likewise.
56912 * math/e_coshl.c: Likewise.
56913 * math/e_exp10.c: Likewise.
56914 * math/e_exp10f.c: Likewise.
56915 * math/e_exp10l.c: Likewise.
56916 * math/e_exp2l.c: Likewise.
56917 * math/e_fmodl.c: Likewise.
56918 * math/e_gammal_r.c: Likewise.
56919 * math/e_hypotl.c: Likewise.
56920 * math/e_j0l.c: Likewise.
56921 * math/e_j1l.c: Likewise.
56922 * math/e_jnl.c: Likewise.
56923 * math/e_lgammal_r.c: Likewise.
56924 * math/e_log10l.c: Likewise.
56925 * math/e_log2l.c: Likewise.
56926 * math/e_logl.c: Likewise.
56927 * math/e_powl.c: Likewise.
56928 * math/e_sinhl.c: Likewise.
56929 * math/e_sqrtl.c: Likewise.
56930 * math/e_scalb.c: Completely rewritten and optimized.
56931 * math/e_scalbf.c: Likewise.
56932 * math/e_scalbl.c: Likewise.
56933 * math/w_acos.c: Likewise.
56934 * math/w_acosf.c: Likewise.
56935 * math/w_acosl.c: Likewise.
56936 * math/w_acosh.c: Likewise.
56937 * math/w_acoshf.c: Likewise.
56938 * math/w_acoshl.c: Likewise.
56939 * math/w_asin.c: Likewise.
56940 * math/w_asinf.c: Likewise.
56941 * math/w_asinl.c: Likewise.
56942 * math/w_atan2.c: Likewise.
56943 * math/w_atan2f.c: Likewise.
56944 * math/w_atan2l.c: Likewise.
56945 * math/w_atanh.c: Likewise.
56946 * math/w_atanhf.c: Likewise.
56947 * math/w_atanhl.c: Likewise.
56948 * math/w_exp10.c: Likewise.
56949 * math/w_exp10f.c: Likewise.
56950 * math/w_exp10l.c: Likewise.
56951 * math/w_fmod.c: Likewise.
56952 * math/w_fmodf.c: Likewise.
56953 * math/w_fmodl.c: Likewise.
56954 * math/w_j0.c: Likewise.
56955 * math/w_j0f.c: Likewise.
56956 * math/w_j0l.c: Likewise.
56957 * math/w_j1.c: Likewise.
56958 * math/w_j1f.c: Likewise.
56959 * math/w_j1l.c: Likewise.
56960 * math/w_jn.c: Likewise.
56961 * math/w_jnf.c: Likewise.
56962 * math/w_log.c: Likewise.
56963 * math/w_logf.c: Likewise.
56964 * math/w_logl.c: Likewise.
56965 * math/w_log10.c: Likewise.
56966 * math/w_log10f.c: Likewise.
56967 * math/w_log10l.c: Likewise.
56968 * math/w_log2.c: Likewise.
56969 * math/w_log2f.c: Likewise.
56970 * math/w_log2l.c: Likewise.
56971 * math/w_pow.c: Likewise.
56972 * math/w_powf.c: Likewise.
56973 * math/w_powl.c: Likewise.
56974 * math/w_remainder.c: Likewise.
56975 * math/w_remainderf.c: Likewise.
56976 * math/w_remainderl.c: Likewise.
56977 * math/w_scalb.c: Likewise.
56978 * math/w_scalbf.c: Likewise.
56979 * math/w_scalbl.c: Likewise.
56980 * math/w_sqrt.c: Likewise.
56981 * math/w_sqrtf.c: Likewise.
56982 * math/w_sqrtl.c: Likewise.
56983 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56984 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
56986 * math/math_private.h: Declare __kernel_standard_f.
56987 * math/w_cosh.c: Remove cruft and optimize a bit.
56988 * math/w_coshf.c: Likewise.
56989 * math/w_coshl.c: Likewise.
56990 * math/w_exp2.c: Likewise.
56991 * math/w_exp2f.c: Likewise.
56992 * math/w_exp2l.c: Likewise.
56993 * math/w_hypot.c: Likewise.
56994 * math/w_hypotf.c: Likewise.
56995 * math/w_hypotl.c: Likewise.
56996 * math/w_lgamma.c: Likewise.
56997 * math/w_lgamma_r.c: Likewise.
56998 * math/w_lgammaf.c: Likewise.
56999 * math/w_lgammaf_r.c: Likewise.
57000 * math/w_lgammal.c: Likewise.
57001 * math/w_lgammal_r.c: Likewise.
57002 * math/w_sinh.c: Likewise.
57003 * math/w_sinhf.c: Likewise.
57004 * math/w_sinhl.c: Likewise.
57005 * math/w_tgamma.c: Likewise.
57006 * math/w_tgammaf.c: Likewise.
57007 * math/w_tgammal.c: Likewise.
57008 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57009 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57010 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57011 Minor optimizations. Pretty printing. Remove cruft.
57012 * sysdeps/i386/fpu/e_acosf.S: Likewise.
57013 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57014 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57015 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57016 * sysdeps/i386/fpu/e_acosl.c: Likewise.
57017 * sysdeps/i386/fpu/e_asin.S: Likewise.
57018 * sysdeps/i386/fpu/e_asinf.S: Likewise.
57019 * sysdeps/i386/fpu/e_atan2.S: Likewise.
57020 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57021 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57022 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57023 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57024 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57025 * sysdeps/i386/fpu/e_exp10.S: Likewise.
57026 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57027 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57028 * sysdeps/i386/fpu/e_exp2.S: Likewise.
57029 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57030 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57031 * sysdeps/i386/fpu/e_fmod.S: Likewise.
57032 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57033 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57034 * sysdeps/i386/fpu/e_hypot.S: Likewise.
57035 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57036 * sysdeps/i386/fpu/e_log.S: Likewise.
57037 * sysdeps/i386/fpu/e_log10.S: Likewise.
57038 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57039 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57040 * sysdeps/i386/fpu/e_log2.S: Likewise.
57041 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57042 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57043 * sysdeps/i386/fpu/e_logf.S: Likewise.
57044 * sysdeps/i386/fpu/e_logl.S: Likewise.
57045 * sysdeps/i386/fpu/e_pow.S: Likewise.
57046 * sysdeps/i386/fpu/e_powf.S: Likewise.
57047 * sysdeps/i386/fpu/e_powl.S: Likewise.
57048 * sysdeps/i386/fpu/e_remainder.S: Likewise.
57049 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57050 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57051 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57052 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57053 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57054 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57055 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57056 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57057 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57058 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57060 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57061 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57062 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57063 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57064 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57065 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57066 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57067 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57068 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57070 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57071 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57072 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57073 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57074 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57075 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57076 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57077 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57078 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57079 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57080 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57081 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57082 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57083 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57084 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57085 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57086 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57087 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57088 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57089 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57090 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57091 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57092 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57093 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57094 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57095 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57096 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57097 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57098 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57099 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57100 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57101 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57102 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57103 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57104 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57105 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57106 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57107 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57108 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57109 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57110 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57111 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57112 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57113 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57114 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57115 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57116 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57117 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57118 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57119 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57120 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57121 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57122 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57123 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57125 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57126 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57127 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57128 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57129 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57130 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57131 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57132 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57133 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57134 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57135 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57136 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57137 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57138 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57139 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57140 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57141 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57142 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57143 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57144 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57145 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57146 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57147 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57148 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57149 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57150 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57151 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57152 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57153 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57154 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57155 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57156 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57157 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57158 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57159 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57160 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57161 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57162 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57163 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57164 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57165 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57166 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57167 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
57168 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57169 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57170 (__isnanf): Likewise.
57171 (__isinf_ns): Likewise.
57172 (__isinf_nsf): Likewise.
57173 (__finite): Likewise.
57174 (__finitef): Likewise.
57175 (__ieee754_sqrt): Define as macro.
57176 (__ieee754_sqrtf): Define as macro.
57177 (__ieee754_sqrtl): Define as macro.
57178 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57180 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57181 __FINITE_MATH_ONLY__ consistent.
57182 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57184 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
57186 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57189 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57191 2011-10-09 Ulrich Drepper <drepper@gmail.com>
57193 * po/ja.po: Update from translation team.
57195 2011-10-08 Roland McGrath <roland@hack.frob.com>
57197 * locale/programs/locarchive.c (prepare_address_space): New function.
57198 (create_archive, enlarge_archive, open_archive): Use it.
57200 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57201 inside [SHARED], where it is used.
57203 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57205 * nss/getent.c (netgroup_keys): Remove unused variable.
57206 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57208 2011-10-08 Ulrich Drepper <drepper@gmail.com>
57210 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57211 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57212 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57213 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57214 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57215 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57216 * math/Makefile (libm-calls): Add s_isinf_ns.
57217 * math/divtc3.c: Use __isinf_nsl instead of isinf.
57218 * math/multc3.c: Likewise.
57219 * math/s_casin.c: Likewise.
57220 * math/s_casinf.c: Likewise.
57221 * math/s_casinl.c: Likewise.
57222 * math/s_ccos.c: Likewise.
57223 * math/s_ccosf.c: Likewise.
57224 * math/s_ccosl.c: Likewise.
57225 * math/s_ctan.c: Likewise.
57226 * math/s_ctanf.c: Likewise.
57227 * math/s_ctanh.c: Likewise.
57228 * math/s_ctanhf.c: Likewise.
57229 * math/s_ctanhl.c: Likewise.
57230 * math/s_ctanl.c: Likewise.
57231 * math/w_fmod.c: Likewise.
57232 * math/w_fmodf.c: Likewise.
57233 * math/w_fmodl.c: Likewise.
57234 * math/w_remainder.c: Likewise.
57235 * math/w_remainderf.c: Likewise.
57236 * math/w_remainderl.c: Likewise.
57237 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57238 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57239 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57240 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57241 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57242 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57243 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57244 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57246 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57248 * stdio-common/printf_fphex.c: Likewise.
57249 * stdio-common/printf_size.c: Likewise.
57251 * math/e_exp10.c: Include math_private.h using <...> not "...".
57252 * math/e_exp10f.c: Likewise.
57253 * math/e_exp10l.c: Likewise.
57254 * math/e_exp2l.c: Likewise.
57255 * math/e_j0l.c: Likewise.
57256 * math/e_j1l.c: Likewise.
57257 * math/e_jnl.c: Likewise.
57258 * math/e_lgammal_r.c: Likewise.
57259 * math/e_rem_pio2l.c: Likewise.
57260 * math/e_scalb.c: Likewise.
57261 * math/e_scalbf.c: Likewise.
57262 * math/e_scalbl.c: Likewise.
57263 * math/k_cosl.c: Likewise.
57264 * math/k_sinl.c: Likewise.
57265 * math/k_tanl.c: Likewise.
57266 * math/s_cacoshf.c: Likewise.
57267 * math/s_catan.c: Likewise.
57268 * math/s_catanf.c: Likewise.
57269 * math/s_catanh.c: Likewise.
57270 * math/s_catanhf.c: Likewise.
57271 * math/s_catanhl.c: Likewise.
57272 * math/s_catanl.c: Likewise.
57273 * math/s_ccosh.c: Likewise.
57274 * math/s_ccoshf.c: Likewise.
57275 * math/s_ccoshl.c: Likewise.
57276 * math/s_cexp.c: Likewise.
57277 * math/s_cexpf.c: Likewise.
57278 * math/s_cexpl.c: Likewise.
57279 * math/s_clog.c: Likewise.
57280 * math/s_clog10.c: Likewise.
57281 * math/s_clog10f.c: Likewise.
57282 * math/s_clog10l.c: Likewise.
57283 * math/s_clogf.c: Likewise.
57284 * math/s_clogl.c: Likewise.
57285 * math/s_csin.c: Likewise.
57286 * math/s_csinf.c: Likewise.
57287 * math/s_csinh.c: Likewise.
57288 * math/s_csinhf.c: Likewise.
57289 * math/s_csinhl.c: Likewise.
57290 * math/s_csinl.c: Likewise.
57291 * math/s_csqrt.c: Likewise.
57292 * math/s_csqrtf.c: Likewise.
57293 * math/s_csqrtl.c: Likewise.
57294 * math/s_ctan.c: Likewise.
57295 * math/s_ctanf.c: Likewise.
57296 * math/s_ctanh.c: Likewise.
57297 * math/s_ctanhf.c: Likewise.
57298 * math/s_ctanhl.c: Likewise.
57299 * math/s_ctanl.c: Likewise.
57300 * math/s_ldexp.c: Likewise.
57301 * math/s_ldexpf.c: Likewise.
57302 * math/s_ldexpl.c: Likewise.
57303 * math/s_significand.c: Likewise.
57304 * math/s_significandf.c: Likewise.
57305 * math/s_significandl.c: Likewise.
57306 * math/w_acos.c: Likewise.
57307 * math/w_acosf.c: Likewise.
57308 * math/w_acosh.c: Likewise.
57309 * math/w_acoshf.c: Likewise.
57310 * math/w_acoshl.c: Likewise.
57311 * math/w_acosl.c: Likewise.
57312 * math/w_asin.c: Likewise.
57313 * math/w_asinf.c: Likewise.
57314 * math/w_asinl.c: Likewise.
57315 * math/w_atan2.c: Likewise.
57316 * math/w_atan2f.c: Likewise.
57317 * math/w_atan2l.c: Likewise.
57318 * math/w_atanh.c: Likewise.
57319 * math/w_atanhf.c: Likewise.
57320 * math/w_atanhl.c: Likewise.
57321 * math/w_cosh.c: Likewise.
57322 * math/w_coshf.c: Likewise.
57323 * math/w_coshl.c: Likewise.
57324 * math/w_dremf.c: Likewise.
57325 * math/w_exp10.c: Likewise.
57326 * math/w_exp10f.c: Likewise.
57327 * math/w_exp10l.c: Likewise.
57328 * math/w_exp2.c: Likewise.
57329 * math/w_exp2f.c: Likewise.
57330 * math/w_fmod.c: Likewise.
57331 * math/w_fmodf.c: Likewise.
57332 * math/w_fmodl.c: Likewise.
57333 * math/w_hypot.c: Likewise.
57334 * math/w_hypotf.c: Likewise.
57335 * math/w_hypotl.c: Likewise.
57336 * math/w_j0.c: Likewise.
57337 * math/w_j0f.c: Likewise.
57338 * math/w_j0l.c: Likewise.
57339 * math/w_j1.c: Likewise.
57340 * math/w_j1f.c: Likewise.
57341 * math/w_j1l.c: Likewise.
57342 * math/w_jn.c: Likewise.
57343 * math/w_jnf.c: Likewise.
57344 * math/w_jnl.c: Likewise.
57345 * math/w_lgamma.c: Likewise.
57346 * math/w_lgamma_r.c: Likewise.
57347 * math/w_lgammaf.c: Likewise.
57348 * math/w_lgammaf_r.c: Likewise.
57349 * math/w_lgammal.c: Likewise.
57350 * math/w_lgammal_r.c: Likewise.
57351 * math/w_log.c: Likewise.
57352 * math/w_log10.c: Likewise.
57353 * math/w_log10f.c: Likewise.
57354 * math/w_log10l.c: Likewise.
57355 * math/w_log2.c: Likewise.
57356 * math/w_log2f.c: Likewise.
57357 * math/w_log2l.c: Likewise.
57358 * math/w_logf.c: Likewise.
57359 * math/w_logl.c: Likewise.
57360 * math/w_pow.c: Likewise.
57361 * math/w_powf.c: Likewise.
57362 * math/w_powl.c: Likewise.
57363 * math/w_remainder.c: Likewise.
57364 * math/w_remainderf.c: Likewise.
57365 * math/w_remainderl.c: Likewise.
57366 * math/w_scalb.c: Likewise.
57367 * math/w_scalbf.c: Likewise.
57368 * math/w_scalbl.c: Likewise.
57369 * math/w_sinh.c: Likewise.
57370 * math/w_sinhf.c: Likewise.
57371 * math/w_sinhl.c: Likewise.
57372 * math/w_sqrt.c: Likewise.
57373 * math/w_sqrtf.c: Likewise.
57374 * math/w_sqrtl.c: Likewise.
57375 * math/w_tgamma.c: Likewise.
57376 * math/w_tgammaf.c: Likewise.
57377 * math/w_tgammal.c: Likewise.
57379 * po/ja.po: Update from translation team.
57381 2011-09-29 Andreas Jaeger <aj@suse.de>
57384 * sunrpc/netname.c (netname2host): Fix logic.
57388 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57390 * math/w_remainder.c (__remainder): Likewise.
57391 * math/w_remainderf.c (__remainderf): Likewise.
57392 * math/libm-test.inc (remainder_test): Add test cases.
57394 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57396 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
57399 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57401 * string/test-memcmp.c: Avoid unncessary #defines.
57402 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57404 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57406 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57407 Use new sse2 version for core i3 - i7 as it's faster
57408 than sse42 version.
57409 (bit_Prefer_PMINUB_for_stringop): New.
57410 * sysdeps/x86_64/rawmemchr.S: Update.
57411 Replace with faster SSE2 version.
57412 * sysdeps/x86_64/memrchr.S: New file.
57413 * sysdeps/x86_64/memchr.S: Update.
57414 Replace with faster SSE2 version.
57416 2011-09-12 Marek Polacek <mpolacek@redhat.com>
57418 * elf/dl-load.c (lose): Add cast to avoid warning.
57420 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57422 * po/ca.po: Update from translation team.
57424 * inet/getnetgrent_r.c: Hook up nscd.
57425 * nscd/Makefile (routines): Add nscd_netgroup.
57426 (nscd-modules): Add netgroupcache.
57427 (CFLAGS-netgroupcache.c): Define.
57428 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57429 (cache_search): Add const to second parameter.
57430 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57432 (dbs): Add netgrdb entry.
57433 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57434 (verify_persistent_db): Handle netgrdb.
57435 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57436 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57438 (netgroup_response_header): Define.
57439 (innetgroup_response_header): Define.
57440 (datahead): Add netgroup_response_header and innetgroup_response_header
57442 * nscd/nscd.conf: Add entries for netgroup cache.
57443 * nscd/nscd.h (dbtype): Add netgrdb.
57444 (_PATH_NSCD_NETGROUP_DB): Define.
57445 (netgroup_iov_disabled): Declare.
57446 (xmalloc, xcalloc, xrealloc): Move declarations here.
57447 (cache_search): Adjust prototype.
57448 Add netgroup-related prototypes.
57449 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57450 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57451 (__nscd_innetgr): Declare.
57452 * nscd/selinux.c (perms): Use access_vector_t as element type and
57453 add netgroup-related initializers.
57454 * nscd/netgroupcache.c: New file.
57455 * nscd/nscd_netgroup.c: New file.
57456 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57457 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57458 For four parameters use innetgr.
57459 * nss/nss_files/files-init.c: Add definition and callback for netgr.
57460 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57461 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57462 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57464 * nscd/connections.c (register_traced_file): Don't register file
57465 for disabled databases.
57467 2011-10-06 Ulrich Drepper <drepper@gmail.com>
57469 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57471 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57472 from tree and freeing node.
57474 2011-09-25 Jiri Olsa <jolsa@redhat.com>
57476 * nss/nsswitch.c (__nss_database_lookup): Handle
57477 nss_parse_service_list out of memory case.
57479 2011-09-15 Jiri Olsa <jolsa@redhat.com>
57481 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57482 out of memory case.
57484 2011-10-04 Andreas Schwab <schwab@redhat.com>
57486 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57487 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57489 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57490 elf_machine_rela, elf_machine_lazy_rel.
57491 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57492 (ELF_DYNAMIC_DO_REL): Likewise.
57493 (ELF_DYNAMIC_DO_RELA): Likewise.
57494 (ELF_DYNAMIC_RELOCATE): Likewise.
57495 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57496 to ELF_DYNAMIC_DO_REL.
57497 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57498 (dl_main): In trace mode always set __RTLD_NOIFUNC.
57499 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57501 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57502 skip_ifunc, don't call ifunc function if non-zero.
57503 (elf_machine_rela): Likewise.
57504 (elf_machine_lazy_rel): Likewise.
57505 (elf_machine_lazy_rela): Likewise.
57506 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57507 (elf_machine_lazy_rel): Likewise.
57508 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57510 (elf_machine_lazy_rel): Likewise.
57511 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57513 (elf_machine_lazy_rel): Likewise.
57514 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57515 (elf_machine_lazy_rel): Likewise.
57516 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57517 (elf_machine_lazy_rel): Likewise.
57518 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57519 (elf_machine_lazy_rel): Likewise.
57520 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57521 (elf_machine_lazy_rel): Likewise.
57522 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57523 (elf_machine_lazy_rel): Likewise.
57524 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57525 (elf_machine_lazy_rel): Likewise.
57527 2011-09-28 Ulrich Drepper <drepper@gmail.com>
57529 * nss/nss_files/files-init.c (_nss_files_init): Use static
57530 initialization for all the *_traced_file variables.
57532 2011-09-28 Andreas Schwab <schwab@redhat.com>
57534 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57536 2011-09-27 Roland McGrath <roland@hack.frob.com>
57539 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57541 2011-09-27 Andreas Schwab <schwab@redhat.com>
57543 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57544 Reread the line before reparsing it.
57546 2011-09-26 Andreas Schwab <schwab@redhat.com>
57548 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57550 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
57551 Maxim Kuvyrkov <maxim@codesourcery.com>
57552 Joseph Myers <joseph@codesourcery.com>
57554 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57555 if needed for __stack_chk_guard.
57557 2011-09-19 Roland McGrath <roland@hack.frob.com>
57559 * sysdeps/posix/spawni.c (script_execute): Always define it.
57560 It will be optimized away if unused.
57561 (maybe_script_execute): New function.
57562 (__spawni): Call it.
57564 * Makerules: Don't include tls.make.
57565 (config-tls): Always set to thread.
57566 * tls.make.c: File removed.
57568 2011-09-19 Mike Frysinger <vapier@gentoo.org>
57570 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57571 * config.make.in (CPPFLAGS-config): New substituted variable.
57573 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57575 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57578 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57579 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57581 2011-09-15 Roland McGrath <roland@hack.frob.com>
57583 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57584 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57585 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57586 (CALL_FAIL): Likewise.
57587 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57588 (CALL_FAIL): Macro removed.
57589 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57591 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57593 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57594 for __FINITE_MATH_ONLY__ == 1.
57596 2011-09-15 Andreas Schwab <schwab@redhat.com>
57598 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57599 __ieee754_sqrt instead of sqrt.
57600 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57601 __ieee754_sqrtf instead of sqrtf.
57602 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57603 __floorf instead of floorf.
57604 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57605 __floorf, __truncf instead of floorf, truncf.
57607 2011-09-14 Ulrich Drepper <drepper@gmail.com>
57609 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57611 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57612 __extern_always_inline.
57613 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57616 2011-09-14 Andreas Schwab <schwab@redhat.com>
57618 * elf/rtld.c (dl_main): Also relocate in dependency order when
57619 doing symbol dependency testing.
57621 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
57623 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57624 Always define `refsym'.
57626 2011-09-13 Andreas Schwab <schwab@redhat.com>
57628 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57629 (__FD_ELT): Renamed from __FDELT.
57630 * misc/bits/select2.h (__FD_ELT): Likewise.
57631 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57632 __FD_MASK instead of __FDELT, __FDMASK.
57633 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57635 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57638 * elf/Makefile (gen-ldd): Fix pattern.
57640 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57641 (init_tls): Likewise.
57643 2011-09-12 Ulrich Drepper <drepper@gmail.com>
57645 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57647 2011-09-12 Andreas Schwab <schwab@redhat.com>
57649 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57650 `struct cmsghdr *' instead of `void *'.
57651 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57654 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
57656 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57658 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57659 ldd_rewrite_script.
57661 2011-09-11 Ulrich Drepper <drepper@gmail.com>
57663 * configure.in: Remove --with-tls option.
57664 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57665 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57666 out in case it is missing.
57667 * sysdeps/ia64/elf/configure.in: Likewise.
57668 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57669 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57670 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57671 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57672 * sysdeps/sh/elf/configure.in: Likewise.
57673 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57674 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57675 * sysdeps/x86_64/elf/configure.in: Likewise.
57676 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57677 * sysdeps/mach/hurd/tls.h: Likewise.
57680 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57683 * configure.in: Fix use of AC_INIT.
57685 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57687 2011-09-10 Ulrich Drepper <drepper@gmail.com>
57689 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57691 * malloc/hooks.c: Likewise.
57694 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
57695 variables statically.
57696 (narenas): Initialize.
57697 (list_lock): Initialize.
57698 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
57699 initializtion of main_arena and list_lock. Small cleanups.
57700 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57701 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
57702 Add initializers to main_arena and mp_.
57703 (malloc_state): Remove pagesize member. Change all users to use
57706 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57707 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
57708 is always initialized.
57710 * malloc/malloc.c: Removed unused configurations and dead code.
57711 * malloc/arena.c: Likewise.
57712 * malloc/hooks.c: Likewise.
57713 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57715 * include/tls.h: Removed. USE___THREAD must always be defined.
57716 * bits/libc-tsd.h: Don't handle !USE___THREAD.
57717 * elf/dl-libc.c: Likewise.
57718 * elf/dl-tsd.c: Likewise.
57719 * include/errno.h: Likewise.
57720 * include/netdb.h: Likewise.
57721 * include/resolv.h: Likewise.
57722 * inet/herrno-loc.c: Likewise.
57723 * inet/herrno.c: Likewise.
57724 * malloc/arena.c: Likewise.
57725 * malloc/hooks.c: Likewise.
57726 * malloc/malloc.c: Likewise.
57727 * resolv/res-state.c: Likewise.
57728 * resolv/res_libc.c: Likewise.
57729 * sysdeps/i386/dl-machine.h: Likewise.
57730 * sysdeps/ia64/dl-machine.h: Likewise.
57731 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57732 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57733 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57734 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57735 * sysdeps/sh/dl-machine.h: Likewise.
57736 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57737 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57738 * sysdeps/unix/i386/sysdep.S: Likewise.
57739 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57740 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57741 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57742 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57743 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57745 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57746 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57747 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57748 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57749 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57750 * sysdeps/x86_64/dl-machine.h: Likewise.
57751 * tls.make.c: Likewise.
57753 * configure.in: Remove --with-__thread option. Make tests for
57754 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57755 tls_model attribute fail if no support is available. Remove
57757 * Makeconfig: Adjust for dropped configure option. All features are
57759 * Makerules: Likewise.
57760 * Versions.def: Likewise.
57761 * argp/argp-fmtstream.c: Likewise.
57762 * argp/argp-fmtstream.h: Likewise.
57763 * argp/argp-help.c: Likewise.
57764 * assert/assert.c: Likewise.
57765 * config.h.in: Likewise.
57766 * config.make.in: Likewise.
57767 * configure: Likewise.
57768 * configure.in: Likewise.
57769 * csu/Versions: Likewise.
57770 * csu/init.c: Likewise.
57771 * elf/tst-audit2.c: Likewise.
57772 * elf/tst-tls10.c: Likewise.
57773 * elf/tst-tls10.h: Likewise.
57774 * elf/tst-tls11.c: Likewise.
57775 * elf/tst-tls12.c: Likewise.
57776 * elf/tst-tls14.c: Likewise.
57777 * elf/tst-tlsmod11.c: Likewise.
57778 * elf/tst-tlsmod12.c: Likewise.
57779 * elf/tst-tlsmod13.c: Likewise.
57780 * elf/tst-tlsmod13a.c: Likewise.
57781 * elf/tst-tlsmod14a.c: Likewise.
57782 * elf/tst-tlsmod15b.c: Likewise.
57783 * elf/tst-tlsmod16a.c: Likewise.
57784 * elf/tst-tlsmod16b.c: Likewise.
57785 * elf/tst-tlsmod7.c: Likewise.
57786 * elf/tst-tlsmod8.c: Likewise.
57787 * elf/tst-tlsmod9.c: Likewise.
57788 * gmon/gmon.c: Likewise.
57789 * grp/fgetgrent_r.c: Likewise.
57790 * grp/putgrent.c: Likewise.
57791 * hurd/fopenport.c: Likewise.
57792 * include/libc-symbols.h: Likewise.
57793 * include/tls.h: Likewise.
57794 * intl/gettextP.h: Likewise.
57795 * intl/loadinfo.h: Likewise.
57796 * locale/global-locale.c: Likewise.
57797 * locale/localeinfo.h: Likewise.
57798 * mach/devstream.c: Likewise.
57799 * malloc/arena.c: Likewise.
57800 * malloc/set-freeres.c: Likewise.
57801 * misc/err.c: Likewise.
57802 * misc/getttyent.c: Likewise.
57803 * misc/mntent_r.c: Likewise.
57804 * posix/getopt.c: Likewise.
57805 * posix/wordexp.c: Likewise.
57806 * pwd/fgetpwent_r.c: Likewise.
57807 * resolv/Versions: Likewise.
57808 * resolv/res_hconf.c: Likewise.
57809 * shadow/fgetspent_r.c: Likewise.
57810 * shadow/putspent.c: Likewise.
57811 * stdio-common/printf_fphex.c: Likewise.
57812 * stdio-common/tmpfile.c: Likewise.
57813 * stdlib/abort.c: Likewise.
57814 * stdlib/fmtmsg.c: Likewise.
57815 * sunrpc/auth_unix.c: Likewise.
57816 * sunrpc/clnt_perr.c: Likewise.
57817 * sunrpc/clnt_tcp.c: Likewise.
57818 * sunrpc/clnt_udp.c: Likewise.
57819 * sunrpc/clnt_unix.c: Likewise.
57820 * sunrpc/openchild.c: Likewise.
57821 * sunrpc/svc_simple.c: Likewise.
57822 * sunrpc/svc_tcp.c: Likewise.
57823 * sunrpc/svc_udp.c: Likewise.
57824 * sunrpc/svc_unix.c: Likewise.
57825 * sunrpc/xdr.c: Likewise.
57826 * sunrpc/xdr_array.c: Likewise.
57827 * sunrpc/xdr_rec.c: Likewise.
57828 * sunrpc/xdr_ref.c: Likewise.
57829 * sunrpc/xdr_stdio.c: Likewise.
57831 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57833 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57835 2011-07-03 Andreas Jaeger <aj@suse.de>
57837 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57838 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57839 regenerate with gen-libm-tests.pl.
57841 2010-05-12 Petr Baudis <pasky@suse.cz>
57844 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57845 around j0() zero points by switching to j1().
57846 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57847 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57848 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57849 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57851 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57853 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57855 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57857 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57858 Patch in part by Pavel Roskin <proski@gnu.org>.
57861 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57863 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
57864 Free memory block if necessary.
57867 * libio/genops.c (INTDEF): For string streams the _lock pointer can
57868 be NULL. Don't lock in this case.
57870 2011-09-09 Roland McGrath <roland@hack.frob.com>
57872 * elf/elf.h (ELFOSABI_GNU): New macro.
57873 (ELFOSABI_LINUX): Define to that.
57875 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
57877 * string/strncat.c (strncat): Undef the symbol in case it has been
57878 defined in bits/string.h.
57880 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57882 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57884 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57887 2011-08-17 Andreas Jaeger <aj@suse.de>
57889 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57891 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
57892 Ian Lance Taylor <iant@google.com>
57894 * math/libm-test.inc (lround_test): New testcase.
57895 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57897 2011-09-08 Ulrich Drepper <drepper@gmail.com>
57899 * Makefile: Remove support for automatic cvs check-ins.
57900 * Makerules: Likewise.
57901 * config.make.in: Likewise.
57902 * configure.in: Likewise.
57903 * intl/Makefile: Likewise.
57904 * locale/Makefile: Likewise.
57905 * po/Makefile: Likewise.
57906 * posix/Makefile: Likewise.
57907 * sysdeps/gnu/Makefile: Likewise.
57908 * sysdeps/mach/hurd/Makefile: Likewise.
57909 * sysdeps/sparc/sparc32/Makefile: Likewise.
57912 * posix/Makefile (bug-regex32-ENV): Define.
57913 Patch by John Stanley <jpsinthemix@verizon.net>.
57915 * misc/Makefile (headers): Add bits/select2.h.
57916 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57917 * misc/bits/select2.h: New file.
57918 * include/bits/select2.h: New file.
57919 * debug/Makefile (routines): Add fdelt_chk.
57920 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57921 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57923 * debug/fdelt_chk.c: New file.
57925 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
57926 * wcsmbs/test-wmemcmp.c: Likewise.
57927 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57928 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57930 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57932 * string/Makefile (strop-tests): Add memcmp.
57933 * string/test-wmemcmp.c: New file.
57934 * string/test-memcmp.c: Add wmemcmp support.
57936 2011-09-08 Roland McGrath <roland@hack.frob.com>
57939 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57942 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57943 garbage value in a __mach_port_mod_refs call in the cases of the
57944 task-self and thread-self ports.
57946 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57948 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57950 2011-09-08 Andreas Schwab <schwab@redhat.com>
57952 * elf/dl-load.c (lose): Check for non-null L.
57954 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57956 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57958 * elf/dl-libc.c (dlerror_run): Pass back error code from
57962 * elf/dl-load.c (lose): Free l_origin if it is valid.
57964 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57966 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57967 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57968 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57969 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57970 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57971 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57973 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57975 * sysdeps/powerpc/fpu/e_hypot.c: New file.
57976 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57977 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57978 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57979 * sysdeps/powerpc/fpu/k_cosf.c: New file.
57980 * sysdeps/powerpc/fpu/k_sinf.c: New file.
57981 * sysdeps/powerpc/fpu/s_cosf.c: New file.
57982 * sysdeps/powerpc/fpu/s_sinf.c: New file.
57983 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57984 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57986 2011-08-15 Alan Modra <amodra@gmail.com>
57989 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57990 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57991 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
57992 ppc_mcount to static-only-routines.
57993 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57995 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57996 __mcount_internal with usual JUMPTARGET. Remove useless nop.
57998 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
58000 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58001 for finite and infinity parameters.
58003 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58005 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58006 and add nop instructions for throughput optimization.
58007 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58009 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
58011 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58012 aligned copy for power7 with vector-scalar instructions.
58013 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58015 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
58017 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58020 2011-09-07 Andreas Schwab <schwab@redhat.com>
58023 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58026 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58028 * sysdeps/unix/sysv/linux/x86_64/init-first.c
58029 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58030 syscall wrapper around clock_gettime in __vdso_clock_gettime.
58031 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58034 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58036 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58037 Forgot to demangle the pointer.
58039 * sysdeps/i386/sysdep.h: Define atom_text_section.
58040 * sysdeps/x86_64/sysdep.h: Likewise.
58041 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58042 section with atom_text_section.
58043 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58044 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58045 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58046 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58047 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58049 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58050 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58051 already be defined. Change to take two parameters and don't assign
58052 result to variable. Adjust all users.
58053 Define INTERNAL_GETTIME if not already defined.
58054 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58057 HAVE_CLOCK_GETTIME_VSYSCALL.
58058 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58060 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58061 gettimeofday vsyscall, just use time.
58063 2011-09-06 Andreas Schwab <schwab@redhat.com>
58065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58068 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58070 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58072 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58074 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58075 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58076 syscall if possible.
58078 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58080 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58081 e_ident. Don't pass to find_mapsXX.
58082 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58084 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58087 strchr-sse2-no-bsf strrchr-sse2-no-bsf
58088 * sysdeps/x86_64/multiarch/strchr.S: Update.
58089 Check bit_slow_BSF bit.
58090 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58091 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58092 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58094 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58097 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58099 (tryshell): Define.
58100 (__spawni): Change last parameter to be flag. Test
58101 SPAWN_XFLAGS_USE_PATH flag to use path or not.
58102 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58103 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58104 * posix/spawni.c: Likewise.
58105 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58106 * posix/spawnp.c: Likewise. Change normal version to use
58107 SPAWN_XFLAGS_USE_PATH.
58108 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58109 SPAWN_XFLAGS_TRY_SHELL.
58112 * posix/glob.h: Remove gcc 1.x support.
58115 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58117 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58120 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58122 * sysdeps/i386/i686/multiarch/strchr.S: New file.
58123 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58124 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58125 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58126 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58127 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58129 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58131 * sysdeps/x86_64/wcscmp.S: New file.
58133 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58134 wcscmp-c wcscmp-sse2
58135 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58136 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58137 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58138 * wcsmbs/wcscmp.c: Allow renaming.
58140 2011-09-05 David S. Miller <davem@davemloft.net>
58142 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58143 stack slot, rather than the struct return pointer slot.
58144 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58145 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58147 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58149 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58151 * po/ja.po: Update from translation team.
58154 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58155 kernel in 64-bit binaries.
58157 2011-09-01 David S. Miller <davem@davemloft.net>
58159 * elf/elf.h (HWCAP_SPARC_*): Move to..
58160 * sysdeps/sparc/sysdep.h: this new file and add new values.
58161 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58162 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58163 _DL_HWCAP_COUNT to 24.
58164 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58166 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58167 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58168 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58169 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58170 instead of magic constants.
58171 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58173 2011-08-31 David S. Miller <davem@davemloft.net>
58175 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58176 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58177 Reimplement to do errno handling inline.
58178 (SYSCALL_ERROR_HANDLER): New macro.
58179 (__SYSCALL_STRING): Do not do errno handling in asm.
58180 (__CLONE_SYSCALL_STRING): Delete.
58181 (__INTERNAL_SYSCALL_STRING): Delete.
58182 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58183 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58184 (PSEUDO): Reimplement to do errno handling inline.
58185 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58186 (SYSCALL_ERROR_HANDLER): New macro.
58187 (__SYSCALL_STRING): Do not do errno handling in asm.
58188 (__CLONE_SYSCALL_STRING): Delete.
58189 (__INTERNAL_SYSCALL_STRING): Delete.
58190 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58191 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58193 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58194 (inline_syscall*): Add 'err' argument.
58195 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58196 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58197 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58198 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58200 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58201 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58203 2011-08-30 Andreas Schwab <schwab@redhat.com>
58205 * elf/rtld.c (dl_main): Relocate objects in dependency order.
58207 2011-08-29 Jiri Olsa <jolsa@redhat.com>
58209 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58212 2011-08-24 David S. Miller <davem@davemloft.net>
58214 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58216 2011-08-24 Andreas Schwab <schwab@redhat.com>
58218 * elf/Makefile: Add rules to build and run unload8 test.
58219 * elf/unload8.c: New file.
58220 * elf/unload8mod1.c: New file.
58221 * elf/unload8mod1x.c: New file.
58222 * elf/unload8mod2.c: New file.
58223 * elf/unload8mod3.c: New file.
58225 * elf/dl-close.c (_dl_close_worker): Reset private search list if
58228 2011-08-23 David S. Miller <davem@davemloft.net>
58230 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58231 subtract stack bias.
58232 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58233 %sp not %fp in calculations.
58234 (_JMPBUF_UNWINDS_ADJ): Likewise.
58236 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58237 (aio_suspend): Call it to force an exception region around the
58238 AIO_MISC_WAIT() invocation.
58240 2011-08-23 Andreas Schwab <schwab@redhat.com>
58242 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58245 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
58247 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58249 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58250 and <dl-machine.h>.
58251 (Elf64_FuncDesc): Remove.
58253 2011-08-22 David S. Miller <davem@davemloft.net>
58255 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58256 sigaltstack check, add missing cfi directives.
58257 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58258 missing cfi directives, and sigaltstack handling.
58260 2011-08-16 Andreas Schwab <schwab@redhat.com>
58263 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58264 object is seen twice.
58265 * elf/dl-fini.c (_dl_sort_fini): Likewise.
58267 * elf/Makefile (distribute): Add tst-initorder2.c.
58268 (tests): Add tst-initorder2.
58269 (modules-names): Add tst-initorder2a tst-initorder2b
58270 tst-initorder2c tst-initorder2d. Add rules to build them.
58271 ($(objpfx)tst-initorder2.out): New rule.
58272 * elf/tst-initorder2.c: New file.
58273 * elf/tst-initorder2.exp: New file.
58275 2011-08-22 Andreas Schwab <schwab@redhat.com>
58277 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58279 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58280 dependencies back to end of function.
58282 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58283 $(elfobjdir)/ld.so.
58285 2011-08-21 Ulrich Drepper <drepper@gmail.com>
58287 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58288 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58289 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58290 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58291 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58292 of __vdso_gettimeofday.
58293 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58294 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
58296 (_libc_vdso_platform_setup): Remove initialization of
58297 __vdso_gettimeofday and __vdso_time.
58299 2011-08-20 Ulrich Drepper <drepper@gmail.com>
58301 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58302 and fgetc_unlocked.
58303 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58306 * elf/dl-open.c (add_to_global): Report additions to the global scope
58307 for LD_DEBUG=scopes.
58308 (dl_open_worker): Also print scope of newly loaded dependencies.
58309 (_dl_show_scope): Indicate if there is no scope.
58312 * stdio-common/Makefile (tests): Add bug24.
58313 * stdio-common/bug24.c: New file.
58315 2011-08-19 Andreas Jaeger <aj@suse.de>
58318 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58319 non-existant file when using close-on-exec mode.
58321 2011-08-20 Ulrich Drepper <drepper@gmail.com>
58323 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58324 the very first instruction.
58326 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58327 the CFI state in the end.
58328 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58329 inclusion of dl-trampoline.h.
58330 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58332 2011-08-19 Andreas Schwab <schwab@redhat.com>
58334 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58335 expectations for long double.
58337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58338 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58340 2011-08-14 David S. Miller <davem@davemloft.net>
58342 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58343 artificual limit depends upon the system page size.
58345 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58347 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58348 * resolv/Makefile: Define CFLAGS-libresolv.
58350 2011-08-17 Andreas Schwab <schwab@redhat.com>
58352 * nss/makedb.c (compute_tables): Make variables used in nested
58355 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58357 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58358 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58359 if buffer was too small.
58361 * elf/pldd.c (main): Attach to all threads in the process.
58362 Rewrite /proc handling to use *at functions.
58364 2011-08-16 Ulrich Drepper <drepper@gmail.com>
58366 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58367 specifies first scope to show.
58368 (dl_open_worker): Update callers. Move printing scope of new
58369 object to before the relocation.
58370 * elf/rtld.c (dl_main): Update _dl_show_scope call.
58371 * sysdeps/generic/ldsodefs.h: Update declaration.
58373 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58374 string for the scope number.
58376 2011-08-14 Ulrich Drepper <drepper@gmail.com>
58378 * nscd/servicescache.c (cache_addserv): Make sure written is always
58381 2011-08-14 Roland McGrath <roland@hack.frob.com>
58383 * sysdeps/i386/i486/bits/atomic.h
58384 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58385 statement expression, so as to suppress "set but not used" warning.
58386 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58388 * string/strncat.c (STRNCAT): Use prototype definition.
58390 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58391 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58393 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58394 (localedef-modules): Add localedef.
58395 (locale-modules): Add locale.
58397 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58398 * elf/rtld.c (dl_main): Invert order of assignment in last change,
58399 to avoid a warning.
58401 2011-08-14 David S. Miller <davem@davemloft.net>
58403 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58404 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58406 2011-08-13 Ulrich Drepper <drepper@gmail.com>
58408 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58409 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58410 * elf/rtld.c (dl_main): Set l_name of vDSO.
58411 Call _dl_show_scope when DL_DEBUG_SCOPES.
58412 (process_dl_debug): Recognize scopes flag and also set it for all.
58413 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58414 Declare _dl_show_scope.
58416 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58417 (do_dlopen): Pass caller_dlopen to dl_open.
58418 (__libc_dlopen_mode): Initialize caller_dlopen.
58420 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58421 of libc. Make tolower call locale-independent. Optimize a bit by
58422 using isdigit instead of isalnum.
58423 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58425 2011-08-12 Ulrich Drepper <drepper@gmail.com>
58427 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58428 was a dependency or dynamically loaded.
58430 2011-08-11 Ulrich Drepper <drepper@gmail.com>
58432 * intl/l10nflist.c: Allow architecture-specific pop function.
58433 * sysdeps/x86_64/l10nflist.c: New file.
58435 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58438 2011-08-10 Andreas Schwab <schwab@redhat.com>
58440 * include/dirent.h: Add libc_hidden_proto for scandirat and
58441 scandirat64. Don't declare __scandirat64.
58442 * dirent/scandirat.c: Add libc_hidden_def.
58443 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58444 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58446 2011-08-10 David S. Miller <davem@davemloft.net>
58448 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58450 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58451 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58452 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58454 2011-08-09 Ulrich Drepper <drepper@gmail.com>
58456 * Versions.def [libc]: Add GLIBC_2.15.
58457 * dirent/Makefile (routines): Add scandirat and scandirat64.
58458 * dirent/Versions [libc]: Export scandirat and scandirat64 for
58460 * dirent/dirent.h: Declare scandirat and scandirat64.
58461 * dirent/scandirat.c: New file.
58462 * dirent/scandirat64.c: New file.
58463 * sysdeps/wordsize-64/scandirat.c: New file.
58464 * sysdeps/wordsize-64/scandirat64.c: New file.
58465 * dirent/opendir.c: Define opendirat.
58466 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
58468 * dirent/scandir64.c: Adjust for scandir.c change.
58469 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
58470 __scandirat64, and __scandir_cancel_handler.
58471 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
58472 additional parameter and use openat instead of open (outside of ld.so).
58473 Add new __opendir as wrapper around __opendirat.
58474 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58475 here without requiring old scandirat implementation.
58477 2011-08-08 Ulrich Drepper <drepper@gmail.com>
58479 * dirent/scandir.c (cancel_handler): Renamed to
58480 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
58481 defined. Adjust users.
58482 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58483 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58485 2011-08-04 Ulrich Drepper <drepper@gmail.com>
58487 * string/test-string.h (IMPL): Use __STRING to expand name and then
58490 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
58493 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58495 * string/Makefile: Update.
58496 (strop-tests): Append strncat.
58497 * string/test-wcscmp.c: New file.
58498 New comprehensive test for wcscmp.
58499 * string/test-strcmp.c: Update.
58500 (WIDE): New define.
58502 2011-07-22 Andreas Schwab <schwab@redhat.com>
58504 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58507 2011-07-26 Andreas Schwab <schwab@redhat.com>
58509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58510 encoding to ACE if AI_IDN.
58512 2011-08-01 Jakub Jelinek <jakub@redhat.com>
58514 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58515 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58517 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58519 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58520 Fix overflow bug in strncat.
58521 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58523 * string/test-strncat.c: Update.
58524 Add new tests for checking overflow bugs.
58526 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58529 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58530 * sysdeps/i386/i686/multiarch/strcat.S: New file.
58531 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58532 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58533 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58534 * sysdeps/i386/i686/multiarch/strncat.S: New file.
58535 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58536 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58538 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58539 (USE_AS_STRCAT): Define.
58540 Add strcat and strncat support.
58541 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58543 2011-07-25 Andreas Schwab <schwab@redhat.com>
58545 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58546 __n bigger than INT_MAX+1.
58547 (__strncmp_g): Likewise.
58549 2011-07-23 Ulrich Drepper <drepper@gmail.com>
58551 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58552 * libio/stido.h: Likewise.
58554 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58556 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58559 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58560 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58561 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58562 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58563 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58566 * scripts/test-installation.pl: Don't expect libnss_test1 to be
58569 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58571 (_dl_x86_64_save_sse): Likewise.
58573 2011-07-22 Ulrich Drepper <drepper@gmail.com>
58575 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58577 (_dl_x86_64_save_sse): Likewise.
58579 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58581 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58583 2011-07-21 Andreas Schwab <schwab@redhat.com>
58585 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58587 (_dl_x86_64_save_sse): Use correct AVX check.
58589 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58591 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58592 bug in strncpy/strncat.
58593 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58595 2011-07-21 Ulrich Drepper <drepper@gmail.com>
58597 * string/tester.c (test_strcat): Add tests for different alignments
58598 of source and destination.
58599 (test_strncat): Likewise.
58601 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58604 * posix/glob.c (glob): Check passed in values before using them in
58605 expressions to avoid some overflows.
58606 (glob_in_dir): Likewise.
58609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58610 check for AVX enablement so that we don't crash with old kernels and
58612 * elf/tst-audit4.c: Add same checks here.
58613 * elf/tst-audit6.c: Likewise.
58615 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58617 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
58619 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58621 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58623 * po/cs.po: Update from translation team.
58624 * po/bg.po: Likewise.
58626 2011-07-12 Marek Polacek <mpolacek@redhat.com>
58628 * misc/sys/cdefs.h: Add support for const attribute.
58629 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58630 to gnu_dev_{major,minor,makedev} functions.
58632 2011-07-20 Marek Polacek <mpolacek@redhat.com>
58634 * intl/dcigettext.c (get_output_charset): Add missing bracket.
58636 2011-07-20 Andreas Schwab <schwab@redhat.com>
58638 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58641 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58643 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58644 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58645 register in order to avoid conflicts with the soft frame pointer
58646 being held in r11 when necessary.
58647 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58648 (INTERNAL_VSYSCALL_NCS): Likewise.
58650 2011-07-14 Marek Polacek <mpolacek@redhat.com>
58652 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58653 * elf/dl-fini.c (_dl_fini): Adjust caller.
58654 * elf/dl-close.c (_dl_close_worker): Likewise.
58655 * sysdeps/generic/ldsodefs.h: Adjust declaration.
58657 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58659 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58660 "aux_cache->nlibs < 0".
58662 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58663 in the reload-count case.
58665 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58668 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58669 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58670 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58671 * sysdeps/x86_64/multiarch/strcat.S: New file.
58672 * sysdeps/x86_64/multiarch/strncat.S: New file.
58673 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58674 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58675 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58676 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58677 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58678 (USE_AS_STRCAT): Define.
58679 Add strcat and strncat support.
58680 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58681 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58682 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58683 * string/strncat.c: Update.
58684 (USE_AS_STRNCAT): Define.
58685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58686 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58688 * sysdeps/x86_64/multiarch/init-arch.h
58689 (bit_Prefer_PMINUB_for_stringop): New.
58690 (index_Prefer_PMINUB_for_stringop): Likewise.
58691 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58692 bit_Prefer_PMINUB_for_stringop.
58694 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58696 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58698 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58699 of casting of buffer.
58700 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58701 buffer32 and buffer64.
58702 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58703 writes instead of casting of buffer.
58704 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58706 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58709 2011-07-19 Andreas Schwab <schwab@redhat.com>
58711 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58713 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58715 * nscd/nscd.c (termination_handler): Don't do anything for a database
58716 if it has not yet been initialized.
58718 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58720 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58722 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58724 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58726 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58728 * po/nl.po: Update from translation team.
58729 * po/sv.po: Likewise.
58731 2011-07-16 Roland McGrath <roland@hack.frob.com>
58733 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58734 now disallowed by GCC.
58736 * configure.in (use-default-link): Default to yes if a test -shared
58737 link meets our qualifications.
58738 * configure: Regenerated.
58740 * config.make.in (output-format): New variable.
58741 * configure.in: Check for ld --print-output-format support.
58742 * configure: Regenerated.
58743 * Makerules ($(common-objpfx)format.lds)
58744 [$(output-format) != unknown]: Just use $(output-format),
58745 instead of the linker-script munging.
58747 2011-07-14 Roland McGrath <roland@hack.frob.com>
58749 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58750 of $(common-objpfx)shlib.lds.
58751 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58753 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58754 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58756 * configure.in (-z relro check): Adjust test code to add a large
58757 writable data section after it.
58758 * configure: Regenerated.
58760 2011-07-11 Roland McGrath <roland@hack.frob.com>
58762 * configure.in (-z relro check): Fix test code to make the variable
58764 * configure: Regenerated.
58766 2011-07-11 Ulrich Drepper <drepper@gmail.com>
58768 * nscd/nscd.h (struct traced_file): Define.
58769 (struct database_dyn): Remove inotify_descr, reset_res, and filename
58770 elements. Add traced_files.
58771 (inotify_fd): Declare.
58772 (register_traced_file): Declare.
58773 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58774 (inotify_fd): Export.
58775 (resolv_conf_descr): Remove.
58776 (nscd_init): Move inotify descriptor creation to main.
58777 Don't register files for notification here.
58778 (register_traced_file): New function.
58779 (invalidate_cache): Don't use reset_res to determine whether to call
58780 res_init, go through the list of registered files.
58781 (main_loop_poll): The inotify descriptors are now stored in the
58782 structures for the traced files.
58783 (main_loop_epoll): Likewise
58784 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
58785 to __nss_disable_nscd.
58786 * nscd/cache.c (prune_cache): There is no single inotify descriptor
58787 for a database anymore. Check the records for all the registered
58789 * nss/Makefile (libnss_files-routines): Add files-init.
58790 (libnss_db-routines): Add db-init.
58791 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58792 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58793 * nss/nss_db/db-init.c: New file.
58794 * nss/nss_files/files-init.c: New file.
58795 * nss/nsswitch.c (nss_load_library): New function. Broken out of
58796 __nss_lookup_function.
58797 (__nss_lookup_function): Call nss_load_library.
58798 (nss_load_all_libraries): New function.
58799 (__nss_disable_nscd): Take parameter with callback function for files
58800 to register. Set is_nscd. Load all the DSOs for the NSS modules
58801 used for the cached services.
58802 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58803 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58804 options for features to all the files in nscd.
58806 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58808 2011-07-10 Roland McGrath <roland@hack.frob.com>
58810 * csu/elf-init.c (__libc_csu_init): Comment typo.
58812 2011-07-09 Ulrich Drepper <drepper@gmail.com>
58814 * po/pl.po: Update from translation team.
58815 * po/ja.po: Likewise.
58816 * po/ru.po: Likewise.
58817 * po/ko.po: Likewise.
58818 * po/fr.po: Likewise.
58820 2011-07-09 Roland McGrath <roland@hack.frob.com>
58822 * configure.in (.ctors/.dtors header and trailer check):
58823 Use an empirical test on a built program.
58824 * configure: Regenerated.
58826 * configure.in (-z relro check): Use an empirical test on a built DSO.
58827 Detect, but do not require, on ia64.
58828 * configure: Regenerated.
58830 * configure.in (READELF): Find it with AC_CHECK_TOOL.
58831 Update tests that use readelf to use $READELF instead.
58832 * configure: Regenerated.
58834 2011-07-08 Ulrich Drepper <drepper@gmail.com>
58836 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58837 if the result is not used.
58839 2011-07-05 Andreas Jaeger <aj@suse.de>
58842 * stdlib/tst-strtod.c: Add testcase.
58844 2011-07-07 Ulrich Drepper <drepper@gmail.com>
58846 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58847 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58848 The latter has a higher limit. Take additional parameter to pass to
58850 (__pathconf): Pass file to __statfs_link_max.
58851 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58853 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58857 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58858 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58860 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58861 (__statfs_filesize_max): Likewise.
58862 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58864 2011-07-05 Andreas Jaeger <aj@suse.de>
58866 * resolv/res_comp.c (dn_skipname): Remove unused variable.
58868 2011-07-06 Marek Polacek <mpolacek@redhat.com>
58870 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58872 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58875 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
58877 * Makefile (strop-tests): Add strncat.
58878 * string/test-strncat.c: New file.
58880 2011-06-30 Marek Polacek <mpolacek@redhat.com>
58882 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58884 2011-06-21 Andreas Jaeger <aj@suse.de>
58886 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58887 Copy rule from iconvdata/Makefile.
58889 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58892 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58893 but no long options are defined, just return 'W'.
58895 2011-06-22 Marek Polacek <mpolacek@redhat.com>
58898 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58900 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58902 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58904 (innetgr): Likewise.
58906 2011-07-05 Roland McGrath <roland@hack.frob.com>
58908 * config.make.in (install_root): Default to $(DESTDIR).
58910 2011-07-05 Ulrich Drepper <drepper@gmail.com>
58912 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58914 2011-07-02 Roland McGrath <roland@hack.frob.com>
58916 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58918 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58919 containing directory rather than embedding absolute directory names.
58921 * scripts/check-local-headers.sh: Rewritten using awk.
58922 Match by word, not by line. Print error messages for matches.
58923 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58925 * Makerules [shlib-lds-flags empty]:
58926 ($(common-objpfx)libc_pic.opts): New target.
58927 ($(common-objpfx)libc_pic.os.clean): New target.
58928 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58930 * config.make.in (OBJCOPY): New variable.
58931 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58932 * configure: Regenerated.
58934 * config.make.in (use-default-link): New variable.
58935 * configure.in (use_default_link): Grok --with-default-link to set it.
58936 * configure: Regenerated.
58937 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58938 (shlib-lds, shlib-lds-flags): Define to empty.
58940 * Makerules (shlib-lds): New variable.
58941 (shlib-lds-flags): New variable.
58942 (build-shlib, build-moduile, build-module-asneeded): Use it.
58943 ($(common-objpfx)libc.so): Use $(shlib-lds).
58944 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58945 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58947 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58948 DT_FLAGS/DT_FLAGS_1 with zero flags.
58950 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58951 linker script munging.
58953 2011-07-02 Ulrich Drepper <drepper@gmail.com>
58955 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58957 * crypt/sha512.c (sha512_process_block): Perform total addition using
58958 128-bit if possible.
58959 (__sha512_finish_ctx): Likewise.
58960 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58962 * crypt/sha256.c (SWAP64): Define.
58963 (sha256_process_block): Perform total addition using 64-bit if
58965 (__sha256_finish_ctx): Likewise.
58967 2011-07-01 Ulrich Drepper <drepper@gmail.com>
58969 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
58970 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58971 * nscd/hstcache.c (cache_addhst): Likewise.
58972 * nscd/grpcache.c (cache_addgr): Likewise.
58973 * nscd/aicache.c (addhstaiX): Likewise
58974 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58976 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
58978 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58979 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58980 * nscd/hstcache.c (cache_addhst): Likewise.
58981 * nscd/grpcache.c (cache_addgr): Likewise.
58982 * nscd/aicache.c (addhstaiX): Likewise
58984 2011-07-01 Andreas Schwab <schwab@redhat.com>
58986 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58987 domain only when needed.
58989 2011-06-30 Andreas Schwab <schwab@redhat.com>
58991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58992 is always restored.
58994 2011-06-29 Ulrich Drepper <drepper@gmail.com>
58996 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58997 are re-adding the entry.
58998 * nscd/servicescache.c (cache_addserv): Likewise.
59000 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
59002 * sysdeps/generic/dl-irel.h: fix protection against multiple
59004 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59006 2011-06-28 Ulrich Drepper <drepper@gmail.com>
59009 * malloc/memusage.sh: Fix quoting in message.
59010 * debug/xtrace.sh: Likewise.
59012 * configure.in: Remove support for --experimental-malloc option, make
59014 * config.make.in: Likewise.
59015 * malloc/Makefile: Likewise.
59017 2011-06-27 Andreas Schwab <schwab@redhat.com>
59019 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59020 two-byte characters.
59022 2011-06-27 Roland McGrath <roland@hack.frob.com>
59024 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59025 AC_CACHE_CHECK invocation.
59026 * configure: Regenerated.
59028 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59030 2011-06-27 Ulrich Drepper <drepper@gmail.com>
59033 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
59034 bit from old_res_options.
59036 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59038 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59039 value type for setfct.
59041 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
59043 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59044 __gettimeofday instead of gettimeofday.
59046 2011-06-26 Ulrich Drepper <drepper@gmail.com>
59048 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59050 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
59052 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59054 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59057 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59060 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59061 strcpy-sse2-unaligned strncpy-sse2-unaligned
59062 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59063 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59064 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59065 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59066 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59067 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59068 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59069 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59070 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59071 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59072 (STRCPY): Support SSE2 and SSSE3 versions.
59074 2011-06-24 Ulrich Drepper <drepper@gmail.com>
59077 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59078 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59079 kernels which artificially limit size of requests.
59081 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59084 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59085 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59086 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59087 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59088 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59089 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59090 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59091 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59092 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59093 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59094 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59095 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59096 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59097 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59099 Enable unaligned load optimization for Intel Core i3, i5 and i7
59101 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59103 (index_Fast_Unaligned_Load): Define.
59104 (HAS_FAST_UNALIGNED_LOAD): Define.
59106 2011-06-23 Marek Polacek <mpolacek@redhat.com>
59108 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59110 2011-06-22 Ulrich Drepper <drepper@gmail.com>
59113 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59114 until it is clear that the information is realy needed.
59115 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59117 2011-06-22 Andreas Schwab <schwab@redhat.com>
59119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59121 2011-06-22 Ulrich Drepper <drepper@gmail.com>
59123 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59124 /sys/devices/system/cpu/online if it is usable.
59126 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59127 reading the information from the /proc filesystem to once a second.
59129 2011-06-21 Andreas Jaeger <aj@suse.de>
59131 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59132 NULL after inclusion of kernel headers.
59134 2011-06-21 Ulrich Drepper <drepper@gmail.com>
59136 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59137 calls to internal_setent.
59140 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59141 addresses using gethostbyname4_r ignore IPv4 addresses.
59143 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59144 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
59146 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59148 2011-06-20 David S. Miller <davem@davemloft.net>
59150 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59152 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59154 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59155 (elf_irel): Use it.
59156 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59157 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59158 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59159 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59160 * sysdeps/x86_64/dl-irel.h: Likewise.
59162 * elf/dl-runtime.c: Use elf_ifunc_invoke.
59163 * elf/dl-sym.c: Likewise.
59165 2011-06-15 Ulrich Drepper <drepper@gmail.com>
59167 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
59168 need to dereference resplen2.
59170 2011-06-14 Andreas Schwab <schwab@redhat.com>
59172 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59174 2011-06-15 Ulrich Drepper <drepper@gmail.com>
59176 * Makeconfig: Define vardbdir and inst_vardbdir.
59177 * nss/Makefile: Add rules to install db-Makefile.
59179 * nss/nss_db/db-XXX.c: Cleanup.
59181 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59182 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59184 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59185 * nss/makedb.c: Implement -g option to specify that value strings
59186 are generated and should not be added to table iterated over for
59188 * nss/nss_db/db-initgroups.c: New file.
59190 * nss/getent.c: Add support for initgroups lookups through getgrouplist
59193 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59194 (internal_getgrouplist): Adjust to name change.
59195 Update use_initgroups_entry if this is not the first call.
59196 * nss/databases.def: Add initgroups entry.
59198 * nss/makedb.c (compute_tables): Check result of multiple hash table
59199 sizes to minimize maximum chain length.
59201 2011-06-14 Ulrich Drepper <drepper@gmail.com>
59203 * Versions.def: Add entry for libnss_db.
59204 * shlib-versions: Likewise.
59205 * nss/Makefile: Add rules to build libnss_db.
59206 * nss/Versions: Add libnss_db information. Organize libnss_files
59208 * nss/db-Makefile: Add gshadow support. Change rules for the new
59209 makedb progra. Some minor improvements to generate smaller files.
59210 * nss/nss_db/nss_db.h: Move NSS database header data structures to
59212 * nss/makedb.c: ...here.
59213 Improve database format to be smaller and require less memory at
59215 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
59217 * nss/nss_db/db-netgrp.c: Likewise.
59218 * nss/nss_db/db-open.c: Likewise.
59219 * nss/nss_files/flies-XXX.x: Adjust comments.
59220 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59221 * nss/nss_files/files-grp.c: Likewise.
59222 * nss/nss_files/files-hosts.c: Likewise.
59223 * nss/nss_files/files-network.c: Likewise.
59224 * nss/nss_files/files-proto.c: Likewise.
59225 * nss/nss_files/files-pwd.c: Likewise.
59226 * nss/nss_files/files-rpc.c: Likewise.
59227 * nss/nss_files/files-service.c: Likewise.
59228 * nss/nss_files/files-sgrp.c: Likewise.
59229 * nss/nss_files/files-spwd.c: Likewise.
59230 * nss/nss_db/db-alias.c: Removed.
59231 * nss/nss_db/dummy-db.h: Removed.
59233 2011-06-02 Ulrich Drepper <drepper@gmail.com>
59235 * nss/makedb.c: Rewritten to not use database library.
59236 * nss/Makefile: Update to build new makedb program.
59238 2011-06-14 Andreas Jaeger <aj@suse.de>
59240 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59241 memset declaration.
59243 2011-06-10 Andreas Schwab <schwab@redhat.com>
59245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59248 2011-06-10 Roland McGrath <roland@hack.frob.com>
59250 * Makerules (shlib.lds): Fail if the linker script comes out empty.
59251 * elf/Makefile ($(objpfx)ld.so): Likewise.
59253 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59254 Don't list ld.so twice in dependencies.
59256 * posix/bug-regex31.c: Include <stdlib.h>.
59258 * nscd/hstcache.c (cache_addhst): Remove unused variable.
59260 * nis/nss_compat/compat-spwd.c
59261 (getspent_next_nss_netgr): Remove unused variable.
59262 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59264 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59265 nonmembers" output to use the right array.
59267 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59269 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59271 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59272 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59273 * catgets/gencat.c (read_input_file): Likewise.
59274 * locale/programs/locarchive.c (enlarge_archive): Likewise.
59276 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59277 variable definition inside #if's controlling its use.
59279 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59281 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59283 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59285 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59288 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59290 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59291 * configure: Regenerated.
59293 * Makerules: Revert last change.
59294 * elf/Makefile: Likewise.
59296 2011-06-09 Roland McGrath <roland@hack.frob.com>
59298 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59299 * elf/Makefile ($(objpfx)librtld.os): Likewise.
59300 (reloc-link): Likewise.
59302 2011-06-09 Ulrich Drepper <drepper@gmail.com>
59304 * elf/Makefile: Add rules to build pldd.
59305 * elf/pldd.c: New file.
59306 * elf/pldd-xx.c: New file.
59308 2011-06-07 Ulrich Drepper <drepper@gmail.com>
59310 * version.h: Update for 2.15 development version.
59312 2011-06-07 David S. Miller <davem@davemloft.net>
59314 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59316 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59317 elf_machine_lazy_rel): Likewise.
59318 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59319 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59320 elf_machine_lazy_rel): Likewise.
59321 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59322 dl_hwcap via passed in argument.
59323 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59326 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59328 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
59330 2011-06-06 Roland McGrath <roland@hack.frob.com>
59333 * manual/fdl-1.1.texi: New file, verbatim from:
59334 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59335 * manual/lgpl-2.1.texi: New file, verbatim from:
59336 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59337 * manual/Makefile (licenses): New variable, list those new file names.
59339 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59341 * manual/fdl.texi: File removed.
59342 * manual/lesser.texi: File removed.
59343 * manual/libc.texinfo (Copying, Documentation License):
59344 Use new @include file names, put @appendix directive before @include.
59346 2011-06-04 Jakub Jelinek <jakub@redhat.com>
59349 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59350 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59351 (mq_open): Add __NTH.
59353 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
59355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59356 Assume Intel Core i3/i5/i7 processor if AVX is available.
59358 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59360 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59363 2011-05-31 Andreas Schwab <schwab@redhat.com>
59365 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59366 memory. Use alloca_account. Fix memory leak when retrying.
59368 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59370 * version.h (RELEASE): Bump for 2.14 release.
59371 * include/features.h (__GLIBC_MINOR__): Bump to 14.
59373 * config.make.in (RANLIB): Remove entry.
59375 2011-05-30 Ulrich Drepper <drepper@gmail.com>
59377 * po/Makefile (po-sed-cmd): Add ksh to extensions.
59378 (libc.pot): Work around missing support for .ksh extension in xgettext.
59381 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59382 if both request failed.
59383 (send_dg): In case of server errors clear resplen or *resplen2.
59386 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59387 when there are multiple maps.
59388 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59389 (_dl_fini): Remove test here.
59391 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59393 2011-05-29 Ulrich Drepper <drepper@gmail.com>
59396 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59397 bit from old_res_options.
59398 (gaih_inet): Likewise.
59401 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59404 * resolv/res_init.c (res_setoptions): Make the code more compact.
59407 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59411 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59413 * malloc/malloc.h: Mark malloc hook variables as deprecated.
59416 * malloc/malloc.h: Declare malloc hook variables as volatile.
59418 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59422 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59423 raise in the comment.
59424 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59425 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59426 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59428 2011-05-28 Ulrich Drepper <drepper@gmail.com>
59431 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59432 grow the buffers more if it already has to be sufficient.
59433 (build_wcs_upper_buffer): Likewise.
59434 * posix/regexec.c (check_matching): Likewise.
59435 (clean_state_log_if_needed): Likewise.
59436 (extend_buffers): Don't enlarge buffers beyond size of the input
59438 Patches mostly by Emil Wojak <emil@wojak.eu>.
59439 * posix/bug-regex32.c: New file.
59440 * posix/Makefile (tests): Add bug-regex32.
59442 * locale/findlocale.c (_nl_find_locale): Return right away if
59443 _nl_explode_name failed.
59444 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59446 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59448 * debug/xtrace.sh: Unify messages.
59449 * malloc/memusage.sh: Likewise.
59452 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59453 time symbol from vDSO. Substitute with vsyscall if not available.
59454 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59457 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59458 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59459 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59460 Add sendmmsg and internal_sendmmsg.
59461 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59462 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59463 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59465 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59466 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59467 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59469 2011-05-27 Ulrich Drepper <drepper@gmail.com>
59472 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59473 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
59475 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59479 * iconvdata/Makefile (tests): Add bug-iconv9.
59480 * iconvdata/bug-iconv9.c: New file.
59482 2011-05-27 Andreas Schwab <schwab@redhat.com>
59485 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59487 2011-05-25 Jakub Jelinek <jakub@redhat.com>
59489 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59490 (struct user_regs_struct): Change intcs field back to cs.
59492 2011-05-25 Ulrich Drepper <drepper@gmail.com>
59494 * po/ja.po: Update from translation team.
59496 2011-05-23 Ulrich Drepper <drepper@gmail.com>
59499 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59500 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59502 2011-05-20 Andreas Schwab <schwab@redhat.com>
59504 * stdlib/longlong.h: Update from GCC.
59506 2011-05-23 Andreas Schwab <schwab@redhat.com>
59508 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59510 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59511 Add parameter name.
59512 (__sysconf): Pass it down.
59514 2011-05-22 Ulrich Drepper <drepper@gmail.com>
59517 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59519 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59520 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59521 add in in __libc_use_alloca calls. Adjust callers.
59522 (glob): Use malloc in some situations.
59524 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59525 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59528 2011-05-21 Ulrich Drepper <drepper@gmail.com>
59530 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59531 and CLOCK_BOOTTIME_ALARM.
59534 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59537 * string/_strerror.c (__strerror_r): Print negative errors as signed
59541 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59542 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59543 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59545 * configure.in: Fix typo in redirection and correct removal of test
59546 files in two cases.
59549 * locale/setlocale.c (new_composite_name): Fix test to check for
59550 identical name of all categories.
59553 * libio/filedoalloc.c (local_isatty): New function.
59554 (_IO_file_doallocate): Use local_isatty.
59555 * stdio-common/perror.c (perror): In case a new stream is used
59556 forward the stream error.
59557 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59560 2011-05-20 Ulrich Drepper <drepper@gmail.com>
59563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59565 * include/alloca.h (extend_alloca_account): Define.
59568 * posix/regex.h: Fix comments with documentation of user-accessible
59569 fields after compilation and describe correct free'ing of pattern
59570 after re_compile_pattern.
59571 Patch by Reuben Thomas <rrt@sc3d.org>.
59573 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
59575 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59576 and -mno-altivec to prevent the compiler from using Altivec and/or
59577 VSX instructions when the corresponding registers are not available.
59579 2011-05-19 Andreas Schwab <schwab@redhat.com>
59581 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59583 2011-05-19 Ulrich Drepper <drepper@gmail.com>
59585 * libio/freopen.c (freopen): Use __dup2, not dup2.
59586 * libio/freopen64.c (freopen64): Likewise.
59588 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
59591 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59592 * math/Makefile (tests): Add test-powl.
59593 (CFLAGS-test-powl.c): Define.
59594 * math/test-powl.c: New file.
59596 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
59598 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59600 2011-05-17 Ulrich Drepper <drepper@gmail.com>
59603 * iconvdata/gb18030.c: Update to GB18020-2005.
59605 2011-05-16 Ulrich Drepper <drepper@gmail.com>
59607 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59608 RE_SYNTAX_POSIX_AWK): Update to match recent development.
59609 Patch by Aharon Robbins <arnold@skeeve.com>.
59612 * stdlib/putenv.c (putenv): Don't always create copy of the variable
59616 * misc/pselect.c (__pselect): Handle timeout value errors hidden
59617 through underflows.
59620 * misc/error.c (error_at_line): Ensure file_name and old_file_name
59621 point to strings before performing equality test for error_one_per_line
59625 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59628 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59629 (struct user_fpregs_struct): Avoid __uint*_t types.
59632 * malloc/mtrace.c (tr_where): Add additional parameter to point to
59633 symbol info. Use it instead of calling _dl_addr locally.
59634 (lock_and_info): New function.
59635 (tr_freehook): Call lock_and_info and pass symbol info as additional
59636 parameter to tr_where.
59637 (tr_mallochook): Likewise.
59638 (tr_reallochook): Likewise.
59639 (tr_memalignhook): Likewise.
59641 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
59642 used and couldn't be at all thread-safe.
59644 2011-05-15 Ulrich Drepper <drepper@gmail.com>
59646 * libio/freopen.c (freopen): Don't close old file descriptor
59647 before the new one is opened. Instead dup the new file descriptor
59648 to the old one after the new stream is created.
59649 * libio/freopen64.c (freopen64): Likewise.
59650 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59651 * libio/fileops.c (_IO_new_file_close_it): Handle new
59652 _IO_FLAGS2_NOCLOSE flag.
59653 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59654 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59655 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59656 _IO_FLAGS2_NOCLOSE flag.
59657 * include/unistd.h: Add hidden_proto for dup3.
59658 Define __have_dup3.
59659 * io/dup3.c: Define hidden symbol.
59660 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59663 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59664 when an incomplete long option is used.
59665 * posix/tst-getopt_long1.c: New file.
59666 * posix/Makefile (tests): Add tst-getopt_long1.
59669 * scripts/config.guess: Update from autoconf-2.68.
59670 * scripts/config.sub: Likewise.
59673 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59675 (has_cpuclock): ...this. New function.
59676 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59677 macro here based on has_cpuclock code.
59680 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59681 First byte (not low byte) is now always NUL.
59682 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59684 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59685 Use non-cancelable interfaces.
59688 * locale/iso-639.def: Add entry for Sorani.
59691 * include/stdlib.h: Move include protection to the right place.
59692 Define abort_msg_s. Declare __abort_msg with it.
59693 * stdlib/abort.c (__abort_msg): Adjust type.
59694 * assert/assert.c (__assert_fail_base): New function. Majority
59695 of code from __assert_fail. Allocate memory for __abort_msg with
59697 (__assert_fail): Now call __assert_fail_base.
59698 * assert/assert-perr.c: Remove bulk of implementation. Use
59699 __assert_fail_base.
59700 * include/assert.hL Declare __assert_fail_base.
59701 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59703 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59705 2011-05-14 Ulrich Drepper <drepper@gmail.com>
59709 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59710 until all modules are registered in the DTV.
59711 * elf/Makefile: Add rules to build and run tst-tls19.
59712 * elf/tst-tls19.c: New file.
59713 * elf/tst-tls19mod1.c: New file.
59714 * elf/tst-tls19mod2.c: New file.
59715 * elf/tst-tls19mod3.c: New file.
59716 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59719 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59723 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59724 two-byte sequence errors.
59725 * iconvdata/Makefile (tests): Add bug-iconv8.
59726 * iconvdata/bug-iconv8.c: New file.
59729 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59732 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59735 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59736 (dummy_getcfa): New function.
59737 (init): Get _Unwind_GetCFA address, use dummy if not found.
59738 (backtrace_helper): In recursion check, also check whether CFA changes.
59739 (__backtrace): Completely initialize arg.
59741 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59742 storing incomplete byte sequence in state object. Avoid testing for
59743 guaranteed too small input if we know there is enough data available.
59745 2011-05-11 Andreas Schwab <schwab@redhat.com>
59747 * Makeconfig (+link-pie): Indent.
59748 * Rules (binaries-pie): Define if $(have-fpie) and
59750 (binaries-shared): Also filter out $(binaries-pie).
59751 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59752 * nscd/Makefile (others-pie): Add nscd.
59753 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59754 ($(objpfx)nscd): Remove command override.
59755 * login/Makefile (others-pie): Add pt_chown.
59756 ($(objpfx)pt_chown): Remove command override.
59757 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59758 remove command overrides.
59760 2011-05-13 Ulrich Drepper <drepper@gmail.com>
59762 * libio/tst_putwc.c: Fix error messages.
59765 * libio/fileops.c (_IO_new_file_close_it): Always flush when
59766 currently writing and seek to current position when not.
59767 * libio/Makefile (tests): Add bug-fclose1.
59768 * libio/bug-fclose1.c: New file.
59770 2011-05-12 Ulrich Drepper <drepper@gmail.com>
59773 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59774 don't set DF_1_NODELETE here.
59775 (do_lookup_x): When entering new entry test for copy relocation
59776 and if necessary set DF_1_NODELETE flag.
59777 * elf/tst-unique4.cc: New file.
59778 * elf/tst-unique4.h: New file.
59779 * elf/tst-unique4lib.cc: New file.
59780 * elf/Makefile: Add rules to build and run tst-unique4.
59781 Patch by Piotr Bury <pbury@goahead.com>.
59783 2011-05-11 Ulrich Drepper <drepper@gmail.com>
59786 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59789 * misc/mntent_r.c (addmntent): Flush the stream after the output
59792 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59793 (is_trusted_path_normalize): Skip initial colon. Append slash
59794 to empty buffer. Duplicate is_trusted_path code but allow
59795 constructed patch to be prefix.
59796 (is_dst): Allow $ORIGIN followed by /.
59797 (_dl_dst_substitute): Correct clearing of check_for_trusted.
59798 Correct testing of result of is_trusted_path_normalize
59799 (decompose_rpath): Fix warning.
59801 2011-05-10 Ulrich Drepper <drepper@gmail.com>
59804 * grp/initgroups.c (internal_getgrouplist): When we found the service
59805 list through the initgroups entry in nsswitch.conf do not always
59806 continue on a successful lookup. Don't always use the
59807 __nss_group_database value if it is set.
59808 * nss/nsswitch.conf (initgroups): Change action for successful db
59809 lookup to continue for compatibility.
59811 2011-05-09 Ulrich Drepper <drepper@gmail.com>
59814 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59816 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59818 * iconvdata/tst-tables.sh: Likewise.
59819 * iconvdata/cp770.c: New file.
59820 * iconvdata/cp771.c: New file.
59821 * iconvdata/cp772.c: New file.
59822 * iconvdata/cp773.c: New file.
59823 * iconvdata/cp774.c: New file.
59824 * iconvdata/testdata/CP770: New file.
59825 * iconvdata/testdata/CP770..UTF8: New file.
59826 * iconvdata/testdata/CP771: New file.
59827 * iconvdata/testdata/CP771..UTF8: New file.
59828 * iconvdata/testdata/CP772: New file.
59829 * iconvdata/testdata/CP772..UTF8: New file.
59830 * iconvdata/testdata/CP773: New file.
59831 * iconvdata/testdata/CP773..UTF8: New file.
59832 * iconvdata/testdata/CP774: New file.
59833 * iconvdata/testdata/CP774..UTF8: New file.
59835 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59837 * iconvdata/gen-8bit-gap.sh: Likewise.
59838 * iconvdata/gen-8bit.sh: Likewise.
59840 * locale/iso-639.def: Add ary entry.
59843 * locale/C-translit.h.in: Add U20A1 transliteration.
59846 * locale/iso-639.def: Add wae entry.
59847 Patch by Kevin Bortis <bortis@translate-wae.ch>.
59850 * locale/programs/localedef.c (construct_output_path): Use ssize_t
59854 * locale/C-translit.h.in: Add entry for U20B9.
59855 Patch by pravin.d.s@gmail.com.
59857 2011-05-08 Ulrich Drepper <drepper@gmail.com>
59860 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59861 ENAMETOOLONG use generic getcwd.
59862 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
59863 in rtld. Use *stat64.
59864 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59865 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59866 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59867 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59868 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59869 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59870 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59871 __fstatat64 macros.
59872 * include/dirent.h: Add libc_hidden_proto for rewinddir.
59873 * dirent/rewinddir.c: Add libc_hidden_def.
59874 * sysdeps/mach/hurd/rewinddir.c: Likewise.
59875 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
59877 * include/dirent.h (__alloc_dir): Add flags parameter.
59878 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59879 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59881 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
59882 from fdopendir if O_CLOEXEC is already set.
59884 2011-03-15 Alan Modra <amodra@gmail.com>
59886 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59887 l_tls_firstbyte_offset non-zero. Save padding offset in
59888 l_tls_firstbyte_offset for later use.
59889 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59890 freeing static tls block.
59892 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
59894 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59895 where #ifdef was intended. The intent is to prevent ARG_MAX from
59896 being defined by the kernel headers.
59898 2011-05-07 Ulrich Drepper <drepper@gmail.com>
59901 * resolv/resolv.h: Define RES_NOTLDQUERY.
59902 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59903 no-tld-query and set RES_NOTLDQUERY.
59904 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59905 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59906 modern BIND to search name as TLD unless forbidden.
59908 2011-05-07 Petr Baudis <pasky@suse.cz>
59909 Ulrich Drepper <drepper@gmail.com>
59912 * elf/dl-load.c (fillin_rpath): Move trusted path check...
59913 (is_trusted_path): ...to here.
59914 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59915 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59916 using is_trusted_path_normalize() in setuid scripts.
59918 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59920 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59921 __BEGIN/__END_DECLS.
59923 2011-05-06 Ulrich Drepper <drepper@gmail.com>
59925 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59926 NSS_STATUS_NOTFOUND if no record was found.
59928 2011-05-05 Andreas Schwab <schwab@redhat.com>
59930 * sunrpc/Makefile (headers): Add rpc/netdb.h.
59931 (headers-not-in-tirpc): Remove rpc/netdb.h
59932 * resolv/netdb.h: Revert last change.
59934 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59936 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59937 circular dependency between libgcc.a and libc.a.
59939 2011-05-05 Andreas Schwab <schwab@redhat.com>
59941 * resolv/netdb.h: Don't include <rpc/netdb.h>.
59942 * nis/Makefile: Don't install rpcsvc/*.
59943 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59944 instead of <rpc/types.h>.
59945 (MAXHOSTNAMELEN): Define.
59947 2011-05-03 Andreas Schwab <schwab@redhat.com>
59949 * elf/ldconfig.c (add_dir): Don't crash on empty path.
59951 2011-04-28 Maciej Babinski <mbabinski@google.com>
59954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59955 gethostbyname4_r when IPv6 results are possible.
59957 2011-05-02 Ulrich Drepper <drepper@gmail.com>
59960 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59961 _PC_PIPE_BUF handling.
59963 2011-04-30 Bruno Haible <bruno@clisp.org>
59966 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59967 * resolv/netdb.h (getnameinfo): Change type of flags parameter
59969 * inet/getnameinfo.c (getnameinfo): Likewise.
59971 2011-04-29 Ulrich Drepper <drepper@gmail.com>
59973 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59974 to groups setting in database lookup.
59975 * nss/nsswitch.conf: Add initgroups entry.
59977 2011-04-22 Ulrich Drepper <drepper@gmail.com>
59980 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59982 Patch by Eric Blake <eblake@redhat.com>.
59984 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
59986 * sunrpc/Makefile (need-export-routines): Add svc_run.
59987 (routines): Remove svc_run.
59988 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59989 * sunrpc/clnt_perr.c (clnt_perrno): Export.
59990 * sunrpc/svc_run.c (svc_run): Likewise.
59991 * sunrpc/svc_udp.c (svcudp_create): Likewise.
59993 2011-04-21 Ulrich Drepper <drepper@gmail.com>
59995 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59996 problem in reallocation in last patch.
59998 2011-04-20 Ulrich Drepper <drepper@gmail.com>
60000 * sunrpc/Makefile: Move inclusion of Rules.
60002 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60004 * nss/nss_files/files-initgroups.c: New file.
60005 * nss/Makefile (libnss_files-routines): Add files-initgroups.
60006 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60007 _nss_files_initgroups_dyn.
60009 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
60011 * elf/elf.h (R_ARM_IRELATIVE): Define.
60013 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60015 * po/ru.po: Update from translation team.
60017 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60019 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60022 2011-02-06 Mike Frysinger <vapier@gentoo.org>
60025 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60026 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60027 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60028 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60029 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60031 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
60033 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60035 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60036 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60037 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60039 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60042 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60044 * stdlib/bug-getcontext.c: New file.
60045 * stdlib/Makefile: Add rules to build and run bug-getcontext.
60047 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60049 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60050 instructions into .machine "z9-109".
60051 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60052 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60054 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60056 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60057 between environment variables and auxiliary vector.
60059 2011-04-16 Ulrich Drepper <drepper@gmail.com>
60061 * Makefile: Add rules to build linkobj/libc.so.
60062 * include/libc-symbols.h: Define libc_hidden_nolink.
60063 * include/rpc/auth.h: Mark functions which are to be hidden.
60064 * include/rpc/auth_des.h: Likewise.
60065 * include/rpc/auth_unix.h: Likewise.
60066 * include/rpc/clnt.h: Likewise.
60067 * include/rpc/des_crypt.h: Likewise.
60068 * include/rpc/key_prot.h: Likewise.
60069 * include/rpc/pmap_clnt.h: Likewise.
60070 * include/rpc/pmap_prot.h: Likewise.
60071 * include/rpc/pmap_rmt.h: Likewise.
60072 * include/rpc/rpc_msg.h: Likewise.
60073 * include/rpc/svc.h: Likewise.
60074 * include/rpc/svc_auth.h: Likewise.
60075 * include/rpc/xdr.h: Likewise.
60076 * nis/Makefile: Link all DSOs against linkobj/libc.so.
60077 * nss/Makefile: Likewise.
60078 * sunrpc/Makefile: Don't install headers. Build library with normal
60079 entry points. Don't build rpcinfo. Link RPC tests appropriately.
60080 * sunrpc/auth_des.c: Hide exported symbols by default, export some
60081 for the compat linking library. Remove use of INTDEF/INTUSE.
60082 * sunrpc/auth_none.c: Likewise.
60083 * sunrpc/auth_unix.c: Likewise.
60084 * sunrpc/authdes_prot.c: Likewise.
60085 * sunrpc/authuxprot.c: Likewise.
60086 * sunrpc/clnt_gen.c: Likewise.
60087 * sunrpc/clnt_perr.c: Likewise.
60088 * sunrpc/clnt_raw.c: Likewise.
60089 * sunrpc/clnt_simp.c: Likewise.
60090 * sunrpc/clnt_tcp.c: Likewise.
60091 * sunrpc/clnt_udp.c: Likewise.
60092 * sunrpc/clnt_unix.c: Likewise.
60093 * sunrpc/des_crypt.c: Likewise.
60094 * sunrpc/des_soft.c: Likewise.
60095 * sunrpc/get_myaddr.c: Likewise.
60096 * sunrpc/key_call.c: Likewise.
60097 * sunrpc/key_prot.c: Likewise.
60098 * sunrpc/netname.c: Likewise.
60099 * sunrpc/pm_getmaps.c: Likewise.
60100 * sunrpc/pm_getport.c: Likewise.
60101 * sunrpc/pmap_clnt.c: Likewise.
60102 * sunrpc/pmap_prot.c: Likewise.
60103 * sunrpc/pmap_prot2.c: Likewise.
60104 * sunrpc/pmap_rmt.c: Likewise.
60105 * sunrpc/publickey.c: Likewise.
60106 * sunrpc/rpc_cmsg.c: Likewise.
60107 * sunrpc/rpc_common.c: Likewise.
60108 * sunrpc/rpc_dtable.c: Likewise.
60109 * sunrpc/rpc_prot.c: Likewise.
60110 * sunrpc/rpc_thread.c: Likewise.
60111 * sunrpc/rtime.c: Likewise.
60112 * sunrpc/svc.c: Likewise.
60113 * sunrpc/svc_auth.c: Likewise.
60114 * sunrpc/svc_authux.c: Likewise.
60115 * sunrpc/svc_raw.c: Likewise.
60116 * sunrpc/svc_run.c: Likewise.
60117 * sunrpc/svc_simple.c: Likewise.
60118 * sunrpc/svc_tcp.c: Likewise.
60119 * sunrpc/svc_udp.c: Likewise.
60120 * sunrpc/svc_unix.c: Likewise.
60121 * sunrpc/svcauth_des.c: Likewise.
60122 * sunrpc/xcrypt.c: Likewise.
60123 * sunrpc/xdr.c: Likewise.
60124 * sunrpc/xdr_array.c: Likewise.
60125 * sunrpc/xdr_float.c: Likewise.
60126 * sunrpc/xdr_intXX_t.c: Likewise.
60127 * sunrpc/xdr_mem.c: Likewise.
60128 * sunrpc/xdr_rec.c: Likewise.
60129 * sunrpc/xdr_ref.c: Likewise.
60130 * sunrpc/xdr_sizeof.c: Likewise.
60131 * sunrpc/xdr_stdio.c: Likewise.
60133 2011-04-10 Ulrich Drepper <drepper@gmail.com>
60136 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60137 * sysdeps/ia64/dl-tls.h: Likewise.
60138 * sysdeps/powerpc/dl-tls.h: Likewise.
60139 * sysdeps/s390/dl-tls.h: Likewise.
60140 * sysdeps/sh/dl-tls.h: Likewise.
60141 * sysdeps/sparc/dl-tls.h: Likewise.
60142 * sysdeps/x86_64/dl-tls.h: Likewise.
60143 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60145 2011-03-14 Andreas Schwab <schwab@redhat.com>
60147 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60148 rpath element also skip the following colon.
60149 (expand_dynamic_string_token): Add is_path parameter and pass
60150 down to DL_DST_REQUIRED and _dl_dst_substitute.
60151 (decompose_rpath): Call expand_dynamic_string_token with
60152 non-zero is_path. Ignore empty rpaths.
60153 (_dl_map_object_from_fd): Call expand_dynamic_string_token
60156 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
60158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60161 2011-04-09 Ulrich Drepper <drepper@gmail.com>
60164 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60165 Patch by Filipe David Manana <fdmanana@apache.org>.
60167 2011-04-07 Andreas Schwab <schwab@redhat.com>
60169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60170 Maintain aligned stack.
60171 (CHECK_RSP): Remove unused macro.
60173 2011-04-03 Ulrich Drepper <drepper@gmail.com>
60175 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60176 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60178 2011-04-02 Ulrich Drepper <drepper@gmail.com>
60180 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60182 * include/features.h: Mention __USE_XOPEN2K8 in comment.
60184 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
60187 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60188 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60189 * sysdeps/x86_64/memmove.c: New file.
60190 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60191 (memcpy): Renamed to ...
60192 (__new_memcpy): This.
60193 (memcpy): Provide GLIBC_2_14 memcpy.
60194 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60195 (memcpy): Provide GLIBC_2_2_5 memcpy.
60197 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60200 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60202 2011-03-30 Andreas Schwab <schwab@redhat.com>
60204 * misc/syncfs.c: New file.
60205 * misc/Makefile (routines): Add syncfs.
60206 * posix/unistd.h: Declare syncfs.
60207 * sysdeps/unix/syscalls.list: Add syncfs.
60209 2011-04-01 Andreas Schwab <schwab@redhat.com>
60211 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60213 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60214 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60215 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60216 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60218 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60219 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60221 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60223 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60224 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60225 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60226 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60227 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60229 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60231 * io/Makefile: Compile fallocate.c, fallocate64.c, and
60232 sync_file_range.c with -fexceptions.
60233 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60234 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60235 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60236 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60237 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60238 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60239 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60240 sync_file_range as cancellation point
60241 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
60242 now a wrapper around __call_sync_file_range with cancellation handling.
60243 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60244 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
60245 function name to __call_sync_file_range.
60246 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60247 Add call_sync_file_range.
60249 2011-04-01 Andreas Schwab <schwab@redhat.com>
60251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60254 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60256 * iconv/iconv.h: Fix typo in comment.
60257 * io/fcntl.h: Likewise.
60258 * libio/stdio.h: Likewise.
60259 * posix/spawn.h: Likewise.
60260 * posix/unistd.h: Likewise.
60261 * stdlib/stdlib.h: Likewise.
60262 * time/time.h: Likewise.
60263 * wcsmbs/wchar.h: Likewise.
60265 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60266 open_by_handle): Add.
60267 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60268 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
60269 Augment a few comments.
60270 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60271 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60272 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60273 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60274 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60275 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60278 * io/fcntl.h (AT_EMPTY_PATH): Define.
60280 2011-03-30 Ulrich Drepper <drepper@gmail.com>
60282 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60283 * sysdeps/unix/sysv/linux/bits/time.h: New file.
60284 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60286 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
60287 * Versions.def: Add GLIBC_2.14.
60288 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60291 2011-03-22 Ulrich Drepper <drepper@gmail.com>
60293 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60295 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60297 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
60300 * string/test-strncmp.c (do_page_test): New function.
60301 (check2): Likewise.
60302 (test_main): Call check2.
60303 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60305 2011-03-20 Ulrich Drepper <drepper@gmail.com>
60308 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60309 Handle cache information in CPU leaf 4.
60310 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60312 2011-03-18 Ulrich Drepper <drepper@gmail.com>
60315 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60316 character representation.
60317 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60319 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
60321 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60322 END(__isnan) to END(__isnanf) to match function entry point/label
60323 EALIGN(__isnanf,...).
60325 2011-03-10 Jakub Jelinek <jakub@redhat.com>
60327 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60329 2011-03-10 Ulrich Drepper <drepper@gmail.com>
60332 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60333 copy from the symbol referenced in the relocation to initialize the
60335 Patch by Piotr Bury <pbury@goahead.com>.
60336 * elf/Makefile: Add rules to build and tst-unique3.
60337 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60338 * elf/tst-unique3.cc: New file.
60339 * elf/tst-unique3.h: New file.
60340 * elf/tst-unique3lib.cc: New file.
60341 * elf/tst-unique3lib2.cc: New file.
60343 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60345 2011-03-10 Mike Frysinger <vapier@gentoo.org>
60347 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60348 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
60351 2011-03-06 Ulrich Drepper <drepper@gmail.com>
60353 * elf/dl-load.c (_dl_map_object): If we are looking for the first
60354 to-be-loaded object along a path to loader is ld.so.
60356 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60357 Ulrich Drepper <drepper@gmail.com>
60359 * sysdeps/x86_64/memset.S: After aligning destination, code
60360 branches to different locations depending on the value of
60361 misalignment, when multiarch is enabled. Fix this.
60363 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60365 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60366 Set _x86_64_preferred_memory_instruction for AMD processsors.
60367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60368 Set bit_Prefer_SSE_for_memop for AMD processors.
60370 2011-03-04 Ulrich Drepper <drepper@gmail.com>
60372 * libio/fmemopen.c (fmemopen): Optimize a bit.
60374 2011-03-03 Andreas Schwab <schwab@redhat.com>
60376 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60378 2011-03-03 Roland McGrath <roland@redhat.com>
60380 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60382 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
60384 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60385 __bzero_ultra1 instead of __memset_ultra1.
60387 2011-02-23 Andreas Schwab <schwab@redhat.com>
60388 Ulrich Drepper <drepper@gmail.com>
60391 * include/link.h (struct link_map): Add l_orig_initfini.
60392 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60393 returning unsuccessfully.
60394 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60395 close of a file loaded at startup, restore the original l_initfini
60397 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60398 list, store the pointer.
60399 * elf/Makefile ($(objpfx)noload-mem): New rule.
60400 (noload-ENV): Define.
60401 (tests): Add $(objpfx)noload-mem.
60402 * elf/noload.c: Include <memcheck.h>.
60403 (main): Call mtrace. Close all opened handles.
60405 2011-02-17 Andreas Schwab <schwab@redhat.com>
60408 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60409 dependencies are missing.
60411 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
60413 Fix __if_freereq crash: Unlike the generic version which uses free,
60415 * sysdeps/mach/hurd/ifreq.h: New file.
60417 2011-01-27 Petr Baudis <pasky@suse.cz>
60418 Ulrich Drepper <drepper@gmail.com>
60421 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60422 to extend_alloca().
60423 * stdio-common/bug23.c: New file.
60424 * stdio-common/Makefile (tests): Add bug23.
60426 2010-09-28 Andreas Schwab <schwab@redhat.com>
60427 Ulrich Drepper <drepper@gmail.com>
60430 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60431 before performing relro protection. At old place add assertion
60432 to make sure nothing changed.
60434 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
60435 Glauber de Oliveira Costa <glommer@gmail.com>
60437 * elf/elf.h: Add new ARM TLS relocs.
60439 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
60441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60442 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60444 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
60446 * sysdeps/wordsize-64/tst-writev.c: New file.
60448 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
60450 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60451 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60452 insns in _dl_start to prevent a TOC reference before relocs are
60455 2011-02-15 Ulrich Drepper <drepper@gmail.com>
60458 * Makeconfig: Remove RANLIB definition.
60459 * Makerules: Don't use RANLIB.
60460 * aclocal.m4: Remove ranlib test.
60461 * configure.in: No need to check for ranlib.
60462 * elf/rtld-Rules: Don't use RANLIB.
60464 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
60466 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60468 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60469 inclusion protection macro.
60471 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60472 SIGRTMIN and SIGRTMAX and print information in that case only when
60473 SIGRTMIN is defined.
60475 2011-02-11 Jakub Jelinek <jakub@redhat.com>
60477 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60478 arginfo fn returning -1.
60480 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60481 and thousands string is zero terminated.
60483 2011-02-03 Andreas Schwab <schwab@redhat.com>
60485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60486 sysdeps/unix/sysv/linux/bits/socket.h.
60488 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
60490 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60491 (__CPU_COUNT): Remove old macros.
60492 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60493 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60494 (__CPU_ALLOC, __CPU_FREE): Add macros.
60495 (__sched_cpualloc, __sched_cpufree): Add declarations.
60497 2011-02-05 Ulrich Drepper <drepper@gmail.com>
60499 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60500 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60501 * nscd/aicache.c (addhstaiX): Return timeout of added value.
60502 (readdhstai): Return value of addhstaiX call.
60503 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60504 (addgrbyX): Return value returned by cache_addgr.
60505 (readdgrbyname): Return value returned by addgrbyX.
60506 (readdgrbygid): Likewise.
60507 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60508 (addpwbyX): Return value returned by cache_addpw.
60509 (readdpwbyname): Return value returned by addhstbyX.
60510 (readdpwbyuid): Likewise.
60511 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60512 (addservbyX): Return value returned by cache_addserv.
60513 (readdservbyname): Return value returned by addservbyX:
60514 (readdservbyport): Likewise.
60515 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60516 (addhstbyX): Return value returned by cache_addhst.
60517 (readdhstbyname): Return value returned by addhstbyX.
60518 (readdhstbyaddr): Likewise.
60519 (readdhstbynamev6): Likewise.
60520 (readdhstbyaddrv6): Likewise.
60521 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60522 (readdinitgroups): Return value returned by addinitgroupsX.
60523 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60524 (prune_cache): Keep track of timeout value of re-added entries.
60525 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60526 * nscd/nscd.h: Adjust prototypes of readd* functions.
60528 2011-02-04 Roland McGrath <roland@redhat.com>
60530 * nis/nis_server.c (nis_servstate): Use the right name for 0.
60531 (nis_stats): Likewise.
60532 * nis/nis_modify.c (nis_modify): Likewise.
60533 * nis/nis_remove.c (nis_remove): Likewise.
60534 * nis/nis_add.c (nis_add): Likewise.
60536 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60538 * posix/fnmatch_loop.c: Add some consts.
60540 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60542 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
60545 * config.make.in (config-cflags-novzeroupper): Define.
60546 * configure.in: Substitute libc_cv_cc_novzeroupper.
60547 * elf/Makefile (AVX-CFLAGS): Define.
60548 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60549 (CFLAGS-tst-auditmod4a.c): Likewise.
60550 (CFLAGS-tst-auditmod4b.c): Likewise.
60551 (CFLAGS-tst-auditmod6b.c): Likewise.
60552 (CFLAGS-tst-auditmod6c.c): Likewise.
60553 (CFLAGS-tst-auditmod7b.c): Likewise.
60554 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60556 2011-02-02 Ulrich Drepper <drepper@gmail.com>
60558 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60559 function to the callback.
60560 Patch partly by Jiri Olsa <jolsa@redhat.com>.
60562 2011-02-02 Andreas Schwab <schwab@redhat.com>
60564 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60567 2011-01-19 Ulrich Drepper <drepper@gmail.com>
60570 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60572 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60574 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60577 * elf/Makefile: Add rules to build and run new test.
60578 * elf/tst-initorder.c: New file.
60579 * elf/tst-initorder.exp: New file.
60580 * elf/tst-initordera1.c: New file.
60581 * elf/tst-initordera2.c: New file.
60582 * elf/tst-initordera3.c: New file.
60583 * elf/tst-initordera4.c: New file.
60584 * elf/tst-initorderb1.c: New file.
60585 * elf/tst-initorderb2.c: New file.
60586 * elf/tst-order-a1.c: New file.
60587 * elf/tst-order-a2.c: New file.
60588 * elf/tst-order-a3.c: New file.
60589 * elf/tst-order-a4.c: New file.
60590 * elf/tst-order-b1.c: New file.
60591 * elf/tst-order-b2.c: New file.
60592 * elf/tst-order-main.c: New file.
60593 New test case by George Gensure <werkt0@gmail.com>.
60595 2010-10-01 Andreas Schwab <schwab@redhat.com>
60597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60598 decoding ACE if AI_CANONIDN.
60600 2011-01-18 Ulrich Drepper <drepper@gmail.com>
60602 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60604 2011-01-17 Ulrich Drepper <drepper@gmail.com>
60606 * version.h (RELEASE): Bump for 2.13 release.
60607 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60609 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60611 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60613 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60614 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60615 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60616 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60617 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60618 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60620 * posix/getconf.c: Update copyright year.
60621 * catgets/gencat.c: Likewise.
60622 * csu/version.c: Likewise.
60623 * debug/catchsegv.sh: Likewise.
60624 * debug/xtrace.sh: Likewise.
60625 * elf/ldconfig.c: Likewise.
60626 * elf/ldd.bash.in: Likewise.
60627 * elf/sprof.c (print_version): Likewise.
60628 * iconv/iconv_prog.c: Likewise.
60629 * iconv/iconvconfig.c: Likewise.
60630 * locale/programs/locale.c: Likewise.
60631 * locale/programs/localedef.c: Likewise.
60632 * malloc/memusage.sh: Likewise.
60633 * malloc/mtrace.pl: Likewise.
60634 * nscd/nscd.c (print_version): Likewise.
60635 * nss/getent.c: Likewise.
60637 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60638 PF_CAIF, and PF_ALG.
60639 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60641 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
60643 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60644 (modules-names): Use them.
60645 (ifunc-test-modules, ifunc-pie-tests): Define.
60646 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60647 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60648 (test-extras): Likewise.
60649 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60650 $(compile-command.c).
60651 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60652 (all-built-dso): Define.
60653 (check-textrel.out, check-execstack.out): Depend on it.
60655 * configure.in: Don't override --enable-multi-arch.
60657 2011-01-15 Ulrich Drepper <drepper@gmail.com>
60660 * nscd/hstcache.c (tryagain): Define.
60661 (cache_addhst): Return tryagain not notfound for temporary errors.
60662 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60665 2011-01-14 Ulrich Drepper <drepper@gmail.com>
60668 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60669 to make the syscall.
60670 * sysdeps/unix/sysv/linux/setgroups.c: New file.
60673 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60674 and fall back to matching as normal character if the string ends before
60675 the matching ']' is found. This is what POSIX requires.
60676 * posix/testfnm.c: Adjust test result.
60677 * posix/globtest.sh: Adjust test result. Add new test.
60678 * posix/tst-fnmatch.input: Likewise.
60679 * posix/tst-fnmatch2.c: Add new test.
60681 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
60683 * elf/Makefile (check-execstack): Revert last change. Depend on
60685 (check-execstack.h): New target.
60686 (generated): Add check-execstack.h.
60687 * elf/check-execstack.c: Include "check-execstack.h".
60688 (main): Revert last change.
60689 (handle_file): Return zero if GNU_STACK is absent and
60690 DEFAULT_STACK_PERMS doesn't include PF_X.
60692 2011-01-13 Ulrich Drepper <drepper@gmail.com>
60694 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60695 in child fails because the descriptor is already closed.
60696 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60697 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60698 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60701 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60705 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60706 temporary buffer used to handle multi lookups locally.
60707 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60709 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60711 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60714 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
60716 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60717 alignment for SSE2.
60719 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60722 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60723 characters. When rounding increased number of integer digits recompute
60725 * stdio-common/tst-grouping.c: New file.
60726 * stdio-common/Makefile: Add rules to build and run tst-grouping.
60728 2011-01-09 Ulrich Drepper <drepper@gmail.com>
60730 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60731 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
60733 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60735 * bits/select.h: Likewise.
60737 2011-01-08 Ulrich Drepper <drepper@gmail.com>
60739 * po/ja.po: Update from translation team.
60741 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
60744 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60745 implementation just like for lxstat, fxstatat, et al.
60747 2010-12-27 Jim Meyering <meyering@redhat.com>
60750 * posix/regexec.c (build_trtable): Return failure indication upon
60751 calloc failure. Otherwise, re_search_internal could infloop on OOM.
60753 2010-12-25 Ulrich Drepper <drepper@gmail.com>
60756 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60757 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60758 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60759 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60762 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60765 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60766 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60768 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
60770 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60771 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60772 script has SORT_BY_INIT_PRIORITY.
60773 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60774 NO_CTORS_DTORS_SECTIONS is defined.
60775 * elf/soinit.c: Likewise.
60776 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60777 NO_CTORS_DTORS_SECTIONS is defined.
60778 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60779 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60780 * sysdeps/sh/init-first.c: Likewise.
60781 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60783 2010-12-24 Ulrich Drepper <drepper@gmail.com>
60785 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60786 always use the slow path.
60788 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
60790 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60791 similar rule which adds the sysdep directories to the header search in
60792 order to pick up the correct platform stackinfo.h.
60793 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60794 perform test if it is, otherwise return successfully without testing.
60795 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60796 DEFAULT_STACK_PERMS define in stackinfo.h.
60797 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60798 defined in stackinfo.h.
60799 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60800 DEFAULT_STACK_PERMS defined in stackinfo.h.
60801 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60802 * sysdeps/ia64/stackinfo.h: Likewise.
60803 * sysdeps/s390/stackinfo.h: Likewise.
60804 * sysdeps/sh/stackinfo.h: Likewise.
60805 * sysdeps/sparc/stackinfo.h: Likewise.
60806 * sysdeps/x86_64/stackinfo.h: Likewise.
60807 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60808 PF_X for powerpc64. Retain PF_X for powerpc32.
60810 2010-12-19 Ulrich Drepper <drepper@gmail.com>
60812 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60814 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60815 GETDENTS_64BIT_ALIGNED.
60817 2010-12-14 Ulrich Drepper <dreper@gmail.com>
60819 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60821 2010-12-10 Andreas Schwab <schwab@redhat.com>
60823 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60826 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60827 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60829 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60830 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60832 2010-12-09 Ulrich Drepper <drepper@gmail.com>
60835 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60838 2010-12-09 Jakub Jelinek <jakub@redhat.com>
60840 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60842 2010-12-03 Ulrich Drepper <drepper@gmail.com>
60844 * po/it.po: Update from translation team.
60846 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
60848 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60851 2010-11-30 Ulrich Drepper <drepper@gmail.com>
60853 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60855 2010-11-24 Andreas Schwab <schwab@redhat.com>
60857 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60859 (gaih_getanswer_slice): Likewise.
60861 2010-10-20 Jakub Jelinek <jakub@redhat.com>
60863 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60865 2010-05-31 Petr Baudis <pasky@suse.cz>
60868 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60869 silently even in the chroot mode.
60871 2010-11-22 Ulrich Drepper <drepper@gmail.com>
60873 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60874 last patch a bit. Pretty printing
60876 2010-05-31 Petr Baudis <pasky@suse.cz>
60879 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60880 initialization of skip_initgroups_dyn.
60882 2010-11-19 Ulrich Drepper <drepper@gmail.com>
60884 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60885 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60887 2010-11-16 Ulrich Drepper <drepper@gmail.com>
60889 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60891 2010-11-11 Andreas Schwab <schwab@redhat.com>
60893 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60894 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60895 (tst-fnmatch-ENV): Set MALLOC_TRACE.
60896 ($(objpfx)tst-fnmatch-mem): New rule.
60897 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60898 * posix/tst-fnmatch.c (main): Call mtrace.
60900 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
60902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60903 Support Intel processor model 6 and model 0x2c.
60905 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
60907 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60910 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
60913 * string/test-strncasecmp.c (check_result): New function.
60914 (do_one_test): Use it.
60915 (check1): New function.
60916 (test_main): Use it.
60917 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60918 Support strcasecmp and strncasecmp.
60920 2010-11-08 Ulrich Drepper <drepper@gmail.com>
60923 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60924 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60926 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
60928 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60932 * sysdeps/x86_64/multiarch/bzero.S: New file.
60933 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60934 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60935 * sysdeps/x86_64/multiarch/memset.S: New file.
60936 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60938 Set bit_Prefer_SSE_for_memop for Intel processors.
60939 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60941 (index_Prefer_SSE_for_memop): Define.
60942 (HAS_PREFER_SSE_FOR_MEMOP): Define.
60944 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
60946 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60947 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60949 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
60952 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60953 (__x86_64_raw_data_cache_size_half): Likewise.
60954 (__x86_64_raw_shared_cache_size): Likewise.
60955 (__x86_64_raw_shared_cache_size_half): Likewise.
60957 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60958 (__x86_64_raw_data_cache_size_half): Likewise.
60959 (__x86_64_raw_shared_cache_size): Likewise.
60960 (__x86_64_raw_shared_cache_size_half): Likewise.
60961 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60962 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60963 and __x86_64_raw_shared_cache_size_half. Round
60964 __x86_64_data_cache_size_half, __x86_64_data_cache_size
60965 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60966 to multiple of 256 bytes.
60968 2010-11-03 Ulrich Drepper <drepper@gmail.com>
60971 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60972 of inacessible symlinks. Verify result of symlink before returning it.
60973 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60974 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60976 2010-10-28 Erich Ritz <erichritz@gmail.com>
60978 * math/math.h (isinf): Fix typo in comment.
60980 2010-11-01 Ulrich Drepper <drepper@gmail.com>
60982 * po/da.po: Update from translation team.
60984 2010-10-26 Ulrich Drepper <drepper@gmail.com>
60986 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60987 is added to the list.
60989 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60990 Ulrich Drepper <drepper@gmail.com>
60992 * elf/dl-object.c (_dl_new_object): Don't append the new object to
60993 the global list here. Move code to...
60994 (_dl_add_to_namespace_list): ...here. New function.
60995 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60996 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60997 * elf/dl-load.c (lose): Don't remove the element from the list.
60998 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60999 (_dl_map_object): Likewise.
61001 2010-10-25 Ulrich Drepper <drepper@gmail.com>
61004 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61005 into all bytes of SSE register.
61006 Patch by Richard Li <richardpku@gmail.com>.
61008 2010-10-24 Ulrich Drepper <drepper@gmail.com>
61011 * malloc/malloc.c (_int_free): Fill correct number of bytes when
61014 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
61016 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61017 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61018 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61019 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61024 2010-10-22 Andreas Schwab <schwab@redhat.com>
61026 * include/dlfcn.h (__RTLD_SECURE): Define.
61027 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
61028 mode & __RTLD_SECURE instead.
61029 (open_path): Rename preloaded parameter to secure.
61030 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61031 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61032 * elf/dl-deps.c (openaux): Likewise.
61033 * elf/rtld.c (struct map_args): Remove is_preloaded.
61034 (map_doit): Don't use it.
61035 (dl_main): Likewise.
61036 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61037 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61039 2010-09-09 Andreas Schwab <schwab@redhat.com>
61041 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61042 (sysd-rules-targets): Remove duplicates.
61043 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61044 rtld-%.$o dependency.
61046 2010-10-18 Andreas Schwab <schwab@redhat.com>
61048 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61049 _dl_map_object do it.
61051 2010-10-19 Ulrich Drepper <drepper@gmail.com>
61053 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61054 fast fma builtins, define the macros in the C99 standard.
61055 (FP_FAST_FMAF): Likewise.
61056 (FP_FAST_FMAL): Likewise.
61057 * sysdeps/x86_64/bits/mathdef.h: Likewise.
61059 * bits/mathdef.h: Update copyright year.
61060 * sysdeps/powerpc/bits/mathdef.h: Likewise.
61062 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
61064 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61065 builtins, define the macros in the C99 standard.
61066 (FP_FAST_FMAF): Likewise.
61067 (FP_FAST_FMAL): Likewise.
61068 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61070 (FP_FAST_FMAF): Likewise.
61072 2010-10-15 Jakub Jelinek <jakub@redhat.com>
61075 * math/libm-test.inc (fma_test): Some new testcases.
61076 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61077 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61078 y and infinite z. Do multiplication by C already in long double.
61079 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61081 y and infinite z. Do bitwise or of inexact bit into u.d.
61082 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61083 * sysdeps/i386/fpu/s_fmaf.S: Removed.
61084 * sysdeps/i386/fpu/s_fma.S: Removed.
61085 * sysdeps/i386/fpu/s_fmal.S: Removed.
61087 2010-10-16 Jakub Jelinek <jakub@redhat.com>
61090 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61091 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61092 computation is not scheduled after fetestexcept. Fix value
61093 of minimum denormal long double.
61095 2010-10-14 Jakub Jelinek <jakub@redhat.com>
61098 * math/libm-test.inc (fma_test): Add some more tests.
61099 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61102 2010-10-15 Andreas Schwab <schwab@redhat.com>
61104 * scripts/data/localplt-s390-linux-gnu.data: New file.
61105 * scripts/data/localplt-s390x-linux-gnu.data: New file.
61107 2010-10-13 Jakub Jelinek <jakub@redhat.com>
61110 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61111 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61113 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61115 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61117 if one of x and y is very large and the other is subnormal.
61118 * sysdeps/s390/fpu/s_fmaf.c: New file.
61119 * sysdeps/s390/fpu/s_fma.c: New file.
61120 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61121 * sysdeps/powerpc/fpu/s_fma.S: New file.
61122 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61123 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61124 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61126 2010-10-12 Jakub Jelinek <jakub@redhat.com>
61129 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61131 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61132 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61133 * sysdeps/i386/i686/multiarch/s_fma.c: Include
61134 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61135 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61136 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61137 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61139 2010-10-12 Ulrich Drepper <drepper@redhat.com>
61142 * posix/regcomp.c (parse_branch): One more memory leak plugged.
61143 * posix/bug-regex31.input: Add test case.
61145 2010-10-11 Ulrich Drepper <drepper@gmail.com>
61147 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61148 * posix/bug-regex31.input: New file.
61151 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61152 (parse_sub_exp): Fix last change, use postorder.
61154 * posix/bug-regex31.c: New file.
61155 * posix/Makefile: Add rules to build and run bug-regex31.
61157 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61160 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61163 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61164 to have entries in sys_siglist.
61167 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61170 2010-10-07 Jakub Jelinek <jakub@redhat.com>
61173 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61174 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61175 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61176 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61177 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61178 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61179 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61180 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61181 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61182 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61183 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61184 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61185 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61186 * math/ftestexcept.c (fetestexcept): Likewise.
61187 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61188 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61189 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61190 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61191 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61192 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61193 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61195 2010-10-11 Ulrich Drepper <drepper@gmail.com>
61198 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61201 2010-10-06 Ulrich Drepper <drepper@gmail.com>
61203 * string/bug-strstr1.c: New file.
61204 * string/Makefile: Add rules to build and run bug-strstr1.
61206 2010-10-05 Eric Blake <eblake@redhat.com>
61209 * string/str-two-way.h (two_way_long_needle): Always clear memory
61210 when skipping input due to the shift table.
61212 2010-10-03 Ulrich Drepper <drepper@gmail.com>
61215 * malloc/mcheck.c: Handle large requests.
61218 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61219 for strncmp and strncasecmp.
61220 * string/stratcliff.c: Add tests for strcmp and strncmp.
61221 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61223 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61225 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61228 2010-09-30 Andreas Jaeger <aj@suse.de>
61230 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61231 (CGROUP_SUPER_MAGIC): Define.
61232 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61233 Handle btrfs and cgroup file systems.
61234 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61237 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
61239 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61240 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61242 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61245 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61246 trying to locate the ELF header.
61248 2010-09-27 Andreas Schwab <schwab@redhat.com>
61251 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61252 Mask out sign-bit copies when constructing f_fsid.
61254 2010-09-24 Petr Baudis <pasky@suse.cz>
61256 * debug/stack_chk_fail_local.c: Add missing licence exception.
61257 * debug/warning-nop.c: Likewise.
61259 2010-09-15 Joseph Myers <joseph@codesourcery.com>
61261 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61262 implementing getdents64 using getdents syscall, set d_type if
61263 __ASSUME_GETDENTS32_D_TYPE.
61265 2010-09-16 Andreas Schwab <schwab@redhat.com>
61267 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61268 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61270 2010-09-21 Ulrich Drepper <drepper@redhat.com>
61273 * posix/unistd.h: Undo change of feature selection for ftruncate from
61276 2010-09-20 Ulrich Drepper <drepper@redhat.com>
61278 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61281 2010-09-20 Andreas Schwab <schwab@redhat.com>
61283 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61285 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61287 2010-09-14 Andreas Schwab <schwab@redhat.com>
61289 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61290 variables after CHECK_SP call.
61291 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61293 2010-09-13 Andreas Schwab <schwab@redhat.com>
61294 Ulrich Drepper <drepper@redhat.com>
61296 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61297 re-relocationg ld.so.
61298 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61299 _dl_init_paths call.
61300 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
61303 2010-09-14 Ulrich Drepper <drepper@redhat.com>
61305 * resolv/res_init.c (__res_vinit): Count the default server we added.
61307 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
61308 Ulrich Drepper <drepper@redhat.com>
61311 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61312 (____longjmp_chk): Use %ebx for saving value across system call.
61315 2010-09-06 Andreas Schwab <schwab@redhat.com>
61317 * manual/Makefile: Don't mix pattern rules with normal rules.
61319 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
61321 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61323 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61324 * libio/iofopncook.c (_IO_cookie_init): Likewise.
61325 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61326 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61327 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61330 2010-09-04 Ulrich Drepper <drepper@redhat.com>
61333 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61334 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61336 2010-09-02 Ulrich Drepper <drepper@redhat.com>
61338 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61339 * sysdeps/x86_64/addmul_1.S: Likewise.
61340 * sysdeps/x86_64/lshift.S: Likewise.
61341 * sysdeps/x86_64/mul_1.S: Likewise.
61342 * sysdeps/x86_64/rshift.S: Likewise.
61343 * sysdeps/x86_64/sub_n.S: Likewise.
61344 * sysdeps/x86_64/submul_1.S: Likewise.
61346 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
61348 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61349 Define __sched_param instead of SCHED_* and sched_param when
61350 <bits/sched.h> is included with __need_schedparam defined.
61351 * bits/sched.h [__need_schedparam]
61352 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61353 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61354 (__defined_schedparam): Define to 1.
61355 (__sched_param): New structure, identical to sched_param.
61356 (__need_schedparam): Undefine.
61358 2010-08-31 Mike Frysinger <vapier@gentoo.org>
61360 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61361 (epoll_create1): Declare.
61363 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61365 2010-08-31 Andreas Schwab <schwab@redhat.com>
61368 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61369 shifting retval into place.
61371 2010-09-01 Ulrich Drepper <drepper@redhat.com>
61373 * nis/rpcsvc/nis.h: Update copyright notice.
61374 * nis/rpcsvc/nis.x: Likewise.
61375 * nis/rpcsvc/nis_callback.h: Likewise.
61376 * nis/rpcsvc/nis_callback.x: Likewise.
61377 * nis/rpcsvc/nis_object.x: Likewise.
61378 * nis/rpcsvc/nis_tags.h: Likewise.
61379 * nis/rpcsvc/yp.h: Likewise.
61380 * nis/rpcsvc/yp.x: Likewise.
61381 * nis/rpcsvc/ypupd.h: Likewise.
61382 * nis/yp_xdr.c: Likewise.
61383 * nis/ypupdate_xdr.c: Likewise.
61385 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
61386 mainly the body of pmap_getport. Add parameters to specify timeouts.
61387 (pmap_getport): Use __libc_rpc_getport.
61388 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61389 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61390 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61392 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
61394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61397 2010-08-27 Roland McGrath <roland@redhat.com>
61399 * sysdeps/i386/i686/multiarch/Makefile
61400 (CFLAGS-varshift.c): New variable.
61402 2010-08-27 Ulrich Drepper <drepper@redhat.com>
61404 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61405 * sysdeps/i386/i686/multiarch/varshift.c: New file.
61407 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61409 * sysdeps/x86_64/strlen.S: Minimal code improvement.
61411 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
61413 * sysdeps/x86_64/strlen.S: Unroll the loop.
61414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61415 strlen-sse2 strlen-sse2-bsf.
61416 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61417 __strlen_no_bsf if bit_Slow_BSF is set.
61418 (__strlen_sse42): Removed.
61419 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61420 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61422 2010-08-25 Roland McGrath <roland@redhat.com>
61424 * sysdeps/x86_64/multiarch/varshift.S: File removed.
61425 * sysdeps/x86_64/multiarch/varshift.c: New file.
61426 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61427 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61428 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61429 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61431 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
61433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61434 strlen-sse2 strlen-sse2-bsf.
61435 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61436 __strlen_sse2_bsf if bit_Slow_BSF is unset.
61437 (__strlen_sse2): Removed.
61438 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61439 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61441 bit_Slow_BSF for Atom.
61442 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61443 (index_Slow_BSF): Define.
61444 (HAS_SLOW_BSF): Define.
61446 2010-08-25 Ulrich Drepper <drepper@redhat.com>
61449 * resolv/res_init.c (__res_vinit): When no server address at all
61450 is given default to loopback.
61452 2010-08-24 Roland McGrath <roland@redhat.com>
61454 * configure.in: Remove config-name.h generation.
61455 * configure: Regenerated.
61456 * config-name.in: File removed.
61457 * scripts/config-uname.sh: New file.
61458 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61459 ($(objdir)config-name.h): New target.
61461 * sunrpc/rpc_parse.h: Avoid nested comment.
61463 2010-08-24 Richard Henderson <rth@redhat.com>
61464 Ulrich Drepper <drepper@redhat.com>
61465 H.J. Lu <hongjiu.lu@intel.com>
61467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61469 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61470 Replace _mm_srli_si128 with __m128i_shift_right. Replace
61471 _mm_alignr_epi8 with _mm_loadu_si128.
61472 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61473 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61474 (__m128i_shift_right): Removed.
61475 * sysdeps/i386/i686/multiarch/varshift.h: New file.
61476 * sysdeps/i386/i686/multiarch/varshift.S: New file.
61477 * sysdeps/x86_64/multiarch/varshift.h: New file.
61478 * sysdeps/x86_64/multiarch/varshift.S: New file.
61480 2010-08-21 Mike Frysinger <vapier@gentoo.org>
61482 * configure.in: Move assembler checks to before sysdep dir checking.
61484 2010-08-20 Petr Baudis <pasky@suse.cz>
61486 * LICENSES: Sync the sunrpc license.
61488 2010-08-19 Ulrich Drepper <drepper@redhat.com>
61490 * sunrpc/auth_des.c: Update copyright notice once again.
61491 * sunrpc/auth_none.c: Likewise.
61492 * sunrpc/auth_unix.c: Likewise.
61493 * sunrpc/authdes_prot.c: Likewise.
61494 * sunrpc/authuxprot.c: Likewise.
61495 * sunrpc/bindrsvprt.c: Likewise.
61496 * sunrpc/clnt_gen.c: Likewise.
61497 * sunrpc/clnt_perr.c: Likewise.
61498 * sunrpc/clnt_raw.c: Likewise.
61499 * sunrpc/clnt_simp.c: Likewise.
61500 * sunrpc/clnt_tcp.c: Likewise.
61501 * sunrpc/clnt_udp.c: Likewise.
61502 * sunrpc/clnt_unix.c: Likewise.
61503 * sunrpc/des_crypt.c: Likewise.
61504 * sunrpc/des_soft.c: Likewise.
61505 * sunrpc/get_myaddr.c: Likewise.
61506 * sunrpc/getrpcport.c: Likewise.
61507 * sunrpc/key_call.c: Likewise.
61508 * sunrpc/key_prot.c: Likewise.
61509 * sunrpc/openchild.c: Likewise.
61510 * sunrpc/pm_getmaps.c: Likewise.
61511 * sunrpc/pm_getport.c: Likewise.
61512 * sunrpc/pmap_clnt.c: Likewise.
61513 * sunrpc/pmap_prot.c: Likewise.
61514 * sunrpc/pmap_prot2.c: Likewise.
61515 * sunrpc/pmap_rmt.c: Likewise.
61516 * sunrpc/rpc/auth.h: Likewise.
61517 * sunrpc/rpc/auth_unix.h: Likewise.
61518 * sunrpc/rpc/clnt.h: Likewise.
61519 * sunrpc/rpc/des_crypt.h: Likewise.
61520 * sunrpc/rpc/key_prot.h: Likewise.
61521 * sunrpc/rpc/netdb.h: Likewise.
61522 * sunrpc/rpc/pmap_clnt.h: Likewise.
61523 * sunrpc/rpc/pmap_prot.h: Likewise.
61524 * sunrpc/rpc/pmap_rmt.h: Likewise.
61525 * sunrpc/rpc/rpc.h: Likewise.
61526 * sunrpc/rpc/rpc_des.h: Likewise.
61527 * sunrpc/rpc/rpc_msg.h: Likewise.
61528 * sunrpc/rpc/svc.h: Likewise.
61529 * sunrpc/rpc/svc_auth.h: Likewise.
61530 * sunrpc/rpc/types.h: Likewise.
61531 * sunrpc/rpc/xdr.h: Likewise.
61532 * sunrpc/rpc_clntout.c: Likewise.
61533 * sunrpc/rpc_cmsg.c: Likewise.
61534 * sunrpc/rpc_common.c: Likewise.
61535 * sunrpc/rpc_cout.c: Likewise.
61536 * sunrpc/rpc_dtable.c: Likewise.
61537 * sunrpc/rpc_hout.c: Likewise.
61538 * sunrpc/rpc_main.c: Likewise.
61539 * sunrpc/rpc_parse.c: Likewise.
61540 * sunrpc/rpc_parse.h: Likewise.
61541 * sunrpc/rpc_prot.c: Likewise.
61542 * sunrpc/rpc_sample.c: Likewise.
61543 * sunrpc/rpc_scan.c: Likewise.
61544 * sunrpc/rpc_scan.h: Likewise.
61545 * sunrpc/rpc_svcout.c: Likewise.
61546 * sunrpc/rpc_tblout.c: Likewise.
61547 * sunrpc/rpc_util.c: Likewise.
61548 * sunrpc/rpc_util.h: Likewise.
61549 * sunrpc/rpcinfo.c: Likewise.
61550 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61551 * sunrpc/rpcsvc/key_prot.x: Likewise.
61552 * sunrpc/rpcsvc/klm_prot.x: Likewise.
61553 * sunrpc/rpcsvc/mount.x: Likewise.
61554 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61555 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61556 * sunrpc/rpcsvc/rex.x: Likewise.
61557 * sunrpc/rpcsvc/rstat.x: Likewise.
61558 * sunrpc/rpcsvc/rusers.x: Likewise.
61559 * sunrpc/rpcsvc/sm_inter.x: Likewise.
61560 * sunrpc/rpcsvc/spray.x: Likewise.
61561 * sunrpc/rpcsvc/yppasswd.x: Likewise.
61562 * sunrpc/rtime.c: Likewise.
61563 * sunrpc/svc.c: Likewise.
61564 * sunrpc/svc_auth.c: Likewise.
61565 * sunrpc/svc_authux.c: Likewise.
61566 * sunrpc/svc_raw.c: Likewise.
61567 * sunrpc/svc_run.c: Likewise.
61568 * sunrpc/svc_simple.c: Likewise.
61569 * sunrpc/svc_tcp.c: Likewise.
61570 * sunrpc/svc_udp.c: Likewise.
61571 * sunrpc/svc_unix.c: Likewise.
61572 * sunrpc/svcauth_des.c: Likewise.
61573 * sunrpc/xcrypt.c: Likewise.
61574 * sunrpc/xdr.c: Likewise.
61575 * sunrpc/xdr_array.c: Likewise.
61576 * sunrpc/xdr_float.c: Likewise.
61577 * sunrpc/xdr_mem.c: Likewise.
61578 * sunrpc/xdr_rec.c: Likewise.
61579 * sunrpc/xdr_ref.c: Likewise.
61580 * sunrpc/xdr_sizeof.c: Likewise.
61581 * sunrpc/xdr_stdio.c: Likewise.
61583 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61586 2010-08-19 Andreas Schwab <schwab@redhat.com>
61588 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61590 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
61592 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61593 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61594 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61595 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61596 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61597 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61598 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61599 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61600 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61601 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61602 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61603 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61604 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61605 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61607 2010-07-26 Anton Blanchard <anton@samba.org>
61609 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61610 * malloc/arena.c (heap_trim): Likewise.
61612 2010-08-16 Ulrich Drepper <drepper@redhat.com>
61614 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61616 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61617 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61619 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
61621 * sysdeps/i386/elf/Makefile: New file.
61623 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61625 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61626 from fanotify_init.
61627 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61628 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61630 2010-08-15 Ulrich Drepper <drepper@redhat.com>
61632 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61634 * sysdeps/multiarch/strcmp.S: Likewise.
61636 2010-08-14 Ulrich Drepper <drepper@redhat.com>
61638 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61639 strncase_l-nonascii.
61640 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61641 Add strncase_l-ssse3.
61642 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61643 * sysdeps/x86_64/strcmp.S: Likewise.
61644 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61645 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61646 * sysdeps/x86_64/strncase.S: New file.
61647 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61648 * sysdeps/x86_64/strncase_l.S: New file.
61649 * string/Makefile (strop-tests): Add strncasecmp.
61650 * string/test-strncasecmp.c: New file.
61652 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61655 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61656 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61658 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61660 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61662 2010-08-12 Ulrich Drepper <drepper@redhat.com>
61664 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61665 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61666 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61668 2010-05-01 Alan Modra <amodra@gmail.com>
61670 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61671 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61672 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61673 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61674 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61675 tidying. Don't tail-call __sigjmp_save for static lib.
61676 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61678 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61679 (CALL_MCOUNT): Add eh info, and nop after bl.
61680 (TAIL_CALL_SYSCALL_ERROR): New macro.
61681 (PSEUDO_RET): Use it.
61682 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61683 Correct save location of integer regs and cr.
61684 (_dl_profile_resolve): Correct cr save location. Delete nops
61685 after bl when SHARED. Reduce cfi size a little by better
61686 placement of cfi directives.
61687 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61688 make a stack frame. Instead use parm save area as a temp.
61689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61690 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
61691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61692 Don't make a stack frame for parent, use parm save area.
61693 Increase child stack frame to 112 bytes. Don't save unused reg,
61694 and adjust reg usage. Set up cfi on error recovery and
61695 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61697 (__makecontext): Add dummy nop after jump to exit.
61698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61699 Use correct parm save area and cr save, reduce stack frame.
61700 Correct cfi for possible PSEUDO_RET frame setup.
61701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61702 Branch to local label emitted by PSEUDO_RET rather than
61705 2010-08-12 Andreas Schwab <schwab@redhat.com>
61708 * locale/programs/locale.c (print_assignment): New function.
61709 (show_locale_vars): Use it.
61711 2010-08-11 Ulrich Drepper <drepper@redhat.com>
61713 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61715 (struct statfs64): Likewise.
61716 (_STATFS_F_FLAGS): Define.
61717 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61718 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61719 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61720 (ST_VALID): Define locally.
61721 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61722 __statvfs_getflags, use the provided value.
61723 * sysdeps/unix/sysv/linux/kernel-features.h: Define
61724 __ASSUME_STATFS_F_FLAGS.
61726 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61728 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61729 Add sys/fanotify.h.
61730 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61731 fanotify_mask for GLIBC_2.13.
61732 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61733 fanotify_init and fanotify_mark.
61734 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61735 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61737 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61739 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61740 prlimit64 for GLIBC_2.13.
61741 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61743 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61746 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61747 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61748 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61749 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
61751 * sysdeps/unix/sysv/linux/prlimit.c: New file.
61754 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61755 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61757 * nss/Makefile: Add rules to build and run tst-nss-test1.
61758 * shlib-versions: Add entry for libnss_test1.
61759 * nss/nss_test1.c: New file.
61760 * nss/tst-nss-test1.c: New file.
61762 * nss/nsswitch.c (__nss_database_custom): Define new variable.
61763 (__nss_configure_lookup): Set appropriate entry in
61764 __nss_configure_lookup to true.
61765 * nss/nsswitch.h: Define enum with indeces of databases in
61766 databases and __nss_database_custom arrays. Declare
61767 __nss_database_custom.
61768 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61769 to avoid using nscd when custom rules are installed.
61770 * nss/getXXbyYY_r.c: Likewise.
61771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61773 * nss/nss_files/files-parse.c: Whitespace fixes.
61775 2010-08-09 Ulrich Drepper <drepper@redhat.com>
61778 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61779 * posix/fnmatch_loop.c: Likewise.
61781 2010-07-17 Andi Kleen <ak@linux.intel.com>
61783 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61784 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61785 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61786 * Versions.def [GLIBC_2.13]: Add.
61788 2010-08-06 Ulrich Drepper <drepper@redhat.com>
61790 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61791 Also fail if tpwd after pwuid call is NULL.
61793 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
61795 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61796 when converting to ms.
61798 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61800 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61801 EOPNOTSUPP errors with ENOTTY.
61802 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61803 EOPNOTSUPP errors with ENOTTY.
61805 2010-07-31 Ulrich Drepper <drepper@redhat.com>
61807 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61808 Add strcasecmp_l-ssse3.
61809 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61811 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61812 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61813 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61815 2010-07-30 Ulrich Drepper <drepper@redhat.com>
61817 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61819 * string/Makefile (strop-tests): Add strcasecmp.
61820 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61821 strcasecmp_l-nonascii.
61822 (gen-as-const-headers): Add locale-defines.sym.
61823 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61824 * sysdeps/x86_64/strcasecmp.S: New file.
61825 * sysdeps/x86_64/strcasecmp_l.S: New file.
61826 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61827 * sysdeps/x86_64/locale-defines.sym: New file.
61828 * string/test-strcasecmp.c: New file.
61830 * string/test-strcasestr.c: Test both ends of the range of characters.
61831 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61833 2010-07-29 Roland McGrath <roland@redhat.com>
61836 * manual/locale.texi (Yes-or-No Questions): Fix example code.
61838 2010-07-27 Ulrich Drepper <drepper@redhat.com>
61840 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61843 2010-07-27 Andreas Schwab <schwab@redhat.com>
61845 * manual/memory.texi (Malloc Tunable Parameters): Document
61848 2010-07-26 Roland McGrath <roland@redhat.com>
61851 * configure.in (-fgnu89-inline check): Set and substitute
61852 gnu89_inline, not libc_cv_gnu89_inline.
61853 * configure: Regenerated.
61854 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61856 2010-07-26 Ulrich Drepper <drepper@redhat.com>
61858 * string/test-strnlen.c: New file.
61859 * string/Makefile (strop-tests): Add strnlen.
61860 * string/tester.c (test_strnlen): Add a few more test cases.
61861 * string/tst-strlen.c: Better error reporting.
61863 * sysdeps/x86_64/strnlen.S: New file.
61865 2010-07-24 Ulrich Drepper <drepper@redhat.com>
61867 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61868 lower-latency instructions.
61870 2010-07-23 Ulrich Drepper <drepper@redhat.com>
61872 * string/test-strcasestr.c: New file.
61873 * string/test-strstr.c: New file.
61874 * string/Makefile (strop-tests): Add strstr and strcasestr.
61875 * string/str-two-way.h: Don't undefine MAX.
61876 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61878 2010-07-21 Andreas Schwab <schwab@redhat.com>
61880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61881 strcasestr-nonascii.
61882 (CFLAGS-strcasestr-nonascii.c): Define.
61883 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61884 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61885 Remove unused attribute.
61887 2010-07-20 Roland McGrath <roland@redhat.com>
61889 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61890 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
61891 ld.so.cache was broken. With it, there is no way to disable dsocaps
61892 like LD_HWCAP_MASK can disable hwcaps.
61894 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61896 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61898 2010-07-16 Ulrich Drepper <drepper@redhat.com>
61900 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61901 call in strcasestr.
61902 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61903 __strcasestr_sse42_nonascii.
61904 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61905 strcasestr-nonascii.c.
61906 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61908 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
61910 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61911 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61912 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61913 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61915 2010-07-09 Ulrich Drepper <drepper@redhat.com>
61917 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61920 2010-07-06 Andreas Schwab <schwab@redhat.com>
61923 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61926 2010-07-06 Ulrich Drepper <drepper@redhat.com>
61928 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61929 _PC_PIPE_BUF using F_GETPIPE_SZ.
61931 2010-07-05 Roland McGrath <roland@redhat.com>
61933 * manual/arith.texi (Rounding Functions): Fix rint description
61934 implicit in round description.
61936 2010-07-02 Ulrich Drepper <drepper@redhat.com>
61938 * elf/Makefile: Fix linking for a few tests to make recent linker
61941 2010-06-30 Andreas Schwab <schwab@redhat.com>
61943 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61944 $(common-objpfx)libc_nonshared.a.
61946 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
61948 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61949 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61950 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61951 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61952 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61953 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61954 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61955 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61970 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61971 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61972 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61973 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61974 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61975 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61976 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61977 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61978 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61979 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61980 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61981 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61997 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
61999 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62000 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
62001 * string/memmove.c (memmove): Renamed to ...
62002 (MEMMOVE): ...this. Default to memmove.
62003 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62004 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62007 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62008 mempcpy-ssse3-back memmove-ssse3-back.
62009 * sysdeps/x86_64/multiarch/bcopy.S: New file .
62010 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62011 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62012 * sysdeps/x86_64/multiarch/memcpy.S: New file.
62013 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62014 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62015 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62016 * sysdeps/x86_64/multiarch/memmove.c: New file.
62017 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62018 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62019 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62020 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62021 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62022 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62024 (index_Fast_Copy_Backward): Define.
62025 (HAS_ARCH_FEATURE): Define.
62026 (HAS_FAST_REP_STRING): Define.
62027 (HAS_FAST_COPY_BACKWARD): Define.
62029 2010-06-21 Andreas Schwab <schwab@redhat.com>
62031 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62032 Restore proper fallback handling.
62034 2010-06-19 Ulrich Drepper <drepper@redhat.com>
62037 * posix/group_member.c (__group_member): Correct checking loop.
62039 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62040 OOM in getpwuid_r correctly. Return error number when the caller
62041 should return, otherwise -1.
62042 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62043 call returning > 0 value.
62044 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62046 2010-06-07 Andreas Schwab <schwab@redhat.com>
62048 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62049 libc_nonshared.a from targets in modules-names.
62051 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
62053 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62056 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
62058 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62059 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62060 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62063 2010-06-02 Andreas Schwab <schwab@redhat.com>
62065 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62067 2010-06-14 Ulrich Drepper <drepper@redhat.com>
62069 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62071 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62072 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62075 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62076 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62078 2010-06-14 Roland McGrath <roland@redhat.com>
62080 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62082 2010-06-07 Jakub Jelinek <jakub@redhat.com>
62084 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62085 __REDIRECT followed by __THROW.
62086 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62087 * posix/getopt.h (getopt): Likewise.
62089 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
62091 * hurd/lookup-at.c (__file_name_lookup_at): Accept
62092 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
62093 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62095 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62096 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62098 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
62100 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62102 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
62105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62106 Properly check family and model.
62108 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
62110 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62112 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
62114 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62116 2010-05-21 Ulrich Drepper <drepper@redhat.com>
62118 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62121 2010-05-19 Andreas Schwab <schwab@redhat.com>
62123 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62126 2010-05-21 Andreas Schwab <schwab@redhat.com>
62128 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62129 and internal_recvmmsg.
62130 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62131 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62132 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62133 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62135 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62136 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62137 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62139 2010-05-20 Andreas Schwab <schwab@redhat.com>
62141 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62143 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
62145 POWER7 optimizations.
62146 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62147 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62149 2010-05-19 Ulrich Drepper <drepper@redhat.com>
62151 * version.h: Update for 2.13 development version.
62153 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
62155 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62156 exceptions. Return 0.
62158 2010-05-07 Roland McGrath <roland@redhat.com>
62160 * elf/ldconfig.c (main): Add a const.
62162 2010-05-06 Ulrich Drepper <drepper@redhat.com>
62164 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62165 (args_options): Add no-idn option.
62166 (ahosts_keys_int): Add idn_flags to ai_flags.
62167 (parse_option): Handle 'i' option to clear idn_flags.
62169 * malloc/malloc.c (_int_free): Possible race in the most recently
62170 added check. Only act on the data if no current modification
62173 See ChangeLog.17 for earlier changes.