1 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
3 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
4 Comment out the whole function, not just its body.
6 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
11 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
13 2015-07-10 Torvald Riegel <triegel@redhat.com>
15 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
16 (sem_assume_only_signals_cause_futex_EINTR): Remove.
18 2015-07-10 Torvald Riegel <triegel@redhat.com>
20 * sysdeps/nptl/futex-internal.h: New file.
21 * sysdeps/nacl/futex-internal.h: New file.
22 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
25 (setxid_unmark_thread): Likewise.
26 (__nptl_setxid): Likewise.
27 (__wait_lookup_done): Likewise.
28 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29 * nptl/nptl-init.c (sighandler_setxid): Likewise.
30 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
31 * nptl/pthread_once.c (clear_once_control): Likewise.
32 (__pthread_once_slow): Likewise.
33 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
35 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
36 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
37 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
38 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
40 (__pthread_rwlock_rdlock): Likewise.
41 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
43 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
45 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
47 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
48 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
50 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
51 __ASSUME_PRIVATE_FUTEX check.
52 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
53 Check that shared futexes are supported.
54 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
55 wrappers with error checking.
56 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
57 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
58 * nptl/pthread_barrierattr_setpshared.c
59 (pthread_barrierattr_setpshared): Check that shared futexes are
61 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
63 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
65 * nptl/sem_init.c (futex_private_if_supported): Remove.
66 (__new_sem_init): Adapt and check that shared futexes are supported.
67 * nptl/sem_open.c (sem_open): Likewise.
68 * nptl/sem_post.c (futex_wake): Remove.
69 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
70 (do_futex_wait): Use futex wrappers with error checking.
71 * nptl/sem_wait.c: Include lowlevellock.h.
72 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
73 Use futex_supports_pshared.
74 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
75 Use futex wrappers with error checking.
76 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
78 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
79 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
80 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
81 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
82 (futex_wake): Likewise.
83 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
84 (do_futex_wait): Use futex wrappers with error checking.
85 (__new_sem_wait_slow): Update EINTR handling.
86 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
88 2015-07-09 Martin Sebor <msebor@redhat.com>
91 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
92 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
93 * nptl/Makefile (test-xfail-tst-once5): Define.
95 2015-07-09 Roland McGrath <roland@hack.frob.com>
97 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
98 * elf/dl-minimal.c: For readability, reorder some definitions and
99 introduce more page breaks. Include <stdio.h>.
100 (__libc_fatal): New function.
102 * include/unistd.h: Add rtld_hidden_proto for _exit.
103 * posix/_exit.c: Add rtld_hidden_def.
104 * sysdeps/mach/hurd/_exit.c: Likewise.
105 * sysdeps/nacl/_exit.c: Likewise.
106 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
107 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
109 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
111 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
112 bndmov encoding with zero displacement.
114 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
115 H.J. Lu <hongjiu.lu@intel.com>
118 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
119 * sysdeps/i386/configure: Regenerated.
120 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
121 (_dl_runtime_profile): Save and restore Intel MPX return bound
122 registers when calling _dl_call_pltexit. Add
123 PRESERVE_BND_REGS_PREFIX before return.
124 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
125 (LRV_BND1_OFFSET): Likewise.
126 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
128 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
129 typo in bndmov encoding.
130 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
131 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
132 branch instructions to preserve bounds.
134 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
137 [GLIBC_2.22]: Add fmemopen.
139 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
141 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
142 returns an error, also try to use host port from __mach_host_self for
144 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
146 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
150 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
151 Fix pr_uid and pr_gid members.
152 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
153 definition to elf_greg_t.
155 2015-07-08 Roland McGrath <roland@hack.frob.com>
158 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
159 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
160 * sysdeps/arm/configure: Regenerated.
161 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
162 (test-xfail-tst-tlsalign-static): Variable removed.
164 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
165 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
166 rather than explicit 'ln -s'.
168 * resolv/rpc/netdb.h: New file.
169 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
171 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
173 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
175 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
184 * include/stdio.h (fmemopen): Remove hidden prototype.
185 (__fmemopen): Add new hidden prototype.
186 * libio/Makefile: Add oldfmemopen object.
187 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
188 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
190 * libio/oldfmemopen.c: New file: old fmemopen implementation for
191 symbol compatibility.
192 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
193 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
195 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
196 on append and read mode.
197 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
199 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
200 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
201 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
202 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
204 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
205 [GLIBC_2.22]: Likewise.
206 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
208 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
210 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
211 [GLIBC_2.22]: Likewise.
212 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
213 [GLIBC_2.22]: Likewise.
214 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
215 [GLIBC_2.22]: Likewise.
216 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
217 [GLIBC_2.22]: Likewise.
218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
219 [GLIBC_2.22]: Likewise.
220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
221 [GLIBC_2.22]: Likewise.
222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
223 [GLIBC_2.22]: Likewise.
224 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
226 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
228 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
229 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
230 [GLIBC_2.22]: Likewise.
231 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
232 [GLIBC_2.22]: Likewise.
233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
234 [GLIBC_2.22]: Likewise.
235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
236 [GLIBC_2.22]: Likewise.
237 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
239 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
241 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
243 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
244 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
246 2015-07-08 Carlos O'Donell <carlos@redhat.com>
249 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
250 IPV6_PATHMTU, and IPV6_DONTFRAG.
252 2015-07-08 Feng Gao <gfree.wind@gmail.com>
254 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
256 * libio/oldfileops.c: Likewise.
257 * libio/wfileops.c: Likewise.
259 2015-07-08 Mike Frysinger <vapier@gentoo.org>
261 * nscd/selinux.c: Delete selinux/flask.h include.
263 2015-07-08 Mike Frysinger <vapier@gentoo.org>
266 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
267 (putpwent): Likewise.
268 (getpwnam): Likewise.
269 (getpwent_r): Likewise.
270 (getpwuid_r): Likewise.
271 (getpwnam_r): Likewise.
272 (fgetpwent_r): Likewise.
274 2015-07-08 Carlos O'Donell <carlos@redhat.com>
277 * inet/rcmd.c (__validuser2_sa): Check user first to
278 short-circuit host check.
280 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
281 Mikhail Ilin <m.ilin@samsung.com>
284 * elf/Makefile (tests): Add tst-nodelete.
285 (modules-names): Add tst-nodelete-uniquemod.
286 (tst-nodelete-uniquemod.so-no-z-defs): New.
287 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
288 (tst-nodelete-zmod.so-no-z-defs): Likewise.
289 ($(objpfx)tst-nodelete): Likewise.
290 ($(objpfx)tst-nodelete.out): Likewise.
291 (LDFLAGS-tst-nodelete): Likewise.
292 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
293 * elf/dl-close.c (_dl_close_worker): Add a parameter to
294 implement forced object deletion.
295 (_dl_close): Pass false to _dl_close_worker.
296 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
297 * elf/tst-nodelete.cc: New file.
298 * elf/tst-nodeletelib.cc: Likewise.
299 * elf/tst-znodeletelib.cc: Likewise.
300 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
302 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
305 * stdlib/Makefile ($(objpfx)tst-makecontext3):
307 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
308 is not called infinitely times.
309 (backtrace_helper): New function.
310 (trace_arg): New struct.
311 (st1): Enlarge stack size.
312 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
313 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
314 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
317 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
319 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
321 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
323 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
324 Include sys/types.h instead of bits/types.h.
325 Remove inclusion of bits/wordsize.h.
327 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
329 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
330 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
331 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
332 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
333 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
334 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
336 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
338 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
340 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
341 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
342 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
344 * sysdeps/i386/link-defines.sym: New file.
346 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
348 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
349 (modules-names): Add tst-auditmod3a tst-auditmod3b.
350 ($(objpfx)tst-audit3): New rule.
351 ($(objpfx)tst-audit3.out): Likewise.
352 * sysdeps/i386/tst-audit3.c: New file.
353 * sysdeps/i386/tst-audit3.h: Likewise.
354 * sysdeps/i386/tst-auditmod3a.c: Likewise.
355 * sysdeps/i386/tst-auditmod3b.c: Likewise.
357 2015-07-07 Torvald Riegel <triegel@redhat.com>
360 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
362 (__strcat_c): Likewise.
363 (__strcat_g): Likewise.
365 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
368 * misc/sbrk.c: Set errno to ENOMEM on overflow.
370 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
372 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
373 New function. (__ieee754_sqrtf): New function.
374 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
376 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
379 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
381 * sysdeps/ieee754/support.c: Remove unused file.
383 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
385 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
386 registers instead of d ones so the layout is kernel abi compatible.
387 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
388 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
391 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
393 * sysdeps/aarch64/libm-test-ulps: Regenerated.
395 2015-07-01 Joseph Myers <joseph@codesourcery.com>
398 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
399 and return argument in case of subnormal argument.
401 2015-07-01 Martin Sebor <msebor@redhat.com>
404 * nptl/Makefile: Add tst-once5.cc.
405 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
406 Remove macro redefinitions.
407 * nptl/tst-once5.cc: New test.
409 2015-07-01 Joseph Myers <joseph@codesourcery.com>
411 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
413 * sysdeps/arm/libm-test-ulps: Regenerated.
415 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
416 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
418 2015-06-30 Torvald Riegel <triegel@redhat.com>
420 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
421 lll_lock_wait_private and lll_futex_wake probes.
423 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
424 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
426 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
428 * sysdeps/x86_64/bits/atomic.h: Likewise.
429 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
430 to atomic_spin_nop and move ...
431 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
433 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
434 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
435 atomic_spin_nop instead of BUSY_WAIT_NOP.
436 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
438 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
439 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
440 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
441 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
442 instead of atomic_delay.
444 2015-06-29 Joseph Myers <joseph@codesourcery.com>
447 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
448 X_ADJ not X when adjusting exponent.
449 (__ieee754_gamma_r): Do intermediate computations in
450 round-to-nearest then adjust overflowing and underflowing results
452 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
453 of X_ADJ not X when adjusting exponent.
454 (__ieee754_gammaf_r): Do intermediate computations in
455 round-to-nearest then adjust overflowing and underflowing results
457 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
458 log of X_ADJ not X when adjusting exponent.
459 (__ieee754_gammal_r): Do intermediate computations in
460 round-to-nearest then adjust overflowing and underflowing results
461 as needed. Use 1.0L not 1.0f as numerator of division.
462 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
463 log of X_ADJ not X when adjusting exponent.
464 (__ieee754_gammal_r): Do intermediate computations in
465 round-to-nearest then adjust overflowing and underflowing results
466 as needed. Use 1.0L not 1.0f as numerator of division.
467 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
468 of X_ADJ not X when adjusting exponent.
469 (__ieee754_gammal_r): Do intermediate computations in
470 round-to-nearest then adjust overflowing and underflowing results
471 as needed. Use 1.0L not 1.0f as numerator of division.
472 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
473 to auto-libm-test-in.
474 (tgamma_test): Use ALL_RM_TEST.
475 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
476 tests of tgamma with spurious-overflow.
477 * math/auto-libm-test-out: Regenerated.
478 * math/gen-libm-have-vector-test.sh: Do not check for START.
479 * sysdeps/i386/fpu/libm-test-ulps: Update.
480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
483 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
484 arguments, just return 0.5 times the argument, with underflow
486 * math/auto-libm-test-in: Add more tests of j1.
487 * math/auto-libm-test-out: Regenerated.
490 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
491 (__ieee754_j1): Force underflow exception for small results.
492 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
493 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
494 (__ieee754_j1f): Force underflow exception for small results.
495 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
496 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
497 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
498 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
499 (__ieee754_j1l): Force underflow exception for small results.
500 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
501 * math/auto-libm-test-in: Add more tests of j1 and jn.
502 * math/auto-libm-test-out: Regenerated.
504 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
505 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
509 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
511 (MS_RMT_MASK): Include MS_LAZYTIME.
513 2015-06-26 Mel Gorman <mgorman@suse.de>
516 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
519 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
521 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
522 (DT_MIPS_NUM): Update.
523 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
526 2015-06-25 Joseph Myers <joseph@codesourcery.com>
530 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
531 round-to-nearest internally then recompute results that
532 underflowed to zero in the original rounding mode.
533 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
534 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
535 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
536 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
537 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
538 * sysdeps/i386/fpu/libm-test-ulps: Update.
539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
541 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
543 * NEWS: Fixed description of link with vector math library.
545 2015-06-25 Andreas Schwab <schwab@suse.de>
548 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
549 * libio/test-fmemopen.c (do_test): Add test for it.
551 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
554 * Makeconfig (no-pie-ldflag): New.
555 (+link): Set to $(+link-pie) if default to PIE.
556 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
557 * config.make.in (build-pie-default): New.
558 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
559 is default. AC_SUBST.
560 * configure: Regenerated.
561 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
563 2015-06-24 Roland McGrath <roland@hack.frob.com>
565 * nptl/descr.h (struct pthread): Change type of field setxid_futex
568 * resolv/gai_misc.h (struct waitlist): Change type of field
569 counterp to 'volatile unsigned int *'.
570 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
571 FUTEXADDR and OLDVAL.
572 * resolv/getaddrinfo_a.c (getaddrinfo_a):
573 Give local variable TOTAL type 'volatile unsigned int'.
574 (struct async_waitlist): Change type of field counter to 'unsigned int'.
575 * resolv/gai_suspend.c (gai_suspend):
576 Give local variable CNTR type 'unsigned int'.
578 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
579 counterp to 'volatile unsigned int *'.
580 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
581 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
582 (aio_suspend): Give local variable CNTR type 'unsigned int'.
583 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
584 Give local variable TOTAL type 'volatile unsigned int'.
585 (struct async_waitlist): Change type of field counter to 'unsigned int'.
587 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
590 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
591 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
592 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
593 comment for i386/x86-64.
594 (test-xfail-tst-tlsalign-extern-static): Removed.
596 2015-06-24 Joseph Myers <joseph@codesourcery.com>
598 * math/test-double.h: New file.
599 * math/test-float.h: Likewise.
600 * math/test-ldouble.h: Likewise.
601 * math/test-math-inline.h: Likewise.
602 * math/test-math-no-inline.h: Likewise.
603 * math/test-math-scalar.h: Likewise.
604 * math/test-math-vector.h: Likewise.
605 * math/test-vec-loop.h: Remove file. Contents moved into
607 * math/libm-test.inc (MATHCONST): Do not document macro.
608 * math/test-double.c: Include test-double.h, test-math-no-inline.h
609 and test-math-scalar.h.
610 (FUNC): Remove macro.
611 (FUNC_TEST): Likewise.
613 (MATHCONST): Likewise.
614 (PRINTF_EXPR): Likewise.
615 (PRINTF_XEXPR): Likewise.
616 (PRINTF_NEXPR): Likewise.
617 (TEST_DOUBLE): Likewise.
618 (TEST_MATHVEC): Likewise.
619 (__NO_MATH_INLINES): Likewise.
620 * math/test-float.c: Include test-float.h, test-math-no-inline.h
621 and test-math-scalar.h.
622 (FUNC): Remove macro.
623 (FUNC_TEST): Likewise.
625 (MATHCONST): Likewise.
626 (PRINTF_EXPR): Likewise.
627 (PRINTF_XEXPR): Likewise.
628 (PRINTF_NEXPR): Likewise.
629 (TEST_FLOAT): Likewise.
630 (TEST_MATHVEC): Likewise.
631 (__NO_MATH_INLINES): Likewise.
632 * math/test-idouble.c: Include test-double.h, test-math-inline.h
633 and test-math-scalar.h.
634 (FUNC): Remove macro.
635 (FUNC_TEST): Likewise.
637 (MATHCONST): Likewise.
638 (PRINTF_EXPR): Likewise.
639 (PRINTF_XEXPR): Likewise.
640 (PRINTF_NEXPR): Likewise.
641 (TEST_DOUBLE): Likewise.
642 (TEST_MATHVEC): Likewise.
643 (TEST_INLINE): Likewise.
644 (__NO_MATH_INLINES): Likewise.
645 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
647 (FUNC): Remove macro.
648 (FUNC_TEST): Likewise.
650 (MATHCONST): Likewise.
651 (PRINTF_EXPR): Likewise.
652 (PRINTF_XEXPR): Likewise.
653 (PRINTF_NEXPR): Likewise.
654 (TEST_FLOAT): Likewise.
655 (TEST_MATHVEC): Likewise.
656 (TEST_INLINE): Likewise.
657 (__NO_MATH_INLINES): Likewise.
658 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
659 and test-math-scalar.h.
660 (FUNC): Remove macro.
661 (FUNC_TEST): Likewise.
663 (MATHCONST): Likewise.
664 (PRINTF_EXPR): Likewise.
665 (PRINTF_XEXPR): Likewise.
666 (PRINTF_NEXPR): Likewise.
667 (TEST_LDOUBLE): Likewise.
668 (TEST_MATHVEC): Likewise.
669 (TEST_INLINE): Likewise.
670 (__NO_MATH_INLINES): Likewise.
671 * math/test-ldouble.c: Include test-ldouble.h,
672 test-math-no-inline.h and test-math-scalar.h.
673 (FUNC): Remove macro.
674 (FUNC_TEST): Likewise.
676 (MATHCONST): Likewise.
677 (PRINTF_EXPR): Likewise.
678 (PRINTF_XEXPR): Likewise.
679 (PRINTF_NEXPR): Likewise.
680 (TEST_LDOUBLE): Likewise.
681 (TEST_MATHVEC): Likewise.
682 (__NO_MATH_INLINES): Likewise.
683 * math/test-double-vlen2.h: Include test-double.h,
684 test-math-no-inline.h and test-math-vector.h.
685 (FLOAT): Remove macro.
687 (MATHCONST): Likewise.
688 (PRINTF_EXPR): Likewise.
689 (PRINTF_XEXPR): Likewise.
690 (PRINTF_NEXPR): Likewise.
691 (TEST_DOUBLE): Likewise.
692 (TEST_MATHVEC): Likewise.
693 (__NO_MATH_INLINES): Likewise.
696 (WRAPPER_NAME): Likewise.
697 (WRAPPER_DECL): Likewise.
698 (WRAPPER_DECL_ff): Likewise.
699 (WRAPPER_DECL_fFF): Likewise.
700 (VECTOR_WRAPPER): Likewise.
701 (VECTOR_WRAPPER_ff): Likewise.
702 (VECTOR_WRAPPER_fFF): Likewise.
703 (VEC_LEN): New macro.
704 * math/test-double-vlen4.h: Include test-double.h,
705 test-math-no-inline.h and test-math-vector.h.
706 (FLOAT): Remove macro.
708 (MATHCONST): Likewise.
709 (PRINTF_EXPR): Likewise.
710 (PRINTF_XEXPR): Likewise.
711 (PRINTF_NEXPR): Likewise.
712 (TEST_DOUBLE): Likewise.
713 (TEST_MATHVEC): Likewise.
714 (__NO_MATH_INLINES): Likewise.
717 (WRAPPER_NAME): Likewise.
718 (WRAPPER_DECL): Likewise.
719 (WRAPPER_DECL_ff): Likewise.
720 (WRAPPER_DECL_fFF): Likewise.
721 (VECTOR_WRAPPER): Likewise.
722 (VECTOR_WRAPPER_ff): Likewise.
723 (VECTOR_WRAPPER_fFF): Likewise.
724 (VEC_LEN): New macro.
725 * math/test-double-vlen8.h: Include test-double.h,
726 test-math-no-inline.h and test-math-vector.h.
727 (FLOAT): Remove macro.
729 (MATHCONST): Likewise.
730 (PRINTF_EXPR): Likewise.
731 (PRINTF_XEXPR): Likewise.
732 (PRINTF_NEXPR): Likewise.
733 (TEST_DOUBLE): Likewise.
734 (TEST_MATHVEC): Likewise.
735 (__NO_MATH_INLINES): Likewise.
738 (WRAPPER_NAME): Likewise.
739 (WRAPPER_DECL): Likewise.
740 (WRAPPER_DECL_ff): Likewise.
741 (WRAPPER_DECL_fFF): Likewise.
742 (VECTOR_WRAPPER): Likewise.
743 (VECTOR_WRAPPER_ff): Likewise.
744 (VECTOR_WRAPPER_fFF): Likewise.
745 (VEC_LEN): New macro.
746 * math/test-float-vlen4.h: Include test-float.h,
747 test-math-no-inline.h and test-math-vector.h.
748 (FLOAT): Remove macro.
750 (MATHCONST): Likewise.
751 (PRINTF_EXPR): Likewise.
752 (PRINTF_XEXPR): Likewise.
753 (PRINTF_NEXPR): Likewise.
754 (TEST_FLOAT): Likewise.
755 (TEST_MATHVEC): Likewise.
756 (__NO_MATH_INLINES): Likewise.
759 (WRAPPER_NAME): Likewise.
760 (WRAPPER_DECL): Likewise.
761 (WRAPPER_DECL_ff): Likewise.
762 (WRAPPER_DECL_fFF): Likewise.
763 (VECTOR_WRAPPER): Likewise.
764 (VECTOR_WRAPPER_ff): Likewise.
765 (VECTOR_WRAPPER_fFF): Likewise.
766 (VEC_LEN): New macro.
767 * math/test-float-vlen8.h: Include test-float.h,
768 test-math-no-inline.h and test-math-vector.h.
769 (FLOAT): Remove macro.
771 (MATHCONST): Likewise.
772 (PRINTF_EXPR): Likewise.
773 (PRINTF_XEXPR): Likewise.
774 (PRINTF_NEXPR): Likewise.
775 (TEST_FLOAT): Likewise.
776 (TEST_MATHVEC): Likewise.
777 (__NO_MATH_INLINES): Likewise.
780 (WRAPPER_NAME): Likewise.
781 (WRAPPER_DECL): Likewise.
782 (WRAPPER_DECL_ff): Likewise.
783 (WRAPPER_DECL_fFF): Likewise.
784 (VECTOR_WRAPPER): Likewise.
785 (VECTOR_WRAPPER_ff): Likewise.
786 (VECTOR_WRAPPER_fFF): Likewise.
787 (VEC_LEN): New macro.
788 * math/test-float-vlen16.h: Include test-float.h,
789 test-math-no-inline.h and test-math-vector.h.
790 (FLOAT): Remove macro.
792 (MATHCONST): Likewise.
793 (PRINTF_EXPR): Likewise.
794 (PRINTF_XEXPR): Likewise.
795 (PRINTF_NEXPR): Likewise.
796 (TEST_FLOAT): Likewise.
797 (TEST_MATHVEC): Likewise.
798 (__NO_MATH_INLINES): Likewise.
801 (WRAPPER_NAME): Likewise.
802 (WRAPPER_DECL): Likewise.
803 (WRAPPER_DECL_ff): Likewise.
804 (WRAPPER_DECL_fFF): Likewise.
805 (VECTOR_WRAPPER): Likewise.
806 (VECTOR_WRAPPER_ff): Likewise.
807 (VECTOR_WRAPPER_fFF): Likewise.
808 (VEC_LEN): New macro.
809 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
811 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
812 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
813 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
814 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
815 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
816 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
817 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
819 2015-06-24 Roland McGrath <roland@hack.frob.com>
821 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
822 (__getlogin_r): ... this.
824 2015-06-24 Joseph Myers <joseph@codesourcery.com>
827 * math/s_ccosh.c (__ccosh): Compare with least normal value
828 instead of comparing class with FP_SUBNORMAL.
829 * math/s_ccoshf.c (__ccoshf): Likewise.
830 * math/s_ccoshl.c (__ccoshl): Likewise.
831 * math/s_cexp.c (__cexp): Likewise.
832 * math/s_cexpf.c (__cexpf): Likewise.
833 * math/s_cexpl.c (__cexpl): Likewise.
834 * math/s_csin.c (__csin): Likewise.
835 * math/s_csinf.c (__csinf): Likewise.
836 * math/s_csinh.c (__csinh): Likewise.
837 * math/s_csinhf.c (__csinhf): Likewise.
838 * math/s_csinhl.c (__csinhl): Likewise.
839 * math/s_csinl.c (__csinl): Likewise.
840 * math/s_ctan.c (__ctan): Likewise.
841 * math/s_ctanf.c (__ctanf): Likewise.
842 * math/s_ctanh.c (__ctanh): Likewise.
843 * math/s_ctanhf.c (__ctanhf): Likewise.
844 * math/s_ctanhl.c (__ctanhl): Likewise.
845 * math/s_ctanl.c (__ctanl): Likewise.
846 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
847 csin, csinh, ctan and ctanh.
848 * math/auto-libm-test-out: Regenerated.
849 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
850 * sysdeps/i386/fpu/libm-test-ulps: Update.
851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
853 2015-06-24 Roland McGrath <roland@hack.frob.com>
855 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
856 return value is wrong, print the expected value too.
858 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
861 * elf/readlib.c (is_gdb_python_file): New.
862 (process_file): Don't issue errors on filenames with -gdb.py
865 2015-06-24 Joseph Myers <joseph@codesourcery.com>
867 * math/auto-libm-test-in: Add more tests of csin and csinh.
868 * math/auto-libm-test-out: Regenerated.
869 * math/libm-test.inc (csin_test_data): Remove tests moved to
871 (csinh_test_data): Likewise.
874 * math/s_csin.c (__csin): Negate before rather than after possibly
875 overflowing multiplication.
876 * math/s_csinf.c (__csinf): Likewise.
877 * math/s_csinh.c (__csinh): Likewise.
878 * math/s_csinhf.c (__csinhf): Likewise.
879 * math/s_csinhl.c (__csinhl): Likewise.
880 * math/s_csinl.c (__csinl): Likewise.
881 * math/auto-libm-test-in: Add some tests of csin and csinh.
882 * math/auto-libm-test-out: Regenerated.
883 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
884 (csinh_test_data): Likewise.
885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
888 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
889 underflow exception for small results.
891 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
893 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
894 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
895 variable and included header.
896 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
897 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
898 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
899 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
900 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
901 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
902 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
903 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
904 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
905 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
906 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
907 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
908 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
909 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
910 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
911 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
913 2015-06-23 Joseph Myers <joseph@codesourcery.com>
917 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
918 (__sin): Force underflow exception for arguments with small
920 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
921 (__kernel_sinf): Force underflow exception for arguments with
922 small absolute value.
923 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
924 (__kernel_sincosl): Force underflow exception for arguments with
925 small absolute value.
926 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
927 (__kernel_sinl): Force underflow exception for arguments with
928 small absolute value.
929 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
930 (__kernel_sincosl): Force underflow exception for arguments with
931 small absolute value.
932 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
933 (__kernel_sinl): Force underflow exception for arguments with
934 small absolute value.
935 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
936 (__kernel_sinl): Force underflow exception for arguments with
937 small absolute value.
938 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
939 (__kernel_sinf): Force underflow exception for arguments with
940 small absolute value.
941 * math/auto-libm-test-in: Add more tests of sin and sincos.
942 * math/auto-libm-test-out: Regenerated.
946 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
947 (__kernel_standard_l): Use feholdexcept and fesetenv around
948 conversion to double instead of special-casing overflow and
950 * math/libm-test.inc (fmod_test_data): Add more tests.
951 (remainder_test_data): Likewise.
952 (sqrt_test_data): Likewise.
954 2015-06-23 Torvald Riegel <triegel@redhat.com>
957 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
958 atomic_read_barrier, atomic_write_barrier): Define.
959 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
960 atomic_read_barrier, atomic_write_barrier): Define.
962 2015-06-23 Joseph Myers <joseph@codesourcery.com>
964 * math/Makefile [$(PERL) != no]
965 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
966 dependency on libm-test.stmp below the inclusion of Rules.
968 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
970 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
971 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
973 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
974 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
975 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
976 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
977 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
978 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
979 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
980 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
981 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
982 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
983 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
984 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
985 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
986 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
987 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
988 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
989 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
990 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
991 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
993 2015-06-23 Joseph Myers <joseph@codesourcery.com>
996 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
997 intermediate but not final result might underflow.
998 * math/s_csqrtf.c (__csqrtf): Likewise.
999 * math/s_csqrtl.c (__csqrtl): Likewise.
1000 * math/auto-libm-test-in: Add more tests of csqrt.
1001 * math/auto-libm-test-out: Regenerated.
1002 * sysdeps/i386/fpu/libm-test-ulps: Update.
1005 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1006 threshold on absolute value of exponent for which scaling is used.
1007 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1008 * math/auto-libm-test-in: Add more tests of exp2.
1009 * math/auto-libm-test-out: Regenerated.
1011 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
1014 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1015 when initializing interface list, based on the bug analysis
1016 and the patch proposed by Eric Newton.
1017 * resolv/tst-res_hconf_reorder.c: New test.
1018 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1019 tst-res_hconf_reorder.
1020 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1021 and $(shared-thread-library).
1022 (tst-res_hconf_reorder-ENV): New variable.
1024 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1027 2015-06-22 Joseph Myers <joseph@codesourcery.com>
1030 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1031 (__expm1): Force underflow exception for arguments with small
1033 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1034 (__expm1f): Force underflow exception for arguments with small
1036 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1037 (__expm1): Force underflow exception for arguments with small
1039 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1040 (__expm1f): Force underflow exception for arguments with small
1042 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1043 Check for small arguments before calling __expm1.
1044 * math/auto-libm-test-in: Do not mark underflow exceptions as
1045 possibly missing for bug 16353.
1046 * math/auto-libm-test-out: Regenerated.
1048 2015-06-22 Andreas Schwab <schwab@suse.de>
1051 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1054 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
1056 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1058 * string/strcoll_l.c: Remove unused struct element idxnow.
1060 2015-06-21 Joseph Myers <joseph@codesourcery.com>
1063 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1064 underflow and return argument in case of subnormal argument.
1065 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1067 * math/auto-libm-test-in: Add more tests of expm1.
1068 * math/auto-libm-test-out: Regenerated.
1071 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1072 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1074 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1075 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1077 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
1078 mark underflow exceptions as possibly missing for bug 16361.
1079 * math/auto-libm-test-out: Regenerated.
1081 2015-06-19 Joseph Myers <joseph@codesourcery.com>
1083 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1084 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1086 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1087 (test-xfail-XOPEN2K8/utmpx.h/conform).
1089 * conform/conformtest.pl ($xerrors): New variable.
1090 (note_error): New function.
1091 (compiletest): New argument $xfail. Use not_error.
1092 (runtest): Likewise.
1093 (top level): Handle xfail- lines. Update calls to compiletest and
1094 runtest. Handle xfail- and optional- in headers listed with
1096 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1098 (O_SEARCH): Likewise.
1099 * conform/data/stropts.h-data (ioctl): Likewise.
1100 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1101 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1102 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1103 (msghdr.msg_controllen): Likewise.
1104 (cmsghdr.cmsg_len): Likewise.
1105 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1106 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1108 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1109 (test-xfail-XPG4/stropts.h/conform): Likewise.
1110 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1111 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1112 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1113 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1114 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1115 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1116 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1117 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1118 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1119 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1120 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1121 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1122 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1123 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1124 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1125 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1126 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1127 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1128 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1130 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
1132 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1133 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1134 definitions for proper unfolding of __MATHDECL_VEC.
1136 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1138 * benchtests/bench-strcoll.c:
1140 (main): Remove unused variable res.
1142 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1144 * timezone/Makefile (%/UTC %/Universal):
1145 Generate test-result files for UTC and Universal.
1147 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1149 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1151 2015-06-18 Joseph Myers <joseph@codesourcery.com>
1154 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1155 for arguments with small absolute value.
1156 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1157 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1158 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1159 (__asinh): Force underflow exception for arguments with small
1161 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1162 (__asinhf): Force underflow exception for arguments with small
1164 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1165 (__asinhl): Force underflow exception for arguments with small
1167 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1168 (__asinhl): Force underflow exception for arguments with small
1170 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1171 (__asinhl): Force underflow exception for arguments with small
1173 * math/auto-libm-test-in: Do not mark underflow exceptions as
1174 possibly missing for bug 16350.
1175 * math/auto-libm-test-out: Regenerated.
1177 * include/bits/ipc.h: Remove file.
1178 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1180 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1181 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1182 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1183 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1184 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1185 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1186 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1187 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1188 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1190 * math/auto-libm-test-in: Remove spurious underflow allowance for
1192 * math/auto-libm-test-out: Regenerated.
1195 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1196 unconditional definition.
1197 (MCAST_BLOCK_SOURCE): Likewise.
1198 (MCAST_UNBLOCK_SOURCE): Likewise.
1199 (MCAST_LEAVE_GROUP): Likewise.
1200 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1201 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1202 (MCAST_MSFILTER): Likewise.
1203 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1205 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1206 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1207 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1208 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1209 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1211 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
1213 * NEWS: Mention addition of x86_64 vector sincosf.
1214 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1215 * math/test-float-vlen4.h: Likewise.
1216 * math/test-float-vlen8.h: Likewise.
1217 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1218 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1219 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1220 * sysdeps/x86_64/fpu/Versions: New versions added.
1221 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1222 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1223 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1224 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1225 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1226 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1227 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1228 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1229 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1230 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1231 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1232 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1233 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1234 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1235 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1236 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1237 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1238 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1239 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1240 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1241 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1242 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1243 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1244 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1246 * NEWS: Mention addition of x86_64 vector sincos.
1247 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1248 * math/math.h (__MATHDECL_VEC): New macro.
1249 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1250 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1251 declaration under condition.
1252 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1253 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1254 TEST_VEC_LOOP change.
1255 * math/test-double-vlen4.h: Likewise.
1256 * math/test-double-vlen8.h: Likewise.
1257 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1258 * math/test-float-vlen4.h: Likewise.
1259 * math/test-float-vlen8.h: Likewise.
1260 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1261 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1262 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1263 * sysdeps/x86_64/fpu/Versions: New versions added.
1264 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1265 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1266 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1267 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1268 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1269 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1270 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1271 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1272 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1273 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1274 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1275 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1276 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1277 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1278 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1279 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1280 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1281 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1282 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1283 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1284 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1285 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1286 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1287 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1289 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1290 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1291 redirections for powf.
1292 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1293 * sysdeps/x86_64/fpu/Versions: New versions added.
1294 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1295 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1296 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1297 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1298 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1299 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1300 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1301 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1302 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1303 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1304 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1305 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1306 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1307 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1308 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1309 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1310 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1311 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1312 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1313 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1314 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1315 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1316 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1317 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1318 * math/test-float-vlen16.h: Fixed 2 argument macro.
1319 * math/test-float-vlen4.h: Likewise.
1320 * math/test-float-vlen8.h: Likewise.
1321 * NEWS: Mention addition of x86_64 vector powf.
1323 2015-06-17 Joseph Myers <joseph@codesourcery.com>
1325 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1327 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1329 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1330 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1331 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1334 * resource/getpriority.c (getpriority): Rename to __getpriority
1335 and define as weak alias of __getpriority.
1336 * resource/setpriority.c (setpriority): Rename to __setpriority
1337 and define as weak alias of __setpriority.
1338 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1339 __getpriority and define as weak alias of __getpriority.
1340 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1341 __setpriority and define as weak alias of __setpriority.
1342 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1344 (setpriority): Use __setpriority as strong name.
1345 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1346 __getpriority and define as weak alias of __getpriority.
1347 * include/sys/resource.h (__getpriority): Declare. Use
1349 (__setpriority): Likewise.
1350 (getpriority): Don't use libc_hidden_proto.
1351 (setpriority): Likewise.
1352 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1353 getpriority. Call __setpriority instead of setpriority.
1354 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1358 * misc/getttyent.c (getttynam): Rename to __getttynam and define
1359 as weak alias of __getttynam. Use prototype function definition.
1360 Call __setttyent, __getttyent and __endttyent instead of
1361 setttyent, getttyent and endttyent.
1362 (getttyent): Rename to __getttyent and define as weak alias of
1363 __getttyent. Call __setttyent instead of setttyent. Call
1364 __fgets_unlocked instead of fgets_unlocked.
1365 (setttyent): Rename to __setttyent and define as weak alias of
1367 (endttyent): Rename to __endttyent and define as weak alias of
1369 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
1370 (__setttyent): Likewise.
1371 (__endttyent): Likewise.
1372 (getttyent): Don't use libc_hidden_proto.
1373 (setttyent): Likewise.
1374 (endttyent): Likewise.
1375 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1376 __endttyent instead of setttyent, getttyent and endttyent.
1377 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1381 * socket/recv.c (__recv): Use libc_hidden_def.
1382 * socket/socket.c (__socket): Likewise.
1383 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1384 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1385 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1386 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1387 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1389 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1391 * include/sys/socket.h (__socket): Do not use attribute_hidden.
1392 Use libc_hidden_proto.
1394 * socket/Versions (libc): Export __recv and __socket at version
1396 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1398 (init_mq_netlink): Call __socket instead of socket.
1399 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1403 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1404 __mq_timedreceive and define as alias of __mq_timedreceive. Use
1406 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1407 define as alias of __mq_timedsend. Use hidden_weak.
1408 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1409 __mq_timedsend as strong name.
1410 (mq_timedreceive): Use __mq_timedreceive as strong name.
1411 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
1412 (__mq_timedreceive): Likewise.
1413 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1414 __mq_timedreceive instead of mq_timedreceive.
1415 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1416 instead of mq_timedsend.
1417 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1420 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1421 hidden_def and hidden_weak instead of libc_hidden_def and
1423 (top level): Refer to hidden_def in comment.
1424 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1425 macro. Use it instead of libc_hidden_def.
1426 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1427 specify __GI_* name explicitly.
1428 (mq_timedreceive): Likewise.
1429 (mq_setattr): Likewise.
1432 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1433 __pthread_barrier_init and define as weak alias of
1434 __pthread_barrier_init.
1435 * sysdeps/sparc/nptl/pthread_barrier_init.c
1436 (pthread_barrier_init): Likewise.
1437 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1438 __pthread_barrier_wait and define as weak alias of
1439 __pthread_barrier_wait.
1440 * sysdeps/sparc/nptl/pthread_barrier_wait.c
1441 (pthread_barrier_wait): Likewise.
1442 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1443 (pthread_barrier_wait): Likewise.
1444 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1445 (pthread_barrier_wait): Likewise.
1446 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1447 (pthread_barrier_wait): Likewise.
1448 * nptl/Versions (libpthread): Export __pthread_barrier_init and
1449 __pthread_barrier_wait at version GLIBC_PRIVATE.
1450 * include/pthread.h (__pthread_barrier_init): Declare.
1451 (__pthread_barrier_wait): Likewise.
1452 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1453 Call __pthread_barrier_wait instead of pthread_barrier_wait.
1454 (helper_thread): Likewise.
1455 (init_mq_netlink): Call __pthread_barrier_init instead of
1456 pthread_barrier_init.
1459 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1460 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1461 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
1462 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1464 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1468 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1469 strong alias of _IO_fflush. Use libc_hidden_def.
1470 * libio/iofflush_u.c (fflush_unlocked): Rename to
1471 __fflush_unlocked and define as weak alias of __fflush_unlocked.
1472 Use libc_hidden_weak.
1473 * include/stdio.h (__fflush_unlocked): Declare. Use
1475 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1477 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1481 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1482 define as weak alias of __addseverity.
1483 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1485 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1486 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1487 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1490 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1491 (__tfind): Likewise.
1492 (__tdelete): Likewise.
1493 (__twalk): Likewise.
1494 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1495 __twalk to GLIBC_PRIVATE.
1496 * include/search.h (__tsearch): Use libc_hidden_proto.
1497 (__tfind): Likewise.
1498 (__tdelete): Likewise.
1499 (__twalk): Likewise.
1500 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1501 Call __tdelete instead of tdelete.
1502 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1503 tfind. Call __tsearch instead of tsearch.
1504 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1505 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1507 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1510 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1511 (dprintf): Define as a weak alias of __dprintf, not a strong
1513 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
1514 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1516 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1518 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1519 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1522 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1524 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1528 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1529 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
1530 (in6addr_loopback): Rename to __in6addr_loopback and define as
1531 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
1532 * include/netinet/in.h (__in6addr_loopback): Declare. Use
1534 (__in6addr_any): Likewise.
1535 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1537 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1539 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1541 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
1543 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1544 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1545 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1546 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1547 redirections for pow.
1548 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1549 * sysdeps/x86_64/fpu/Versions: New versions added.
1550 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1551 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1552 build of SSE, AVX2 and AVX512 IFUNC versions.
1553 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1554 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1555 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1556 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1557 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1558 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1559 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1560 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1561 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1562 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1563 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1564 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1565 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1566 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1567 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1568 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1569 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1570 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1571 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1572 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1573 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1574 * NEWS: Mention addition of x86_64 vector pow.
1576 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1577 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1578 redirections for expf.
1579 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1580 * sysdeps/x86_64/fpu/Versions: New versions added.
1581 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1582 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1583 build of SSE, AVX2 and AVX512 IFUNC versions.
1584 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1585 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1586 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1587 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1588 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1589 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1590 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1591 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1592 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1593 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1594 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1595 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1596 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1597 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1598 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1599 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1600 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1601 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1602 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1603 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1604 * NEWS: Mention addition of x86_64 vector expf.
1606 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1607 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1608 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1609 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1610 redirections for exp.
1611 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1612 * sysdeps/x86_64/fpu/Versions: New versions added.
1613 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1614 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1615 build of SSE, AVX2 and AVX512 IFUNC versions.
1616 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1617 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1618 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1619 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1620 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1621 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1622 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1623 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1624 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1625 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1626 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1627 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1628 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1629 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1630 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1631 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1632 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1633 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1634 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1635 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1636 * NEWS: Mention addition of x86_64 vector exp.
1638 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1639 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1640 redirections for logf.
1641 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1642 * sysdeps/x86_64/fpu/Versions: New versions added.
1643 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1644 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1645 build of SSE, AVX2 and AVX512 IFUNC versions.
1646 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1647 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1648 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1649 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1650 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1651 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1652 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1653 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1654 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1655 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1656 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1657 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1658 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1659 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1660 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1661 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1662 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1663 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1664 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1665 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1666 * NEWS: Mention addition of x86_64 vector logf.
1668 * bits/libm-simd-decl-stubs.h: Added stubs for log.
1669 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1670 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1671 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1672 redirections for log.
1673 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1674 * sysdeps/x86_64/fpu/Versions: New versions added.
1675 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1676 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1677 build of SSE, AVX2 and AVX512 IFUNC versions.
1678 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1679 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1680 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1681 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1682 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1683 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1684 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1685 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1686 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1687 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1688 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1689 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1690 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1692 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1693 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1694 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1695 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1696 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1697 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1698 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1699 * NEWS: Mention addition of x86_64 vector log.
1701 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
1703 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1704 cfi_adjust_cfa_offset argument.
1705 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1706 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1709 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1710 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1711 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1712 ordering using ldar.
1713 (_dl_tlsdesc_dynamic): Likewise.
1714 (_dl_tlsdesc_return_lazy): Likewise.
1715 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1716 relaxed atomics instead of volatile and synchronize with release store.
1717 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1719 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1721 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
1723 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1724 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1725 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1726 * sysdeps/x86_64/fpu/Versions: New versions added.
1727 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1728 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1729 build of SSE, AVX2 and AVX512 IFUNC versions.
1730 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1731 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1732 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1733 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1734 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1735 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1736 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1737 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1738 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1739 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1740 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1741 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1742 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1743 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1744 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1745 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1746 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1747 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1748 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1749 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1750 * NEWS: Mention addition of x86_64 vector sinf.
1752 2015-06-14 Joseph Myers <joseph@codesourcery.com>
1754 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1755 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1756 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1758 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1759 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1761 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1764 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1765 strong alias of _IO_fputs. Use libc_hidden_def.
1766 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1767 and define as weak alias of __fputs_unlocked. Use
1769 * include/stdio.h (__fputs_unlocked): Declare. Use
1771 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1775 * resolv/netdb.h [__USE_POSIX]: Change condition to
1777 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1779 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1780 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1781 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1782 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1783 [XPG4 || UNIX98] (AI_ALL): Likewise.
1784 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1785 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1786 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1787 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1788 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1789 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1790 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1791 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1792 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1793 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1794 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1795 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1796 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1797 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1798 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1799 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1800 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1801 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1802 [XPG4 || UNIX98] (gai_strerror): Likewise.
1803 [XPG4 || UNIX98] (getaddrinfo): Likewise.
1804 [XPG4 || UNIX98] (getnameinfo): Likewise.
1807 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1808 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1810 (getgrent): Likewise.
1811 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1813 [XPG3 || POSIX2008] (endgrent): Likewise.
1814 [XPG3] (setgrent): Likewise.
1815 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1817 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1820 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1821 define as weak alias of __getlogin_r. Use libc_hidden_weak.
1822 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1823 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1824 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1825 * include/unistd.h (__getlogin_r): Declare. Use
1827 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1828 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1830 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1831 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1832 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1834 2015-06-12 Martin Sebor <msebor@redhat.com>
1837 * Makerules (check-install-supported): New target.
1838 (install): Add check-install-supported as a dependency.
1839 * manual/install.texi (Installing the C Library): Document
1840 that overriding prefix and exec_prefix is not supported.
1842 * INSTALL: Regenerate from the above.
1844 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1847 * posix/Versions (libc): Export __libc_pread at version
1849 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1851 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1856 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1857 (cvt_symbol): Use weak_alias instead of strong_alias.
1858 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1859 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1861 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1862 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1865 * inet/herrno.c (h_errno): Rename to __h_errno.
1866 (__libc_h_errno): Define as alias of __h_errno not h_errno.
1867 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1868 to __h_errno instead of h_errno.
1869 * nptl/herrno.c (h_errno): Rename to __h_errno.
1870 (__h_errno_location): Refer to __h_errno not h_errno.
1871 * resolv/Versions (h_errno): Rename to __h_errno.
1872 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1874 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1876 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
1878 * configure.ac: More strict check for AVX512 assembler support.
1879 * configure: Regenerated.
1881 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1882 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1883 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1884 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1885 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1886 * sysdeps/x86_64/fpu/Versions: New versions added.
1887 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1888 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1889 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1890 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1891 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1892 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1893 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1894 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1895 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1896 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1897 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1898 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1899 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1900 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1901 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1902 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1904 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1905 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1906 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1907 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1908 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1909 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1910 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1911 * NEWS: Mention addition of x86_64 vector sin.
1913 2015-06-11 Florian Weimer <fweimer@redhat.com>
1915 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1918 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1921 * nptl/pt-interp.c: New file.
1922 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1924 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1925 $(common-objpfx)runtime-linker.h.
1927 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
1929 * Makeconfig (+interp): Remove unused variable.
1930 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1931 only. Depend on $(common-objpfx)runtime-linker.h instead of
1932 $(elf-objpfx)runtime-linker.h.
1933 ($(elf-objpfx)runtime-linker.h): Rename to
1934 $(common-objpfx)runtime-linker.h and move ...
1935 * Makerules [$(build-shared) = yes]: ... here.
1936 * elf/interp.c: Include <runtime-linker.h> instead of
1937 <elf/runtime-linker.h>.
1939 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1941 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1942 (__gettimeofday_syscall): Remove vsyscall fallback.
1943 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1944 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1945 Add syscall fallback function.
1946 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1947 if vDSO is not present.
1948 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1950 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1952 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1953 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1955 2015-06-09 Joseph Myers <joseph@codesourcery.com>
1958 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1960 (wcscmp): Define as weak alias of WCSCMP.
1961 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1963 (USE_HIDDEN_DEF): Define.
1964 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1965 __wcscoll. Don't use libc_hidden_weak.
1966 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1968 * sysdeps/i386/i686/multiarch/wcscmp-c.c
1969 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1971 (weak_alias): Undefine and redefine.
1972 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1973 __wcscmp and define as weak alias of __wcscmp.
1974 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1975 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
1976 (__wcscoll): Likewise.
1977 (wcscmp): Don't use libc_hidden_proto.
1978 (wcscoll): Likewise.
1979 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1981 * posix/regexec.c (check_node_accept_bytes): Likewise.
1982 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1984 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1985 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1988 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1989 __fstatvfs and define as weak alias of __fstatvfs. Use
1991 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1992 and define as weak alias of __statvfs. Use libc_hidden_weak.
1993 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1994 Define as alias of __fstatvfs, not fstatvfs.
1995 (fstatvfs64): Likewise.
1996 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1997 Define as alias of __statvfs, not statvfs.
1998 (statvfs64): Likewise.
1999 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2002 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2005 (HAVE_GETCPU_VSYSCALL): Define.
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2007 (HAVE_GETCPU_VSYSCALL): Likewise.
2008 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2009 * sysdeps/unix/sysv/linux/sched_getcpu.c
2010 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2011 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2012 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2014 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2015 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2016 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2019 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2020 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2021 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2022 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2024 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
2026 * sysdeps/x86_64/fpu/Makefile: New file.
2027 * sysdeps/x86_64/fpu/Versions: New file.
2028 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2029 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2030 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2031 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2032 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2033 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2034 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2035 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2036 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2037 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2038 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2039 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2040 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2041 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2042 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2043 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2044 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2045 * sysdeps/x86_64/configure.ac: Options for libmvec build.
2046 * sysdeps/x86_64/configure: Regenerated.
2047 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2048 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2049 * manual/install.texi (Configuring and compiling): Document
2051 * INSTALL: Regenerated.
2052 * NEWS: Mention addition of libmvec and x86_64 vector cos.
2054 * math/Makefile: Added rules for vector tests.
2055 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2056 declaration under condition.
2057 * math/test-double-vlen2.h: New file.
2058 * math/test-double-vlen4.h: New file.
2059 * math/test-double-vlen8.h: New file.
2060 * math/test-vec-loop.h: Added initialization macro.
2061 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2062 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2063 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2064 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2065 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2066 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2067 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2068 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2069 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2070 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2071 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2073 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2074 * sysdeps/x86_64/fpu/Versions: New versions added.
2075 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2076 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2077 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2078 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2079 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2080 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2081 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2082 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2083 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2084 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2085 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2086 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2087 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2088 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2089 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2090 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2091 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2092 * NEWS: Mention addition of x86_64 vector cosf.
2094 * math/Makefile: Added CFLAGS for new tests.
2095 * math/test-float-vlen16.h: New file.
2096 * math/test-float-vlen4.h: New file.
2097 * math/test-float-vlen8.h: New file.
2098 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2099 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2100 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2101 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2102 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2103 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2104 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2105 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2106 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2107 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2108 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2110 2015-06-09 Marko Myllynen <myllynen@redhat.com>
2112 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2113 * locale/programs/ld-ctype.c: Likewise.
2115 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
2117 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2118 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2119 bit_ZMM16_31_state): New macro.
2120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2121 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2123 2015-06-08 Joseph Myers <joseph@codesourcery.com>
2125 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2127 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
2129 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2131 2015-06-05 Joseph Myers <joseph@codesourcery.com>
2134 * libio/memstream.c (open_memstream): Rename to __open_memstream
2135 and define as weak alias of __open_memstream.
2136 * include/stdio.h (__open_memstream): Declare. Use
2138 (open_memstream): Don't use libc_hidden_proto.
2139 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2141 * posix/getopt.c (_getopt_internal_r): Likewise.
2142 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2144 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2145 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2146 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2149 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2153 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2154 [__USE_XOPEN2K8]. Remove redundant #endif.
2155 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2156 Remove redundant #if.
2157 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2159 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2160 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2163 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2164 (__iswlower): Likewise.
2165 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
2166 (__iswlower): Likewise.
2167 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2168 instead of towlower.
2169 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2170 instead of iswlower. Call __towupper instead of towupper.
2171 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2172 instead of iswalnum.
2174 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2176 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2179 2015-06-05 Florian Weimer <fweimer@redhat.com>
2183 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2184 Check for overflow properly. Check for O_APPEND. Ignore large
2185 file system block sizes. Add comments about problems.
2186 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2187 * manual/filesys.texi (Storage Allocation): New node.
2189 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2191 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2192 cancellable syscalls.
2193 (SYS_ify): Add guard to no redefine it.
2194 (INLINE_SYSCALL): Likewise.
2195 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2196 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2197 SYSCALL_CANCEL instead.
2198 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2199 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2200 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2201 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2202 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2203 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2204 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2205 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2206 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2207 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2208 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2209 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2210 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2211 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2212 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2213 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2215 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2216 (__libc_pread64): Likewise.
2217 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2218 (__libc_preadv): Likewise.
2219 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2220 (__libc_readv64): Likewise.
2221 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2222 (__libc_pwrite): Likewise.
2223 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2224 (__libc_pwrite64): Likewise.
2225 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2226 (__libc_pwritev): Likewise.
2227 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2228 (__libc_pwritev64): Likewise.
2229 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2230 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2231 (sync_file_range): Likewise.
2232 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2234 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2236 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2237 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2238 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2239 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2240 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2241 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2242 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2243 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2247 (__libc_read64): Likewise.
2248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2257 (__libc_pread64): Likewise.
2258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2261 (__libc_pwrite64): Likewise.
2262 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2263 (sync_file_range): Likewise.
2264 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2265 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2266 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2267 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2268 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2269 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2270 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2271 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2272 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2273 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2274 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2275 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2276 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2277 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2278 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2279 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2280 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2281 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2282 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2284 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2286 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2287 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2289 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2290 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2291 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2292 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2294 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2295 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2296 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2297 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2298 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2300 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
2302 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2304 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2305 Use VDSO routines for gettimeofday, clock_gettime if
2307 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2308 Declare VDSO symbols.
2309 * sysdeps/unix/sysv/linux/arm/sysdep.h:
2310 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2311 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2312 * sysdeps/unix/sysv/linux/arm/Versions: Add
2313 __vdso_clock_gettime.
2315 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2317 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2318 be an inline implementation regardless of library is built within.
2319 (open_not_cancel_2): Likewise.
2320 (__read_nocancel): Likewise.
2321 (__write_nocancel): Likewise.
2322 (openat_not_cancel): Likewise.
2323 (openat_not_cancel_3): Likewise.
2324 (openat64_not_cancel): Likewise.
2325 (openat64_not_cancel_3): Likewise.
2326 (__close_nocancel): Likewise.
2327 (pause_not_cancel): Likewise.
2328 (nanosleep_not_cancel): Likewise.
2329 (sigsuspend_not_cancel): Likewise.
2331 2015-06-04 Torvald Riegel <triegel@redhat.com>
2334 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2336 (__pthread_rwlock_rdlock_slow): Likewise.
2337 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2339 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2341 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2342 * nptl/tst-rwlock16.c: New file.
2343 * nptl/Makefile (tests): Add new test.
2345 2015-06-04 Torvald Riegel <triegel@redhat.com>
2348 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2349 missing wake-up of readers.
2350 * nptl/tst-rwlock15.c: New file.
2351 * nptl/Makefile (tests): Add new test.
2353 2015-06-03 Roland McGrath <roland@hack.frob.com>
2355 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2356 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2357 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2358 and __nacl_supply_interface_rtld.
2359 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2360 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2361 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2362 Add __nacl_supply_interface_rtld.
2363 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2365 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2367 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2369 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2370 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2372 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2374 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2375 __signbit* with standard C99 macros.
2376 * math/e_exp10l.c: Likewise.
2377 * math/e_exp2l.c: Likewise.
2378 * math/e_scalb.c: Likewise.
2379 * math/e_scalbf.c: Likewise.
2380 * math/e_scalbl.c: Likewise.
2381 * math/s_ldexp.c: Likewise.
2382 * math/s_ldexpf.c: Likewise.
2383 * math/s_ldexpl.c: Likewise.
2384 * math/w_atan2.c: Likewise.
2385 * math/w_atan2f.c: Likewise.
2386 * math/w_atan2l.c: Likewise.
2387 * math/w_cosh.c: Likewise.
2388 * math/w_coshf.c: Likewise.
2389 * math/w_coshl.c: Likewise.
2390 * math/w_exp10.c: Likewise.
2391 * math/w_exp10f.c: Likewise.
2392 * math/w_exp10l.c: Likewise.
2393 * math/w_exp2.c: Likewise.
2394 * math/w_exp2f.c: Likewise.
2395 * math/w_exp2l.c: Likewise.
2396 * math/w_fmod.c: Likewise.
2397 * math/w_fmodf.c: Likewise.
2398 * math/w_fmodl.c: Likewise.
2399 * math/w_hypot.c: Likewise.
2400 * math/w_hypotf.c: Likewise.
2401 * math/w_hypotl.c: Likewise.
2402 * math/w_jnl.c: Likewise.
2403 * math/w_lgamma.c: Likewise.
2404 * math/w_lgamma_r.c: Likewise.
2405 * math/w_lgammaf.c: Likewise.
2406 * math/w_lgammaf_r.c: Likewise.
2407 * math/w_lgammal.c: Likewise.
2408 * math/w_lgammal_r.c: Likewise.
2409 * math/w_pow.c: Likewise.
2410 * math/w_powf.c: Likewise.
2411 * math/w_powl.c: Likewise.
2412 * math/w_remainder.c: Likewise.
2413 * math/w_remainderf.c: Likewise.
2414 * math/w_remainderl.c: Likewise.
2415 * math/w_scalb.c: Likewise.
2416 * math/w_scalbf.c: Likewise.
2417 * math/w_scalbl.c: Likewise.
2418 * math/w_scalbln.c: Likewise.
2419 * math/w_scalblnf.c: Likewise.
2420 * math/w_scalblnl.c: Likewise.
2421 * math/w_sinh.c: Likewise.
2422 * math/w_sinhf.c: Likewise.
2423 * math/w_sinhl.c: Likewise.
2424 * math/w_tgamma.c: Likewise.
2425 * math/w_tgammaf.c: Likewise.
2426 * math/w_tgammal.c: Likewise.
2427 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2428 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2429 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2430 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2431 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2432 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2433 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2434 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2435 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2436 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2437 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2438 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2439 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2440 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2441 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2442 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2443 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2444 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2445 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2446 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2447 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2448 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2449 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2450 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2451 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2452 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2453 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2454 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2455 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2456 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2457 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2458 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2459 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2460 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2461 * stdio-common/printf_fp.c: Likewise.
2462 * stdio-common/printf_fphex.c: Likewise.
2463 * stdio-common/printf_size.c: Likewise.
2465 2015-06-03 Joseph Myers <joseph@codesourcery.com>
2468 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2470 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2472 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2473 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2474 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2475 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2476 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2477 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2478 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2479 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2480 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2481 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2484 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2485 weak alias of __wmemchr. Use libc_hidden_weak.
2486 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
2487 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2490 2015-06-02 Roland McGrath <roland@hack.frob.com>
2493 * elf/tst-tlsalign-extern.c: New file.
2494 * elf/tst-tlsalign-extern-static.c: New file.
2495 * elf/tst-tlsalign-vars.c: New file.
2496 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2497 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2498 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2499 ($(objpfx)tst-tlsalign-extern-static): Likewise.
2500 (test-xfail-tst-tlsalign-extern-static): New variable.
2502 2015-06-02 Joseph Myers <joseph@codesourcery.com>
2504 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2505 Use variable name _sc_err instead of err.
2506 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2508 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2509 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2510 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2511 (INLINE_SYSCALL): Likewise.
2513 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2514 * include/string.h (__strnlen): Use libc_hidden_proto.
2515 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2516 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2517 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2518 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2519 (libc_hidden_def): Undefine and redefine.
2520 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2521 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2523 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2525 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2528 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2529 weak alias of __towlower. Use libc_hidden_weak.
2530 (towupper): Rename to __towupper and define as weak alias of
2531 __towupper. Use libc_hidden_weak.
2532 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
2533 (__towupper): Likewise.
2534 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2535 __towlower instead of towlower.
2537 2015-06-02 Roland McGrath <roland@hack.frob.com>
2539 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2540 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2542 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2544 * sysdeps/aarch64/libm-test-ulps: Update.
2546 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2548 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2550 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2551 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2552 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2553 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2554 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2555 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2556 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2558 2015-06-01 Martin Sebor <msebor@redhat.com>
2561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2562 (__setcontext): Use extended four-operand version of mtsf whenever
2564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2565 (__novec_swapcontext): Likewise.
2567 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2569 * benchtests/scripts/compare_bench.py: New file.
2570 * benchtests/scripts/import_bench.py (mean): New function.
2571 (split_list): Likewise.
2572 (do_for_all_timings): Likewise.
2573 (compress_timings): Likewise.
2575 * benchtests/scripts/import_bench.py: New file.
2576 * benchtests/scripts/validate_benchout.py: Import import_bench
2577 instead of jsonschema.
2578 (validate_bench): Remove function.
2579 (main): Use import_bench.
2581 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
2583 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2584 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2586 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2590 2015-05-28 Roland McGrath <roland@hack.frob.com>
2592 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2593 set THREAD_SELF->tid to a magic value and futex-wake it.
2594 Pass its address to the thread_exit system call.
2595 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2597 * sysdeps/nacl/lowlevellock.h: New file.
2598 * sysdeps/nacl/lll_timedwait_tid.c: New file.
2600 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2601 Add TIMEOUT to current time, don't subtract it.
2603 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
2606 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2607 ($(objpfx)tst-audit2.out): Also depend on
2608 $(objpfx)tst-auditmod9b.so.
2609 * elf/tst-audit2.c: Include <dlfcn.h>.
2610 (calloc_called): New.
2611 (calloc): Allow to be called more than once.
2612 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2614 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
2616 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2617 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2619 2015-05-27 Marko Myllynen <myllynen@redhat.com>
2621 * stdlib/monetary.h: Fix comment.
2623 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
2625 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2626 Avoid using variables in #defines that might cause shadowing.
2627 (INTERNAL_VSYSCALL_CALL): Likewise.
2629 2015-05-26 Roland McGrath <roland@hack.frob.com>
2631 * sysdeps/nacl/lll_timedlock_wait.c: New file.
2633 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2634 * nptl/lll_timedlock_wait.c: ... to this new file.
2635 * nptl/Makefile (libpthread-routines): Add it.
2636 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2637 * nptl/lll_timedwait_tid.c: ... to this new file.
2638 * nptl/Makefile (libpthread-routines): Add it.
2639 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2640 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2641 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2642 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2643 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2644 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2645 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2646 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2647 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2648 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2650 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2652 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2653 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2654 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2655 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2656 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2657 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2658 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2659 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2660 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2661 * sysdeps/unix/sysv/linux/tile/sysdep.h
2662 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2663 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2664 using vDSO syscall macro.
2666 2015-05-26 Andriy Rysin <arysin@gmail.com>
2669 * uk_UA: Fix sorting order for Ukrainian locale
2671 2015-05-26 Marko Myllynen <myllynen@redhat.com>
2673 * stdlib/monetary.h: Fix comment.
2675 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
2678 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2679 st_mtim and st_ctim members.
2680 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2681 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2682 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2683 (struct stat64): Likewise.
2684 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2685 (struct stat64): Likewise.
2686 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2687 (struct stat64): Likewise.
2689 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2691 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2692 Define and include sysdep-vdso.h.
2693 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2695 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2697 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2698 Define with VDSO_SYMBOL and use PTR_MANGLE.
2699 (__vdso_clock_gettime): Likewise.
2700 (__vdso_clock_getres): Likewise.
2701 (_libc_vdso_platform_setup): Likewise.
2702 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2704 (_libc_vdso_platform_setup): Likewise.
2705 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2707 (__vdso_clock_gettime): Likewise.
2708 (__vdso_clock_getres): Likewise.
2709 (__vdso_get_tbfreq): Likewise.
2710 (__vdso_getcpu): Likewise.
2711 (__vdso_time): Likewise.
2712 (__vdso_sigtramp_rt64): Likewise.
2713 (__vdso_signtramp32): Likewise.
2714 (__vdso_sigtramp_rt32): Likewise.
2715 (_libc_vdso_platform_setup): Likewise.
2716 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2718 (__vdso_clock_gettime): Likewise.
2719 (__vdso_clock_getres): Likewise.
2720 (_libc_vdso_platform_setup): Likewise.
2721 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2723 (__vdso_clock_gettime): Likewise.
2724 (_libc_vdso_platform_setup): Likewise.
2725 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2727 (__vdso_getcpu): Likewise.
2728 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2729 Use VDSO_SYMBOL macro to define.
2730 (__vdso_clock_gettime): Likewise.
2731 (__vdso_clock_getres): Likewise.
2732 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2734 (__vdso_clock_gettime): Likewise.
2735 (__vdso_clock_getres): Likewise.
2736 (__vdso_get_tbfreq): Likewise.
2737 (__vdso_getcpu): Likewise.
2738 (__vdso_time): Likewise.
2739 (__vdso_sigtramp_rt64): Likewise.
2740 (__vdso_signtramp32): Likewise.
2741 (__vdso_sigtramp_rt32): Likewise.
2742 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2744 (__vdso_clock_gettime): Likewise.
2745 (__vdso_clock_getres): Likewise.
2746 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2748 (__vdso_clock_gettime): Likewise.
2749 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2751 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
2753 (INTERNAL_VSYSCALL): Likewise.
2754 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2756 (INTERNAL_VSYSCALL): Likewise.
2757 (INTERNAL_VSYSCALL_NCS): Likewise.
2758 (INTERNAL_VSYSCALL_CALL): New macro.
2759 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2760 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2762 (INTERNAL_VSYSCALL): Likewise.
2763 (INTERNAL_VSYSCALL_NCS): Likewise.
2764 (INTERNAL_VSYSCALL_CALL): New macro.
2765 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2767 (INLINE_VSYSCALL): Remove macro.
2768 (INTERNAL_VSYSCALL): Remove macro.
2769 (INTERNAL_VSYSCALL_NCS): Remove macro.
2770 (INTERNAL_VSYSCALL_CALL): New macro.
2771 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2772 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2773 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2774 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2775 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2777 (INLINE_VSYSCALL): Remove macro.
2778 (INTERNAL_VSYSCALL): Likewise.
2779 (INTERNAL_VSYSCALL_NCS): Likewise.
2780 (INTERNAL_VSYSCALL_CALL): New macro.
2781 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2782 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2783 PTR_DEMANGLE on vDSO pointer.
2784 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2785 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2787 (INTERNAL_SYSCALL): Likewise.
2788 (INTERNAL_VSYSCALL_NCS): Remove macro.
2789 (INTERNAL_VSYSCALL_CALL): New macro.
2790 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2792 (INTERNAL_VSYSCALL): Likewise.
2793 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2794 sysdep-vdso.h instead of libc-vdso.h.
2795 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2797 (INLINE_VSYSCALL): Likewise.
2798 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2799 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2801 (INLINE_VSYSCALL): Likewise.
2802 (INTERNAL_VSYSCALL): Likewise.
2803 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2804 * sysdeps/unix/sysv/linux/timespec_get.c
2805 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2806 (timespec_get): Use ANSI prototype.
2807 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2808 and definition for Linux.
2810 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
2812 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2813 * include/libc-symbols.h: libmvec_hidden_* macro series added.
2815 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
2818 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2819 for missing DT_PLTRELSZ.
2821 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
2823 Remove obsolete aliases that broke 'locale -a'
2825 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2826 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2827 breaking some applications that use 'locale -a' output.
2828 Change the encoding of this file from Latin-1 to ASCII to avoid
2829 other potential problems with people grepping this file.
2831 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2833 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2834 -fasynchronous-unwind-tables.
2835 (CFLAGS-sendto.c): Likewise.
2836 (CFLAGS-sendmsg.c): Likewise.
2837 (CFLAGS-connect.c): Likewise.
2838 (CFLAGS-recvmsg.c): Likewise.
2839 (CFLAGS-recvfrom.c): Likewise.
2840 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2841 (SOCKETCALL): New macro: non-cancellable socketcall.
2842 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2843 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2844 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2845 * sysdeps/unix/sysv/linux/accept.c: New file.
2846 * sysdeps/unix/sysv/linux/bind.c: Likewise.
2847 * sysdeps/unix/sysv/linux/connect.c: Likewise.
2848 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2849 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2850 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2851 * sysdeps/unix/sysv/linux/listen.c: Likewise.
2852 * sysdeps/unix/sysv/linux/recv.c: Likewise.
2853 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2854 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2855 * sysdeps/unix/sysv/linux/send.c: Likewise.
2856 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2857 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2858 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2859 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2860 * sysdeps/unix/sysv/linux/socket.c: Likewise.
2861 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2862 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2864 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2865 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2866 instead of __internal_xxx function.
2867 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2869 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2870 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2871 instead of __internal_xxx function.
2872 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2874 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2875 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2876 instead of __internal_xxx function.
2877 * sysdeps/unix/sysv/linux/accept.S: Remove file.
2878 * sysdeps/unix/sysv/linux/bind.S: Likewise.
2879 * sysdeps/unix/sysv/linux/connect.S: Likewise.
2880 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2881 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2882 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2883 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2884 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2885 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2886 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2887 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2888 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2889 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2890 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2891 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2892 * sysdeps/unix/sysv/linux/listen.S: Likewise.
2893 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2894 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2895 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2896 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2899 * sysdeps/unix/sysv/linux/recv.S: Likewise.
2900 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2901 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2902 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2903 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2904 * sysdeps/unix/sysv/linux/send.S: Likewise.
2905 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2906 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2907 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2908 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2909 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2910 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2911 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2912 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2913 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2914 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2915 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2916 socketcall is implemented in GLIBC.
2918 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2920 * soft-fp/fmadf4.c: Include <libc-internal.h>.
2921 (__fma): Ignore uninitialized warnings around packing.
2922 * soft-fp/fmasf4.c: Include <libc-internal.h>.
2923 (__fmaf): Ignore uninitialized warnings around packing.
2924 * soft-fp/fmatf4.c: Include <libc-internal.h>.
2925 (__fmal): Ignore uninitialized warnings around packing.
2927 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2928 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2929 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2930 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2932 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2933 switch statement into default case.
2934 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2936 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2937 a conditional in forcing "inexact".
2938 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2941 2015-05-22 Roland McGrath <roland@hack.frob.com>
2943 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2944 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2945 for each INTERNAL_SYSCALL use.
2947 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2950 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2951 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2955 * string/basename.c (basename): Rename to __basename and define as
2956 weak alias of __basename. Use libc_hidden_weak.
2957 * include/string.h (__basename): Declare. Use libc_hidden_proto.
2958 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2959 __basename instead of basename.
2960 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2962 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2964 2015-05-18 Florian Weimer <fweimer@redhat.com>
2966 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2967 (_IO_JUMPS_FILE_plus): New.
2968 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2969 _IO_CAST_FIELD_ACCESS.
2970 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2971 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2972 * libio/freopen.c (freopen): Likewise.
2973 * libio/freopen64.c (freopen64): Likewise.
2974 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2975 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2976 * libio/iofwide.c (_IO_fwide): Likewise.
2977 * libio/memstream.c (open_memstream): Likewise.
2978 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2979 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2980 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2982 2015-05-21 Joseph Myers <joseph@codesourcery.com>
2984 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2985 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2987 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2988 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2990 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2991 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2994 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2997 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2998 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3000 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3001 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3002 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3004 2015-05-21 Florian Weimer <fweimer@redhat.com>
3006 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3007 Adjust jump table label generation macros.
3009 2015-05-21 Florian Weimer <fweimer@redhat.com>
3011 * stdio-common/vfprintf.c (vfprintf): Move local variables
3012 args_malloced, specs, specs_malloced, and the code after
3013 do_positional to the printf_positional function.
3014 (printf_positional): New function.
3016 2015-05-21 Florian Weimer <fweimer@redhat.com>
3018 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3020 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3021 STEP4_TABLE, process_arg): Move macro definitions
3022 out of the vfprintf function. (Cosmetic change only.)
3024 2015-05-21 Carlos O'Donell <carlos@redhat.com>
3026 * benchtests/Makefile (stdio-common-bench): Define.
3027 (benchset): Add stdio-common-bench.
3028 * sprintf-inputs: New file.
3029 * sprintf-source.c: New file.
3031 2015-05-21 Andreas Schwab <schwab@suse.de>
3035 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3036 of struct __res_state.
3037 * resolv/res_send.c (__libc_res_nsend): Likewise.
3038 (get_nsaddr): New function.
3039 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3042 2015-05-20 Joseph Myers <joseph@codesourcery.com>
3044 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3045 -D_POSIX_C_SOURCE=199506L.
3047 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3049 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3050 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3051 Do not mention otherwise.
3052 [POSIX] (_XOPEN_VERSION): Do not expect.
3053 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3054 [POSIX] (_POSIX2_C_BIND): Likewise.
3055 [POSIX] (_POSIX2_VERSION): Likewise.
3056 [POSIX] (_XOPEN_XPG2): Likewise.
3057 [POSIX] (_XOPEN_XPG3): Likewise.
3058 [POSIX] (_XOPEN_XPG4): Likewise.
3059 [POSIX] (_XOPEN_UNIX): Likewise.
3060 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3061 [POSIX] (_POSIX_BARRIERS): Likewise.
3062 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3063 [POSIX] (_POSIX_CPUTIME): Likewise.
3064 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3065 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3066 [POSIX] (_POSIX_SHELL): Likewise.
3067 [POSIX] (_POSIX_SPAWN): Likewise.
3068 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3069 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3070 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3071 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3072 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3073 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3074 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3075 [POSIX] (_XBS5_LP64_OFF64): Likewise.
3076 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3077 [POSIX] (_POSIX_TIMEOUTS): Likewise.
3078 [POSIX] (_POSIX2_PBS): Likewise.
3079 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3080 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3081 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3082 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3083 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3084 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3085 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3086 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3087 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3088 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3089 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3090 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3091 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3092 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3093 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3094 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3095 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3096 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3097 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3098 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3099 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3100 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3101 [POSIX] (_SC_2_C_BIND): Likewise.
3102 [POSIX] (_SC_2_C_VERSION): Likewise.
3103 [POSIX] (_SC_2_PBS): Likewise.
3104 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3105 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3106 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3107 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3108 [POSIX] (_SC_2_PBS_TRACK): Likewise.
3109 [POSIX] (_SC_ATEXIT_MAX): Likewise.
3110 [POSIX] (_SC_BARRIERS): Likewise.
3111 [POSIX] (_SC_BASE): Likewise.
3112 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3113 [POSIX] (_SC_DEVICE_IO): Likewise.
3114 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3115 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3116 [POSIX] (_SC_FD_MGMT): Likewise.
3117 [POSIX] (_SC_FIFO): Likewise.
3118 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3119 [POSIX] (_SC_FILE_LOCKING): Likewise.
3120 [POSIX] (_SC_FILE_SYSTEM): Likewise.
3121 [POSIX] (_SC_IOV_MAX): Likewise.
3122 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3123 [POSIX] (_SC_NETWORKING): Likewise.
3124 [POSIX] (_SC_PAGE_SIZE): Likewise.
3125 [POSIX] (_SC_PASS_MAX): Likewise.
3126 [POSIX] (_SC_PIPE): Likewise.
3127 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3128 [POSIX] (_SC_REGEXP): Likewise.
3129 [POSIX] (_SC_SHELL): Likewise.
3130 [POSIX] (_SC_SIGNALS): Likewise.
3131 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3132 [POSIX] (_SC_SPIN_LOCKS): Likewise.
3133 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3134 [POSIX] (_SC_USER_GROUPS): Likewise.
3135 [POSIX] (_SC_USER_GROUPS_R): Likewise.
3136 [POSIX] (_SC_STREAMS): Likewise.
3137 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3138 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3139 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3140 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3141 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3142 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3143 [POSIX] (_PC_FILESIZEBITS): Likewise.
3144 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3145 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3146 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3147 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3148 [POSIX] (uid_t): Likewise.
3149 [POSIX] (gid_t): Likewise.
3150 [POSIX] (off_t): Likewise.
3151 [POSIX] (pid_t): Likewise.
3152 [POSIX] (cuserid): Allow.
3153 (_SC_2_CHAR_TERM): Require constant.
3154 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3155 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3158 2015-05-20 Roland McGrath <roland@hack.frob.com>
3160 * sysdeps/nacl/pthread-pids.h: New file.
3161 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3162 (create_thread): Use __nacl_get_tid to initialize PD->tid.
3164 * nptl/pthread-pids.h: New file.
3165 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3166 * nptl/nptl-init.c: Include <pthread-pids.h>.
3167 (__pthread_initialize_minimal_internal):
3168 Call __pthread_initialize_pids instead of set_tid_address syscall.
3170 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3171 * sysdeps/posix/usleep.c: ... here.
3173 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3175 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3176 call_pselect6 object.
3177 [$(subdir) = io]: Remove call_sync_file_range object.
3178 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3179 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3180 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3181 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3183 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
3185 * math/s_cproj.c: Add include "math_private.h".
3186 * math/s_cprojf.c: Likewise.
3187 * math/s_cprojl.c: Likewise.
3189 2015-05-19 Joseph Myers <joseph@codesourcery.com>
3192 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3193 high mantissa bit when testing whether P is a NaN.
3194 * math/libm-test.inc (remainder_test_data): Add more tests.
3195 (remquo_test_data): Likewise.
3198 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3199 below -32, return the argument, with underflow if subnormal.
3200 * math/auto-libm-test-in: Add more tests of atanh.
3201 * math/auto-libm-test-out: Regenerated.
3203 2015-05-19 Roland McGrath <roland@hack.frob.com>
3206 * nptl/tst-sem15.c: New file.
3207 * nptl/Makefile (tests): Add it.
3208 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3209 s/<</>>/ to fix typo in EOVERFLOW check.
3210 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3212 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3214 * manual/strings.texi (envz_remove): Fix typo in safety
3217 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
3218 Steve Ellcey <sellcey@imgtec.com>
3220 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3221 in order to avoid strict alias warnings.
3222 (iruserok_af): Ditto for ra.
3224 2015-05-19 James Lemke <jwlemke@codesourcery.com>
3228 (magicbyte): Convert to a function and avoid returning 0x01.
3229 (mem2mem_check): Avoid using a length byte equal to the magic byte.
3230 (mem2chunk_check): Fix unsigned comparisons to zero.
3231 Hoist defs of sz and magic.
3233 2015-05-19 Richard Henderson <rth@redhat.com>
3235 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3237 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3239 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3242 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3243 * malloc/arena.c (arena_lock): Check if arena is corrupt.
3244 (reused_arena): Find a non-corrupt arena.
3245 (heap_trim): Pass arena to unlink.
3246 * malloc/hooks.c (malloc_check_get_size): Pass arena to
3248 (top_check): Likewise.
3249 (free_check): Likewise.
3250 (realloc_check): Likewise.
3251 * malloc/malloc.c (malloc_printerr): Add arena argument.
3253 (munmap_chunk): Adjust.
3254 (ARENA_CORRUPTION_BIT): New macro.
3255 (arena_is_corrupt): Likewise.
3256 (set_arena_corrupt): Likewise.
3257 (sysmalloc): Use mmap if there are no usable arenas.
3258 (_int_malloc): Likewise.
3259 (__libc_malloc): Don't fail if arena_get returns NULL.
3260 (_mid_memalign): Likewise.
3261 (__libc_calloc): Likewise.
3262 (__libc_realloc): Adjust for additional argument to
3264 (_int_free): Likewise.
3265 (malloc_consolidate): Likewise.
3266 (_int_realloc): Likewise.
3267 (_int_memalign): Don't touch corrupt arenas.
3268 * malloc/tst-malloc-backtrace.c: New test case.
3270 * Makefile (summarize-tests): Fix return value on success.
3272 * manual/string.texi (Envz Functions): Add envz_remove.
3274 2015-05-18 Roland McGrath <roland@hack.frob.com>
3276 * sysdeps/posix/opendir.c: Include <stdbool.h>.
3277 (invalid_name): New function, broken out of ...
3278 (__opendirat): ... here. Call it.
3279 (need_isdir_precheck): New function, broken out of ...
3280 (__opendirat): ... here. Call it.
3281 Use __fxstatat64, not __xstatat64.
3282 (opendir_oflags): New function, broken out of ...
3283 (__opendirat): ... here. Call it.
3284 (opendir_tail): New function, broken out of ...
3285 (__opendirat): ... here. Call it.
3286 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3287 opendir_tail, rather than punting to __opendirat.
3288 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3290 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3292 * .gitignore: Ignore generated *.pyc.
3294 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
3296 * include/stdio.h: Define __need_wint_t.
3297 * test-skeleton.c: Avoid `for' loop initial declaration.
3298 * nptl/tst-initializers1.c: Use test-skeleton.c.
3300 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3303 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3305 2015-05-15 Joseph Myers <joseph@codesourcery.com>
3308 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3309 (__ieee754_atanh): Force underflow exception for results with
3310 small absolute value.
3311 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3312 (__ieee754_atanhf): Force underflow exception for results with
3313 small absolute value.
3314 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3315 (__ieee754_atanh): Force underflow exception for results with
3316 small absolute value.
3317 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3318 (__ieee754_atanhf): Force underflow exception for results with
3319 small absolute value.
3320 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3321 (__ieee754_atanhl): Force underflow exception for results with
3322 small absolute value.
3323 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3324 (__ieee754_atanhl): Force underflow exception for results with
3325 small absolute value.
3326 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3327 (__ieee754_atanhl): Force underflow exception for results with
3328 small absolute value.
3329 * math/auto-libm-test-in: Do not allow missing underflow
3330 exceptions from atanh.
3331 * math/auto-libm-test-out: Regenerated.
3334 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3335 2**-28 as threshold for returning x or +/- 1/x.
3336 * math/auto-libm-test-in: Add more tests of tan.
3337 * math/auto-libm-test-out: Regenerated.
3340 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3341 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3342 * math/auto-libm-test-in: Add another test of lgamma.
3343 * math/auto-libm-test-out: Regenerated.
3345 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
3347 * stdio-common/printf_fp.c (___printf_fp): Use abs.
3348 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
3349 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3350 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3351 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
3352 (ADD2A): Use fabs. (SUB2A): Use fabs.
3353 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3354 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3355 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3356 (log1): Use fabs. (my_log2): Use fabs.
3357 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3358 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3359 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3360 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3361 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3362 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
3363 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
3364 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
3365 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
3366 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3367 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3369 2015-05-15 Joseph Myers <joseph@codesourcery.com>
3372 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3373 as threshold for returning 1 - x.
3374 * math/auto-libm-test-in: Add more tests of erfc.
3375 * math/auto-libm-test-out: Regenerated.
3377 2015-05-14 Joseph Myers <joseph@codesourcery.com>
3380 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3381 threshold for large arguments.
3382 * math/auto-libm-test-in: Add another test of atan.
3383 * math/auto-libm-test-out: Regenerated.
3386 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3387 (__log1p): Force underflow exception for results with small
3389 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3390 (__log1pf): Force underflow exception for results with small
3392 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3393 (__log1p): Force underflow exception for results with small
3395 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3396 (__log1pf): Force underflow exception for results with small
3398 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3399 (__log1pl): Force underflow exception for results with small
3401 * math/auto-libm-test-in: Do not allow missing underflow
3402 exceptions from log1p.
3403 * math/auto-libm-test-out: Regenerated.
3405 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
3406 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3409 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3411 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
3413 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3414 (libmvec): New variable.
3415 * configure.ac: Added option for mathvec build.
3416 * configure: Regenerated.
3417 * mathvec/Depend: New file.
3418 * mathvec/Makefile: New file.
3419 * shlib-versions: Added libmvec.
3420 * math/Makefile: Added rule for libm.so installation.
3422 * bits/math-vector.h: New file.
3423 * bits/libm-simd-decl-stubs.h: New header.
3424 * math/Makefile (headers): Added new header
3425 libm-simd-decl-stubs.h.
3426 * math/math.h (__MATHCALL_VEC): New macro.
3428 * math/gen-libm-have-vector-test.sh: Script generates series of macros
3429 for conditions in testing functions.
3430 * math/Makefile: Added call of libm-have-vector-test.sh.
3431 * math/libm-test.inc (HAVE_VECTOR): New macros.
3433 * math/libm-test.inc: START refactored.
3434 * math/test-double.c (TEST_MATHVEC): Add define.
3435 * math/test-float.c: Likewise.
3436 * math/test-idouble.c: Likewise.
3437 * math/test-ifloat.c: Likewise.
3438 * math/test-ildoubl.c: Likewise.
3439 * math/test-ldouble.c: Likewise.
3440 * sysdeps/generic/math-tests-arch.h
3441 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3444 * math/test-double.c (FUNC_TEST): New macro.
3445 * math/test-float.c: Likewise.
3446 * math/test-idouble.c: Likewise.
3447 * math/test-ifloat.c: Likewise.
3448 * math/test-ildoubl.c: Likewise.
3449 * math/test-ldouble.c: Likewise.
3450 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3452 2015-05-13 Roland McGrath <roland@hack.frob.com>
3454 * sysdeps/nacl/fdopendir.c: New file.
3456 * dirent/scandir-tail.c: New file.
3457 * dirent/scandir64-tail.c: New file.
3458 * dirent/Makefile (routines): Add them.
3459 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3460 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3461 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3462 [!SCANDIR] (SCANDIR_TAIL): New macro.
3463 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3464 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3465 (SCANDIRAT): Macro removed.
3466 (SCANDIR_TAIL): New macro.
3467 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3468 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3469 (SCANDIRAT): Just call __opendirat and __scandir_tail.
3470 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3471 (READDIR): Macro removed.
3472 (SCANDIR_TAIL): New macro.
3473 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3474 (SCANDIR_TAIL): New macro.
3476 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3477 * dirent/scandir-cancel.c: ... to this new file.
3478 * dirent/Makefile (routines): Add it.
3479 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3480 * sysdeps/unix/sysv/linux/i386/scandir64.c
3481 (SKIP_SCANDIR_CANCEL): Macro removed.
3482 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3484 * dirent/tst-scandir.c: New file.
3485 * dirent/tst-scandir64.c: New file.
3486 * dirent/Makefile (tests): Add them.
3488 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
3491 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3493 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3495 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3498 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
3500 * benchtests/bench-strcoll.c: New benchmark.
3501 * benchtests/Makefile: Generate locales and run benchmark.
3502 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3503 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3504 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3505 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3506 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3507 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3508 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3509 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3510 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3511 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3512 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3513 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3514 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3515 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3516 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3517 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3518 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3519 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3520 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3521 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3522 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3523 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3524 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3525 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3527 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
3529 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3530 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3532 2015-05-12 Roland McGrath <roland@hack.frob.com>
3534 * posix/uname-values.h: New file.
3535 * posix/uname.c: Include that instead of <config-name.h>.
3536 * sysdeps/nacl/uname-values.h: New file.
3537 * sysdeps/arm/nacl/uname-values.h: New file.
3539 2015-05-12 Joseph Myers <joseph@codesourcery.com>
3541 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3542 splitting into fields.
3544 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
3546 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3547 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3548 * locale/localeinfo.h: Add enum collation_encoding_type.
3549 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3550 * programs/ld-collate.c (collate_output): Add encoding type info.
3551 * string/strcoll_l.c (STRDIFF): New function.
3552 * (STRCOLL): Use STRDIFF to skip over equal prefix.
3553 * wcsmbs/wcscoll_l.c: Define STRDIFF.
3555 2015-05-11 Joseph Myers <joseph@codesourcery.com>
3558 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3559 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
3560 <fpu_control.h> instead of <math/fpu_control.c>.
3561 * sysdeps/mips/mips32/fpu/Makefile: New file.
3563 2015-05-11 Andreas Schwab <schwab@suse.de>
3566 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3568 (_nss_compat_endgrent): Call nss_endgrent.
3569 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3571 (_nss_compat_endpwent): Call nss_endpwent.
3572 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3573 needent, call nss_setspent only if non-zero.
3574 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3575 (internal_endspent): Don't call nss_endspent.
3576 (_nss_compat_endspent): Call nss_endspent.
3577 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3578 Remove. All uses removed.
3579 (internal_setent): Remove parameter stayopen, add parameter
3580 stream. Use it instead of global variable.
3581 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3582 (internal_endent, internal_getent): Add parameter stream. Use it
3583 instead of global variable.
3584 (CONCAT(_nss_files_end,ENTNAME))
3585 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3586 (_nss_files_get##name##_r): Pass local stream. Remove locking.
3587 * nss/nss_files/files-alias.c (position, last_use): Remove. All
3589 (internal_setent, internal_endent): Add parameter stream. Use it
3590 instead of global variable.
3591 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3593 (get_next_alias): Add parameter stream.
3594 (_nss_files_getaliasent_r): Pass global stream.
3595 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
3596 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3597 (_nss_files_gethostbyname4_r): Pass local stream to
3598 internal_setent, internal_getent and internal_endent. Remove
3601 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3603 * tst-strfmon1.c (tests): Update expected currency symbol.
3605 2015-05-08 Roland McGrath <roland@hack.frob.com>
3607 * sysdeps/nacl/gethostname.c: New file.
3609 2015-05-08 Joseph Myers <joseph@codesourcery.com>
3611 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3613 * math/auto-libm-test-out: Regenerated.
3614 * sysdeps/i386/fpu/libm-test-ulps: Update.
3615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3617 2015-05-08 Carlos O'Donell <carlos@redhat.com>
3620 * stdlib/tst-setcontext3.c: New file.
3621 * stdlib/tst-setcontext3.sh: New file.
3622 * stdlib/Makefile (tests): Add tst-setcontext3.
3623 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3624 to verify test program created output file.
3625 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3626 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3627 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3628 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3630 2015-05-06 Roland McGrath <roland@hack.frob.com>
3633 * elf/tst-tlsalign.c: New file.
3634 * elf/tst-tlsalign-static.c: New file.
3635 * elf/tst-tlsalign-lib.c: New file.
3636 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3637 (tests-static): Add tst-tlsalign-static.
3638 (modules-names): Add tst-tlsalign-lib.
3639 (test-xfail-tst-tlsalign): New variable.
3640 (test-xfail-tst-tlsalign-static): New variable.
3642 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3643 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3645 2015-05-06 Joseph Myers <joseph@codesourcery.com>
3647 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3648 csqrt, erfc, sin and sincos.
3649 * math/auto-libm-test-out: Regenerated.
3650 * sysdeps/i386/fpu/libm-test-ulps: Update.
3651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3653 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3655 * sysdeps/aarch64/libm-test-ulps: Update.
3657 2015-05-05 Joseph Myers <joseph@codesourcery.com>
3659 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3660 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3661 * math/auto-libm-test-out: Regenerated.
3662 * sysdeps/i386/fpu/libm-test-ulps: Update.
3663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3665 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3668 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3669 (wcsncpy): Likewise.
3671 2015-05-05 Florian Weimer <fweimer@redhat.com>
3673 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3674 Assume __ASSUME_FALLOCATE is always true.
3675 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3676 (__posix_fallocate64_l64): Likweise.
3677 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3678 (posix_fallocate): Likewise.
3679 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3680 (__posix_fallocate64_l64): Likewise.
3681 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3682 [!__ASSUME_FALLOCATE]: Add comment.
3684 2015-05-05 Florian Weimer <fweimer@redhat.com>
3686 * sysdeps/unix/sysv/linux/i386/Makefile
3687 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3688 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3689 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3690 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3691 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3692 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3693 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3695 2015-05-02 Joseph Myers <joseph@codesourcery.com>
3697 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3698 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
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 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3706 * math/auto-libm-test-in: Add more tests of tgamma.
3707 * math/auto-libm-test-out: Regenerated.
3708 * sysdeps/i386/fpu/libm-test-ulps: Update.
3709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3711 * math/auto-libm-test-in: Add more tests of tanh.
3712 * math/auto-libm-test-out: Regenerated.
3713 * sysdeps/i386/fpu/libm-test-ulps: Update.
3714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3716 * math/auto-libm-test-in: Add more tests of tan.
3717 * math/auto-libm-test-out: Regenerated.
3718 * sysdeps/i386/fpu/libm-test-ulps: Update.
3719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3721 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3722 * math/auto-libm-test-out: Regenerated.
3723 * sysdeps/i386/fpu/libm-test-ulps: Update.
3724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3726 * math/auto-libm-test-in: Add another test of pow.
3727 * math/auto-libm-test-out: Regenerated.
3728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3730 * math/auto-libm-test-in: Add more tests of lgamma.
3731 * math/auto-libm-test-out: Regenerated.
3732 * sysdeps/i386/fpu/libm-test-ulps: Update.
3733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3735 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3737 * math/auto-libm-test-out: Regenerated.
3738 * sysdeps/i386/fpu/libm-test-ulps: Update.
3739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3741 2015-05-01 Mark Wielaard <mjw@redhat.com>
3743 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3744 Elf64_Chdr structs and ELFCOMPRESS constants.
3746 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3748 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3750 * math/auto-libm-test-out: Regenerated.
3751 * sysdeps/i386/fpu/libm-test-ulps: Update.
3752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3754 * math/auto-libm-test-in: Add more tests of erf and erfc.
3755 * math/auto-libm-test-out: Regenerated.
3756 * sysdeps/i386/fpu/libm-test-ulps: Update.
3757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3759 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
3761 * config.h.in (HAVE_AARCH64_BE): Add.
3763 2015-04-30 Joseph Myers <joseph@codesourcery.com>
3765 * math/auto-libm-test-in: Add more tests of csqrt.
3766 * math/auto-libm-test-out: Regenerated.
3767 * sysdeps/i386/fpu/libm-test-ulps: Update.
3768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3770 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3771 * math/auto-libm-test-out: Regenerated.
3772 * sysdeps/i386/fpu/libm-test-ulps: Update.
3773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3775 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3777 2015-04-29 Roland McGrath <roland@hack.frob.com>
3779 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3780 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3782 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3783 (euidaccess, eaccess): Define as weak aliases.
3785 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3786 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
3787 but __suseconds_t is often 'long int' so some sources assume that
3788 type is being used (e.g. they use %ld to print tv_usec).
3790 2015-04-29 Florian Weimer <fweimer@redhat.com>
3793 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3795 * nss/tst-nss-getpwent.c: New file.
3796 * nss/Makefile (tests): Add new test.
3798 2015-04-28 Joseph Myers <joseph@codesourcery.com>
3801 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3802 exponents less than 48 as cases where high part of mantissa needs
3803 examining to determine whether argument is integral.
3804 * math/libm-test.inc (round_test_data): Add more tests.
3806 2015-04-28 Mark Wielaard <mjw@redhat.com>
3808 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3810 2015-04-27 David S. Miller <davem@davemloft.net>
3812 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3814 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3816 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
3819 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3821 2015-04-27 Florian Weimer <fweimer@redhat.com>
3824 * time/tzset.c (parse_tzname): Return error on memory allocation
3826 * test-skeleton.c (struct temp_name_list): Change type of name
3827 member to non-const.
3828 (add_temp_file): Create a copy of the file name.
3829 (delete_temp_files): Deallocate memory.
3830 (create_temp_file): Add comment.
3832 2015-04-24 Florian Weimer <fweimer@redhat.com>
3834 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3835 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3837 2015-04-24 Roland McGrath <roland@hack.frob.com>
3839 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3840 * sysdeps/arm/configure: Regenerated.
3842 2015-04-24 Florian Weimer <fweimer@redhat.com>
3845 * time/tzfile.c (__tzfile_read): Check for large values of
3846 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
3847 * time/tzset.c (__tzstring_len): New function, based on the old
3848 __tzstring function.
3849 (__tzstring): Call __tzstring_len.
3850 (parse_tzname): New helper function extracted from
3851 __tzset_parse_tz. Call __tzstring_len, without making a copy of
3853 (parse_offset): New helper function extracted from
3854 __tzset_parse_tz. Replace switch with fallthrough with
3855 initialization before sscanf.
3856 (parse_rule): Likewise.
3857 (__tzset_parse_tz): Rewrite using the new helper functions. Use
3858 new-style function definition.
3859 * timezone/Makefile (tests): Add tst-tzset.
3860 (tst-tzset.out): Dependencies on time zone files.
3861 (tst-tzset-ENV): Set TZDIR.
3862 (testdata/XT%): Copy crafted time zone files.
3863 * timezone/README: Mention crafted time zone files.
3864 * timezone/testdata/XT1, timezone/testdata/XT2,
3865 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3867 * timezone/tst-tzset.c: New test.
3869 2015-04-24 Florian Weimer <fweimer@redhat.com>
3871 * Makeconfig (+gccwarn): Remove -Winline.
3873 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3875 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3877 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3879 * NEWS: Mention sysconf() cache information support for s390.
3880 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3882 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
3884 * math/k_casinh.c (__kernel_casinh): Use __copysign.
3885 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3886 (__nearbyint): Likewise.
3887 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3888 (copysignl): Likewise.
3890 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
3893 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3894 based on padding. (CVE-2015-1781)
3896 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3898 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3900 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3901 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3902 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3903 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3904 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3905 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3906 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3907 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3908 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3909 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3910 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3911 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3912 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3913 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3914 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3915 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3916 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3917 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3918 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3919 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3920 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3921 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3922 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3924 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
3926 * stdlib/setenv.c (__add_to_environ):
3927 Dump core quickly if setenv (..., NULL, ...) is called.
3928 This time, do it the right way, and pacify GCC with a pragma.
3930 2015-04-17 Roland McGrath <roland@hack.frob.com>
3932 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3933 IMAP->l_prev cannot be null, and #if out the code for the contrary
3934 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3935 believe that NS (&_dl_ns[NSID]) could point outside the array.
3937 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3938 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3939 before using NSID as an index.
3941 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
3944 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3945 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3946 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3948 2015-04-17 Roland McGrath <roland@hack.frob.com>
3950 Add preliminary port to Google Native Client on ARM.
3951 * abi-tags (.*-.*-nacl.*): New entry.
3952 * sysdeps/arm/nacl: New directory.
3953 * sysdeps/nacl: New directory.
3955 2015-04-16 David S. Miller <davem@davemloft.net>
3957 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3958 lowlevellock-futex.h
3960 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
3962 * sysdeps/tile/configure.ac: New file.
3963 * sysdeps/tile/configure: Regenerated.
3965 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3967 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
3968 conditionals for weak_alias and libc_hidden_weak.
3969 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3970 libc_hidden_weak and weak_alias.
3971 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3972 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3973 and weak_alias for static one.
3975 2015-04-15 David S. Miller <davem@davemloft.net>
3977 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3979 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3982 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3983 Use signed comparision instead of substraction to avoid
3985 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3986 Take the sign of ret.
3987 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3988 Do not expect precise return values. Only the sign matters.
3989 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3990 * wcsmbs/test-wcsncmp.c: New File.
3991 * string/test-strncmp.c: Add wcsncmp support.
3993 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3996 * math/w_log1p.c: New file.
3997 * math/w_log1pf.c: Likewise.
3998 * math/w_log1pl.c: Likewise.
3999 * math/Makefile (libm-calls): Add w_log1p.
4000 * math/s_log1pl.c (log1pl): Remove weak_alias.
4001 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4002 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4003 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4004 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4005 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4006 [NO_LONG_DOUBLE] (log1pl): Likewise.
4007 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4008 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4009 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4010 (log1p): Remove long_double_symbol.
4011 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4012 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4013 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4014 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4015 remove weak_alias for corresponding log1p function.
4016 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4017 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4018 * sysdeps/ia64/fpu/w_log1p.c: New file.
4019 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4020 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4021 * math/libm-test.inc (log1p_test_data): Add errno expectations.
4023 2015-04-10 Joseph Myers <joseph@codesourcery.com>
4026 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4027 decimal exponent by 1.
4028 * stdlib/tst-strtod-round-data: Add more tests.
4029 * stdlib/tst-strtod-round.c (tests): Regenerated.
4031 2015-04-09 Joseph Myers <joseph@codesourcery.com>
4033 * math/auto-libm-test-in: Add more tests of clog and clog10.
4034 * math/auto-libm-test-out: Regenerated.
4035 * sysdeps/i386/fpu/libm-test-ulps: Update.
4036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4038 2015-04-09 Roland McGrath <roland@hack.frob.com>
4040 * Makeconfig (module-cppflags): Exclude all .v.i files.
4041 (skip-module-cppflags): Variable removed.
4043 * configure.ac (libc_config_ok): Initialize before reading
4044 preconfigure scripts, not after.
4045 * configure: Regenerated.
4047 * test-skeleton.c (TIMEOUT): Move #define to top level.
4048 (main): Grok environment variable TEST_DIRECT. If set, print
4049 test expectation details into that file and then behave as if
4052 2015-04-09 Florian Weimer <fweimer@redhat.com>
4054 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4057 2015-04-08 David S. Miller <davem@davemloft.net>
4059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4061 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4063 * math/auto-libm-test-in: Add more tests of atanh.
4064 * math/auto-libm-test-out: Regenerated.
4065 * sysdeps/i386/fpu/libm-test-ulps: Update.
4066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4068 * math/auto-libm-test-in: Add more tests of atan.
4069 * math/auto-libm-test-out: Regenerated.
4070 * sysdeps/i386/fpu/libm-test-ulps: Update.
4071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4073 2015-04-08 Florian Weimer <fweimer@redhat.com>
4075 * elf/pldd.c (main): Rewrite to use struct
4076 scratch_buffer instead of extend_alloca.
4077 * elf/pldd-xx.c (find_maps): Likewise.
4078 * grp/initgroups.c: Include <scratch_buffer.h> instead of
4080 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4081 scratch_buffer instead of extend_alloca.
4082 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4083 grp/compat-initgroups.c.
4084 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4085 Rewrite to use struct scratch_buffer instead of extend_alloca.
4086 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4087 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4089 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4091 * math/auto-libm-test-in: Add more tests of cbrt.
4092 * math/auto-libm-test-out: Regenerated.
4093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4095 * math/auto-libm-test-in: Add more tests of cabs.
4096 * math/auto-libm-test-out: Regenerated.
4097 * sysdeps/i386/fpu/libm-test-ulps: Update.
4098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4102 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4103 (__ieee754_atan2): Set FE_TONEAREST mode for internal
4105 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4107 * math/auto-libm-test-out: Regenerated.
4108 * sysdeps/i386/fpu/libm-test-ulps: Update.
4109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4112 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4113 (atan): Set FE_TONEAREST mode for internal computations.
4114 * math/auto-libm-test-in: Add more tests of atan.
4115 * math/auto-libm-test-out: Regenerated.
4117 2015-04-07 James Cowgill <james410@cowgill.org.uk>
4120 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4122 2015-04-07 Florian Weimer <fweimer@redhat.com>
4124 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4126 2015-04-07 Florian Weimer <fweimer@redhat.com>
4128 * include/scratch_buffer.h: New file.
4129 * malloc/scratch_buffer_grow.c: Likewise.
4130 * malloc/scratch_buffer_grow_preserve.c: Likewise.
4131 * malloc/scratch_buffer_set_array_size.c: Likewise.
4132 * malloc/tst-scratch_buffer.c: Likewise.
4133 * malloc/Makefile (routines): Add scratch_buffer_grow.
4134 (tests): Add test case.
4135 * malloc/Versions (GLIBC_PRIVATE): Export
4136 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4137 __libc_scratch_buffer_set_array_size.
4139 2015-04-06 Richard Henderson <rth@redhat.com>
4141 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4142 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4144 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4145 unsigned int before printing.
4147 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4150 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4151 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4153 2015-04-02 Florian Weimer <fweimer@redhat.com>
4155 * include/libc-internal.h (libc_max_align_t): Define.
4157 2015-04-02 Andreas Schwab <schwab@suse.de>
4160 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4162 2015-04-02 Mel Gorman <mgorman@suse.de>
4165 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4166 as well as the main arena.
4168 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4171 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4172 sharing L2 cache to 2 for Silvermont/Knights Landing.
4174 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4177 * config.make.in (have-protected-data): New.
4178 * configure.ac: Check linker support for protected data symbol.
4179 * configure: Regenerated.
4180 * elf/Makefile (modules-names): Add tst-protected1moda and
4181 tst-protected1modb if $(have-protected-data) is yes.
4182 (tests): Add tst-protected1a and tst-protected1b if
4183 $(have-protected-data) is yes.
4184 ($(objpfx)tst-protected1a): New.
4185 ($(objpfx)tst-protected1b): Likewise.
4186 (tst-protected1modb.so-no-z-defs): Likewise.
4187 * elf/tst-protected1a.c: New file.
4188 * elf/tst-protected1b.c: Likewise.
4189 * elf/tst-protected1mod.h: Likewise.
4190 * elf/tst-protected1moda.c: Likewise.
4191 * elf/tst-protected1modb.c: Likewise.
4193 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4196 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4197 indicates it is called from do_lookup_x on relocation against
4198 protected data, skip the data definion in the executable from
4200 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4201 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4202 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4203 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4204 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4206 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4207 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4208 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4209 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4210 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4211 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4213 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
4215 * sysdeps/nptl/pthread.h: Remove duplicate definition of
4216 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4218 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
4220 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4222 * sysdeps/x86_64/nptl/tls.h: Ditto.
4224 2015-03-27 Roland McGrath <roland@hack.frob.com>
4226 * dlfcn/tststatic.c (main): Converted to ...
4227 (do_test): ... this.
4228 (TEST_FUNCTION): New macro.
4229 Include test-skeleton.c.
4231 2015-03-26 Alan Modra <amodra@gmail.com>
4233 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4234 Don't segfault if ifunc resolver returns a NULL. Do set plt to
4235 zero for undefined weak.
4236 (elf_machine_plt_conflict): Similarly.
4238 2015-03-25 Joseph Myers <joseph@codesourcery.com>
4240 * math/auto-libm-test-in: Add more tests of acosh, asinh and
4242 * math/auto-libm-test-out: Regenerated.
4243 * sysdeps/i386/fpu/libm-test-ulps: Update.
4244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4246 * math/auto-libm-test-in: Add another test of asin.
4247 * math/auto-libm-test-out: Regenerated.
4248 * sysdeps/i386/fpu/libm-test-ulps: Update.
4249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4251 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4253 (LLL_EBX_REG): Likewise.
4254 (LLL_ENTER_KERNEL): Likewise.
4256 * math/auto-libm-test-in: Add more tests of asin.
4257 * math/auto-libm-test-out: Regenerated.
4258 * sysdeps/i386/fpu/libm-test-ulps: Update.
4259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4262 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4263 libc_do_syscall_args): New structure.
4264 (INTERNAL_SYSCALL_MAIN_0): New macro.
4265 (INTERNAL_SYSCALL_MAIN_1): Likewise.
4266 (INTERNAL_SYSCALL_MAIN_2): Likewise.
4267 (INTERNAL_SYSCALL_MAIN_3): Likewise.
4268 (INTERNAL_SYSCALL_MAIN_4): Likewise.
4269 (INTERNAL_SYSCALL_MAIN_5): Likewise.
4270 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
4271 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4272 Replace conditional definitions by conditional definitions of ....
4273 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
4274 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4275 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4276 (libpthread-sysdep_routines): Add libc-do-syscall.
4277 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4278 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4279 to __NR_futex not 240.
4281 2015-03-25 Alan Modra <amodra@gmail.com>
4283 * NEWS: Advertise TLS optimization.
4284 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4285 (DT_PPC_NUM): Increment.
4286 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4287 (CHECK_STATIC_TLS): Use here.
4288 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4290 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4291 * sysdeps/powerpc/dl-tls.c: New file.
4292 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4293 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4294 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4295 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4300 2015-03-25 Alan Modra <amodra@gmail.com>
4302 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4303 for overlapping .opd entries" to "support...".
4304 * sysdeps/powerpc/powerpc64/configure: Regenerate
4306 2015-03-25 Joseph Myers <joseph@codesourcery.com>
4308 * math/auto-libm-test-in: Add more tests of acos.
4309 * math/auto-libm-test-out: Regenerated.
4310 * sysdeps/i386/fpu/libm-test-ulps: Update.
4311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4313 * math/auto-libm-test-in: Add more tests of expm1.
4314 * math/auto-libm-test-out: Regenerated.
4315 * sysdeps/i386/fpu/libm-test-ulps: Update.
4316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4318 2015-03-24 Joseph Myers <joseph@codesourcery.com>
4320 * math/auto-libm-test-in: Add more tests of cosh and sinh.
4321 * math/auto-libm-test-out: Regenerated.
4322 * sysdeps/i386/fpu/libm-test-ulps: Update.
4323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4325 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4328 * math/auto-libm-test-in: Add more tests of log2.
4329 * math/auto-libm-test-out: Regenerated.
4330 * sysdeps/i386/fpu/libm-test-ulps: Update.
4331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4333 2015-03-23 Roland McGrath <roland@hack.frob.com>
4335 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4336 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
4337 _IO_IS_APPENDING bit in READ_WRITE instead.
4339 2015-03-23 Florian Weimer <fweimer@redhat.com>
4341 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4342 (__determine_cpumask_size): Replace extend_alloca with a
4343 variable-length array. Do not treat res == 0 as an error.
4345 2015-03-23 Florian Weimer <fweimer@redhat.com>
4348 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4349 and integer overflow.
4350 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4351 (main): Add integer overflow tests.
4352 * manual/pattern.texi (Calling Wordexp): Document additional use
4355 2015-03-23 Alan Modra <amodra@gmail.com>
4357 * config.h.in: Remove HAVE_ASM_PPC_REL16.
4358 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4359 and false branch of conditional.
4360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4363 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
4365 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4367 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4368 unused declaration of _hurd_intr_rpc_msg_in_trap.
4369 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4370 defined instead of whether it is non-zero.
4371 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4372 input constraint instead of both input and output constraint. Use ecx
4373 clobber instead of %ecx.
4374 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4375 mutex_unlock): Use a statement expression instead of an expression list.
4376 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4377 type to vm_size_t instead of vm_address_t.
4378 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4379 defined instead of whether it is non-zero.
4380 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4381 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4382 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4383 comparisons with mapaddr.
4384 * nscd/nscd-client.h: Include <time.h>.
4385 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4386 9th parameter to __vm_region instead of int.
4387 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4388 * scripts/check-local-headers.sh (exclude): Add device/,
4389 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4392 2015-03-19 Roland McGrath <roland@hack.frob.com>
4394 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4395 to account for alignment padding.
4396 * sysdeps/arm/memmove.S: Likewise.
4398 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
4400 * sysdeps/unix/sysv/linux/generic/README: New file.
4402 2015-03-18 Joseph Myers <joseph@codesourcery.com>
4405 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4406 (futex_abstimed_wait)
4407 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4408 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4409 of lll_futex_timed_wait.
4411 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
4414 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4416 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
4423 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4424 entries with Static TLS too. Skip entries past the end of the
4425 allocated DTV, from Alan Modra.
4426 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
4427 Static TLS DTV entry set up from...
4428 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4429 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4430 * nptl/allocatestack.c (init_one_static_tls): ... and here...
4431 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4433 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
4434 that the slot we find is associated with the given map before
4435 using its generation count.
4436 * nptl_db/db_info.c: Include ldsodefs.h.
4437 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4438 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4439 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4440 (link_map::l_tls_offset): New struct field.
4441 (dtv_t::counter): Likewise.
4442 (rtld_global): New struct.
4443 (_rtld_global): New rtld variable.
4444 (dl_tls_dtv_slotinfo_list): New rtld global field.
4445 (dtv_slotinfo_list): New struct.
4446 (dtv_slotinfo): Likewise.
4447 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4448 (td_lookup): Rename to...
4449 (td_mod_lookup): ... this. Use new mod parameter instead of
4451 * nptl_db/td_thr_tlsbase.c: Include link.h.
4452 (dtv_slotinfo_list, dtv_slotinfo): New functions.
4453 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
4454 addresses even if the DTV is out of date or missing them.
4455 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4456 index zero-length arrays.
4457 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4458 (td_lookup): Make it a macro implemented in terms of...
4459 (td_mod_lookup): ... this declaration.
4460 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4461 (DB_MAIN_VARIABLE): Likewise.
4463 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
4466 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4468 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
4470 * stdlib/setenv.c (__add_to_environ): Revert previous change.
4472 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
4475 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4476 (atomic_add, atomic_increment_and_test)
4477 (atomic_decrement_and_test): Fix 64-bit arithmetic.
4479 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
4481 * stdlib/setenv.c (__add_to_environ):
4482 Dump core quickly if setenv (..., NULL, ...) is called.
4484 2015-03-13 Roland McGrath <roland@hack.frob.com>
4486 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4487 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4488 all the necessary asm magic in one place.
4489 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4492 2015-03-13 Carlos O'Donell <carlos@redhat.com>
4495 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4496 traced file mtime. Use consistent log message.
4497 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4498 (register_traced_file): Call install_watches. Always set mtime.
4499 (invalidate_cache): Iterate over all trace files. Call install_watches.
4500 (inotify_check_files): Don't inline. Handle watching parent
4501 directories and configuration file movement in and out.
4502 (handle_inotify_events): New function.
4503 (main_loop_poll): Call handle_inotify_events.
4504 (main_loop_epoll): Likewise.
4505 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4506 (struct traced_file): Use array of inotify fds. Add parent directory,
4508 (struct database_dyn): Remove unused file_mtime.
4509 (init_traced_file): New inline function.
4510 (define_traced_file): New macro.
4511 * nss/nss_db/db-init.c: Use define_traced_file.
4512 (_nss_db_init): Use init_traced_file.
4513 * nss/nss_files/files-init.c: Use define_traced_file.
4514 (_nss_files_init): Use init_traced_file.
4516 2015-03-12 Joseph Myers <joseph@codesourcery.com>
4518 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4519 [_LIBC]: Do not include <stdlib.h>.
4520 [!_LIBC] (abort): Remove declaration.
4521 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4522 _FP_STATIC_ASSERT instead of conditionally calling abort.
4523 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4524 (_FP_EXTEND_CNAN): Likewise.
4525 (FP_TRUNC): Likewise.
4526 (__FP_CLZ): Likewise.
4527 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4529 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
4531 * manual/string.texi (XPG basename): Fix prototype.
4533 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4536 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4537 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4538 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4539 (__setcontext): Likewise.
4540 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4541 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4542 Call rt_sigprocmask syscall one time to set new signal mask
4543 and retrieve the current signal mask instead of two calls.
4544 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4545 (__swapcontext): Likewise.
4546 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4547 * stdlib/tst-setcontext2.c: New file.
4549 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4551 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4553 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
4556 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4559 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4562 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4564 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4566 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4567 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4569 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4570 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4571 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4572 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4573 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4574 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4576 * nptl_db/td_symbol_list.c (td_lookup): Remove
4577 HAVE_ASM_GLOBAL_DOT_NAME code.
4578 * sysdeps/powerpc/powerpc64/configure.ac: Remove
4579 HAVE_ASM_GLOBAL_DOT_NAME check.
4580 * sysdeps/powerpc/powerpc64/configure: Regenerate.
4581 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4582 (DOT_LABEL): Remove define.
4583 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4584 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4585 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4586 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4587 (__TLS_GET_ADDR): Likewise.
4588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4589 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4591 2015-03-11 Carlos O'Donell <carlos@redhat.com>
4594 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4595 (_FPU_SETCW): Initialize cw from fpsr before storing.
4596 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4597 (fesetexceptflag): Rewrite using fpu_control.h.
4598 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4600 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
4603 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4605 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4607 2015-03-11 Joseph Myers <joseph@codesourcery.com>
4609 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4610 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4612 (_FP_FMA): Likewise.
4613 (_FP_DIV): Likewise.
4615 2015-03-10 Roland McGrath <roland@hack.frob.com>
4617 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4618 with 0 in that case.
4619 * Makefile (summarize-tests): New canned sequence, factored out of
4620 commands for targets tests and xtests. Display summary lines that
4621 don't start with PASS: or XFAIL: rather than ones that do start with
4622 ERROR: or FAIL:. Make the commands fail if any summary lines fail
4623 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4624 do start with ERROR: or FAIL:.
4625 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4626 (except for [$(build-shared) = yes]).
4627 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4628 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4629 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4630 * nptl/Makefile: Revert 2015-03-04 changes.
4631 [$(CXX) empty] (tests-unsupported): New variable.
4632 * debug/Makefile: Likewise.
4634 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4635 gnulib file. Replace __attribute with __attribute__ throughout.
4637 2015-03-10 Carlos O'Donell <carlos@redhat.com>
4639 * sysdeps/hppa/fpu/libm-test-ulps: Update.
4641 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4644 * math/auto-libm-test-in: Add another test of pow.
4645 * math/auto-libm-test-out: Regenerated.
4647 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4649 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4650 $(config-cflags-nofma).
4652 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4654 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4655 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4656 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4657 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4658 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4659 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4660 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4661 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4662 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4663 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4664 Add comment on closing #endif.
4666 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4668 * posix/wordexp.c (CHAR_IN_SET): New macro.
4669 (parse_param): Use it.
4671 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4673 * sysdeps/powerpc/fpu/libm-test-ulps: update.
4675 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4678 * posix/wordexp.c (parse_param): Fix buffer overflow.
4679 * posix/wordexp-test.c (test_case): Add test case.
4681 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4684 * posix/wordexp.c (parse_backtick): Fix off-by-one.
4685 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4687 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4690 * posix/wordexp-test.c (test_case): Add test for BZ #18043
4691 (do_bz18043): Delete.
4693 (testit): Refactor to have words at the edge of unreadable page.
4695 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4698 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4699 Cleanup read-only streams as well.
4700 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4702 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4704 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4707 2015-03-07 Joseph Myers <joseph@codesourcery.com>
4709 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
4711 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4712 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4713 * soft-fp/op-common.h (_FP_DECL): Likewise.
4715 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
4717 * elf/ifuncdep2.c (global): Replace
4718 __attribute__((visibility("protected"))) with
4719 asm (".protected global").
4720 * elf/ifuncmod1.c (global): Likewise.
4721 * elf/ifuncmod5.c (global): Likewise.
4723 2015-03-06 Joseph Myers <joseph@codesourcery.com>
4725 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4726 <asm/sfp-machine.h> instead of <sfp-machine.h>.
4728 2015-03-06 Roland McGrath <roland@hack.frob.com>
4730 * manual/install.texi (Configuring and compiling):
4731 Document test-wrapper-env-only.
4732 * INSTALL: Regenerated.
4734 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4737 * posix/wordexp.c (parse_param): Fix buffer overflow.
4738 * posix/wordexp-test.c (do_bz18043): Add test case.
4740 2015-03-06 Vincent Bernat <vincent@bernat.im>
4742 * time/tst-strptime2.c (do_test): Ensure failing tests are
4744 * time/tst-strptime3.c (do_test): Likewise.
4746 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
4748 Fix aio_error thread-safety.
4749 * sysdeps/pthread/aio_error.c: New file
4750 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4753 2015-03-06 Florian Weimer <fweimer@redhat.com>
4755 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4756 (group_number, vfprintf): Use it.
4757 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4758 (JUMP, REF): Use it.
4759 (WORK_BUFFER_SIZE): New enum constant.
4760 (process_arg, vfprintf): Use it.
4762 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
4764 * manual/errno.texi (Error Messages): Complete example function
4765 by adding missing #define.
4766 (program_invocation_name): Add statement indicating GNU
4767 extension and reference which header file declares the variable.
4768 (program_invocation_short_name): Likewise.
4770 2015-03-06 Mike Frysinger <vapier@gentoo.org>
4772 * manual/errno.texi (Error Messages): Delete strerror ISO C89
4775 2015-03-05 Roland McGrath <roland@hack.frob.com>
4777 * Makeconfig (test-wrapper-env-only): New variable.
4778 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4779 then use that with $(test-wrapper-env-only) rather than using
4780 $(test-wrapper-env) $(run-program-env) $($*-ENV).
4782 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
4785 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4786 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4787 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4788 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4789 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4790 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4791 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4792 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4794 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4795 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4797 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4799 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4801 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4803 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4804 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4806 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4808 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4809 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4811 2015-03-04 Roland McGrath <roland@hack.frob.com>
4813 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4814 (ETH_ALEN): New macro.
4815 (struct ether_addr): Use it for length of ether_addr_octet.
4817 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4818 (setdb): Don't call __nss_configure_lookup for "rpc".
4819 (do_test): Don't call test_rpc.
4820 (output_rpcent, test_rpc): Functions moved ...
4821 * sunrpc/test-rpcent.c: ... to this new file.
4822 * sunrpc/Makefile (tests): Add it.
4824 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4826 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4827 * nptl/tst-signal6.c: Likewise.
4828 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4829 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4831 * configure.ac (libc_cv_cxx_link_ok): New check.
4832 Reset CXX to empty if it fails to link.
4833 * configure: Regenerated.
4834 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4835 bug-atexit3-lib only if $(CXX) is nonempty.
4836 * nptl/Makefile (tests): Likewise for tst-cancel24.
4837 (tests, tests-static): Likewise for tst-cancel24-static.
4838 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4839 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4840 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4841 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4843 2015-03-04 Andreas Schwab <schwab@suse.de>
4846 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4847 for non-GCC compilers.
4848 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4851 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4854 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4855 integer before bitwise and assembly operations.
4856 (feclearexcept): Likewise.
4857 * math/test-fenvinline.c: New file.
4858 * math/Makefile: Add test-fenvinline test.
4860 2015-03-03 Alan Modra <amodra@gmail.com>
4863 * scripts/localplt.awk: Strip off symbol version.
4864 * NEWS: Mention bug fix.
4866 2015-03-02 Roland McGrath <roland@hack.frob.com>
4868 * sysdeps/pthread/timer_routines.c
4869 (timer_free_list, thread_free_list, thread_active_list): Make static.
4871 2015-03-02 Joseph Myers <joseph@codesourcery.com>
4874 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4875 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4877 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4878 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4880 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4881 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4884 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4887 * posix/fnmatch_loop.c (END): Detect invalid pattern.
4888 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4890 2015-03-02 Andreas Schwab <schwab@suse.de>
4892 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4895 2015-03-02 Florian Weimer <fweimer@redhat.com>
4897 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4898 Return error status.
4900 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
4903 * locale/findlocale.c (_nl_find_locale): Introduce const
4904 version of loc_name and drop unsafe type casts.
4906 2015-02-27 Roland McGrath <roland@hack.frob.com>
4908 * dlfcn/tststatic2.c (main): Converted to ...
4909 (do_test): ... this.
4910 (TEST_FUNCTION): New macro.
4911 Include test-skeleton.c.
4913 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
4916 * elf/Makefile (tests): Add vismain only if PIE is enabled.
4917 (tests-pie): Add vismain.
4918 (CFLAGS-vismain.c): New.
4919 * elf/vismain.c: Add comments for PIE requirement.
4921 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4925 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4926 0x1p-56L as threshold for just returning the argument.
4927 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4928 0x1p-32L as threshold for just returning the argument.
4929 * math/auto-libm-test-in: Add more tests of atanh.
4930 * math/auto-libm-test-out: Regenerated.
4931 * sysdeps/i386/fpu/libm-test-ulps: Update.
4932 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4934 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4936 * string/bcopy.c (bcopy): Call memmove for performance.
4938 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4940 * string/bzero.c (__bzero): Call memset for performance.
4942 2015-02-27 John David Anglin <dave.anglin@bell.net>
4945 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4948 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4950 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4952 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4954 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4955 (__kernel_standard): Use CSTR macro when setting exc.name.
4956 * sysdeps/ieee754/Makefile [$(subdir) = math]
4957 (CFLAGS-k_standard.c): Remove variable.
4959 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4960 setting p and q from "else if" to "else".
4962 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4964 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4966 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4968 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4970 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4975 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4976 return pi/2 for arguments below 0x1p-113L.
4977 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4978 return pi/2 for arguments below 0x1p-106L.
4979 * math/auto-libm-test-in: Add more tests of acos.
4980 * math/auto-libm-test-out: Regenerated.
4983 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4985 (__ieee754_asin): Force underflow exception for results with small
4987 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4989 (__ieee754_asinf): Force underflow exception for results with
4990 small absolute value.
4991 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4992 (__ieee754_asin): Force underflow exception for results with small
4994 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4995 (__ieee754_asinf): Force underflow exception for results with
4996 small absolute value.
4997 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4998 (__ieee754_asinl): Force underflow exception for results with
4999 small absolute value.
5000 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5001 (__ieee754_asinl): Force underflow exception for results with
5002 small absolute value.
5003 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5004 (__ieee754_asinl): Force underflow exception for results with
5005 small absolute value.
5006 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5008 * math/auto-libm-test-in: Do not mark underflow exceptions as
5009 possibly missing for bug 16351.
5010 * math/auto-libm-test-out: Regenerated.
5013 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5014 of power of 2 down when low part has opposite sign.
5015 * math/libm-test.inc (logb_test_data): Add more tests.
5017 2015-02-26 Andreas Schwab <schwab@suse.de>
5020 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5021 over collating symbol inside a bracket expression. Minor cleanup.
5022 * posix/tst-fnmatch3.c (do_test): Add test case.
5024 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5027 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5028 Adjust exponent of power of 2 down when low part has opposite
5030 * math/libm-test.inc (ilogb_test_data): Add more tests.
5032 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
5035 * locale/findlocale.c (_nl_find_locale): Fix constness error in
5036 the previous change.
5039 * locale/findlocale.c (_nl_find_locale): Retry archive search
5040 after alias expansion.
5042 2015-02-25 Roland McGrath <roland@hack.frob.com>
5044 * iconv/tst-iconv3.c (main): Converted to ...
5045 (do_test): ... this.
5046 (TEST_FUNCTION): New macro.
5047 Include test-skeleton.c.
5049 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5050 (convert): Make function static.
5051 (test_unalign): Likewise. Add const to argument pointee types.
5052 (main): Replace with static function do_test.
5053 Print "Succeeded." only if RET is zero.
5054 (TEST_FUNCTION): New macro.
5055 Include test-skeleton.c.
5057 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5058 returns a null pointer.
5060 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5062 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5063 to __memcpy_ppc only for static builds.
5065 2015-02-25 Joseph Myers <joseph@codesourcery.com>
5068 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5069 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5070 * math/auto-libm-test-in: Add more tests of asinh.
5071 * math/auto-libm-test-out: Regenerated.
5072 * sysdeps/i386/fpu/libm-test-ulps: Update.
5073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5075 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
5078 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5079 and ip6_mtuinfo definitions here.
5080 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5081 in this define too. Update comment.
5083 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
5085 * elf/sprof.c (load_shobj): Tweak error message to match others.
5087 2015-02-24 Kevin Easton <kevin@guarana.org>
5089 [BZ #16145] (partial fix)
5090 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5091 to reduce lock contention.
5093 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
5095 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5096 (struct timex): Update time comment.
5097 (ADJ_SETOFFSET): Define.
5099 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5102 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5103 2**56 not 2**28 as threshold for log (2x) formula.
5104 * math/auto-libm-test-in: Add more tests of acosh.
5105 * math/auto-libm-test-out: Regenerated.
5106 * sysdeps/i386/fpu/libm-test-ulps: Update.
5107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5109 2015-02-24 Mike Frysinger <vapier@gentoo.org>
5111 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5112 parenthesis around the buf assignment.
5113 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5115 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5118 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5119 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5120 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5121 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5122 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5123 * math/libm-test.inc (scalb_test_data): Add more tests.
5125 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5128 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5129 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5131 2015-02-24 Eric Rannaud <e@nanocritical.com>
5134 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5135 * io/bits/fcntl2.h (open): Use it.
5137 * io/open.c (__libc_open): Likewise.
5138 * io/open64.c (__libc_open64): Likewise.
5139 * io/open64_2.c (__open64_2): Likewise.
5140 * io/open_2.c (__open_2): Likewise.
5141 * io/openat.c (__openat): Likewise.
5142 * io/openat64.c (__openat64): Likewise.
5143 * io/openat64_2.c (__openat64_2): Likewise.
5144 * io/openat_2.c (__openat_2): Likewise.
5145 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5146 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5147 * sysdeps/posix/open64.c (__libc_open64): Likewise.
5148 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5149 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5150 (__open_nocancel): Likewise.
5151 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5152 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5153 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5155 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5158 * resolv/gethnamaddr.c (getanswer): Skip logging if
5159 RES_USE_DNSSEC is set.
5160 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5162 2015-02-24 Mike Frysinger <vapier@gentoo.org>
5164 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5166 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
5168 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5169 201304L, for Unicode 7.
5171 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
5174 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5175 shared library. Add gmon-start.os otherwise.
5176 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5177 $(objpfx)gmon-start.os if builing shared library.
5178 ($(objpfx)g$(static-start-installed-name)): Likewise.
5180 2015-02-23 Andreas Schwab <schwab@suse.de>
5182 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5184 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5187 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5188 (enlarge_userbuf): Likewise.
5190 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
5192 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5193 * math/atest-exp.c (TIMEOUT): Adjust to 200.
5194 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5195 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5197 2015-02-20 Joseph Myers <joseph@codesourcery.com>
5199 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5200 expression inside statement expression.
5202 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5204 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5205 <sysdeps/nptl/lowlevellock.h> and remove macros and
5206 functions that are now defined there.
5207 (SYS_futex): Remove.
5208 (lll_compare_and_swap): Remove.
5209 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5211 2015-02-19 Joseph Myers <joseph@codesourcery.com>
5214 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5215 instead of scandirat.
5216 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5217 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5218 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5220 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5221 (__scandirat): Declare. Use libc_hidden_proto.
5222 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5224 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5226 2015-02-18 Joseph Myers <joseph@codesourcery.com>
5229 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5231 (__ieee754_atan2): For results with small absolute value, force
5232 underflow exception and remove excess range and precision from
5234 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5236 (__ieee754_atan2f): For results with small absolute value, force
5237 underflow exception and remove excess range and precision from
5239 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5241 (__atan): For results with small absolute value, force underflow
5242 exception and remove excess range and precision from return value.
5243 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5245 (__atanf): For results with small absolute value, force underflow
5246 exception and remove excess range and precision from return value.
5247 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5249 (__ieee754_atan2): Force underflow exception for results with
5250 small absolute value.
5251 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5253 (atan): Force underflow exception for results with small absolute
5255 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5256 (__atanf): Force underflow exception for results with small
5258 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5260 (__atanl): Force underflow exception for results with small
5262 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5263 (__atanl): Force underflow exception for results with small
5265 * sysdeps/x86/fpu/bits/mathinline.h
5266 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5267 (__ieee754_atan2): Only define inline for long double.
5268 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5269 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5270 * math/auto-libm-test-in: Do not mark underflow exceptions as
5271 possibly missing for bug 15319. Add more tests of atan2.
5272 * math/auto-libm-test-out: Regenerated.
5273 * math/libm-test.inc (casin_test_data): Do not mark underflow
5274 exceptions as possibly missing for bug 15319.
5275 (casinh_test_data): Likewise.
5276 * sysdeps/i386/fpu/libm-test-ulps: Update.
5278 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
5280 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5281 * sysdeps/mips/bits/endian.h: Fix comments.
5283 2015-02-18 Joseph Myers <joseph@codesourcery.com>
5286 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5287 (hdestroy_r): Likewise.
5288 (hsearch_r): Likewise.
5289 (__hcreate_r): Declare and use libc_hidden_proto.
5290 (__hdestroy_r): Likewise.
5291 (__hsearch_r): Likewise.
5292 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5293 (hcreate): Call __hcreate_r instead of hcreate_r.
5294 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5295 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5296 as weak alias of __hcreate_r.
5297 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5299 (hsearch_r): Rename to __hsearch_r and define as weak alias of
5301 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5303 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5304 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5305 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5306 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5308 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5310 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5311 arena_lock into a single arena_get.
5313 2015-02-17 Carlos O'Donell <carlos@redhat.com>
5315 * dl-reloc.c: Inlucde libc-internal.h.
5316 (_dl_try_allocate_static_tls): Call ALIGN_UP.
5317 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5318 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5319 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5320 (grow_heap): Likewise.
5321 * malloc/malloc.c: Include libc-internal.h.
5322 (do_check_malloc): Call powerof2.
5323 (sysmalloc): Use pagesize. Call ALIGN_UP.
5324 (systrim): Use pagesize.
5325 (mremap_chunk): Use pagesize. Call ALIGN_UP.
5326 (__libc_valloc): Use pagesize.
5327 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5329 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5332 * include/sys/resource.h (__getrlimit64): Declare. Use
5334 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5335 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
5336 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5338 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5340 [!getrlimit64] (getrlimit64): Define as weak alias of
5341 __getrlimit64. Use libc_hidden_weak.
5342 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5343 using __getrlimit64 not __new_getrlimit64.
5344 (__GI_getrlimit64): Likewise.
5345 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5347 (__GI_getrlimit64): Likewise.
5348 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5350 (getrlimit): Add __getrlimit64 alias.
5351 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5353 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5355 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5356 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5358 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5360 * libio/fileops.c: Add missing sys/mman.h
5361 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5363 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5365 * manual/math.texi (Errors in Math Functions): Clarify goals
5366 regarding inexact and underflow exceptions.
5368 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5370 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5371 * sysdeps/mips/memset.S: Ditto.
5373 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5375 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5377 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5379 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5380 (__v1longjmp): Remove versioned symbol.
5381 (__v1siglongjmp): Remove alias and versioned symbol.
5382 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5383 (__v2siglongjmp): Likewise.
5385 2015-02-16 Torvald Riegel <triegel@redhat.com>
5387 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5389 2015-02-16 Mike Frysinger <vapier@gentoo.org>
5391 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5393 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5396 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5397 zero result does not depend on the sign resulting from
5399 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5401 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5402 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5403 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5404 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5405 * math/libm-test.inc (remquo_test_data): Add more tests.
5407 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
5409 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5410 Problem reported by J William Piggott.
5412 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5415 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5416 products 4 * y and 2 * y where those would overflow.
5417 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5419 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5420 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5421 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5422 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5423 * math/libm-test.inc (remquo_test_data): Add more tests.
5425 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5427 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5428 [defined _COMPILING_NEWLIB].
5429 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5430 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5432 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5433 [!defined __mips_isa_rev || __mips_isa_rev < 6].
5435 2015-02-16 Torvald Riegel <triegel@redhat.com>
5437 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5440 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
5443 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5444 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5445 HOST_STACK_END_ADDR): Likewise.
5447 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
5449 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5450 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5451 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5453 2015-02-13 Roland McGrath <roland@hack.frob.com>
5455 * sysdeps/generic/c++-types.data: New file.
5456 * sysdeps/generic/ld.abilist: New file.
5457 * sysdeps/generic/libBrokenLocale.abilist: New file.
5458 * sysdeps/generic/libanl.abilist: New file.
5459 * sysdeps/generic/libc.abilist: New file.
5460 * sysdeps/generic/libcrypt.abilist: New file.
5461 * sysdeps/generic/libdl.abilist: New file.
5462 * sysdeps/generic/libm.abilist: New file.
5463 * sysdeps/generic/libpthread.abilist: New file.
5464 * sysdeps/generic/libresolv.abilist: New file.
5465 * sysdeps/generic/librt.abilist: New file.
5467 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5470 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5471 Compute absolute value of x as modified by fmod, not original
5473 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5474 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
5475 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
5476 RUN_TEST_ffI_f1_mod8.
5477 (remquo_test_data): Add more tests.
5479 2015-02-13 Roland McGrath <roland@hack.frob.com>
5481 * sysdeps/init_array/pt-crti.S: New file.
5483 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5486 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5487 __builtin_fmaf instead of relying on contraction of a * b + c.
5489 2015-02-12 J William Piggott <elseifthen@gmx.com>
5492 * manual/time.texi: correct the zoneinfo path in the TZ Variable
5495 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5498 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5499 __builtin_fma instead of relying on contraction of a * b + c.
5501 2015-02-12 Roland McGrath <roland@hack.frob.com>
5503 * Makeconfig (ASFLAGS): Add -Werror=undef.
5504 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5505 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5506 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5508 * Makeconfig (after-link): New variable.
5509 (+link-pie, +link-pie-tests): Use it.
5510 (+link-static, +link-static-tests): Likewise.
5511 (+link, +link-tests): Likewise.
5512 * Makerules (build-module, build-module-asneeded): Likewise.
5513 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5515 * elf/Makefile ($(objpfx)ld.so): Likewise.
5517 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5520 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5521 both struct timeval and struct timespec.
5523 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5526 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5528 (__ieee754_exp2l): Do not multiply small fractional parts by
5530 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5532 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5533 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5534 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5535 * math/auto-libm-test-in: Add more tests of exp2.
5536 * math/auto-libm-test-out: Regenerated.
5538 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5540 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5543 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5545 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5548 2015-02-12 Andreas Schwab <schwab@suse.de>
5551 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5552 Filter out elision flags from value returned in kind.
5553 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5554 * nptl/tst-pthread-mutexattr.c: New file.
5556 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
5558 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5559 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5560 into gnu-gnu, and update comment to refer to abi-tags.
5562 2015-02-11 Joseph Myers <joseph@codesourcery.com>
5565 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5566 (__sincos): Set errno to EDOM for infinite argument.
5567 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5568 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5569 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5570 (__sincosl): Set errno to EDOM for infinite argument.
5571 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5572 (__sincosl): Set errno to EDOM for infinite argument.
5573 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5574 (__sincosl): Set errno to EDOM for infinite argument.
5575 * math/libm-test.inc (sincos_test_data): Test errno setting.
5577 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
5579 * string/strxfrm_l.c: Remove #define STRCMP.
5580 * string/strcoll_l.c: Remove #define STRLEN.
5581 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5582 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5584 2015-02-10 Joseph Myers <joseph@codesourcery.com>
5586 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5587 * sysdeps/mips/mips32/sfp-machine.h: ... here.
5588 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5589 * sysdeps/mips/mips64/Makefile: ... here.
5590 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5591 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5592 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5593 * sysdeps/mips/mips64/sfp-machine.h: ... here.
5594 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5595 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5596 * sysdeps/mips/mips64/n64/Implies: Likewise.
5598 2015-02-10 Roland McGrath <roland@hack.frob.com>
5600 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5601 <sys/time.h>, <string.h>, and <errno.h>.
5602 (dest_offset, dest_address, value, zero): Remove unused variables.
5603 (ldouble): Remove typedef.
5604 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5605 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
5607 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5608 (check): Function removed.
5610 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
5611 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5612 Don't call set_sigaction_FP and remove_sigaction_FP here.
5613 (ldouble_test): Just use 'long double' as macro argument, no need for
5614 the 'ldouble' typedef.
5615 (do_test): Set up SIGFPE handler at start, using plain signal rather
5616 than sigaction. Fix code style.
5618 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
5621 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5624 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5626 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5627 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5629 * sysdeps/powerpc/configure.ac: Remove file.
5630 * sysdeps/powerpc/configure: Likewise.
5632 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5633 [sysdep_routines]: Remove wordcopy-power6 object.
5634 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5635 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5636 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5637 (__memmove_ppc32): Likewise.
5638 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5640 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5641 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5642 Remove preprocessor.
5644 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5645 [sysdep_routines]: Remove wide chars objects.
5646 [wcsmbs]: New rule for wide char objects.
5648 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5649 Remove wordcopy-power6 obejct.
5650 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5651 Use local call for wordcopy and memcpy symbols.
5652 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5653 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5654 implementation for loader.
5655 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5657 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5658 Remove wordcopy-power7 object.
5659 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5660 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5661 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5662 (_wordcopy_fwd_dest_aligned): Likewise.
5663 (_wordcopy_bwd_aligned): Likewise.
5664 (_wordcopy_bwd_dest_aligned): Likewise.
5666 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5667 Rewrite to call __memmove_ppc instead of include default
5670 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5671 Remove wide chars objects.
5672 [wcsmbs]: New rule for wide char objects.
5674 2015-02-09 Andreas Schwab <schwab@suse.de>
5677 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5678 in terms of __O_DIRECTORY.
5680 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5682 * time/getdate.c: Include <stdbool.h>.
5683 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5685 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5688 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
5690 Add ersatz _Static_assert on older C hosts
5691 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5692 pre-C11 C platform that is not known to support _Static_assert.
5694 2015-02-07 Richard Braun <rbraun@sceen.net>
5696 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5698 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5700 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5702 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5703 priority against unexistent AIO_PRIO_DELTA_MAX.
5704 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5706 * misc/fchflags.c (fchflags): Likewise.
5707 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5708 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5709 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5710 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5711 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5713 [__USE_MISC] (chflags, fchflags): Declare functions.
5714 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5715 EINVAL when nfds is greater than FD_SETSIZE.
5716 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5717 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5719 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5720 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5721 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5723 * hurd/hurd/signal.h (_hurd_self_sigstate,
5724 _hurd_critical_section_lock, _hurd_critical_section_unlock):
5725 Explicit casts from void *.
5726 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5727 * abi-tags: Rename gnu-gnu os into gnu.
5730 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5731 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5732 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5733 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5734 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5735 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5738 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5739 duplicates ADDR->sun_path with sockaddr LEN limitation.
5740 * sysdeps/mach/hurd/connect.c: Include <string.h>
5741 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5742 * sysdeps/mach/hurd/sendmsg.c: Likewise.
5743 * sysdeps/mach/hurd/sendto.c: Likewise.
5744 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5745 implementing it by hand.
5747 2015-02-06 Roland McGrath <roland@hack.frob.com>
5749 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5750 Use sfi_breg on ldr.
5751 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5754 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5756 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5757 Test SIGSETXID only if it's defined.
5759 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5761 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5762 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
5764 * nptl/tst-align2.c: Moved ...
5765 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5766 * nptl/Makefile (tests): Remove tst-align2.
5767 * sysdeps/unix/sysv/linux/Makefile
5768 [$(subdir) = nptl] (tests): Add tst-align-clone.
5769 * nptl/tst-getpid1.c: Moved ...
5770 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5771 * nptl/tst-getpid2.c: Moved ...
5772 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5773 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5774 * sysdeps/unix/sysv/linux/Makefile
5775 [$(subdir) = nptl] (tests): ... here.
5776 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5777 * sysdeps/unix/sysv/linux/Makefile
5778 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5780 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5781 Drop trailing \n from perror argument. Use return rather than exit.
5783 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5785 * nptl/tst-cancel21.c (do_test): Likewise.
5786 * debug/tst-backtrace6.c: Include <signal.h> first thing.
5787 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5788 [!SA_SIGINFO]: Make it a stub test.
5790 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5791 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5793 * posix/tst-getlogin.c: Move to ...
5794 * login/tst-getlogin.c: ... here.
5795 * posix/Makefile (tests): Move tst-getlogin to ...
5796 * login/Makefile (tests): ... here.
5798 * libio/tst-atime.c (do_test): Move local variables SV and E
5799 inside [ST_NOATIME] conditional.
5801 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5803 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5805 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5806 (wait_code): New function replaces macro.
5807 Call nanosleep rather than syscall.
5809 * nptl/pt-system.c: Rewritten. Put everything under
5810 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5811 Use IFUNC to redirect when possible.
5813 * nptl/pt-longjmp.c: Rewritten. Put everything under
5814 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5815 Use IFUNC to redirect when possible.
5817 * nptl/pt-fork.c: Rewritten. Put everything under
5818 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5819 Use IFUNC to redirect when possible.
5820 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5822 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5823 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5824 unconditionally nowadays. This included the only reference to
5825 __vdso_clock_gettime that appears outside libc proper.
5826 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5827 Remove version set (containing only __vdso_clock_gettime).
5828 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5829 Add attribute_hidden.
5830 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5831 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5832 libc_hidden_data_def.
5833 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5834 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5836 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5837 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5838 setrpcent, and getrpcport to ...
5839 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5840 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5841 getrpcbynumber_r, and getrpcent_r to ...
5842 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5843 * inet/getrpcbyname.c: Moved ...
5844 * sunrpc/getrpcbyname.c: ... here.
5845 * inet/getrpcbyname_r.c: Moved ...
5846 * sunrpc/getrpcbyname_r.c: ... here.
5847 * inet/getrpcbynumber.c: Moved ...
5848 * sunrpc/getrpcbynumber.c: ... here.
5849 * inet/getrpcbynumber_r.c: Moved ...
5850 * sunrpc/getrpcbynumber_r.c: ... here.
5851 * inet/getrpcent.c: Moved ...
5852 * sunrpc/getrpcent.c: ... here.
5853 * inet/getrpcent_r.c: Moved ...
5854 * sunrpc/getrpcent_r.c: ... here.
5855 * inet/Makefile (routines): Move those to ...
5856 * sunrpc/Makefile (routines): ... here.
5857 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5858 the $(subdirs) list.
5859 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
5860 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5861 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5862 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5864 * elf/Makefile (routines): Include $(all-dl-routines), not just
5866 (rtld-routines): Likewise. Use = rather than :=.
5867 * sysdeps/aarch64/Makefile [$(subdir) = elf]
5868 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5869 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5870 * sysdeps/arm/Makefile: Likewise.
5871 * sysdeps/i386/Makefile: Likewise.
5872 * sysdeps/x86_64/Makefile: Likewise.
5873 * sysdeps/hppa/Makefile [$(subdir) = elf]
5874 (sysdep_routines, sysdep-rtld-routines): Don't add
5875 $(sysdep-dl-routines) to these.
5876 * sysdeps/ia64/Makefile: Likewise.
5877 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5878 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5879 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5880 Don't add dl-static to these; sysdep-dl-routines alone is enough.
5881 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5882 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5883 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5884 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5885 * sysdeps/powerpc/Makefile [$(subdir) = elf]
5886 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5887 these; sysdep-dl-routines alone is enough.
5889 2015-02-06 Joseph Myers <joseph@codesourcery.com>
5892 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5893 where multiplication results in zero and third argument is finite
5895 * math/auto-libm-test-in: Add more tests of fma.
5896 * math/auto-libm-test-out: Regenerated.
5898 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5899 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5900 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5901 (_FP_CMP_EQ): Likewise.
5902 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5904 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5905 extra argument CHECK_NAN. Redefine as wrapper around
5908 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
5910 * version.h (RELEASE): Set to "stable".
5911 (VERSION): Set to "2.21"
5912 * include/features.h (__GLIBC_MINOR__): Set to 21.
5914 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5916 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5917 Paul Eggert <eggert@cs.ucla.edu>
5920 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5921 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5922 size in bytes. Store needed elements in wpmax. Use needed size
5923 in bytes for extend_alloca.
5925 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
5927 * manual/install.texi: Latest tested versions are GCC 4.9.2,
5928 binutls 2.25, and texinfo 5.2.
5929 * INSTALL: Regenerate.
5930 * sysdeps/nios2/configure: Regenerate.
5931 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5932 * manual/contrib.texi: Update.
5956 * po/pt_BR.po: Update.
5965 * po/zh_CN.po: Update.
5966 * po/zh_TW.po: Update.
5968 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5969 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5970 * sysdeps/hppa/dl-irel.h: Remove #warning.
5971 * sysdeps/hppa/entry.h: Provide prototype for
5972 __canonicalize_funcptr_for_compare and cast argument.
5973 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5974 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5975 * sysdeps/hppa/sotruss-lib.c: New file.
5976 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5977 (atomic_compare_and_exchange_val_acq): Use __typeof__.
5978 (atomic_compare_and_exchange_bool_acq): Likewise.
5979 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5980 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5982 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5983 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5984 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5986 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5988 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5989 called function in non-PIC case.
5991 2015-01-31 David S. Miller <davem@davemloft.net>
5993 * sysdeps/sparc/sparc32/bits/atomic.h
5994 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5995 unlock not after it.
5996 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5997 volatile register usage warnings from the compiler.
5999 * sysdeps/sparc/nptl/sem_init.c: Delete.
6000 * sysdeps/sparc/nptl/sem_post.c: Delete.
6001 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6002 * sysdeps/sparc/nptl/sem_wait.c: Delete.
6003 * sysdeps/sparc/sparc32/sem_init.c: New file.
6004 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6005 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6006 padding explicitly initialized.
6007 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6008 padding for in-semaphore spinlock.
6009 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6010 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6011 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6012 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6013 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6014 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6015 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6016 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6018 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6019 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6021 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
6024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6025 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6026 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6028 (index_AVX_Fast_Unaligned_Load): Likewise.
6029 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6030 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6031 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6032 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6033 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6034 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6035 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6036 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6037 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6039 2015-01-29 Andreas Schwab <schwab@suse.de>
6041 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6043 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6046 * nscd/nscd_stat.c (send_stats): Initialize DATA.
6048 2015-01-28 Martin Sebor <msebor@redhat.com>
6050 * math/README.libm-test: Clarify. Add "How to read the test output."
6052 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
6054 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6057 2015-01-28 Joseph Myers <joseph@codesourcery.com>
6059 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6060 (__HAVE_64B_ATOMICS): Define to 0.
6062 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6065 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6066 value to set as new flag.
6069 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6070 and use _ARCH_PPCSQ instead.
6071 (__ieee754_sqrt): Likewise.
6072 (__ieee754_sqrtf): Likewise.
6073 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6074 _ARCH_PPCSQ is defined.
6075 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6077 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6078 _ARCH_PPCSQ is defined.
6079 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6081 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6083 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6085 * iconv/loop.c: Suppress array out of bound warning caused by GCC
6086 bug (GCC BZ #64739).
6088 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
6090 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6091 Mark _retval as used.
6092 (lll_futex_wake_unlock): Likewise.
6093 (lll_futex_timed_wait_requeue_pi): Likewise.
6095 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6096 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6099 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6102 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6103 (__bswap_64): Mark as __always_inline.
6105 2015-01-25 Bram <bug_rh@spam.wizbit.be>
6108 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6109 when none of the search directories exist.
6111 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6114 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6115 power8 in .machine directive.
6118 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6119 set dependency from opd value.
6121 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
6123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6124 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6127 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
6130 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6132 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6134 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6135 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6136 Replace 1UL with (uint64_t) 1.
6137 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6140 2015-01-23 Roland McGrath <roland@hack.frob.com>
6142 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6143 (if_freenameindex): Likewise.
6145 * resource/getrlimit64.c: Add missing libc_hidden_def.
6147 2015-01-22 Joseph Myers <joseph@codesourcery.com>
6149 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6151 (_FP_FMA): Likewise.
6152 (_FP_TO_INT_ROUND): Likewise.
6153 (_FP_FROM_INT): Likewise.
6155 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6158 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6159 Make code racy and cancel safe.
6161 2015-01-21 Carlos O'Donell <carlos@redhat.com>
6163 * sysdeps/arm/unwind-resume.h: Fix copyright year.
6164 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6167 * pwd/tst-getpw.c: Rewrite.
6170 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6171 (modules-names): Add moddummy1 and moddummy2.
6172 ($(objpfx)tst-rec-dlopen): Define.
6173 * dlfcn/moddummy1.c: New file.
6174 * dlfcn/moddummy2.c: New file.
6175 * dlfcn/tst-rec-dlopen.c: New file.
6176 * elf/dl-cache.c (_dl_load_cache_lookup):
6177 Return char*. Copy result with alloca/strcpy/strdup.
6178 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6179 returns char*. Free cached. If not saving realname
6181 * elf/dl-open.c (dl_open_worker): Do not assert that
6182 _r_debug->r_state is RT_CONSISTENT.
6183 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6186 2015-01-21 Torvald Riegel <triegel@redhat.com>
6187 Carlos O'Donell <carlos@redhat.com>
6190 * nptl/sem_waitcommon.c: New file.
6191 * nptl/sem_wait.c: Include sem_waitcommon.c.
6192 (__sem_wait_cleanup, do_futex_wait): Remove.
6193 (__new_sem_wait): Adapt.
6194 (__new_sem_trywait): New function.
6195 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6196 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6197 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6198 (sem_timedwait): Adapt.
6199 * nptl/sem_post.c (__new_sem_post): Adapt.
6200 (futex_wake): New function.
6201 (__old_sem_post): Add release MO fence.
6202 * nptl/sem_open.c (sem_open): Adapt.
6203 * nptl/sem_init.c (__new_sem_init): Adapt.
6204 (futex_private_if_supported): New function.
6205 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6206 (__old_sem_getvalue): Add using previous code.
6207 * sysdeps/nptl/internaltypes.h: Adapt.
6208 * nptl/tst-sem13.c (do_test): Adapt.
6209 * nptl/tst-sem11.c (main): Adapt.
6210 * nptl/sem_trywait.c: Remove.
6211 * nptl/DESIGN-sem.txt: Remove.
6212 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6213 (gen-as-const-headers): Remove structsem.sym.
6214 * nptl/structsem.sym: Remove.
6215 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6216 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6217 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6218 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6219 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6220 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6221 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6222 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6223 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6224 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6225 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6226 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6227 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6228 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6229 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6230 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6231 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6232 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6233 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6234 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6235 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6236 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6238 2015-01-20 Carlos O'Donell <carlos@redhat.com>
6240 * INSTALL: Regenerated.
6242 * po/libc.pot: Regenerated.
6244 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
6245 Sandra Loosemore <sandra@codesourcery.com>
6246 Andrew Jenner <andrew@codesourcery.com>
6247 Joseph Myers <joseph@codesourcery.com>
6248 Nathan Sidwell <nathan@codesourcery.com>
6250 * NEWS: Mention new Nios II port.
6251 * sysdeps/nios2/Implies: New file.
6252 * sysdeps/nios2/Makefile: New file.
6253 * sysdeps/nios2/Subdirs: New file.
6254 * sysdeps/nios2/Versions: New file.
6255 * sysdeps/nios2/__longjmp.S: New file.
6256 * sysdeps/nios2/abort-instr.h: New file.
6257 * sysdeps/nios2/backtrace.c: New file.
6258 * sysdeps/nios2/bits/endian.h: New file.
6259 * sysdeps/nios2/bits/fenv.h: New file.
6260 * sysdeps/nios2/bits/link.h: New file.
6261 * sysdeps/nios2/bits/setjmp.h: New file.
6262 * sysdeps/nios2/bsd-_setjmp.S: New file.
6263 * sysdeps/nios2/bsd-setjmp.S: New file.
6264 * sysdeps/nios2/configure: New generated file.
6265 * sysdeps/nios2/configure.ac: New file.
6266 * sysdeps/nios2/crti.S: New file.
6267 * sysdeps/nios2/crtn.S: New file.
6268 * sysdeps/nios2/dl-init.c: New file.
6269 * sysdeps/nios2/dl-machine.h: New file.
6270 * sysdeps/nios2/dl-sysdep.h: New file.
6271 * sysdeps/nios2/dl-tls.h: New file.
6272 * sysdeps/nios2/dl-trampoline.S: New file.
6273 * sysdeps/nios2/gccframe.h: New file.
6274 * sysdeps/nios2/gmp-mparam.h: New file.
6275 * sysdeps/nios2/jmpbuf-offsets.h: New file.
6276 * sysdeps/nios2/jmpbuf-unwind.h: New file.
6277 * sysdeps/nios2/ldsodefs.h: New file.
6278 * sysdeps/nios2/libc-tls.c: New file.
6279 * sysdeps/nios2/libm-test-ulps: New file.
6280 * sysdeps/nios2/machine-gmon.h: New file.
6281 * sysdeps/nios2/math-tests.h: New file.
6282 * sysdeps/nios2/math_private.h: New file.
6283 * sysdeps/nios2/memusage.h: New file.
6284 * sysdeps/nios2/nptl/Makefile: New file.
6285 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6286 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6287 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6288 * sysdeps/nios2/nptl/pthreaddef.h: New file.
6289 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6290 * sysdeps/nios2/nptl/tls.h: New file.
6291 * sysdeps/nios2/preconfigure: New file.
6292 * sysdeps/nios2/s_fma.c: New file.
6293 * sysdeps/nios2/s_fmaf.c: New file.
6294 * sysdeps/nios2/setjmp.S: New file.
6295 * sysdeps/nios2/sfp-machine.h: New file.
6296 * sysdeps/nios2/sotruss-lib.c: New file.
6297 * sysdeps/nios2/stackguard-macros.h: New file.
6298 * sysdeps/nios2/stackinfo.h: New file.
6299 * sysdeps/nios2/start.S: New file.
6300 * sysdeps/nios2/sysdep.h: New file.
6301 * sysdeps/nios2/tls-macros.h: New file.
6302 * sysdeps/nios2/tst-audit.h: New file.
6303 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6304 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6305 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6306 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6307 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6308 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6309 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6310 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6311 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6312 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6313 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6314 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6315 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6316 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6317 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6318 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6319 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6320 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6321 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6322 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6323 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6324 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6325 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6326 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6327 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6328 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6329 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6330 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6331 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6332 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6333 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6334 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6335 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6336 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6337 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6338 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6339 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6340 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6341 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6342 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6343 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6344 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6345 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6346 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6348 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6351 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6352 (getutent): Use weak_alias in non SHARED case
6353 and default_symbol_version in SHARED case.
6354 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6355 (getutent_r, pututline): Likewise.
6356 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6357 (getutid): Likewise.
6358 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6359 (getutid_r): Likewise.
6360 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6361 (getutline): Likewise.
6362 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6363 (getutline_r): Likewise.
6364 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6365 (updwtmp): Likewise.
6367 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6370 * sysdeps/s390/s390-32/memcmp.S
6371 (memcmp_g5): Rename to __memcmp_g5.
6372 * sysdeps/s390/s390-32/memcpy.S
6373 (memcpy_g5): Rename to __memcpy_g5.
6374 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6375 (memcpy_mvcle) Rename to __memcpy_mvcle.
6376 * sysdeps/s390/s390-32/memset.S
6377 (memset_g5): Rename to __memset_g5.
6378 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6379 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6380 and use prefixed functions.
6381 * sysdeps/s390/s390-32/multiarch/memcmp.S
6382 (memcmp_z196): Rename to __memcmp_z196.
6383 (memcmp_z10): Rename to __memcmp_z10.
6384 (memcmp): Set alias to __memcmp_g5.
6385 (bcmp): Set alias to __memcmp_g5.
6386 * sysdeps/s390/s390-32/multiarch/memcpy.S
6387 (memcpy_z196): Rename to __memcpy_z196.
6388 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6389 (memcpy_z10): Rename to __memcpy_z10.
6390 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6391 (memcpy): Set alias to __memcpy_g5.
6392 * sysdeps/s390/s390-32/multiarch/memset.S
6393 (memset_z196): Rename to __memset_z196.
6394 Jump to __memset_mvcle instead of memset_mvcle.
6395 (memset_z10): Rename to __memset_z10.
6396 Jump to __memset_mvcle instead of memset_mvcle.
6397 (memset_mvcle) Rename to __memset_mvcle.
6398 (memset): Set alias to __memset_g5.
6399 * sysdeps/s390/s390-64/memcmp.S
6400 (memcmp_z900): Rename to __memcmp_z900.
6401 * sysdeps/s390/s390-64/memcpy.S
6402 (memcpy_z900): Rename to __memcpy_z900.
6403 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6404 (memcpy_mvcle) Rename to __memcpy_mvcle.
6405 * sysdeps/s390/s390-64/memset.S
6406 (memset_z900): Rename to __memset_z900.
6407 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6408 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6409 and use prefixed functions.
6410 * sysdeps/s390/s390-64/multiarch/memcmp.S
6411 (memcmp_z196): Rename to __memcmp_z196.
6412 (memcmp_z10): Rename to __memcmp_z10.
6413 (memcmp): Set alias to __memcmp_z900.
6414 (bcmp): Set alias to __memcmp_z900.
6415 * sysdeps/s390/s390-64/multiarch/memcpy.S
6416 (memcpy_z196): Rename to __memcpy_z196.
6417 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6418 (memcpy_z10): Rename to __memcpy_z10.
6419 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6420 (memcpy): Set alias to __memcpy_z900.
6421 * sysdeps/s390/s390-64/multiarch/memset.S
6422 (memset_z196): Rename to __memset_z196.
6423 Jump to __memset_mvcle instead of memset_mvcle.
6424 (memset_z10): Rename to __memset_z10.
6425 Jump to __memset_mvcle instead of memset_mvcle.
6426 (memset_mvcle) Rename to __memset_mvcle.
6427 (memset): Set alias to __memset_z900.
6429 2015-01-14 Joseph Myers <joseph@codesourcery.com>
6432 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6433 __fesetenv instead of fesetenv.
6435 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6437 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6440 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6442 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6445 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6446 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6447 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6448 strncmp-power8 object.
6449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6450 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6451 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6454 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6455 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6457 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6458 trailing byte check.
6460 2015-01-13 David S. Miller <davem@davemloft.net>
6462 * include/signal.h (__sigreturn): Guard with __USE_MISC.
6464 2015-01-13 Roland McGrath <roland@hack.frob.com>
6466 * login/logout.c (logout): Use memset rather than bzero.
6467 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6468 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6469 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6470 (_gethtbyaddr): Likewise.
6471 * locale/programs/simple-hash.c (bcopy): Macro removed.
6473 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6475 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6476 Add strcmp-power8 object.
6477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6478 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6479 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6480 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6481 __strcmp_power8 implementation.
6482 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6485 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6486 Add strncpy-power8 and stpncpy-power8 objects.
6487 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6488 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6490 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6491 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6492 __stpncpy_power8 implementation.
6493 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6494 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6495 __strncpy_power8 implementation.
6496 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6497 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6500 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6501 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6502 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6504 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6505 strncat-power8 object.
6506 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6507 __strcat_power8 implementation.
6508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6509 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6510 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6511 optimized strcat for power8.
6513 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6514 strcpy-power8 and stpcpy-power8 objects.
6515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6516 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6518 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6519 multiarch stpcpy implementation for POWER8.
6520 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6521 multiarch strcpy implementation for POWER8.
6522 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6523 __strcpy_power8 function.
6524 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6526 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6530 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
6533 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6534 weights and rules. Use do_xfrm_cached if data fits in cache,
6535 do_xfrm otherwise. Moved former main loop to...
6536 * (do_xfrm_cached): New function.
6537 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6538 find_idx, find_position and stack_push.
6539 * (find_idx): New function.
6540 * (find_position): Likewise.
6541 * localedata/sort-test.sh: Added test run for do_xfrm.
6542 * localedata/xfrm-test.c (main): Added command line option
6543 -nocache to run the test with strings that are too large for
6546 2015-01-13 Torvald Riegel <triegel@redhat.com>
6548 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6549 variable to lll_futex_wake call, not the value itself.
6551 2015-01-12 Joseph Myers <joseph@codesourcery.com>
6554 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6555 twom64. Adjust value to 0x1p-64L.
6556 (__scalblnl): Only return standard underflowing result for K <=
6557 -64 not K <= -63; adjust exponent for underflowing result by 64
6559 * math/libm-test.inc (scalbn_test_data): Add more tests.
6560 (scalbln_test_data): Likewise.
6563 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6565 (__scalblnl): Get new exponent of adjusted subnormal value from ES
6567 * math/libm-test.inc (scalbn_test_data): Add more tests.
6568 (scalbln_test_data): Likewise.
6570 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6571 Stefani Seibold <stefani@seibold.net>
6573 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6574 (sysdep_routines): Add dl-vdso here, ...
6575 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6576 (sysdep_routines): ... not here.
6577 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6578 fallback when vDSO is not presented.
6579 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6580 Define with libc_hidden_proto/libc_hidden_data_def definitions.
6581 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6582 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6583 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6584 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6585 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6586 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6587 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6588 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6589 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
6590 fallback configurable symbol when vDSO is not available.
6591 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6592 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
6593 be able to redefine fallback symbol when vDSO is not available.
6594 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6595 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6597 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6599 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6600 (TLS_INIT_TP): Add tm_capable initialization.
6601 (TLS_DEFINE_INIT_TP): Likewise.
6602 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6604 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6605 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6607 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6608 transactoion is lock elision is built and TCB tm_capable is set.
6609 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6611 (INTERNAL_SYSCALL_NCS): Likewise.
6612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6613 (INTERNAL_SYSCALL_NCS): Likewise.
6614 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6616 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6618 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6619 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6620 and remove it for 32 bits case.
6621 [pthread_rwlock_t] (__rwelision): New field for lock elision.
6622 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6624 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6625 Disable lock elision with rdlocks if elision is not available.
6627 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6628 (sysdep_routines): Add lock elision objects.
6629 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6630 [pthread_mutex_t] (__spins): Rework to add lock elision field.
6631 [pthread_mutex_t] (__elision): Add field.
6632 [__PTHREAD_SPINS]: Adjust to init lock elision field.
6633 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6634 elision definitions for powerpc.
6635 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6636 implementation of lock elision for powerpc.
6637 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6638 implementation of timed lock elision for powerpc.
6639 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6640 implementation of trylock with lock elision for powerpc.
6641 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6642 implementaion of unlock for lock elision for powerpc.
6643 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6644 automatic enable lock elision for mutexes.
6645 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6646 transaction execution definitions for powerpc.
6647 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6649 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6650 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6651 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6652 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6655 2015-01-09 Roland McGrath <roland@hack.frob.com>
6657 * sysdeps/posix/shm-directory.c: Use <> rather than ""
6658 for #include of <shm-directory.h>.
6660 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
6662 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6663 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6665 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
6668 * NEWS: Mention bug fix.
6669 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6670 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6671 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6673 2015-01-09 Torvald Riegel <triegel@redhat.com>
6675 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6677 2015-01-09 Torvald Riegel <triegel@redhat.com>
6679 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6681 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6683 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6684 pointer and cast to uintptr_t.
6686 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6688 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6690 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6692 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6694 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6697 2015-01-08 Roland McGrath <roland@hack.frob.com>
6699 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6700 <nptl/pthreadP.h> instead.
6701 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6703 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6705 [__SIGRTMIN] (init): Function removed.
6706 [__SIGRTMIN] (initialized): Variable removed.
6707 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6708 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6709 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6710 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6711 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6712 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6713 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6714 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6715 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6716 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6717 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6718 * sysdeps/nptl/allocrtsig.c: New file.
6719 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6720 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6721 * sysdeps/generic/testrtsig.h: File removed.
6723 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6724 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6726 * nptl/nptl-init.c (pthread_functions): Conditionalize
6727 .ptr__nptl_setxid initialization on [SIGSETXID].
6729 * sysdeps/nptl/sys/procfs.h: New file.
6730 * nptl_db/Makefile (headers): Add it.
6731 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6733 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6734 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6735 * nptl/pthread_attr_setaffinity.c: Include it.
6736 * nptl/pthread_setattr_default_np.c: Likewise.
6737 * nptl/check-cpuset.h: New file.
6739 2015-01-08 Richard Henderson <rth@redhat.com>
6741 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6742 (CFLAGS-tst-execstack-prog.c): Likewise.
6743 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6745 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
6746 Sandra Loosemore <sandra@codesourcery.com>
6747 Andrew Jenner <andrew@codesourcery.com>
6748 Joseph Myers <joseph@codesourcery.com>
6749 Nathan Sidwell <nathan@codesourcery.com>
6751 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6752 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6753 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6754 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6755 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6756 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6757 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6758 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6759 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6760 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6761 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6762 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6763 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6764 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6765 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6766 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6767 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6769 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6771 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6772 timespec struct member in syscall macro.
6773 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6774 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6775 first timeval struct member in syscall macro.
6776 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6778 2015-01-07 Joseph Myers <joseph@codesourcery.com>
6781 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6782 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6783 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6784 __feupdateenv and define as weak alias of __feupdateenv. Use
6786 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6788 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6789 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
6790 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6791 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6793 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6794 __feupdateenv and define as weak alias of __feupdateenv. Use
6796 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6798 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6799 __feupdateenv and define as weak alias of __feupdateenv. Use
6801 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6803 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6804 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6805 (__feupdateenv): Likewise.
6806 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6807 __feupdateenv and define as weak alias of __feupdateenv. Use
6809 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6810 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6812 * sysdeps/tile/math_private.h (__feupdateenv): New inline
6814 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6816 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6817 __feupdateenv instead of feupdateenv.
6818 (default_libc_feupdateenv_test): Likewise.
6819 (libc_feresetround_ctx): Likewise.
6821 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6823 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6826 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
6828 * posix/regcomp.c (parse_bracket_exp): Initialize type to
6829 COLL_SYM in a couple of places to avoid uninitialized variable
6830 wanings on tilegx gcc 4.8.2.
6832 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6834 * sysdeps/aarch64/strcpy.S: New file.
6835 * sysdeps/aarch64/stpcpy.S: New file.
6838 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6840 * sysdeps/aarch64/strrchr.S: New file.
6843 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
6846 * stdlib/setenv.c: Fix memory leak when setting large,
6849 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
6852 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6853 and tabs from buffer before parsing fstab entry.
6854 * misc/tst-mntent.c (main): Add test for mount entry with
6855 trailing spaces and tabs.
6857 2015-01-06 Joseph Myers <joseph@codesourcery.com>
6860 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
6861 * math/fesetround.c (fesetround): Rename to __fesetround and
6862 define as weak alias of __fesetround. Use libm_hidden_weak.
6863 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6864 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6865 * sysdeps/arm/fesetround.c (fesetround): Likewise.
6866 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6867 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6868 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6869 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6870 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6871 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6872 __fesetround_inline.
6873 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6874 __fesetround_inline instead of __fesetround.
6875 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6876 __fesetround and define as weak alias of __fesetround. Use
6877 libm_hidden_weak. Call __fesetround_inline instead of
6879 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6880 __fesetround and define as weak alias of __fesetround. Use
6882 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6884 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6885 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6886 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6887 * sysdeps/tile/math_private.h (__fesetround): New inline function.
6888 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6889 __fesetround and define as weak alias of __fesetround. Use
6891 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6892 __fesetround instead of fesetround.
6893 (default_libc_feholdexcept_setround): Likewise.
6894 (libc_feholdsetround_ctx): Likewise.
6895 (libc_feholdsetround_noex_ctx): Likewise.
6898 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6899 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6900 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6901 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6902 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6903 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6904 define as weak alias of __fesetenv. Use libm_hidden_weak.
6905 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6906 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6907 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6908 define as weak alias of __fesetenv. Use libm_hidden_weak.
6909 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6910 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6911 define as weak alias of __fesetenv. Use libm_hidden_weak.
6912 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6914 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6915 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6917 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6918 define as weak alias of __fesetenv. Use libm_hidden_weak.
6919 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6920 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6921 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6922 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6923 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6924 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6925 __fesetenv instead of fesetenv.
6926 (libc_feresetround_noex_ctx): Likewise.
6927 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6928 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6929 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6930 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6931 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6932 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6933 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6934 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6935 (__feupdateenv): Likewise.
6936 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6937 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6938 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6939 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6941 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6944 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6945 addresses have been freed.
6947 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6949 * resolv/res_init.c (__res_vinit): Improve comments about nserv
6952 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
6954 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6955 Clean up check_pf allocation pattern. addresses
6957 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6959 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6960 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6961 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6962 * nptl/pthread_exit.c (__pthread_exit): Likewise.
6963 * nptl/pthread_join.c (pthread_join): Likewise.
6964 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6965 * sysdeps/posix/waitid.c (__waitid): Likewise.
6966 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6967 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6968 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6969 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6970 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6972 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6973 (__libc_pread64): Likewise.
6974 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6975 (__libc_pwrite): Likewise.
6976 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6977 (__libc_pwrite64): Likewsie.
6978 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6979 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6980 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6981 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6982 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6983 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6984 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6988 (__libc_pread64): Likewise.
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6992 (__libc_pwrite64): Likewise.
6993 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6994 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6995 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6996 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6997 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6998 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6999 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7000 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7001 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7002 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7003 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7004 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7005 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7006 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7007 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7008 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7011 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
7013 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7014 (CFLAGS-test-double.c): Likewise.
7015 (CFLAGS-test-ldouble.c): Likewise.
7016 (CPPFLAGS-test-ifloat.c): Likewise.
7017 (CPPFLAGS-test-idouble.c): Likewise.
7018 (CPPFLAGS-test-ildoubl.c): Likewise.
7019 (CFLAGS-test-test-fenv.c): Remove variable.
7020 (CFLAGS-test-misc.c): Likewise.
7022 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
7025 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7026 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7027 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7028 CLOCKS_PER_SEC == 1000000.
7029 * time/clocktest.c (main): Replace %ld with %jd and cast to
7032 2015-01-05 Roland McGrath <roland@hack.frob.com>
7034 * sysdeps/generic/unwind-resume.h: New file.
7035 * sysdeps/gnu/unwind-resume.c: Include it.
7036 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7037 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7039 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7040 global rather than static.
7041 (_Unwind_Resume): Update user.
7042 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7043 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
7044 rather than static. Add __attribute__ ((cold)).
7045 (_Unwind_Resume, __gcc_personality_v0): Update callers.
7046 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7047 * sysdeps/arm/arm-unwind-resume.S: New file.
7048 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7049 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7050 * sysdeps/arm/Makefile [$(subdir) = csu]
7051 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7052 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7053 Add rt-arm-unwind-resume.
7055 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7056 Add pt-arm-unwind-resume.
7057 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7058 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7060 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7063 * include/fenv.h (__feholdexcept): Declare. Use
7065 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7066 define as weak alias of __feholdexcept. Use libm_hidden_weak.
7067 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7068 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7069 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7070 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7071 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7072 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7073 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7074 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7075 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7076 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7077 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7078 (feholdexcept): Likewise.
7079 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7080 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7081 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7082 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7083 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7084 __feholdexcept instead of feholdexcept.
7085 (default_libc_feholdexcept_setround): Likewise.
7087 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7089 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7090 to avoid using stl/str to align destination.
7092 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7094 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7096 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7099 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7100 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7101 Define as weak alias not strong alias.
7103 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7105 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7106 bltzal with addiupc.
7107 (RTLD_START): Ditto.
7109 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
7111 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7112 for __vdso_* functions in declarations.
7113 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7115 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7116 INTERNAL_VSYSCALL): Use struct return types to check for error.
7118 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7119 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7120 function with cast from llround().
7121 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7122 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7125 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7128 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7129 Define as weak alias not strong alias.
7132 * ctype/ctype-c99.c: New file. isblank implementation moved from
7134 * ctype/ctype-extn.c: ... here.
7135 (__isblank_l): Move to ...
7136 * ctype/ctype-c99_l.c: ... here. New file.
7137 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7138 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7140 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7141 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7142 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7143 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7144 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7147 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7148 (posix_fadvise64): Define as weak alias not strong alias.
7149 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7150 (posix_fallocate64): Likewise.
7151 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7153 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7154 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7155 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7156 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7157 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7159 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
7162 * NEWS: Mention bug fix.
7163 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7164 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7165 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7166 (HOST_STACK_END_ADDR): Likewise.
7168 2015-01-02 Joseph Myers <joseph@codesourcery.com>
7171 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
7172 * math/fegetround.c (fegetround): Rename to __fegetround and
7173 define as weak alias of __fegetround. Use libm_hidden_weak.
7174 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7175 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7176 * sysdeps/arm/fegetround.c (fegetround): Likewise.
7177 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7178 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7179 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7180 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7181 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7182 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7183 Undefine after rather than before function definition; use
7184 parentheses around function name in definition.
7185 (__fegetround): Also undefine macro after function definition.
7186 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7187 __fegetround and define as weak alias of __fegetround. Use
7188 libm_hidden_weak. Do not undefine as macro.
7189 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7191 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7192 __fegetround and define as weak alias of __fegetround. Use
7194 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7195 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7196 * sysdeps/tile/math_private.h (__fegetround): New inline function.
7197 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7198 __fegetround and define as weak alias of __fegetround. Use
7200 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7201 __fegetround instead of fegetround.
7204 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7205 Condition macro definition on [__USE_MISC].
7208 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7209 (struct sigaction): Change type of sa_flags field to int.
7212 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7213 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7216 * nptl/version.c (banner): Use single year in copyright notice.
7218 * NEWS: Update copyright dates.
7219 * catgets/gencat.c (print_version): Likewise.
7220 * csu/version.c (banner): Likewise.
7221 * debug/catchsegv.sh: Likewise.
7222 * debug/pcprofiledump.c (print_version): Likewise.
7223 * debug/xtrace.sh (do_version): Likewise.
7224 * elf/ldconfig.c (print_version): Likewise.
7225 * elf/ldd.bash.in: Likewise.
7226 * elf/pldd.c (print_version): Likewise.
7227 * elf/sotruss.sh: Likewise.
7228 * elf/sprof.c (print_version): Likewise.
7229 * iconv/iconv_prog.c (print_version): Likewise.
7230 * iconv/iconvconfig.c (print_version): Likewise.
7231 * locale/programs/locale.c (print_version): Likewise.
7232 * locale/programs/localedef.c (print_version): Likewise.
7233 * login/programs/pt_chown.c (print_version): Likewise.
7234 * malloc/memusage.sh (do_version): Likewise.
7235 * malloc/memusagestat.c (print_version): Likewise.
7236 * malloc/mtrace.pl: Likewise.
7237 * manual/libc.texinfo: Likewise.
7238 * nptl/version.c (banner): Likewise.
7239 * nscd/nscd.c (print_version): Likewise.
7240 * nss/getent.c (print_version): Likewise.
7241 * nss/makedb.c (print_version): Likewise.
7242 * posix/getconf.c (main): Likewise.
7243 * scripts/test-installation.pl: Likewise.
7244 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7246 2015-01-02 Will Newton <will.newton@linaro.org>
7248 * sysdeps/arm/armv7/configure: Removed.
7249 * sysdeps/arm/armv7/configure.ac: Likewise.
7251 2015-01-02 Joseph Myers <joseph@codesourcery.com>
7253 * All files with FSF copyright notices: Update copyright dates
7254 using scripts/update-copyrights.
7255 * intl/plural.c: Regenerated.
7256 * locale/programs/charmap-kw.h: Likewise.
7257 * locale/programs/locfile-kw.h: Likewise.
7259 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7261 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7263 2014-12-31 Joseph Myers <joseph@codesourcery.com>
7266 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7267 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7268 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7269 and define as weak alias of __fegetenv. Use libm_hidden_weak.
7270 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7271 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7272 define as weak alias of __fegetenv. Use libm_hidden_weak.
7273 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7274 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7275 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7276 define as weak alias of __fegetenv. Use libm_hidden_weak.
7277 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7278 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7279 define as weak alias of __fegetenv. Use libm_hidden_weak.
7280 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7282 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7283 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7285 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7286 define as weak alias of __fegetenv. Use libm_hidden_weak.
7287 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7288 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7289 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7290 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7291 and define as weak alias of __fegetenv. Use libm_hidden_weak.
7292 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7293 __fegetenv instead of fegetenv.
7294 (libc_feholdsetround_noex_ctx): Likewise.
7296 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
7298 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7299 (Elf_MIPS_ABIFlags_v0): New structure.
7300 (EF_MIPS_FP64): Define.
7301 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7302 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7303 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7304 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7305 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7306 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7307 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7308 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7309 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7310 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7311 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7312 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7313 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7314 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7315 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7316 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7317 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7318 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7319 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7320 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7321 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7322 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7324 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7326 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7327 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7328 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7329 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7330 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7331 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7332 * sysdeps/mips/tst-abi-interlink.c: Likewise.
7333 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7334 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7335 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7336 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7337 record the current FP ABI extension.
7338 (mips-mode-switch): Define to show if kernel headers support mode
7340 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7341 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7342 supported SYSV ABI version to 3.
7343 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7346 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7347 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7349 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7351 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7353 2014-12-31 Joseph Myers <joseph@codesourcery.com>
7355 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7356 __fegetround and redefine to call __fegetround. Remove condition
7357 on [!__NO_MATH_INLINES].
7358 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7360 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7361 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7363 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7364 instead of <fenv_libc.h>.
7365 (__llrintl): Call fegetround instead of __fegetround.
7366 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7367 instead of <fenv_libc.h>.
7368 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7369 (__lrintl): Call fegetround instead of __fegetround.
7370 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7371 instead of <fenv_libc.h>.
7372 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7373 (__rintl): Call fegetround instead of __fegetround.
7375 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7377 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7380 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7383 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7384 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7385 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7387 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7389 * sysdeps/i386/tls-macros.h: Include <features.h>.
7390 (TLS_LE): Use non-PIC version for GCC >= 5.0.
7394 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7395 define for GCC >= 5.0.
7397 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
7399 * math/test-fenv.c (test_single_exception, set_single_exc,
7400 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7401 feexcp_mask_test, feenable_test, fe_single_test): Add
7402 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7403 case where they are not used.
7404 * math/libm-test.inc: Likewise.
7405 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7406 unused in the absence of FP rounding/exception support.
7407 * stdio-common/tst-printf-round.c: Likewise.
7408 * stdlib/tst-strtod-round.c: Likewise.
7409 * stdlib/tst-strtod-underflow.c: Likewise.
7411 2014-12-30 Joseph Myers <joseph@codesourcery.com>
7414 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7415 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7416 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7417 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7419 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7420 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7421 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7423 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7424 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7426 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7428 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7429 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7430 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7432 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7434 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7435 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7436 (__feraiseexcept): Likewise.
7437 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7438 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7440 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7441 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7443 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7444 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7445 Use libm_hidden_def.
7446 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7448 (feraiseexcept): Define as weak not strong alias. Use
7450 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7451 New inline function. Factored out of ...
7452 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
7453 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7454 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7456 * math/w_acos.c (__acos): Likewise.
7457 * math/w_asin.c (__asin): Likewise.
7458 * math/w_ilogb.c (__ilogb): Likewise.
7459 * math/w_j0.c (y0): Likewise.
7460 * math/w_j1.c (y1): Likewise.
7461 * math/w_jn.c (yn): Likewise.
7462 * math/w_log.c (__log): Likewise.
7463 * math/w_log10.c (__log10): Likewise.
7464 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7465 * sysdeps/aarch64/fpu/math_private.h
7466 (libc_feupdateenv_test_aarch64): Likewise.
7467 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7468 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7469 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7470 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7471 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7472 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7473 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7474 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7475 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7476 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7478 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7481 * io/test-utime.c (main): Replace %ld with %jd and cast to
7483 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7484 * nptl/tst-mutex5.c: Include <stdint.h>.
7485 (do_test): Replace %ld with %jd and cast to intmax_t.
7486 * posix/tst-regex.c (run_test): Likewise.
7487 (run_test_backwards): Likewise.
7488 * rt/tst-clock.c: Include <stdint.h>.
7489 (clock_test): Replace %ld with %jd and cast to intmax_t.
7490 * rt/tst-cpuclock1.c: Include <stdint.h>.
7491 (do_test): Replace %lu with %ju and cast to uintmax_t.
7492 * rt/tst-cpuclock2.c: Include <stdint.h>.
7493 (do_test): Replace %lu with %ju and cast to uintmax_t.
7494 * rt/tst-mqueue1.c: Include <stdint.h>.
7495 (check_attrs): Replace %ld with %jd and cast to intmax_t.
7496 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7498 * rt/tst-mqueue4.c (do_test): Likewise.
7499 * rt/tst-timer4.c: Include <stdint.h>.
7500 (check_ts): Replace %ld with %jd and cast to intmax_t.
7501 (do_test): Likewise.
7502 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7503 and cast to intmax_t.
7504 * sysdeps/pthread/tst-timer.c (main): Likewise.
7505 * time/clocktest.c (main): Likewise.
7506 * time/tst-posixtz.c (do_test): Likewise.
7507 * timezone/tst-timezone.c (main): Likewise.
7509 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7510 H.J. Lu <hongjiu.lu@intel.com>
7512 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7513 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7514 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7515 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7516 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7517 version if bit_Fast_Unaligned_Load is set.
7518 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7519 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7520 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7521 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7522 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7523 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7524 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7525 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7526 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7527 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7529 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7530 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7531 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7532 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7534 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
7536 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7537 instead of #if to avoid a Wundef warning.
7538 * stdlib/tst-limits.c (do_test): Likewise.
7540 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7541 parallel other exception macros.
7542 (fegetenv): Convert from macro to extern inline so that it applies
7543 retroactively to inline functions already seen by the compiler.
7544 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7546 * posix/Makefile (before-compile): Use $(objpfx) for
7547 posix-conf-vars-def.h.
7549 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7551 * posix/getconf.c (main): Use size_t for type of I.
7552 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7555 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7556 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7557 * posix/posix-envs.def: Likewise.
7558 * sysdeps/posix/sysconf.c: Likewise.
7559 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7560 (specs): Remove array.
7561 * scripts/gen-posix-conf-vars.awk: Support generation of specs
7564 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7565 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7566 (__sysconf): Use CONF_IS_* macros.
7568 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7569 ($(objpfx)posix-conf-vars-def.h): New target.
7570 * posix/posix-conf-vars.list: New file.
7571 * posix/posix-conf-vars.h: New file.
7572 * posix/confstr.c: Include posix-conf-vars.h.
7573 (confstr): Use CONF_IS_* macros.
7574 * posix/posix-envs.def: Include posix-conf-vars.h. Use
7576 * scripts/gen-posix-conf-vars.awk: New file.
7578 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
7580 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7581 fegetround): Add no-op macros to avoid linknamespace issues.
7583 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7584 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7586 * sysdeps/unix/sysv/linux/tile/sysdep.h
7587 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7588 assembly-specific section to avoid a redefinition warning.
7590 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7591 long before casting to pointer to avoid a cast warning.
7593 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
7595 * sysdeps/tile/tilegx/Implies: New file.
7597 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
7599 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7601 2014-12-23 Florian Weimer <fweimer@redhat.com>
7603 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7605 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7607 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7609 * sysdeps/unix/sysv/linux/utimes.c: Do not include
7610 <kernel-features.h>.
7611 (__utimes) [__NR_utimes]: Make code unconditional.
7612 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7613 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7614 (__ASSUME_UTIMES): Do not undefine.
7615 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7616 (__ASSUME_UTIMES): Likewise.
7617 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7618 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7619 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7620 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7622 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7624 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7626 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
7629 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7630 alias to weak alias for j0l, y0l.
7631 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7632 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7635 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7638 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7640 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7641 to zero if not already defined.
7643 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7646 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7647 (__kernel_standard_f): Remove. Moved to k_standardf.c.
7648 (__kernel_standard_l): Remove. Moved to k_standardl.c with
7649 (char *) casts added.
7650 * sysdeps/ieee754/k_standardf.c: New file.
7651 * sysdeps/ieee754/k_standardl.c: Likewise.
7652 * math/Makefile (libm-support): Remove k_standard.
7653 (libm-calls): Add k_standard.
7655 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7657 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7658 Optimize to avoid an unnecessary FPCR read.
7660 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7662 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7663 Optimize to reduce FPCR/FPSR accesses.
7665 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7667 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7668 Call libc_fetestexcept_aarch64.
7670 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7672 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7673 Call libc_fesetround_aarch64.
7675 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7678 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7679 (__bind): Do not define as weak alias.
7680 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7682 (__getsockname): Do not define as weak alias.
7684 2014-12-22 Will Newton <will.newton@linaro.org>
7686 * manual/install.texi: Document that we require bison 2.7
7688 * INSTALL: Regenerate.
7689 * configure.ac: Use AC_CHECK_PROG_VER instead of
7690 AC_PATH_PROG when checking for bison and check for
7691 version 2.7 or above.
7692 * configure: Regenerate.
7694 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
7697 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7698 * sysdeps/tile/ffsll.c (ffsll): To here.
7700 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7702 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7704 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7706 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7708 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7709 hidden ___tls_get_addr.
7710 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7711 hidden __tls_get_addr.
7712 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7713 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7716 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
7718 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7721 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7723 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7724 from "call _dl_init@PLT".
7725 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7727 2014-12-21 Anders Kaseorg <andersk@mit.edu>
7729 * manual/search.texi: (Array Sort Function): Clarify stable sorting
7732 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
7734 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7736 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7739 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7742 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7744 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7746 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7747 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7748 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7749 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7750 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7752 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7754 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7755 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7756 (PTR_SUBU): Use subu for mips32r6/mips64r6.
7757 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7758 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7760 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7762 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
7764 * string/strncat.c (STRNCAT): Simplify implementation.
7766 2014-12-19 David S. Miller <davem@davemloft.net>
7768 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7769 access the quad as both a long double and as a series of 4 words.
7771 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7772 link_map->l_info array access.
7774 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7776 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7778 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7779 * math/atest-exp2.c (TIMEOUT): Likewise.
7780 * math/atest-sincos.c (TIMEOUT): Likewise.
7782 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7784 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7785 -Wno-error with -fno-builtin-lround.
7787 2014-12-19 Torvald Riegel <triegel@redhat.com>
7789 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7790 Contains futex constants and functions moved over from ...
7791 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
7792 <lowlevellock-futex.h>.
7793 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7794 (lll_timedwait_tid): Add comments and parentheses around macro
7797 2014-12-19 Torvald Riegel <triegel@redhat.com>
7799 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7800 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
7801 (__lll_private_flag): Remove.
7802 (lll_futex_wait): Likewise.
7803 (lll_futex_timed_wait): Likewise.
7804 (lll_futex_wake): Likewise.
7805 (lll_futex_requeue): Likewise.
7806 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7807 (__lll_timedwait_tid): Spell out argument names.
7808 (lll_timedwait_tid): Add comments and parentheses around macro
7810 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7811 LLL_SHARED and LLL_PRIVATE usable from assembly code.
7813 2014-12-19 Torvald Riegel <triegel@redhat.com>
7815 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7816 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7817 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7818 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7819 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7820 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7821 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7822 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7823 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7824 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7825 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7826 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7827 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7828 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7829 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7830 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7831 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7832 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7833 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7835 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7837 * sysdeps/x86_64/x32/Makefile: New file.
7839 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7841 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7842 1L with (mp_limb_t) 1.
7844 2014-12-17 Roland McGrath <roland@hack.frob.com>
7846 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7847 * nptl/libc_pthread_init.c: ... here.
7848 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7849 * nptl/register-atfork.c: ... here.
7851 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7852 Use pthread_sigmask rather than INTERNAL_SYSCALL.
7853 Use assert_perror to check its return value.
7854 (__gai_create_helper_thread): Likewise.
7856 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7858 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7860 2014-12-17 Joseph Myers <joseph@codesourcery.com>
7863 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7865 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7867 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7869 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7871 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7872 (profil_counter): Likewise.
7873 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7874 (profil_counter): Likewise.
7875 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7877 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7879 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7880 (profil_counter): Likewise.
7881 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7883 [!__profil_counter] (profil_counter): Define as weak alias of
7885 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7886 (profil_counter): Rename to __profil_counter.
7887 [!__profil_counter] (profil_counter): Define as weak alias of
7889 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7890 (profil_counter): Rename to __profil_counter.
7891 [!__profil_counter] (profil_counter): Define as weak alias of
7893 * sysdeps/posix/profil.c: Update comment referring to
7895 (__profil): Use __profil_counter instead of profil_counter.
7896 * sysdeps/posix/sprofil.c (profil_counter): Rename to
7897 __profil_counter. Use __profil_counter_ushort and
7898 __profil_counter_uint in definitions.
7899 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7900 instead of profil_counter_uint and profil_counter_ushort.
7903 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7904 define as weak alias of __inet_makeaddr.
7905 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7906 as weak alias of __inet_addr.
7907 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7908 as weak alias of __inet_pton. Use libc_hidden_weak.
7909 * include/arpa/inet.h (__inet_pton): Declare. Use
7911 (inet_makeaddr): Don't use libc_hidden_proto.
7912 (__inet_makeaddr): Declare. Use libc_hidden_proto.
7913 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7914 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
7915 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7917 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7918 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7920 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
7922 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7924 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7926 * stdio-common/bug-vfprintf-nargs.c (do_test):
7927 Cast value to intptr_t to avoid format warning
7928 for usage with PRIdPTR printing macro.
7930 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7932 * libio/tst-widetext.c (do_test):
7933 Use format type %td instead of %Zd for ptrdiff_t
7934 in order to avoid format warning.
7936 2014-12-17 Andreas Schwab <schwab@suse.de>
7938 * nscd/mem.c (gc): Add size_t cast to match printf format.
7940 2014-12-16 Roland McGrath <roland@hack.frob.com>
7942 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7943 (init): Apply PTR_MANGLE to pointers before storing them.
7944 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7947 2014-12-16 Joseph Myers <joseph@codesourcery.com>
7950 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7951 define as weak alias of __memrchr.
7952 (__memrchr): Do not define as strong alias of memrchr.
7953 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7955 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7956 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7957 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7960 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7961 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
7962 (if_indextoname): Rename to __if_indextoname and define as weak
7963 alias of __if_indextoname. Use libc_hidden_weak.
7964 (if_freenameindex): Rename to __if_freenameindex and define as
7965 weak alias of __if_freenameindex.
7966 (if_nameindex): Rename to __if_nameindex and define as weak alias
7968 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7969 __if_nametoindex and define as weak alias of __if_nametoindex.
7970 Use libc_hidden_weak.
7971 (if_freenameindex): Rename to __if_freenameindex and define as
7972 weak alias of __if_freenameindex.
7973 (if_nameindex): Rename to __if_nameindex and define as weak alias
7975 (if_indextoname): Rename to __if_indextoname and define as weak
7976 alias of __if_indextoname. Use libc_hidden_weak.
7977 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7978 __if_nametoindex and define as weak alias of __if_nametoindex.
7979 Use libc_hidden_weak.
7980 (if_freenameindex): Rename to __if_freenameindex and define as
7981 weak alias of __if_freenameindex. Use libc_hidden_weak.
7982 (if_nameindex_netlink): Use __if_freenameindex instead of
7984 (if_nameindex): Rename to __if_nameindex and define as weak alias
7985 of __if_nameindex. Use libc_hidden_weak.
7986 (if_indextoname): Rename to __if_indextoname and define as weak
7987 alias of __if_indextoname. Use libc_hidden_weak.
7988 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7990 [!_ISOMAC] (__if_freenameindex): Likewise.
7991 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7993 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7995 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7996 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7997 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7998 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7999 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8000 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8001 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8003 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8005 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8006 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8008 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8010 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8011 subscript above bounds'
8013 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8016 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
8018 * libio/tst-fopenloc.c: Use test-skeleton.c.
8020 * stdlib/tst-bsearch.c: Use test-skeleton.c.
8021 (entry): Rename to ITEM.
8022 (do_test, comp): Adjust.
8024 * stdio-common/tst-fseek.c: Use test-skeleton.c.
8026 2014-12-16 Torvald Riegel <triegel@redhat.com>
8028 * string/tester.c: Include <libc-internal.h>.
8029 (test_memset): Ignore -Wmemset-transposed-args.
8031 2014-12-16 Torvald Riegel <triegel@redhat.com>
8033 * misc/tst-mntent2.c (do_test): Fix warning.
8035 2014-12-16 Torvald Riegel <triegel@redhat.com>
8037 * elf/tst-unique4lib.cc(a): Mark as used.
8039 2014-12-16 Florian Weimer <fweimer@redhat.com>
8042 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8045 2014-12-16 Allan McRae <allan@archlinux.org>
8047 * stdio-common/Makefile (tests): Re-add bug26.
8049 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
8052 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8055 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
8057 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8058 (__lll_lock_wait): Likewise.
8059 (__lll_timedlock_wait): Likewise.
8060 (__lll_timedwait_tid): Likewise.
8061 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8062 (__lll_robust_timedlock_wait): Likewise.
8063 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8064 (lll_cond_trylock): Likewise.
8065 (__lll_lock): Likewise.
8066 (__lll_robust_lock): Likewise.
8067 (__lll_cond_lock): Likewise.
8068 (lll_robust_cond_lock): Likewise.
8069 (__lll_timedlock): Likewise.
8070 (__lll_robust_timedlock): Likewise.
8071 (__lll_unlock): Likewise.
8072 (__lll_robust_unlock): Likewise.
8073 (lll_wait_tid): Likewise.
8074 (lll_timedwait_tid): Likewise.
8076 2014-12-15 Torvald Riegel <triegel@redhat.com>
8078 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8080 2014-12-15 Torvald Riegel <triegel@redhat.com>
8082 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8084 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8086 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8087 * stdio-common/tst-sprintf.c: Likewise.
8089 2014-12-15 Torvald Riegel <triegel@redhat.com>
8091 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8093 2014-12-15 Jeff Law <law@redhat.com>
8096 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8097 on the heap. (CVE-2012-3406)
8098 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8099 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
8100 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8102 2014-12-15 Will Newton <will.newton@linaro.org>
8104 * manual/install.texi: Bump required version of texinfo
8106 * INSTALL: Regenerated.
8107 * configure.ac: Check for makeinfo version 4.7 and above.
8108 * configure: Regenerated.
8110 2014-12-12 Roland McGrath <roland@hack.frob.com>
8112 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8113 PREFIX, string constant to insert between directory and name.
8114 * sysdeps/posix/shm_open.c: Update caller.
8115 * sysdeps/posix/shm_unlink.c: Likewise.
8116 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8117 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8118 (SEM_SHM_PREFIX): New macro.
8119 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8120 [$(have-thread-library) = no].
8121 * nptl/Makefile (libpthread-routines): Add shm-directory.
8122 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8123 * sysdeps/nptl/shm-directory.h: New file.
8124 * sysdeps/posix/shm-directory.c
8125 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8126 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8127 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8129 (__where_is_shmfs): Function removed.
8130 (mountpoint, defaultmount, defaultdir, __namedsem_once):
8132 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8134 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
8136 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8137 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8138 unconditional for use inside libpthread.
8139 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8141 2014-12-12 Roland McGrath <roland@hack.frob.com>
8143 * nptl/pthread_getaffinity.c: New file.
8144 * nptl/pthread_setaffinity.c: New file.
8145 * nptl/pthread_getname.c: New file.
8146 * nptl/pthread_setname.c: New file.
8148 * nptl/pthread_create.c (START_THREAD_DEFN)
8149 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8151 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8152 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8154 * resolv/res_send.c (send_vc): Disable warning resplen may
8155 be used uninitialized.
8157 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8160 (ATTR_NULL): New define checks ATTR against NULL.
8161 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8162 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8164 2014-12-11 James Lemke <jwlemke@codesourcery.com>
8168 (mem2mem_check): Revert my previous change.
8169 (malloc_check_get_size): Revert my previous change.
8170 (mem2chunk_check): Revert my previous change.
8172 2014-12-11 Roland McGrath <roland@hack.frob.com>
8174 * sysdeps/posix/shm-directory.c: New file.
8175 * sysdeps/posix/shm-directory.h: New file.
8176 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8177 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8178 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
8179 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8180 Transmute EPERM to EACCES.
8181 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8183 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
8184 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8186 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8188 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8189 pointer and cast to uintptr_t.
8190 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8191 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8192 Add cast to avoid warning.
8193 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8195 2014-12-11 Joseph Myers <joseph@codesourcery.com>
8197 * nptl/semaphore.h: Move to ...
8198 * sysdeps/pthread/semaphore.h: ... here.
8199 * Makefile (installed-headers): Change nptl/semaphore.h to
8200 sysdeps/pthread/semaphore.h.
8202 2014-12-11 Roland McGrath <roland@hack.frob.com>
8204 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8205 generated error format strings.
8207 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8208 -Wformat-extra-args warnings for scanf formats.
8209 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8210 test of zero-length format (duh).
8211 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8212 corner-case scanf format test.
8213 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8214 generated fprintf format string.
8215 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8216 corner-case sprintf format tests.
8217 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8218 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8219 -Wformat-extra-args warnings throughout.
8220 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8221 (CFLAGS-scanf4.c): Likewise.
8222 (CFLAGS-scanf7.c): Likewise.
8223 (CFLAGS-tst-sprintf.c): Likewise.
8224 (CFLAGS-tst-printf.c): Likewise.
8225 (CFLAGS-tst-printfsz.c): Likewise.
8227 2014-12-11 Joseph Myers <joseph@codesourcery.com>
8229 * include/cpio.h: New file.
8230 * include/fmtmsg.h: Likewise.
8232 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
8233 corresponding format argument to size_t.
8234 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
8236 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
8237 corresponding format argument to size_t.
8238 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
8240 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
8241 corresponding format argument to size_t.
8242 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8243 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8244 (CFLAGS-tst-mbswcs2.c): Likewise.
8245 (CFLAGS-tst-mbswcs3.c): Likewise.
8246 (CFLAGS-tst-mbswcs4.c): Likewise.
8247 (CFLAGS-tst-mbswcs5.c): Likewise.
8248 (CFLAGS-tst-trans.c): Likewise
8250 2014-12-11 Roland McGrath <roland@hack.frob.com>
8252 * posix/regexbug1.c (main): Use "%s" format with regerror results,
8253 rather than assuming they won't contain any '%'s.
8255 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
8257 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8258 inhibit_loop_to_libcall to avoid recursive calls.
8259 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8260 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8262 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8264 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8267 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
8269 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8270 integer value instead of boolean.
8272 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
8274 * malloc/malloc.c: Fix powerof2 check.
8276 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8278 * locale/programs/locfile.h (maybe_swap_uint32):
8279 Remove inline and add unused attribute.
8281 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8283 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8284 Truncating assembler expression to a .long expression.
8286 2014-12-11 Andreas Schwab <schwab@suse.de>
8288 * elf/rtld.c (struct map_args): Constify str member.
8289 (do_preload): Constify fname argument.
8291 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8293 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8294 constants definition.
8296 2014-12-11 Andreas Schwab <schwab@suse.de>
8299 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8300 FORCE_ELISION instead of DO_ELISION.
8301 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8303 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8306 * iconvdata/gconv-modules: Remove duplicate entry.
8308 2014-12-11 Will Newton <will.newton@linaro.org>
8310 Merge gettext 0.19.3 into intl/.
8312 This involves a number of cosmetic changes to comments
8313 and ANSI function definitions and prototypes throughout
8314 all the files. The gettext copyright header is used but
8315 with the date ranges taken from the glibc copy.
8317 * NEWS: Add gettext merge to 2.21.
8318 * intl/bindtextdom.c: Switch to gettext copyright.
8319 Use ANSI definitions and prototypes.
8320 Use gl_* locking primitives rather than __libc_* ones.
8321 Use __builtin_expect rather than __glibc_likely/unlikely.
8322 * intl/dcgettext.c: Switch to gettext copyright.
8323 Use ANSI definitions and prototypes.
8324 * intl/dcigettext.c: Switch to gettext copyright.
8325 Use ANSI definitions and prototypes.
8326 (INTDIV0_RAISES_SIGFPE): New define.
8327 Use gl_* locking primitives rather than __libc_* ones.
8328 Include eval-plural.h instead of plural-eval.c.
8329 Use __builtin_expect rather than __glibc_likely/unlikely.
8330 * intl/dcngettext.c: Switch to gettext copyright.
8331 Use ANSI definitions and prototypes.
8332 * intl/dgettext.c: Likewise.
8333 * intl/dngettext.c: Likewise.
8334 * intl/plural-eval.c: Renamed to...
8335 * intl/eval-plural.h: ...this.
8336 * intl/explodename.c: Switch to gettext copyright.
8337 Use ANSI definitions and prototypes.
8338 (_nl_explode_name): Use strchr instead of __rawmemchr.
8339 * intl/finddomain.c: Switch to gettext copyright.
8340 Use ANSI definitions and prototypes.
8341 Use gl_* locking primitives rather than __libc_* ones.
8342 (_nl_find_domain): Use malloc rather than alloca for
8343 allocation of temporary locale name.
8344 * intl/gettext.c: Switch to gettext copyright.
8345 Use ANSI definitions and prototypes.
8346 * intl/gettextP.h: Switch to gettext copyright.
8347 Use ANSI definitions and prototypes.
8348 Use gl_* locking primitives rather than __libc_* ones.
8349 * intl/gmo.h: Switch to gettext copyright.
8350 (struct sysdep_string): Move struct segment_pair outside of
8352 * intl/hash-string.c: Use ANSI definitions and prototypes.
8353 * intl/hash-string.h: Switch to gettext copyright.
8354 Use ANSI definitions and prototypes.
8355 * intl/l10nflist.c: Switch to gettext copyright.
8356 Use ANSI definitions and prototypes.
8357 (_nl_normalize_codeset): Avoid integer overflow.
8358 * intl/loadinfo.h: Switch to gettext copyright.
8359 Use ANSI definitions and prototypes.
8360 (LIBINTL_DLL_EXPORTED): New define.
8361 (PATH_SEPARATOR): New define.
8362 * intl/loadmsgcat.c: Switch to gettext copyright.
8363 * intl/localealias.c: Switch to gettext copyright.
8364 Use ANSI definitions and prototypes.
8365 (_nl_expand_alias): Use PATH_SEPARATOR.
8366 * intl/ngettext.c: Switch to gettext copyright.
8367 Use ANSI definitions and prototypes.
8368 * intl/plural-exp.c: Likewise.
8369 * intl/plural-exp.h: Switch to gettext copyright.
8370 Use ANSI definitions and prototypes.
8371 (struct expression): Move definition of enum operator outside
8372 of struct definition.
8373 * intl/plural.c: Regenerate.
8374 * intl/plural.y: Switch to gettext copyright.
8375 Use ANSI definitions and prototypes.
8377 * intl/textdomain.c: Switch to gettext copyright.
8378 Use ANSI definitions and prototypes.
8379 Use gl_* locking primitives rather than __libc_* ones.
8381 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
8383 * debug/warning-nop.c: Add used atrribute.
8385 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8387 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8389 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8390 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8391 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8393 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8394 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8397 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8398 Undefine after defining function. Define as weak alias of
8399 __wcschr. Use libc_hidden_weak.
8400 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
8401 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8402 (libc_hidden_def): Also define __GI___wcschr alias.
8403 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8404 __wcschr and define as weak alias of __wcschr.
8405 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8407 [!WCSCHR] (DEFAULT_WCSCHR): Define.
8408 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8409 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
8410 libc_hidden_weak. Do not use libc_hidden_def.
8411 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8412 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8413 __GI___wcschr alias.
8414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8415 [IS_IN (libc)] (wcschr): Define as macro expanding to
8417 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8418 [IS_IN (libc)] (__wcschr_power6): Likewise.
8419 [IS_IN (libc)] (__wcschr_power7): Likewise.
8420 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
8422 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8424 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8425 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8426 __wcschr and define as weak alias of __wcschr. Use
8427 libc_hidden_builtin_def.
8428 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8429 as weak alias of __wcschr. Use libc_hidden_weak.
8430 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8432 * time/era.c (_nl_init_era_entries): Likewise.
8433 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8435 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8436 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8438 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8440 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8441 format for long int variable.
8443 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
8446 * manual/search.texi: (Array Sort Function): Remove claim how to make
8449 2014-12-10 Andreas Schwab <schwab@suse.de>
8452 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8453 user-controlled locks.
8455 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
8457 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8460 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8462 * configure.ac (--disable-werror): New configure option.
8463 (enable_werror): New AC_SUBST.
8464 * configure: Regenerated.
8465 * config.make.in (enable-werror): New variable.
8466 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8468 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8469 * manual/install.texi (Configuring and compiling): Document
8471 * INSTALL: Regenerated.
8472 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8473 (CFLAGS-tst-chk2.c): Likewise.
8474 (CFLAGS-tst-chk3.c): Likewise.
8475 (CFLAGS-tst-chk4.cc): Likewise.
8476 (CFLAGS-tst-chk5.cc): Likewise.
8477 (CFLAGS-tst-chk6.cc): Likewise.
8478 (CFLAGS-tst-lfschk1.c): Likewise.
8479 (CFLAGS-tst-lfschk2.c): Likewise.
8480 (CFLAGS-tst-lfschk3.c): Likewise.
8481 (CFLAGS-tst-lfschk4.cc): Likewise.
8482 (CFLAGS-tst-lfschk5.cc): Likewise.
8483 (CFLAGS-tst-lfschk6.cc): Likewise.
8485 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8486 (main): Disable -Wdeprecated-declarations around calls to
8487 register_printf_function.
8489 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8490 (do_test): Disable -Wdiv-by-zero around some calls to
8491 fwrite_unlocked and fread_unlocked.
8493 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8494 (DIAG_POP_NEEDS_COMMENT): Likewise.
8495 (_DIAG_STR1): Likewise.
8496 (_DIAG_STR): Likewise.
8497 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8498 * stdio-common/bug21.c: Include <libc-internal.h>.
8499 (do_test): Disable -Wformat around call to sscanf.
8500 * stdio-common/scanf14.c: Include <libc-internal.h>.
8501 (main): Disable -Wformat around some calls to scanf functions.
8503 2014-12-09 Torvald Riegel <triegel@redhat.com>
8505 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8507 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8509 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8510 stack variable alignment.
8512 2014-12-06 Joseph Myers <joseph@codesourcery.com>
8515 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8516 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8517 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8518 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8519 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8520 __getrlimit instead of getrlimit.
8521 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8522 __gettimeofday instead of gettimeofday.
8523 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8525 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8527 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8528 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8530 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8531 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8533 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8535 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8536 for wide-character tests.
8538 2014-12-04 Roland McGrath <roland@hack.frob.com>
8540 * io/openat64.c: #include <libc-internal.h>
8541 (__openat64): Prototypify. Use ignore_value on MODE.
8542 * io/openat.c: Likewise.
8543 * misc/reboot.c: #include <libc-internal.h>
8544 (reboot): Prototypify. Use ignore_value on HOWTO.
8545 * misc/ptrace.c: #include <libc-internal.h>
8546 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
8548 2014-12-04 Joseph Myers <joseph@codesourcery.com>
8550 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8551 XPG4, UNIX98 and XOPEN2K.
8552 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8554 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8556 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8558 * libio/fileops.c: Use ISO C style for function definitions.
8559 * libio/iofopen.c: Likewise.
8560 * libio/wfileops.c: Likewise.
8563 * libio/fileops.c (_IO_new_file_underflow): Unset cached
8565 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8566 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8567 (fgets_func): Function pointer to fgets and fgetws.
8568 (do_ftell_test): Add test to verify ftell value after read
8570 (do_test): Set fgets_func.
8572 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8573 O_TRUNC flag for w and w+ modes.
8574 (do_rewind_test): Likewise.
8575 (do_ftell_test): Likewise.
8576 (do_write_test): Likewise.
8579 * libio/fileops.c (do_ftell): Seek only when there are
8581 * libio/wfileops.c (do_ftell_wide): Likewise.
8582 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8584 (do_one_test): Call it.
8586 2014-12-03 Joseph Myers <joseph@codesourcery.com>
8588 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8589 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8590 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8592 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8593 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8594 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8596 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8598 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8600 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8603 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8604 as weak alias of __getifaddrs. Use libc_hidden_weak.
8605 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8606 __freeifaddrs. Use libc_hidden_weak.
8607 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8608 define as weak alias of __getifaddrs. Use libc_hidden_weak.
8609 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8610 __freeifaddrs. Use libc_hidden_weak.
8611 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8612 __getifaddrs and define as weak alias of __getifaddrs. Use
8614 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8615 __freeifaddrs. Use libc_hidden_weak.
8616 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8618 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8619 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8621 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
8624 * sysdeps/mips/start.S (__start): Use indirect jump to call
8627 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8629 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8631 * nptl/tst-mutex1.c: Include <stdbool.h>.
8632 [!ATTR] (ATTR_NULL): New macro.
8633 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8634 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8635 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8637 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8641 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8642 Change conditional to [__USE_MISC].
8645 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8647 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8649 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8651 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8653 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8654 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8655 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8656 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8657 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8658 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8659 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8660 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8661 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8663 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8665 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8667 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8668 Remove strpbrk objects.
8669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8670 (__libc_ifunc_impl_list): Remove strpbrk implementation.
8671 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8672 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8673 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8674 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8676 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8677 Remove strcspn objects.
8678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8679 (__libc_ifunc_impl_list): Remove strcspn implementation.
8680 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8681 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8682 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8683 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8685 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8686 Remove strspn objetcs.
8687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8688 (__libc_ifunc_impl_list): Remove strspn implementation.
8689 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8690 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8691 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8692 * sysdeps/powerpc/powerpc64/strspn.S: New file.
8694 2014-12-01 James Lemke <jwlemke@codesourcery.com>
8698 (mem2mem_check): Add a terminator to the chain of checking blocks.
8699 (malloc_check_get_size): Use it here.
8700 (mem2chunk_check): Ditto.
8702 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8704 * sysdeps/powerpc/powerpc64/strtok.S: New file.
8705 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8707 2014-11-29 Carlos O'Donell <carlos@redhat.com>
8709 * bits/ioctl-types.h: Indent preprocessor directives correctly.
8711 * nptl/nptl-init.c: Include libc-internal.h.
8712 (__pthread_initialize_minimal_internal): Use ROUND_UP.
8714 * elf/ldconfig.c (search_dir): Expand comment.
8716 2014-11-29 Joseph Myers <joseph@codesourcery.com>
8718 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8720 (linknamespace-symlist-stdlibs-tests): Likewise.
8721 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8722 instead of $(objpfx)symlist-stdlibs.
8723 (linknamespace-libs-isoc): New variable.
8724 (linknamespace-libs): Use $(linknamespace-libs-isoc).
8725 (linknamespace-libs-ISO): New variable.
8726 (linknamespace-libs-ISO99): Likewise.
8727 (linknamespace-libs-ISO11): Likewise.
8728 (linknamespace-libs-XPG3): Likewise.
8729 (linknamespace-libs-XPG4): Likewise.
8730 (linknamespace-libs-POSIX): Likewise.
8731 (linknamespace-libs-UNIX98): Likewise.
8732 (linknamespace-libs-XOPEN2K): Likewise.
8733 (linknamespace-libs-POSIX2008): Likewise.
8734 (linknamespace-libs-XOPEN2K8): Likewise.
8735 ($(objpfx)symlist-stdlibs): Replace by
8736 $(linknamespace-symlist-stdlibs-tests). Use
8737 $(linknamespace-libs-$*) as set of libraries.
8738 ($(linknamespace-header-tests)): Update dependencies. Use
8739 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8740 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8741 * conform/linknamespace.pl: Remove comment about considering
8742 definitions of symbols from irrelevant libraries.
8744 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
8747 * elf/dl-tls.c: Include <atomic.h>.
8748 (oom): Remove #ifdef SHARED/#endif.
8749 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8750 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
8751 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8753 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8754 * nptl/Makefile (tests): Add tst-stack4.
8755 (modules-names): Add tst-stack4mod.
8756 ($(objpfx)tst-stack4): New.
8757 (tst-stack4mod.sos): Likewise.
8758 ($(objpfx)tst-stack4.out): Likewise.
8759 ($(tst-stack4mod.sos)): Likewise.
8761 * nptl/tst-stack4.c: New file.
8762 * nptl/tst-stack4mod.c: Likewise.
8764 2014-11-27 J. Brown <jb999@gmx.de>
8766 * sysdeps/x86/bits/string.h: Add recent CPUs.
8768 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8770 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8773 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8776 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8779 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
8781 * nscd/connections.c: Include libc-internal.h because of macro
8784 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8786 * string/bits/string3.h (__warn_memset_zero_len): Don't
8787 declare for gcc newer than 5.0.
8788 (memset): Don't test for zero-length __LEN for gcc newer than
8791 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8793 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8794 size_t for %zu format.
8796 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8797 difference, not %ju.
8799 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8801 * include/libc-internal.h (ignore_value): New macro.
8802 * nscd/connections.c (restart): Wrap calls to setuid and setgid
8805 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8808 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8809 pthread_cleanup_push to void *.
8811 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8816 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8817 instead of 1L << 52.
8819 * libio/bug-rewind.c (do_test): Check fwscanf return values.
8820 * libio/bug-rewind2.c (do_test): Likewise.
8822 * debug/test-stpcpy_chk-ifunc.c: Remove file.
8823 * debug/test-strcpy_chk-ifunc.c: Likewise.
8824 * wcsmbs/test-wcschr-ifunc.c: Likewise.
8825 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8826 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8827 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8828 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8829 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8830 * Rules [$(multi-arch) = no] (tests): Do not filter out
8832 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8833 * debug/Makefile (tests-ifunc): Remove variable.
8834 (tests): Do not add $(tests-ifunc).
8835 * wcsmbs/Makefile (tests-ifunc): Remove variable.
8836 (tests): Do not add $(tests-ifunc).
8837 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8838 [TEST_IFUNC]: Remove conditionals.
8839 * string/test-string.h (TEST_IFUNC): Remove macro.
8840 [TEST_IFUNC]: Remove conditionals.
8842 * string/test-strchr.c [!WIDE] (L): New macro.
8843 [WIDE] (L): Likewise.
8844 (check1): Use CHAR instead of char. Use L on string and character
8847 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
8849 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8851 * sysdeps/powerpc/bits/atomic.h
8852 (__arch_atomic_exchange_and_add_32_acq): Add definition.
8853 (__arch_atomic_exchange_and_add_32_rel): Likewise.
8854 (atomic_exchange_and_add_acq): Likewise.
8855 (atomic_exchange_and_add_rel): Likewise.
8856 * sysdeps/powerpc/powerpc32/bits/atomic.h
8857 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8858 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8859 * sysdeps/powerpc/powerpc64/bits/atomic.h
8860 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8861 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8863 2014-11-26 Torvald Riegel <triegel@redhat.com>
8865 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8866 Change synchronization of __sched_fifo_min_prio and
8867 __sched_fifo_max_prio.
8868 * nptl/pthread_mutexattr_getprioceiling.c
8869 (pthread_mutexattr_getprioceiling): Likewise.
8870 * nptl/pthread_mutexattr_setprioceiling.c
8871 (pthread_mutexattr_setprioceiling): Likewise.
8872 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8873 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8876 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8878 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8881 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8883 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8884 third argument const.
8886 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
8888 fnmatch: work around GCC compiler warning bug with uninit var
8889 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8890 This works around a bug with x86-64 GCC 4.9.2 and earlier
8891 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8892 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8893 used uninitialized in this function [-Wmaybe-uninitialized]".
8895 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8897 * posix/bug-regex31.c (main): Return RES not 0.
8899 2014-11-25 Anton Blanchard <anton@samba.org>
8901 * sysdeps/powerpc/bits/atomic.h
8902 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8904 2014-11-24 Sterling Augustine <saugustine@google.com>
8906 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8908 2014-11-24 Ryan Cumming <etaoins@gmail.com>
8911 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8913 2014-11-24 Joseph Myers <joseph@codesourcery.com>
8916 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8917 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8919 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8920 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8922 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8924 * string/strncpy.c (strncpy): Improve performance by using memset.
8926 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8928 * string/strcpy.c (strcpy):
8929 Improve performance by using strlen and memcpy.
8931 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
8933 * string/strcoll_l.c (get_next_seq): __always_inline.
8934 * string/strcoll_l.c (do_compare): __always_inline.
8936 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8938 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8940 * include/mqueue.h: Likewise.
8941 * include/stdlib.h: Likewise.
8943 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8944 (get_null_defines): Adjust.
8945 * sunrpc/Makefile: Adjust comment.
8946 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8947 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8948 (CFLAGS-interp.c): Likewise.
8949 (CFLAGS-ldconfig.c): Likewise.
8950 (CPPFLAGS-.os): Likewise.
8951 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8952 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8953 * extra-modules.mk (extra-modules.mk): Likewise.
8954 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8955 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8956 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8957 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8958 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8959 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8960 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8961 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8962 * iconvdata/Makefile (CPPFLAGS): Likewise.
8963 (cpp-srcs-left): Add libof for all iconvdata routines.
8964 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8965 * include/assert.h: Likewise.
8966 * include/ctype.h: Likewise.
8967 * include/errno.h: Likewise.
8968 * include/libc-symbols.h: Likewise.
8969 * include/math.h: Likewise.
8970 * include/netdb.h: Likewise.
8971 * include/resolv.h: Likewise.
8972 * include/stdio.h: Likewise.
8973 * include/stdlib.h: Likewise.
8974 * include/string.h: Likewise.
8975 * include/sys/stat.h: Likewise.
8976 * include/wctype.h: Likewise.
8977 * intl/l10nflist.c: Likewise.
8978 * libidn/idn-stub.c: Likewise.
8979 * libio/libioP.h: Likewise.
8980 * nptl/libc_multiple_threads.c: Likewise.
8981 * nptl/pthreadP.h: Likewise.
8982 * posix/regex_internal.h: Likewise.
8983 * resolv/res_hconf.c: Likewise.
8984 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8985 * sysdeps/arm/memmove.S: Likewise.
8986 * sysdeps/arm/sysdep.h: Likewise.
8987 * sysdeps/generic/_itoa.h: Likewise.
8988 * sysdeps/generic/symbol-hacks.h: Likewise.
8989 * sysdeps/gnu/errlist.awk: Likewise.
8990 * sysdeps/gnu/errlist.c: Likewise.
8991 * sysdeps/i386/i586/memcpy.S: Likewise.
8992 * sysdeps/i386/i586/memset.S: Likewise.
8993 * sysdeps/i386/i686/memcpy.S: Likewise.
8994 * sysdeps/i386/i686/memmove.S: Likewise.
8995 * sysdeps/i386/i686/mempcpy.S: Likewise.
8996 * sysdeps/i386/i686/memset.S: Likewise.
8997 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8998 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8999 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9000 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9001 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9002 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9003 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9004 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9005 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9006 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9007 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9008 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9009 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9010 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9011 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9012 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9013 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9014 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9015 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9016 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9017 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9018 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9019 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9020 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9021 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9022 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9023 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9024 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9025 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9026 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9027 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9028 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9029 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9030 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9031 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9032 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9033 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9034 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9035 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9036 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9037 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9038 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9039 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9040 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9041 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9042 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9043 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9044 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9045 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9046 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9047 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9048 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9049 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9050 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9051 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9052 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9053 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9054 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9055 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9056 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9057 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9058 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9059 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9060 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9061 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9062 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9063 * sysdeps/posix/closedir.c: Likewise.
9064 * sysdeps/posix/opendir.c: Likewise.
9065 * sysdeps/posix/readdir.c: Likewise.
9066 * sysdeps/posix/rewinddir.c: Likewise.
9067 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9068 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9069 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9070 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9071 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9072 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9073 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9074 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9075 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9076 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9077 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9078 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9079 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9080 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9081 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9082 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9083 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9084 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9085 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9086 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9087 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9088 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9089 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9090 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9091 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9092 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9093 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9094 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9095 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9096 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9097 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9098 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9099 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9100 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9101 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9102 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9103 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9104 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9105 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9106 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9107 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9108 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9109 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9110 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9111 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9112 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9113 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9114 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9115 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9116 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9117 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9118 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9119 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9120 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9121 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9122 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9123 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9124 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9125 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9126 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9127 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9128 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9129 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9130 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9131 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9132 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9133 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9134 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9135 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9136 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9137 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9138 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9139 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9140 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9141 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9142 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9143 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9144 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9145 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9146 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9147 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9148 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9149 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9150 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9151 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9152 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9153 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9154 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9155 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9156 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9157 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9158 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9159 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9160 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9161 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9162 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9163 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9164 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9165 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9166 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9167 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9168 * sysdeps/unix/alpha/sysdep.S: Likewise.
9169 * sysdeps/unix/alpha/sysdep.h: Likewise.
9170 * sysdeps/unix/make-syscalls.sh: Likewise.
9171 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9172 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9173 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9174 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9175 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9176 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9177 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9178 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9179 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9180 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9181 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9182 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9183 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9184 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9185 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9186 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9187 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9188 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9189 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9190 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9191 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9192 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9193 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9194 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9195 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9196 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9197 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9200 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9201 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9202 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9203 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9204 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9205 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9206 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9207 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9208 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9209 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9210 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9211 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9212 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9213 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9214 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9215 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9216 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9217 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9218 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9219 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9220 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9221 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9222 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9223 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9224 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9225 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9226 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9227 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9229 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9230 * sysdeps/x86_64/memcpy.S: Likewise.
9231 * sysdeps/x86_64/memmove.c: Likewise.
9232 * sysdeps/x86_64/memset.S: Likewise.
9233 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9234 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9235 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9236 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9237 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9238 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9239 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9240 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9241 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9242 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9243 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9244 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9245 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9246 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9247 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9248 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9249 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9250 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9251 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9252 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9253 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9254 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9255 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9256 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9257 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9258 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9259 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9260 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9261 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9262 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9263 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9264 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9265 * sysdeps/x86_64/strcmp.S: Likewise.
9267 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9269 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9270 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9271 * elf/rtld-Rules: Likewise.
9272 * elf/setup-vdso.h: Likewise.
9273 * include/assert.h: Likewise.
9274 * include/bits/stdlib-float.h: Likewise.
9275 * include/errno.h: Likewise.
9276 * include/sys/stat.h: Likewise.
9277 * include/unistd.h: Likewise.
9278 * sysdeps/aarch64/setjmp.S: Likewise.
9279 * sysdeps/alpha/setjmp.S: Likewise.
9280 * sysdeps/arm/__longjmp.S: Likewise.
9281 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9282 * sysdeps/arm/setjmp.S: Likewise.
9283 * sysdeps/arm/sysdep.h: Likewise.
9284 * sysdeps/generic/_itoa.h: Likewise.
9285 * sysdeps/generic/dl-sysdep.h: Likewise.
9286 * sysdeps/generic/ldsodefs.h: Likewise.
9287 * sysdeps/i386/dl-tls.h: Likewise.
9288 * sysdeps/i386/setjmp.S: Likewise.
9289 * sysdeps/m68k/setjmp.c: Likewise.
9290 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9291 * sysdeps/mach/hurd/opendir.c: Likewise.
9292 * sysdeps/posix/getcwd.c: Likewise.
9293 * sysdeps/posix/opendir.c: Likewise.
9294 * sysdeps/posix/profil.c: Likewise.
9295 * sysdeps/powerpc/dl-procinfo.h: Likewise.
9296 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9297 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9298 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9299 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9300 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9301 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9302 * sysdeps/s390/dl-tls.h: Likewise.
9303 * sysdeps/s390/s390-32/setjmp.S: Likewise.
9304 * sysdeps/s390/s390-64/setjmp.S: Likewise.
9305 * sysdeps/sh/sh3/setjmp.S: Likewise.
9306 * sysdeps/sh/sh4/setjmp.S: Likewise.
9307 * sysdeps/unix/alpha/sysdep.h: Likewise.
9308 * sysdeps/unix/arm/sysdep.S: Likewise.
9309 * sysdeps/unix/i386/sysdep.S: Likewise.
9310 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9311 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9312 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9313 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9314 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9315 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9316 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9317 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9318 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9319 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9320 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9321 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9322 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9325 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9326 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9327 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9328 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9329 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9330 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9331 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9332 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9333 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9334 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9335 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9336 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9337 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9338 * sysdeps/x86_64/setjmp.S: Likewise.
9340 * include/math.h: Use IS_IN instead of IS_IN_libm.
9341 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9342 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9343 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9344 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9345 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9346 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9348 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9349 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9351 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9353 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9354 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9355 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9356 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9357 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9358 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9359 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9360 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9361 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9362 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9363 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9364 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9365 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9366 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9367 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9368 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9369 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9370 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9371 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9372 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9373 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9384 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9385 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9386 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9387 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9388 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9389 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9395 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9396 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9397 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9398 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9399 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9400 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9401 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9402 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9403 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9404 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9405 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9406 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9407 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9408 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9410 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9412 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9413 * nptl/pthreadP.h: Likewise.
9414 * nptl_db/structs.def: Likewise.
9415 * sysdeps/arm/sysdep.h: Likewise.
9416 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9417 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9418 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9419 * sysdeps/unix/alpha/sysdep.h: Likewise.
9420 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9421 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9422 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9423 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9424 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9425 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9426 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9427 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9428 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9429 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9430 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9431 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9432 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9433 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9436 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9437 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9438 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9439 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9440 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9441 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9442 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9443 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9444 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9445 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9447 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9448 * nptl/pthreadP.h: Likewise.
9449 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9450 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9451 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9452 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9453 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9454 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9455 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9456 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9457 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9458 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9459 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9460 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9465 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9466 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9467 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9468 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9469 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9470 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9471 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9472 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9474 * dlfcn/dladdr.c: Use IS_IN.
9475 * dlfcn/dladdr1.c: Likewise.
9476 * dlfcn/dlclose.c: Likewise.
9477 * dlfcn/dlerror.c: Likewise.
9478 * dlfcn/dlinfo.c: Likewise.
9479 * dlfcn/dlmopen.c: Likewise.
9480 * dlfcn/dlopen.c: Likewise.
9481 * dlfcn/dlsym.c: Likewise.
9482 * dlfcn/dlvsym.c: Likewise.
9484 * include/ifaddrs.h: Use IS_IN.
9485 * inet/check_pf.c: Likewise.
9486 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9487 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9489 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9491 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9492 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9494 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9495 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9498 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9500 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9501 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9502 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9503 * include/libc-symbols.h (IS_IN_LIB): New macro.
9504 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9505 * include/netdb.h: Likewise.
9506 * include/stap-probe.h: Remove all uses of IN_LIB.
9508 * Makeconfig (module-cppflags-real): Define MODULE_NAME
9509 instead of IN_MODULE.
9510 * include/libc-symbols.h (IN_MODULE): Define using
9512 (PASTE_NAME, PASTE_NAME1): New macros.
9513 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9515 (STAP_PROBE_ASM): Likewise.
9517 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
9519 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9520 __mach_init in dlopened libc.
9522 2014-11-22 Mike Frysinger <vapier@gentoo.org>
9524 * sysdeps/arm/preconfigure.ac: Delete EABI check.
9525 * sysdeps/arm/preconfigure: Regenerate.
9527 2014-11-21 Roland McGrath <roland@hack.frob.com>
9529 * nptl/pthread_create.c (__pthread_create_2_1): Set
9530 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9531 when copying values from IATTR into PD.
9533 2014-11-21 Will Newton <will.newton@linaro.org>
9534 Andrew Pinski <andrew.pinski@caviumnetworks.com>
9536 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9537 Refactor inline-asm. Also add comment.
9539 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9540 ElfW macro instead of hardcoded Elf64 types.
9541 (la_aarch64_gnu_pltenter): Likewise.
9542 * sysdeps/aarch64/dl-machine.h
9543 (elf_machine_runtime_setup): Use ElfW(Addr).
9545 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9546 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9547 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9548 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9549 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9550 (R_AARCH64_TLS_DTPMOD64): Rename to ..
9551 (R_AARCH64_TLS_DTPMOD): This.
9552 (R_AARCH64_TLS_DTPREL64): Rename to ...
9553 (R_AARCH64_TLS_DTPREL): This.
9554 (R_AARCH64_TLS_TPREL64): Rename to ...
9555 (R_AARCH64_TLS_TPREL): This.
9556 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9557 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9558 R_AARCH64_TLS_TPREL64.
9559 (elf_machine_rela): Likewise.
9561 2014-11-21 Torvald Riegel <triegel@redhat.com>
9563 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9564 by setting it to 0. 64b atomics are not supported currently.
9566 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9569 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9570 search domain names.
9572 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9576 * resolv/res_query.c (__libc_res_nquerydomain): Retain
9578 * posix/tst-getaddrinfo5.c: New.
9579 * posix/Makefile (tests): Add it.
9581 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9585 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9586 after parsing line but before break_if_match.
9587 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9588 if there is a protocol mismatch.
9590 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9592 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9593 because the potential race is on the user-supplied stream.
9595 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9597 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9598 string literal if not passed a buffer.
9599 * manual/job.texi (ctermid): Update reasoning, note deviation
9600 from posix, suggest mtasurace when not passed a buffer, for
9601 future non-preliminary safety notes.
9603 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9605 * manual/users.texi (cuserid): Fix MT-Safety note for the case
9606 of not passing it a buffer.
9607 Reported by Peng Haitao.
9609 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9611 * manual/Makefile ($(objpfx)stamp-summary): Require
9612 check-safety.sh to pass.
9613 * manual/check-safety.sh: Wish for verification that every
9614 @deftypefn and @deftypefun is followed by a @safety remark.
9616 2014-11-20 Roland McGrath <roland@hack.frob.com>
9618 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9620 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9621 PTHREAD_CANCEL_ASYNCHRONOUS.
9622 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9625 * nptl/default-sched.h: New file.
9626 * sysdeps/unix/sysv/linux/default-sched.h: New file.
9627 * nptl/pthread_create.c: Include it.
9628 (__pthread_create_2_1): Use collect_default_sched instead of making
9629 Linux syscalls here directly.
9631 2014-11-20 Torvald Riegel <triegel@redhat.com>
9633 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9634 __pthread_once): Use C11 atomics.
9636 2014-11-20 Torvald Riegel <triegel@redhat.com>
9638 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9640 2014-11-20 Torvald Riegel <triegel@redhat.com>
9642 * include/atomic.h (__atomic_link_error, __atomic_check_size,
9643 atomic_thread_fence_acquire, atomic_thread_fence_release,
9644 atomic_thread_fence_seq_cst, atomic_load_relaxed,
9645 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9646 atomic_compare_exchange_weak_relaxed,
9647 atomic_compare_exchange_weak_acquire,
9648 atomic_compare_exchange_weak_release,
9649 atomic_exchange_acquire, atomic_exchange_release,
9650 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9651 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9652 atomic_fetch_and_acquire,
9653 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9655 2014-11-20 Torvald Riegel <triegel@redhat.com>
9657 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9658 USE_ATOMIC_COMPILER_BUILTINS): Define.
9659 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9660 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9661 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9662 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9663 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9664 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9665 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9666 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9667 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9668 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9669 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9670 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9671 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9672 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9673 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9674 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9675 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9676 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9677 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9678 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9679 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9680 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9681 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9682 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9683 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9684 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9685 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9686 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9687 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9688 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9689 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9690 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9691 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9692 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9693 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9694 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9695 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9696 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9697 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9698 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9700 2014-11-19 Roland McGrath <roland@hack.frob.com>
9702 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9703 the sched_priority value here. It was already checked when the user
9704 called pthread_attr_setschedparam.
9706 * nptl/tst-bad-schedattr.c: New file.
9707 * nptl/Makefile (tests): Add it.
9709 2014-11-19 Carlos O'Donell <carlos@redhat.com>
9710 Florian Weimer <fweimer@redhat.com>
9711 Joseph Myers <joseph@codesourcery.com>
9712 Adam Conrad <adconrad@0c3.net>
9713 Andreas Schwab <schwab@suse.de>
9714 Brooks <bmoses@google.com>
9717 * wordexp-test.c (__dso_handle): Add prototype.
9718 (__register_atfork): Likewise.
9719 (__app_register_atfork): New function.
9720 (registered_forks): New global.
9721 (register_fork): New function.
9722 (test_case): Add 3 new tests for WRDE_CMDSUB.
9723 (main): Call __app_register_atfork.
9724 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9725 fork count is non-zero fail the test.
9726 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9728 (parse_dollars): Remove check for WRDE_NOCMD.
9729 (parse_dquote): Likewise.
9731 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9733 * Makeconfig (built-modules): List non-library modules to be
9735 (module-cppflags): Include libc-modules.h for
9736 everything except shlib-versions.v.i.
9738 (before-compile): Add libc-modules.h.
9739 ($(common-objpfx)libc-modules.h,
9740 $(common-objpfx)libc-modules.stmp): New targets.
9741 (common-generated): Add libc-modules.h and libc-modules.stmp.
9742 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9743 * include/libc-symbols.h: Don't include libc-modules.h.
9744 * include/libc-modules.h: Remove file.
9745 * scripts/gen-libc-modules.awk: New script to generate
9747 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9748 Depend on libc-modules.stmp.
9750 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9752 * Makeconfig (in-module): Get value of libof set for the
9754 (CPPFLAGS): Use $(in-module).
9755 * Makerules: Don't suffix routine names for nonlib.
9756 * include/libc-modules.h: New file.
9757 * include/libc-symbols.h: Include libc-modules.h
9758 (IS_IN): New macro to replace IS_IN_* macros.
9759 * elf/Makefile: Set libof-* for each routine.
9760 * elf/rtld-Rules: Likewise.
9761 * extra-modules.mk: Likewise.
9762 * iconv/Makefile: Likewise.
9763 * iconvdata/Makefile: Likewise.
9764 * locale/Makefile: Likewise.
9765 * malloc/Makefile: Likewise.
9766 * nss/Makefile: Likewise.
9767 * sysdeps/gnu/Makefile: Likewise.
9768 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9769 * sysdeps/unix/sysv/linux/Makefile: Likewise.
9770 * sysdeps/s390/s390-64/Makefile: Likewise.
9771 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
9772 CPPFLAGS for nscd instead of nonlib.
9774 2014-11-18 Roland McGrath <roland@hack.frob.com>
9776 * nptl/createthread.c: New file.
9778 * nptl/createthread.c: Moved ...
9779 * sysdeps/unix/sysv/linux/createthread.c: ... here.
9781 * nptl/createthread.c: Add proper top-line comment.
9782 (do_clone): Folded into ...
9783 (create_thread): ... here. Take new arguments STOPPED_START and
9784 THREAD_RAN. Always set PD->stopped_start to something here. Don't
9785 increment __nptl_threads, do event-reporting logic, do
9786 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9787 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
9788 resource cleanup if sched_setaffinity or sched_setscheduler fails,
9789 just send SIGCANCEL.
9790 * nptl/pthread_create.c: Forward-declare create_thread before
9791 including createthread.c.
9792 (start_thread): Use new macro START_THREAD_DEFN to replace defining
9793 declaration, and new macro START_THREAD_SELF to replace argument.
9794 Remove return statement.
9795 (report_thread_creation): New function.
9796 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
9797 synchronization logic, and __nptl_nthreads increment here, around
9798 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
9799 PD->parent_cancelhandling here, before create_thread. When
9800 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9801 __deallocate_stack, and ENOMEM translation here.
9803 2014-11-18 Joseph Myers <joseph@codesourcery.com>
9806 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9807 (mptwo): Rename to __mptwo.
9808 (__inv): Use __mptwo instead of mptwo.
9809 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9810 (mptwo): Rename to __mptwo.
9811 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9812 of mpone and __mptwo instead of mptwo.
9813 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9815 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9816 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9817 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9818 of mpone and __mptwo instead of mptwo.
9819 (__mpranred): Use __mpone instead of mpone.
9820 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9822 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9823 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9824 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9825 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9826 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9827 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9828 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9829 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9830 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9831 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9832 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9833 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9834 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9835 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9836 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9837 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9838 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9839 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9840 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9842 2014-11-18 Tom de Vries <tom@codesoucery.com>
9844 * manual/signal.texi (Primitives Interrupted by Signals): In section,
9845 replace BSD Handler xref with BSD Signal Handling.
9847 2014-11-17 Richard Henderson <rth@redhat.com>
9849 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9850 (_FP_PACK_RAW_2): Remove.
9851 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9852 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9853 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9854 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9855 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9856 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9857 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9858 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9859 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9860 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9861 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9862 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9863 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9864 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9865 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9866 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9868 2014-11-14 Roland McGrath <roland@hack.frob.com>
9870 * signal/signal.h [__USE_MISC]
9871 (struct sigvec): Remove type.
9872 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9873 (sigvec): Remove declaration.
9874 * sysdeps/posix/sigvec.c: Moved ...
9875 * signal/sigvec.c: ... here, replacing old file.
9876 (struct sigvec): New type, copied from old signal.h definition.
9877 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9878 (__sigvec): Convert definition to prototype.
9879 (sigvec): Replace weak_alias with compat_symbol.
9880 * signal/Versions (libc: GLIBC_2.21): New version set.
9881 * include/signal.h: Remove __sigvec declaration.
9882 * sysdeps/unix/bsd/sigvec.c: Remove file.
9883 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9884 * manual/signal.texi (BSD Handler): Remove subsection.
9885 Move siginterrupt up to ...
9886 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
9887 (Blocking in BSD): Fold subsection into its parent.
9888 * NEWS: Mention sigvec removal.
9890 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9892 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9893 (DLA_FMS): Make definition conditional only on [__FMA4__].
9894 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9897 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9898 Make definition conditional only on [PROF].
9899 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9901 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9902 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9904 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9906 * include/signal.h (__sigpause): Move declaration above call to
9908 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9910 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9911 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9913 2014-11-14 David S. Miller <davem@davemloft.net>
9915 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9916 Define before including <string/memcpy.c> and <string/mempcpy.c>.
9918 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9920 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9921 * configure: Regenerated.
9922 * manual/install.texi (Tools for Compilation): Document a
9923 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9924 compiler verified to work.
9925 * INSTALL: Regenerated.
9927 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9928 redeclare with asm name.
9929 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9930 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9931 including <string.h>.
9932 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9933 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9934 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9935 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9936 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9937 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9938 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9940 2014-11-13 Joseph Myers <joseph@codesourcery.com>
9942 * stdlib/strtol.c (__strtol): Use prototype definition.
9945 * stdlib/strtol.c (SYM__): New macro.
9947 (__strtol): Likewise.
9948 (strtol): Rename to __strtol and define as weak alias of
9949 __strtol. Use libc_hidden_weak.
9951 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9953 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9954 Use numbered labels in inline assembly.
9956 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9958 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9959 Add setjmp LIBC_PROBE.
9960 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9962 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9963 Add longjmp, longjmp_target LIBC_PROBE.
9964 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9967 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9969 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9970 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9971 to get rid of unused variable warning.
9973 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9975 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9976 Check for unwind_backtrace == NULL only in SHARED case.
9977 (__backchain_backtrace): Compile only in SHARED case.
9978 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9980 (__backchain_backtrace): Declare as static.
9982 2014-11-12 Roland McGrath <roland@hack.frob.com>
9984 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9985 (__libc_multiple_threads_ptr): Variable moved ...
9986 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9988 2014-11-12 Joseph Myers <joseph@codesourcery.com>
9990 * conform/GlibcConform.pm: New file.
9991 * conform/conformtest.pl: Use GlibcConform module.
9992 * conform/linknamespace.pl: New file.
9993 * conform/list-header-symbols.pl: Likewise.
9994 * conform/Makefile (linknamespace-symlists-base): New variable.
9995 (linknamespace-symlists-tests): Likewise.
9996 (linknamespace-header-base): Likewise.
9997 (linknamespace-header-tests): Likewise.
9998 (tests-special): Add new tests.
9999 ($(linknamespace-symlists-tests)): New rule.
10000 (linknamespace-libs): New variable.
10001 ($(objpfx)symlist-stdlibs): New rule.
10002 ($(linknamespace-header-tests)): Likewise.
10003 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10004 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10005 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10006 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10007 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10008 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10009 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10010 (test-xfail-ISO/math.h/linknamespace): Likewise.
10011 (test-xfail-ISO/signal.h/linknamespace): Likewise.
10012 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10013 (test-xfail-ISO/time.h/linknamespace): Likewise.
10014 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10015 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10016 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10017 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10018 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10019 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10020 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10021 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10022 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10023 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10024 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10025 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10026 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10027 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10028 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10029 (test-xfail-XPG3/math.h/linknamespace): Likewise.
10030 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10031 (test-xfail-XPG3/search.h/linknamespace): Likewise.
10032 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10033 (test-xfail-XPG3/time.h/linknamespace): Likewise.
10034 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10035 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10036 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10037 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10038 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10039 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10040 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10041 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10042 (test-xfail-XPG4/math.h/linknamespace): Likewise.
10043 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10044 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10045 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10046 (test-xfail-XPG4/search.h/linknamespace): Likewise.
10047 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10048 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10049 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10050 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10051 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10052 (test-xfail-XPG4/time.h/linknamespace): Likewise.
10053 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10054 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10055 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10056 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10057 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10058 (test-xfail-POSIX/math.h/linknamespace): Likewise.
10059 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10060 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10061 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10062 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10063 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10064 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10065 (test-xfail-POSIX/time.h/linknamespace): Likewise.
10066 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10067 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10068 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10069 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10070 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10071 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10072 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10073 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10074 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10075 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10076 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10077 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10078 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10079 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10080 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10081 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10082 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10083 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10084 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10085 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10086 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10087 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10088 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10089 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10090 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10091 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10092 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10093 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10094 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10095 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10096 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10097 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10098 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10099 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10100 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10101 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10102 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10103 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10104 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10105 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10106 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10107 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10108 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10109 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10110 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10111 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10112 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10113 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10114 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10115 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10116 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10117 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10118 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10119 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10120 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10121 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10122 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10123 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10124 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10125 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10126 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10127 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10128 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10129 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10130 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10131 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10132 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10133 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10134 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10135 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10136 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10137 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10138 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10139 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10140 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10141 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10142 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10143 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10144 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10145 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10146 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10147 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10148 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10149 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10150 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10151 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10152 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10153 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10154 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10155 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10156 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10157 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10158 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10159 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10160 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10161 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10162 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10163 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10166 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10170 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10171 (memmem): Rename to __memmem and define as weak alias of
10172 __memmem. Use libc_hidden_weak.
10173 (__memmem): Use libc_hidden_def.
10174 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
10175 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10179 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10180 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
10181 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10182 and define as weak alias of __fgets_unlocked. Use
10184 (__fgets_unlocked): Use libc_hidden_def.
10185 * include/stdio.h (__fgets_unlocked): Declare. Use
10187 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10188 __fgets_unlocked instead of fgets_unlocked.
10189 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10190 (GET_NPROCS_CONF_PARSER): Likewise.
10191 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10192 (GET_NPROCS_CONF_PARSER): Likewise.
10195 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10196 weak alias of __wmemset. Use libc_hidden_weak.
10197 (__wmemset): Use libc_hidden_def.
10198 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
10199 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10203 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10204 with asm name __mempcpy.
10205 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10208 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10209 and define as weak alias of __rawmemchr.
10210 (__rawmemchr): Do not define as strong alias of rawmemchr.
10213 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10214 alias of __qsort_r.
10215 (qsort): Call __qsort_r instead of qsort_r.
10216 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10217 (__qsort_r): Declare. Call libc_hidden_proto.
10218 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10219 instead of qsort_r.
10220 * nscd/gai.c (__qsort_r): Define to qsort_r.
10221 * posix/tst-rfc3484.c (__qsort_r): Likewise.
10222 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10223 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10226 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10227 define as weak alias of __malloc_info.
10230 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10231 as weak alias of __rewinddir. Don't use libc_hidden_def.
10232 (__rewinddir): Use libc_hidden_def.
10233 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10234 as weak alias of __rewinddir. Don't use libc_hidden_def.
10235 (__rewinddir): Use libc_hidden_def.
10236 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10237 weak alias of __rewinddir. Don't use libc_hidden_def.
10238 (__rewinddir): Use libc_hidden_def.
10239 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10240 (__rewinddir): Use libc_hidden_proto.
10241 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10243 (__getcwd): Use __rewinddir instead of rewinddir.
10246 * libio/fileno.c (fileno): Rename to __fileno and define as weak
10247 alias of __fileno. Use libc_hidden_weak.
10248 (__fileno): Use libc_hidden_def.
10249 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10250 * libio/ftello.c (ftello): Rename to __ftello and define as weak
10252 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10254 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10255 (__fread_unlocked): Define as strong alias of _IO_fread. Use
10257 (fread_unlocked): Don't use libc_hidden_ver.
10258 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10259 and define as weak alias of __fread_unlocked. Don't use
10261 (__fread_unlocked): Use libc_hidden_def.
10262 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
10263 (ftello): Don't use libc_hidden_proto.
10264 (__ftello): Declare. Use libc_hidden_proto.
10265 (fread_unlocked): Don't use libc_hidden_proto.
10266 (__fread_unlocked): Declare. Use libc_hidden_proto.
10267 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10268 and __ftello instead of fileno, fread_unlocked and ftello.
10270 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10272 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10274 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10276 (_dl_start_user): Likewise.
10277 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10279 2014-11-12 Carlos O'Donell <carlos@redhat.com>
10280 Siddhesh Poyarekar <siddhesh@redhat.com>
10282 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10283 Move argv and envp down instead of moving argc up.
10284 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10286 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
10289 * test-skeleton.c (main): Return successful if one of
10290 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10291 * string/tst-strcoll-overflow.c: Define expected status.
10293 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
10296 * locale/iso-639.def: Define Bhili and Tulu language codes.
10298 2014-11-11 Alan Hayward <alan.hayward@arm.com>
10300 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10302 2014-11-10 Renlin Li <Renlin.Li@arm.com>
10305 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10307 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10309 * configure.ac: Updated check of minimal required version to
10311 * manual/install.texi (Tools for Compilation): Updated version
10313 * configure: Regenerated.
10314 * INSTALL: Likewise.
10316 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
10318 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10321 2014-11-07 Joseph Myers <joseph@codesourcery.com>
10323 * include/sys/wait.h (__libc_waitpid): Remove declaration.
10324 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10325 (__waitpid): Don't define as alias. Use libc_hidden_def not
10327 (waitpid): Define as alias of __waitpid.
10328 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10330 (__waitpid): Don't define as alias. Use libc_hidden_def not
10332 (waitpid): Define as alias of __waitpid.
10333 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10334 __libc_waitpid alias.
10335 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10336 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10338 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10339 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10340 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10342 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10344 (__waitpid): Don't define as alias. Use libc_hidden_def not
10346 (waitpid): Define as alias of __waitpid.
10348 2014-11-06 Carlos O'Donell <carlos@redhat.com>
10350 * manual/llio.texi: Add comment that write safety has been
10353 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10354 (localplt-build-dso): Add elf/ld.so.
10355 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10356 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10357 and free for ld.so.
10358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10359 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10364 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10365 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10366 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10367 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10368 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10369 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10370 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10371 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10372 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10373 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10374 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10376 2014-11-05 Joseph Myers <joseph@codesourcery.com>
10379 * include/libc-symbols.h (INTUSE): Remove macro.
10380 (INTDEF): Likewise.
10381 (INTVARDEF): Likewise.
10382 (_INTVARDEF): Likewise.
10383 (INTDEF2): Likewise.
10384 (INTVARDEF2): Likewise.
10385 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10386 rtld_hidden_def instead of INTVARDEF.
10387 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10388 (_dl_starting_up_internal): Remove declaration.
10389 (_dl_starting_up): Use rtld_hidden_proto.
10390 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10392 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10393 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10395 * elf/dl-writev.h (_dl_writev): Likewise.
10396 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10397 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10398 _dl_starting_up_internal.
10400 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10402 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10405 2014-11-05 Will Newton <will.newton@linaro.org>
10407 * benchtests/Makefile: (bench-malloc): Add malloc thread
10408 scalability benchmark.
10409 * benchtests/bench-malloc-threads.c: New file.
10411 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
10413 * sysdeps/aarch64/strchrnul.S: New file.
10415 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10417 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10419 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10421 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10423 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10425 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10427 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10430 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
10432 * catgets/test-gencat.c: Use test-skeleton.c.
10433 * catgets/tst-catgets.c: Likewise.
10434 * csu/tst-empty.c: Likewise.
10435 * elf/tst-audit2.c: Likewise.
10436 * elf/tst-global1.c: Likewise.
10437 * elf/tst-pathopt.c: Likewise.
10438 * elf/tst-piemod1.c: Likewise.
10439 * elf/tst-tls10.c: Likewise.
10440 * elf/tst-tls11.c: Likewise.
10441 * elf/tst-tls12.c: Likewise.
10442 * gnulib/tst-gcc.c: Likewise.
10443 * iconvdata/tst-e2big.c: Likewise.
10444 * iconvdata/tst-loading.c: Likewise.
10445 * iconv/tst-iconv1.c: Likewise.
10446 * iconv/tst-iconv2.c: Likewise.
10447 * inet/test-inet6_opt.c: Likewise.
10448 * inet/tst-gethnm.c: Likewise.
10449 * inet/tst-network.c: Likewise.
10450 * inet/tst-ntoa.c: Likewise.
10451 * intl/tst-codeset.c: Likewise.
10452 * intl/tst-gettext2.c: Likewise.
10453 * intl/tst-gettext3.c: Likewise.
10454 * intl/tst-ngettext.c: Likewise.
10455 * intl/tst-translit.c: Likewise.
10456 * io/test-stat.c: Likewise.
10457 * libio/test-fmemopen.c: Likewise.
10458 * libio/tst-freopen.c: Likewise.
10459 * libio/tst-sscanf.c: Likewise.
10460 * libio/tst-ungetwc1.c: Likewise.
10461 * libio/tst-ungetwc2.c: Likewise.
10462 * libio/tst-widetext.c: Likewise.
10463 * localedata/tst-ctype.c: Likewise.
10464 * localedata/tst-digits.c: Likewise.
10465 * localedata/tst-leaks.c: Likewise.
10466 * localedata/tst-mbswcs1.c: Likewise.
10467 * localedata/tst-mbswcs2.c: Likewise.
10468 * localedata/tst-mbswcs3.c: Likewise.
10469 * localedata/tst-mbswcs4.c: Likewise.
10470 * localedata/tst-mbswcs5.c: Likewise.
10471 * localedata/tst-setlocale.c: Likewise.
10472 * localedata/tst-trans.c: Likewise.
10473 * localedata/tst-wctype.c: Likewise.
10474 * localedata/tst-xlocale1.c: Likewise.
10475 * login/tst-grantpt.c: Likewise.
10476 * malloc/tst-calloc.c: Likewise.
10477 * malloc/tst-malloc.c: Likewise.
10478 * malloc/tst-mallocstate.c: Likewise.
10479 * malloc/tst-mcheck.c: Likewise.
10480 * malloc/tst-mtrace.c: Likewise.
10481 * malloc/tst-obstack.c: Likewise.
10482 * math/atest-exp2.c: Likewise.
10483 * math/atest-exp.c: Likewise.
10484 * math/atest-sincos.c: Likewise.
10485 * math/test-matherr.c: Likewise.
10486 * math/test-misc.c: Likewise.
10487 * math/test-powl.c: Likewise.
10488 * math/tst-definitions.c: Likewise.
10489 * misc/tst-dirname.c: Likewise.
10490 * misc/tst-efgcvt.c: Likewise.
10491 * misc/tst-fdset.c: Likewise.
10492 * misc/tst-hsearch.c: Likewise.
10493 * misc/tst-mntent2.c: Likewise.
10494 * nptl/tst-sem7.c: Likewise.
10495 * nptl/tst-sem8.c: Likewise.
10496 * nptl/tst-sem9.c: Likewise.
10497 * nss/test-netdb.c: Likewise.
10498 * posix/tst-fnmatch.c: Likewise.
10499 * posix/tst-getlogin.c: Likewise.
10500 * posix/tst-gnuglob.c: Likewise.
10501 * posix/tst-mmap.c: Likewise.
10502 * pwd/tst-getpw.c: Likewise.
10503 * resolv/tst-inet_ntop.c: Likewise.
10504 * rt/tst-timer.c: Likewise.
10505 * stdio-common/test-fseek.c: Likewise.
10506 * stdio-common/test-popen.c: Likewise.
10507 * stdio-common/test-vfprintf.c: Likewise.
10508 * stdio-common/tst-cookie.c: Likewise.
10509 * stdio-common/tst-fileno.c: Likewise.
10510 * stdio-common/tst-gets.c: Likewise.
10511 * stdio-common/tst-obprintf.c: Likewise.
10512 * stdio-common/tst-perror.c: Likewise.
10513 * stdio-common/tst-sprintf2.c: Likewise.
10514 * stdio-common/tst-sprintf3.c: Likewise.
10515 * stdio-common/tst-sprintf.c: Likewise.
10516 * stdio-common/tst-swprintf.c: Likewise.
10517 * stdio-common/tst-tmpnam.c: Likewise.
10518 * stdio-common/tst-unbputc.c: Likewise.
10519 * stdio-common/tst-wc-printf.c: Likewise.
10520 * stdlib/tst-environ.c: Likewise.
10521 * stdlib/tst-fmtmsg.c: Likewise.
10522 * stdlib/tst-limits.c: Likewise.
10523 * stdlib/tst-rand48-2.c: Likewise.
10524 * stdlib/tst-rand48.c: Likewise.
10525 * stdlib/tst-random2.c: Likewise.
10526 * stdlib/tst-random.c: Likewise.
10527 * stdlib/tst-strtol.c: Likewise.
10528 * stdlib/tst-strtoll.c: Likewise.
10529 * stdlib/tst-tls-atexit.c: Likewise.
10530 * stdlib/tst-xpg-basename.c: Likewise.
10531 * string/test-ffs.c: Likewise.
10532 * string/tst-bswap.c: Likewise.
10533 * string/tst-inlcall.c: Likewise.
10534 * string/tst-strtok.c: Likewise.
10535 * string/tst-strxfrm.c: Likewise.
10536 * sysdeps/x86_64/tst-audit10.c: Likewise.
10537 * sysdeps/x86_64/tst-audit3.c: Likewise.
10538 * sysdeps/x86_64/tst-audit4.c: Likewise.
10539 * sysdeps/x86_64/tst-audit5.c: Likewise.
10540 * time/tst-ftime_l.c: Likewise.
10541 * time/tst-getdate.c: Likewise.
10542 * time/tst-mktime3.c: Likewise.
10543 * time/tst-mktime.c: Likewise.
10544 * time/tst-posixtz.c: Likewise.
10545 * time/tst-strptime2.c: Likewise.
10546 * time/tst-strptime3.c: Likewise.
10547 * wcsmbs/tst-btowc.c: Likewise.
10548 * wcsmbs/tst-mbrtowc.c: Likewise.
10549 * wcsmbs/tst-mbsrtowcs.c: Likewise.
10550 * wcsmbs/tst-wchar-h.c: Likewise.
10551 * wcsmbs/tst-wcpncpy.c: Likewise.
10552 * wcsmbs/tst-wcrtomb.c: Likewise.
10553 * wcsmbs/tst-wcsnlen.c: Likewise.
10554 * wcsmbs/tst-wcstof.c: Likewise.
10556 2014-11-04 Joseph Myers <joseph@codesourcery.com>
10559 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10561 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10563 (_dl_mcount): Use rtld_hidden_proto.
10564 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10566 * elf/rtld.c (_rtld_global_ro): Likewise.
10569 * elf/dl-init.c (_dl_init): Don't use INTDEF.
10570 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10571 of _dl_init_internal.
10572 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10573 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10574 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10575 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10576 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10577 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10578 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10579 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10580 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10581 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10582 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10583 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10584 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10585 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10586 * sysdeps/tile/dl-start.S (_start): Likewise.
10587 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10588 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10591 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10592 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10593 (rtld_progname): Make macro definition unconditional.
10594 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10596 (dlmopen_doit): Do not use INTUSE with _dl_argv.
10597 (dl_main): Likewise.
10598 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10599 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10600 instead of _dl_argv_internal.
10601 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10602 __GI__dl_argv instead of INTUSE(_dl_argv).
10603 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10604 __GI__dl_argv instead of _dl_argv_internal.
10606 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10607 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10609 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10610 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10612 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10613 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10615 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10616 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10618 2014-11-04 Andreas Schwab <schwab@suse.de>
10620 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10622 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10624 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10625 mtvsrd instruction in binary form.
10627 2014-11-03 Andreas Schwab <schwab@suse.de>
10630 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10631 for less than MB_LEN_MAX use a local buffer of that size.
10632 * libio/tst-fputws.c: New file.
10633 * libio/Makefile (tests): Add tst-fputws.
10635 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
10637 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10638 the size of the fpu_fr.fpu_dregs[] array.
10640 2014-11-01 Joseph Myers <joseph@codesourcery.com>
10642 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10643 (__nanosleep): Do not define as alias.
10644 (nanosleep): Define as alias of __nanosleep.
10645 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10646 __libc_nanosleep name.
10648 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10650 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10651 install.texi in comment.
10653 2014-10-31 Torvald Riegel <triegel@redhat.com>
10655 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10656 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10657 ... add here and use lwsync or sync ...
10658 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10659 ... and add here using lwsync.
10661 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
10663 * elf/dl-machine-reject-phdr.h: New file.
10664 * elf/dl-load.c: #include that.
10665 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10666 if that returned true.
10668 2014-10-31 Roland McGrath <roland@hack.frob.com>
10671 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10672 gen-as-const-headers chunk. Add a big scare comment after the last
10673 safe place to touch before-compile.
10675 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10677 * manual/install.texi (Tools for Compilation): Update autoconf
10678 version requirements.
10679 * INSTALL: Regenerated.
10681 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10682 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10683 (__libc_pselect): Likewise.
10686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10691 2014-10-31 Torvald Riegel <triegel@redhat.com>
10693 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10694 correct barrier instruction.
10695 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10697 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10700 2014-10-30 Roland McGrath <roland@hack.frob.com>
10702 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10703 after defining inlines. Instead, just use parens to defeat macro
10704 expansion of __isctype in its declaration.
10706 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10708 * include/sys/uio.h (__libc_readv): Remove declaration.
10709 (__libc_writev): Likewise.
10710 * misc/readv.c (__libc_readv): Rename to __readv.
10711 (__readv): Do not define as alias.
10712 (readv): Define as alias of __readv.
10713 * misc/writev.c (__libc_writev): Rename to __writev.
10714 (__writev): Do not define as alias.
10715 (writev): Define as alias of __writev.
10716 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10717 (__readv): Do not define as alias.
10718 (readv): Define unconditionally as alias of __readv.
10719 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10720 (__writev): Do not define as alias.
10721 (writev): Define unconditionally as alias of __writev.
10722 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10724 (writev): Do not define __libc_writev name.
10726 2014-10-30 Roland McGrath <roland@hack.frob.com>
10728 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10729 (convert_charseq): New function, broken out of ...
10730 (use_from_charmap): ... here. Call it.
10731 (use_to_charmap): Use convert_charseq and free instead of duplicating
10732 its code with a variable-length stack struct.
10734 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10736 * include/fcntl.h (__libc_creat): Remove declaration.
10737 * io/creat.c (__libc_creat): Rename to creat.
10738 (creat): Do not define as alias.
10739 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10740 of creat instead of __libc_creat.
10741 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10743 (creat): Do not define as alias.
10744 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10746 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10748 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10751 2014-10-29 Carlos O'Donell <carlos@redhat.com>
10753 * manual/llio.texi: Add comments discussing why write() may be
10754 considered MT-unsafe on Linux.
10756 2014-10-28 Carlos O'Donell <carlos@redhat.com>
10758 * dl-load.c (local_strdup): Remove.
10759 (expand_dynamic_string_token): Use __strdup.
10760 (decompose_rpath): Likewise.
10761 (_dl_map_object): Likewise.
10763 2014-10-28 Joseph Myers <joseph@codesourcery.com>
10766 * sysdeps/generic/unwind-dw2-fde.c
10767 (__register_frame_info_bases_internal): Do not declare.
10768 (__register_frame_info_table_bases_internal): Likewise.
10769 (__deregister_frame_info_bases_internal): Likewise.
10770 (__register_frame_info_bases): Declare and use hidden_proto before
10771 definition. Use hidden_def instead of INTDEF.
10772 (__register_frame_info_table_bases): Likewise.
10773 (__deregister_frame_info_bases): Likewise.
10774 (__register_frame_info): Do not use INTUSE.
10775 (__register_frame): Likewise.
10776 (__register_frame_info_table): Likewise.
10777 (__register_frame_table): Likewise.
10778 (__deregister_frame_info): Likewise.
10779 (__deregister_frame): Likewise.
10781 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
10783 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10784 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10786 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10788 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10791 2014-10-27 Joseph Myers <joseph@codesourcery.com>
10794 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10795 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10796 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10797 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10798 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10799 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10800 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10801 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10802 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10803 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10804 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10805 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10806 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10808 (setfsuid): Likewise.
10809 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10810 (setfsuid): Likewise.
10811 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10812 (setfsuid): Likewise.
10813 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10815 (setfsuid): Likewise.
10816 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10817 (setfsuid): Likewise.
10818 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10820 (setfsuid): Likewise.
10822 2014-10-27 Andreas Schwab <schwab@suse.de>
10825 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10826 check for Slow_SSE4_2 feature bit.
10827 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10828 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10829 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10830 Likewise. Fix check for Fast_Unaligned_Load feature bit.
10832 2014-10-24 Roland McGrath <roland@hack.frob.com>
10834 * configure.ac: Validate compiler version with a empirical test of
10835 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10837 * configure: Regenerated.
10839 * inet/htons.c (htons): Prototypify.
10840 * inet/htonl.c (htonl): Likewise.
10842 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10844 * string/strncat.c (strncat): Improve performance by using strlen.
10846 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10848 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10850 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10852 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10853 Call libc_fetestexcept_aarch64.
10855 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10857 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10858 Call libc_feholdexcept_aarch64.
10860 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10862 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10863 Call get_rounding_mode.
10865 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10867 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10870 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10872 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10875 2014-10-24 Joseph Myers <joseph@codesourcery.com>
10878 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10879 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10880 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10881 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10882 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10883 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10884 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10885 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10886 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10887 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10888 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10889 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10890 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10891 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10892 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10893 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10894 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10895 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10896 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10897 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10898 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10899 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10900 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10901 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10902 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10903 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10904 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10905 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10906 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10907 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10908 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10909 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10910 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10911 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10912 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10913 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10914 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10915 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10916 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10917 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10918 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10920 (geteuid): Likewise.
10921 (getgid): Likewise.
10922 (getuid): Likewise.
10923 (getresgid): Likewise.
10924 (getresuid): Likewise.
10925 (getgroups): Likewise.
10926 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10927 (geteuid): Likewise.
10928 (getgid): Likewise.
10929 (getuid): Likewise.
10930 (getresgid): Likewise.
10931 (getresuid): Likewise.
10932 (getgroups): Likewise.
10933 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10934 (geteuid): Likewise.
10935 (getgid): Likewise.
10936 (getuid): Likewise.
10937 (getresgid): Likewise.
10938 (getresuid): Likewise.
10939 (getgroups): Likewise.
10940 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10942 (geteuid): Likewise.
10943 (getgid): Likewise.
10944 (getuid): Likewise.
10945 (getresgid): Likewise.
10946 (getresuid): Likewise.
10947 (getgroups): Likewise.
10948 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10949 (geteuid): Likewise.
10950 (getgid): Likewise.
10951 (getuid): Likewise.
10952 (getresgid): Likewise.
10953 (getresuid): Likewise.
10954 (getgroups): Likewise.
10955 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10957 (geteuid): Likewise.
10958 (getgid): Likewise.
10959 (getuid): Likewise.
10960 (getgroups): Likewise.
10963 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10964 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10965 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10966 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10967 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10968 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10969 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10970 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10971 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10972 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10973 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10974 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10975 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10977 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10978 (lchown): Likewise.
10979 (fchown): Likewise.
10980 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10982 (lchown): Likewise.
10983 (fchown): Likewise.
10984 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10985 (lchown): Likewise.
10986 (fchown): Likewise.
10987 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10989 (lchown): Likewise.
10990 (fchown): Likewise.
10992 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10994 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10997 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10999 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11002 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11004 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11005 Remove unused include.
11007 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11009 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11010 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11011 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11012 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11014 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
11015 Helge Deller <deller@gmx.de>
11018 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11019 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11020 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11022 2014-10-23 Joseph Myers <joseph@codesourcery.com>
11025 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11026 Remove macro definition.
11027 (__ashrdi3_v_glibc20): Likewise.
11028 (__lshrdi3_v_glibc20): Likewise.
11029 (__cmpdi2_v_glibc20): Likewise.
11030 (__ucmpdi2_v_glibc20): Likewise.
11031 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11032 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11033 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11034 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11035 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11036 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11038 2014-10-22 Roland McGrath <roland@hack.frob.com>
11040 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11041 old GNU extension [0] syntax.
11042 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11043 alloca rather than an array member with variable length.
11044 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11045 * nscd/nscd.c (invalidate_db): New function, broken out of ...
11046 (parse_opt): ... here. Likewise use alloca there.
11047 Validate the -i argument before checking for rootness.
11048 (send_shutdown): New function, broken out of ...
11049 (parse_opt): ... here.
11051 2014-10-22 Roland McGrath <roland@hack.frob.com>
11053 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11054 macro to get at the _rt_local_ro field.
11055 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11056 ([PIC] case) or _dl_hwcap ([!PIC] case).
11057 * sysdeps/arm/setjmp.S: Likewise.
11059 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11060 * sysdeps/arm/configure.ac: New check to define it.
11061 * sysdeps/arm/configure: Regenerated.
11062 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11063 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11064 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11065 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11066 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11067 Use move/movt pair instead of a load.
11068 (LDST_GLOBAL): Macro removed.
11069 (LDR_GLOBAL): New macro replaces it.
11070 (LDR_HIDDEN): New macro.
11071 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11072 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11074 * setjmp/tst-setjmp-static.c: New file.
11075 * setjmp/Makefile (tests): Add it.
11076 (tests-static): New variable.
11078 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
11081 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11083 2014-10-21 Joseph Myers <joseph@codesourcery.com>
11086 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11088 2014-10-21 Roland McGrath <roland@hack.frob.com>
11090 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11092 2014-10-20 Roland McGrath <roland@hack.frob.com>
11094 * io/fts.c (dirent_not_directory): New function.
11095 (fts_build): Call it.
11097 2014-10-20 Roland McGrath <roland@hack.frob.com>
11099 * nptl/version.c (__nptl_main): Use normal __write rather than
11101 (banner): Update copyright years.
11103 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11105 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11106 * nptl/pthread_cond_timedwait.c: Likewise.
11107 * nptl/pthread_mutex_timedlock.c: Likewise.
11108 * nptl/sem_timedwait.c: Likewise.
11110 * sysdeps/nptl/bits/libc-lock.h
11111 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11112 (__libc_lock_init_recursive): Return void, not 0.
11113 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11114 (__libc_rwlock_init): Likewise.
11115 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11117 2014-10-20 Torvald Riegel <triegel@redhat.com>
11120 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11121 (__pthread_once_slow): ... here.
11122 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11123 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11125 2014-10-20 Torvald Riegel <triegel@redhat.com>
11128 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11129 __PTHREAD_ONCE_FORK_GEN_INCR): New.
11130 * sysdeps/nptl/fork.c (__libc_fork): Use them.
11131 * nptl/pthread_once.c (__pthread_once): Likewise.
11134 2014-10-20 Joseph Myers <joseph@codesourcery.com>
11137 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11139 (writev): Use __libc_writev as strong name.
11140 * sysdeps/unix/sysv/linux/readv.c: Remove file.
11141 * sysdeps/unix/sysv/linux/writev.c: Likewise.
11143 2014-10-17 Roland McGrath <roland@hack.frob.com>
11145 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11147 * sysdeps/i386/nptl/tls.h
11148 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11149 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11151 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11152 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11153 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11154 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11155 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11156 Call CHECK_THREAD_SYSINFO instead of doing an assert.
11158 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11159 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11161 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11163 (__pthread_mutex_init): ... here. Call it.
11164 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11165 Conditionalize PI cases on [__NR_futex].
11166 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11167 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11168 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11170 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11171 conditional on [SIGSETXID].
11172 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11173 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11174 is defined. Likewise for SIGSETXID.
11175 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11176 Conditionalize definitions on [SIGSETXID].
11177 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11178 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11179 unblocking on [SIGCANCEL].
11181 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11182 [__NR_set_robust_list].
11184 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11186 * string/strcoll_l.c (get_next_seq): Fix up formatting.
11187 (do_compare): Likewise.
11189 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
11192 * string/strcoll_l.c: Don't include stdio.h.
11193 (coll_seq): Remove members idxarr and rulearr.
11194 (get_next_seq_cached): Remove function.
11195 (get_next_seq): Likewise.
11196 (get_next_seq_nocache): Rename to get_next_seq.
11197 (do_compare): Remove function.
11198 (do_compare_nocache): Rename to do_compare.
11199 (STRCOLL): Remove weight and rules cache.
11201 2014-10-16 Roland McGrath <roland@hack.frob.com>
11203 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11204 * sysdeps/arm/sfp-machine.h: ... to here.
11205 * sysdeps/arm/Implies: Remove arm/soft-fp.
11207 2014-10-14 Joseph Myers <joseph@codesourcery.com>
11209 * conform/data/sys/utsname.h-data (*_t): Allow.
11210 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11211 [POSIX] (WEXITED): Do not expect constant.
11212 [POSIX] (WSTOPPED): Likewise.
11213 [POSIX] (WNOHANG): Likewise.
11214 [POSIX] (WNOWAIT): Likewise.
11215 [POSIX] (siginfo_t): Do not expect type or elements.
11216 [POSIX] (pid_t): Do not expect type.
11217 [POSIX] (signal.h): Do not allow header.
11218 [POSIX] (sys/resource.h): Likewise.
11219 [POSIX] (si_*): Do not allow pattern.
11220 [POSIX] (W*): Likewise.
11221 [POSIX] (P_*): Likewise.
11222 [POSIX] (BUS_*): Likewise.
11223 [POSIX] (CLD_*): Likewise.
11224 [POSIX] (FPE_*): Likewise.
11225 [POSIX] (ILL_*): Likewise.
11226 [POSIX] (POLL_*): Likewise.
11227 [POSIX] (SEGV_*): Likewise.
11228 [POSIX] (SI_*): Likewise.
11229 [POSIX] (TRAP_*): Likewise.
11230 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11233 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
11236 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11237 infinite loop when __recvmsg returns 0.
11239 2014-10-10 Joseph Myers <joseph@codesourcery.com>
11241 * CANCEL-FCT-WAIVE: Remove file.
11242 * CANCEL-FILE-WAIVE: Likewise.
11245 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11246 instead of INTVARDEF.
11247 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11248 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11249 rtld_hidden_data_def instead of INTVARDEF.
11250 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11251 * elf/dl-deps.c (expand_dst): Likewise.
11252 * elf/dl-load.c (_dl_dst_count): Likewise.
11253 (_dl_dst_substitute): Likewise.
11254 (decompose_rpath): Likewise.
11255 (_dl_init_paths): Likewise.
11256 (open_path): Likewise.
11257 (_dl_map_object): Likewise.
11258 * elf/rtld.c (dl_main): Likewise.
11259 (process_dl_audit): Likewise.
11260 (process_envvars): Likewise.
11261 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11262 Remove declaration.
11263 (__libc_enable_secure): Use rtld_hidden_proto.
11265 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11268 (add_path): New function broken out of _dl_rtld_di_serinfo.
11269 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
11271 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11273 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11274 parentheses around macro arguments.
11275 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11276 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11277 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11278 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11279 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11280 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11281 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11282 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11283 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11284 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11285 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11286 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11287 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11288 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11289 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11290 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11291 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11292 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11293 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11294 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11295 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11296 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11297 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11298 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11299 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11300 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11301 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11302 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11303 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11304 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11305 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11306 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11307 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11308 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11309 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11310 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11312 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11313 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11314 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11315 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11316 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11317 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11318 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11319 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11320 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11321 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11322 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11323 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11324 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11325 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11326 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11327 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11328 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11329 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11330 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11331 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11332 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11333 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11334 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11335 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11336 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11337 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11338 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11339 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11340 (_FP_FRAC_SRS_1): Likewise.
11341 (_FP_FRAC_CLZ_1): Likewise.
11342 (_FP_MUL_MEAT_1_imm): Likewise.
11343 (_FP_MUL_MEAT_1_wide): Likewise.
11344 (_FP_MUL_MEAT_1_hard): Likewise.
11345 (_FP_SQRT_MEAT_1): Likewise.
11346 (_FP_FRAC_ASSEMBLE_1): Likewise.
11347 (_FP_FRAC_DISASSEMBLE_1): Likewise.
11348 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11349 (__FP_CLZ_2): Likewise.
11350 (_FP_MUL_MEAT_2_wide): Likewise.
11351 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11352 (_FP_MUL_MEAT_2_gmp): Likewise.
11353 (_FP_MUL_MEAT_2_120_240_double): Likewise.
11354 (_FP_SQRT_MEAT_2): Likewise.
11355 (_FP_FRAC_ASSEMBLE_2): Likewise.
11356 (_FP_FRAC_DISASSEMBLE_2): Likewise.
11357 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11358 (_FP_FRAC_CLZ_4): Likewise.
11359 (_FP_MUL_MEAT_4_wide): Likewise.
11360 (_FP_MUL_MEAT_4_gmp): Likewise.
11361 (_FP_SQRT_MEAT_4): Likewise.
11362 (_FP_FRAC_ASSEMBLE_4): Likewise.
11363 (_FP_FRAC_DISASSEMBLE_4): Likewise.
11364 * soft-fp/op-common.h (_FP_CMP): Likewise.
11365 (_FP_CMP_EQ): Likewise.
11366 (_FP_CMP_UNORD): Likewise.
11367 (_FP_TO_INT): Likewise.
11368 (_FP_FROM_INT): Likewise.
11369 [!__FP_CLZ] (__FP_CLZ): Likewise.
11370 (_FP_DIV_HELP_imm): Likewise.
11371 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11373 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11374 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11375 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11376 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11377 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11378 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11379 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11380 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11381 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11382 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11383 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11384 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11385 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11386 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11387 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11388 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11389 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11390 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11391 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11392 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11393 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11394 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11395 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11396 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11397 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11398 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11399 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11400 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11401 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11402 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11403 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11404 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11405 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11406 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11407 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11408 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11409 (FP_UNPACK_RAW_SP): Likewise.
11410 (FP_PACK_RAW_S): Likewise.
11411 (FP_PACK_RAW_SP): Likewise.
11412 (FP_UNPACK_S): Likewise.
11413 (FP_UNPACK_SP): Likewise.
11414 (FP_UNPACK_SEMIRAW_S): Likewise.
11415 (FP_UNPACK_SEMIRAW_SP): Likewise.
11416 (FP_PACK_S): Likewise.
11417 (FP_PACK_SP): Likewise.
11418 (FP_PACK_SEMIRAW_S): Likewise.
11419 (FP_PACK_SEMIRAW_SP): Likewise.
11420 (_FP_SQRT_MEAT_S): Likewise.
11421 (FP_CMP_S): Likewise.
11422 (FP_CMP_EQ_S): Likewise.
11423 (FP_CMP_UNORD_S): Likewise.
11424 (FP_TO_INT_S): Likewise.
11425 (FP_FROM_INT_S): Likewise.
11427 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11429 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11430 (FP_EX_INVALID_IMZ): Likewise.
11431 (FP_EX_INVALID_IMZ_FMA): Likewise.
11432 (FP_EX_INVALID_ISI): Likewise.
11433 (FP_EX_INVALID_ZDZ): Likewise.
11434 (FP_EX_INVALID_IDI): Likewise.
11435 (FP_EX_INVALID_SQRT): Likewise.
11436 (FP_EX_INVALID_CVI): Likewise.
11437 (FP_EX_INVALID_VC): Likewise.
11438 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11439 "invalid" exceptions.
11440 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11441 (_FP_ADD_INTERNAL): Likewise.
11442 (_FP_MUL): Likewise.
11443 (_FP_FMA): Likewise.
11444 (_FP_DIV): Likewise.
11445 (_FP_CMP_CHECK_NAN): Likewise.
11446 (_FP_SQRT): Likewise.
11447 (_FP_TO_INT): Likewise.
11448 (FP_EXTEND): Likewise.
11450 2014-10-09 Allan McRae <allan@archlinux.org>
11452 * po/fr.po: Update French translation from translation project.
11454 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11457 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11459 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11460 (__cxa_atexit): Use libc_hidden_proto.
11461 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11464 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11466 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11467 [!_ISOMAC] (__iswspace_l_internal): Likewise.
11468 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11469 [!_ISOMAC] (__iswctype_internal): Likewise.
11470 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11471 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11473 (fcntl): Remove __fcntl_internal alias.
11474 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11475 __connect_internal alias.
11476 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11479 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11480 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11482 (_FP_CHECK_FLUSH_ZERO): New macro.
11483 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11484 (_FP_CMP): Likewise.
11485 (_FP_CMP_EQ): Likewise.
11486 (_FP_TO_INT): Do not set inexact for subnormal arguments if
11488 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11489 (FP_TRUNC): Likewise.
11491 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11492 treated as invalid conversion, not as normal exponent.
11494 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11495 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
11496 (_FP_CMP_EQ): Likewise.
11497 (_FP_CMP_UNORD): Likewise.
11498 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11499 (FP_CMP_EQ_D): Likewise.
11500 (FP_CMP_UNORD_D): Likewise.
11501 * soft-fp/extended.h (FP_CMP_E): Likewise.
11502 (FP_CMP_EQ_E): Likewise.
11503 (FP_CMP_UNORD_E): Likewise.
11504 * soft-fp/quad.h (FP_CMP_Q): Likewise.
11505 (FP_CMP_EQ_Q): Likewise.
11506 (FP_CMP_UNORD_Q): Likewise.
11507 * soft-fp/single.h (FP_CMP_S): Likewise.
11508 (FP_CMP_EQ_S): Likewise.
11509 (FP_CMP_UNORD_S): Likewise.
11510 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11511 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11512 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11513 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11514 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11515 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11516 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11517 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11518 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11519 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11520 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11521 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11522 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11524 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11526 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11527 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11529 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11531 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11532 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11533 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11534 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11536 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11538 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11539 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11541 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11543 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11544 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11545 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11546 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11549 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11550 a subnormal result, set the underflow exception if trapping on
11551 underflow is enabled.
11552 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11553 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11554 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11556 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11557 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11558 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11559 * soft-fp/extendxftf2.c (__extendxftf2): Use
11560 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11562 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11563 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11564 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11565 FP_HANDLE_EXCEPTIONS.
11566 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11567 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11568 FP_HANDLE_EXCEPTIONS.
11569 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11570 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11571 FP_HANDLE_EXCEPTIONS.
11572 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11573 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11574 FP_HANDLE_EXCEPTIONS.
11576 2014-10-08 Joseph Myers <joseph@codesourcery.com>
11579 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11580 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11582 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11583 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11585 (__adjtimex): Define using libc_hidden_ver.
11586 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11587 Remove declaration.
11588 (ntp_gettime): Call __adjtimex directly.
11589 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11590 Remove declaration.
11591 (ntp_gettimex): Call __adjtimex directly.
11592 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11593 __adjtimex_internal alias.
11595 2014-10-08 Roland McGrath <roland@hack.frob.com>
11598 * nscd/nscd.c (more_help): Rewrite list of tables collection
11599 using xstrdup and asprintf.
11601 * nscd/nscd_conf.c: Remove local xstrdup declaration.
11603 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11604 Roland McGrath <roland@hack.frob.com>
11606 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11607 (do_lookup_unique): ... local function 'enter' here; update callers.
11609 2014-10-06 Joseph Myers <joseph@codesourcery.com>
11611 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11612 compat_symbol calls on [SHARED].
11613 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11614 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11616 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11617 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11618 (oldsetrlimit): Remove.
11619 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11621 (lchown): New syscall entry.
11622 (oldsetrlimit): Remove.
11623 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11624 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11625 (oldsetrlimit): Remove.
11626 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11629 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11630 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11631 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11632 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11633 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11634 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11635 (fchown): Likewise.
11636 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11637 (fchown): Likewise.
11638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11641 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11643 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11644 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11645 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11646 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11647 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11649 (__old_sem_post): Likewise.
11651 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
11653 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11654 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11655 HAVE_CLOCK_GETTIME_VSYSCALL macros.
11656 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11657 Use INLINE_VSYSCALL macro.
11658 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11659 __vdso_clock_gettime.
11660 * sysdeps/unix/sysv/linux/tile/init-first.c
11661 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11662 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11663 __vdso_clock_gettime.
11665 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11666 to set up frame more cleanly.
11668 * sysdeps/tile/memcmp.c: New file.
11670 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11672 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11673 * sysdeps/tile/tilegx/strcasestr.c: New file.
11674 * sysdeps/tile/tilegx/strnlen.c: New file.
11675 * sysdeps/tile/tilegx/strstr.c: New file.
11677 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11679 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
11681 * nptl/tst-setuid3.c: Write errors to stdout.
11683 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11686 (preload): New functions broken out of _dl_map_object_deps.
11687 (_dl_map_object_deps): Remove a nested function. Update call sites.
11689 2014-10-01 Joseph Myers <joseph@codesourcery.com>
11692 * sysdeps/unix/sysv/linux/execve.c: Remove file.
11693 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11695 2014-10-01 Steve Ellcey <sellcey@mips.com>
11697 * sysdeps/mips/strcmp.S: New.
11699 2014-09-30 Joseph Myers <joseph@codesourcery.com>
11702 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11703 (linkat): Likewise.
11704 (mkdirat): Likewise.
11705 (readlinkat): Likewise.
11706 (renameat): Likewise.
11707 (symlinkat): Likewise.
11708 (unlinkat): Likewise.
11709 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11710 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11711 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11712 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11713 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11714 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11715 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11717 2014-09-30 Will Newton <will.newton@linaro.org>
11719 * math/math.h: Define long double math functions if
11720 _LIBC_TEST is defined.
11721 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11723 * localedata/Makefile: Move assignment to tests-special
11724 into an ifdef testing run-built-tests.
11725 * timezone/Makefile: Likewise.
11727 2014-09-29 Joseph Myers <joseph@codesourcery.com>
11729 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11730 with $(BASH) not $(SHELL).
11732 2014-09-29 Carlos O'Donell <carlos@redhat.com>
11733 Matthew LeGendre <legendre1@llnl.gov>
11736 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11739 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11741 * stdio-common/printf_fp.c
11742 (hack_digit): New function, broken out of ...
11743 (__printf_fp): ... local function here. Update call sites.
11744 hack_digit now takes an additional parameter that is a pointer
11745 to a struct of the referenced locals. Those locals moved inside
11746 the struct and references updated.
11748 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
11750 * aclocal.m4: Require autoconf 2.69.
11751 * configure: Regenerated.
11752 * sysdeps/aarch64/configure: Likewise.
11753 * sysdeps/alpha/configure: Likewise.
11754 * sysdeps/arm/armv7/configure: Likewise.
11755 * sysdeps/arm/configure: Likewise.
11756 * sysdeps/ia64/configure: Likewise.
11757 * sysdeps/mach/configure: Likewise.
11758 * sysdeps/mips/configure: Likewise.
11759 * sysdeps/s390/configure: Likewise.
11760 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11763 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11765 * sysdeps/ia64/configure.ac: Likewise.
11767 2014-09-26 Joseph Myers <joseph@codesourcery.com>
11769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11770 specify symbol version for ld.so. Do not include entry for
11772 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11773 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11774 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11777 * Makeconfig [$(build-shared) = yes]
11778 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11780 [$(build-shared) = yes && $(soversions.mk-done) = t]
11781 ($(common-objpfx)gnu/lib-names.h): Remove rule.
11782 [$(build-shared) = yes && $(soversions.mk-done) = t]
11783 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
11785 [$(build-shared) = yes && $(soversions.mk-done) = t]
11786 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11788 [$(build-shared) = yes && $(soversions.mk-done) = t]
11789 (common-generated): Don't append gnu/lib-names.h and
11790 gnu/lib-names.stmp here.
11791 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11792 (lib-names-h-abi): New variable.
11793 [$(build-shared) = yes && $(soversions.mk-done) = t]
11794 (lib-names-stmp-abi): Likewise.
11795 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11796 abi-variants] (before-compile): Append
11797 $(common-objpfx)$(lib-names-h-abi).
11798 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11799 abi-variants] (common-generated): Append gnu/lib-names.h.
11800 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11801 abi-variants] (install-others-nosubdir): Depend on
11802 $(inst_includedir)/$(lib-names-h-abi).
11803 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11804 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11805 [$(build-shared) = yes && $(soversions.mk-done) = t]
11806 ($(common-objpfx)$(lib-names-h-abi)): New rule.
11807 [$(build-shared) = yes && $(soversions.mk-done) = t]
11808 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11809 [$(build-shared) = yes && $(soversions.mk-done) = t]
11810 (common-generated): Append $(lib-names-h-abi) and
11811 $(lib-names-stmp-abi).
11812 * scripts/lib-names.awk: Do not handle multi being set.
11813 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11815 (abi-lp64_be-ld-soname): Likewise.
11816 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11818 (abi-hard-ld-soname): Likewise.
11819 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11820 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11822 (abi-o32_hard-ld-soname): Likewise.
11823 (abi-o32_soft_2008-ld-soname): Likewise.
11824 (abi-o32_hard_2008-ld-soname): Likewise.
11825 (abi-n32_soft-ld-soname): Likewise.
11826 (abi-n32_hard-ld-soname): Likewise.
11827 (abi-n32_soft_2008-ld-soname): Likewise.
11828 (abi-n32_hard_2008-ld-soname): Likewise.
11829 (abi-n64_soft-ld-soname): Likewise.
11830 (abi-n64_hard-ld-soname): Likewise.
11831 (abi-n64_soft_2008-ld-soname): Likewise.
11832 (abi-n64_hard_2008-ld-soname): Likewise.
11833 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11835 (abi-64-v2-ld-soname): Likewise.
11836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11838 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11840 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11842 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11844 (abi-64-ld-soname): Likewise.
11845 (abi-x32-ld-soname): Likewise.
11846 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11848 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11850 2014-09-23 Joseph Myers <joseph@codesourcery.com>
11853 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11854 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11855 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11856 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11857 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11858 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11859 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11860 syscall entry for GLIBC_2.2 symbol version.
11861 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11864 (setrlimit): Likewise.
11865 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11868 2014-09-23 Will Newton <will.newton@linaro.org>
11870 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11871 _LINUX_ARM_SYSDEP_H include guard too.
11872 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11875 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11877 * sysdeps/unix/sysv/linux/eventfd.c:
11878 Make first argument unsigned.
11879 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11880 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11882 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
11884 * socket/recvmmsg.c (recvmmsg): Drop const argument.
11885 * socket/sys/socket.h: Likewise
11886 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11888 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11890 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11892 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
11894 * time/tst-ftime.c: New test.
11895 * time/Makefile (tests): Add tst-ftime.
11897 2014-09-17 Joseph Myers <joseph@codesourcery.com>
11899 * soft-fp/extended.h: Fix comment formatting.
11900 * soft-fp/op-1.h: Likewise.
11901 * soft-fp/op-2.h: Likewise.
11902 * soft-fp/op-4.h: Likewise.
11903 * soft-fp/op-8.h: Likewise.
11904 * soft-fp/op-common.h: Likewise.
11905 * soft-fp/soft-fp.h: Likewise.
11907 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11909 2014-09-16 Joseph Myers <joseph@codesourcery.com>
11912 * Makeconfig (soversions-default-setname): Remove variable.
11913 ($(common-objpfx)soversions.i): Don't pass default_setname to
11915 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11916 oldest_abi to abi-versions.awk.
11917 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11918 * config.make.in (oldest-abi): Remove variable.
11919 * configure.ac (--enable-oldest-abi): Remove configure option.
11920 * configure: Regenerated.
11921 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11923 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11924 * scripts/soversions.awk: Do not handle default_setname variable.
11925 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11927 * sysdeps/mach/hurd/configure: Regenerated.
11928 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11930 * sysdeps/unix/sysv/linux/configure: Regenerated.
11932 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11934 * elf/Makefile (CFLAGS-interp.c): Remove.
11935 ($(elf-objpfx)runtime-linker.h): Generate header with linker
11937 * elf/interp.c: Include generated runtime-linker.h
11939 * Makerules (lib%.so): Don't include $(+interp) in
11941 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11942 * dlfcn/eval.c: Remove file.
11944 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11948 * misc/sys/cdefs.h: Define __extern_always_inline for clang
11952 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11954 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11955 Jakub Jelinek <jakub@redhat.com>
11958 * libio/stdio.h: Check definition of __fortify_function
11959 instead of __extern_always_inline to include bits/stdio2.h.
11960 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11961 check if __extern_always_inline is defined.
11962 [__USE_MISC || __USE_XOPEN]: Likewise.
11963 [__USE_ISOC99] Likewise.
11964 * misc/sys/cdefs.h (__fortify_function): Define only if
11965 __extern_always_inline is defined.
11966 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11967 __extern_always_inline and __extern_inline only for g++-4.3
11968 and newer or a compatible gcc.
11970 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
11973 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11974 last change to handle zero prefix length.
11976 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11978 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11981 * posix/getconf.c (vars): Add _POSIX_IPV6 and
11982 _POSIX_RAW_SOCKETS.
11984 2014-09-13 Allan McRae <allan@archlinux.org>
11986 * po/ru.po: Update Russian translation from translation project.
11988 2014-09-12 Roland McGrath <roland@hack.frob.com>
11990 * locale/programs/locale.c (show_locale_vars): Inline local function
11991 into its sole call site. Clean up some style nits.
11992 (print_item): New function, broken out of ...
11993 (show_info): ... local function here. Clean up style nits.
11995 * locale/programs/ld-ctype.c (set_one_default): New function, broken
11997 (set_class_defaults): ... local function set_default here.
11998 Define set_default as a macro locally to pass constant parameters.
11999 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12000 rather than a shared local.
12002 * stdlib/rpmatch.c (try): New function, broken out of ...
12003 (rpmatch): ... local function here. Also, prototypify definition.
12005 2014-09-12 Joseph Myers <joseph@codesourcery.com>
12007 * scripts/soversions.awk: Do not handle configuration names.
12008 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12009 vendor and os variables to soversions.awk.
12010 * configure.ac: Do not modify gnu-* host_os.
12011 * configure: Regenerated
12012 * shlib-versions: Remove first column with configuration names.
12013 * nptl/shlib-versions: Likewise.
12014 * nptl_db/shlib-versions: Likewise.
12015 * sysdeps/hppa/shlib-versions: Likewise.
12016 * sysdeps/m68k/shlib-versions: Likewise.
12017 * sysdeps/mach/hurd/shlib-versions: Likewise.
12018 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12019 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12020 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12021 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12022 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12023 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12024 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12025 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12028 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12029 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12030 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12031 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12032 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12033 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12034 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12035 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12038 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12041 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12043 Condition symbol version definitions on [HAVE_ELFV2_ABI].
12045 * shlib-versions: Remove OS-specific entries. Moved to files in
12047 * sysdeps/mach/hurd/shlib-versions: New file.
12048 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12050 * nptl/shlib-versions: Remove architecture-specific entries.
12051 Moved to files in sysdeps.
12052 * shlib-versions: Likewise.
12053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12055 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12056 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12057 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12058 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12060 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12061 (UDP_NO_CHECK6_RX): Likewise.
12063 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12065 * sysdeps/posix/sysconf.c (__sysconf): Spell
12066 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12068 2014-08-12 Florian Weimer <fweimer@redhat.com>
12070 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12072 * iconv/Versions (__gconv_transliterate): Export for use from
12074 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12075 (struct __gconv_trans_data, __gconv_trans_fct,
12076 __gconv_trans_context_fct, __gconv_trans_query_fct,
12077 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12079 (struct __gconv_step_data): Remove __trans member.
12080 (__gconv_transliterate): Declaration moved from gconv_int.h. No
12081 longer hidden. Remove unused trans_data argument.
12082 * iconv/gconv_int.h (struct trans_struct): Remove definition.
12083 (__gconv_translit_find): Remove declaration.
12084 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
12086 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12087 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12088 trans_data argument. Add hidden definition.
12089 (__gconv_translit_find): Remove.
12090 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12091 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12092 * iconv/skeleton.c: Remove transliteration initialization.
12093 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12094 __gconv_step_data initialization.
12095 * libio/iofwide.c (__libio_translit_): Remove.
12096 (_IO_fwide): Adjust struct __gconv_step_data initialization.
12097 * wcsmbs/btowc.c (__btowc): Likewise.
12098 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12099 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12100 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12101 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12102 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12103 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12104 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12105 * wcsmbs/wctob.c (wctob): Likewise.
12107 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12110 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12111 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
12113 * sysdeps/x86/Makefile: Adjust.
12115 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12116 Roland McGrath <roland@hack.frob.com>
12118 * locale/weight.h: Add include guard.
12119 (findidx): Make static rather than auto; take new parameters
12120 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12121 * locale/weightwc.h: Likewise.
12122 * posix/fnmatch_loop.c
12123 (FCT): Change type of EXTRA from int32_t to wint_t.
12124 Don't include either header inside the function.
12125 Call FINDIDX rather than findidx, and pass new arguments.
12126 #undef FINDIDX at the end of the file.
12127 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12128 FINDIDX before including fnmatch_loop.c for the non-wide version.
12129 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12130 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12131 for the wide version.
12132 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12133 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12134 Pass new arguments to findidx.
12135 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12136 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12137 Don't #include it inside the function. Pass new arguments to findidx.
12138 * posix/regex_internal.h
12139 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12140 (re_string_elem_size_at): Don't #include it inside the function.
12141 Pass new arguments to findidx.
12142 * string/strcoll_l.c: #include WEIGHT_H at top level.
12143 (get_next_seq): Don't #include it inside the function.
12144 Pass new arguments to findidx.
12145 (get_next_seq_nocache): Likewise.
12146 * string/strxfrm_l.c: #include WEIGHT_H at top level.
12147 (STRXFRM): Don't #include it inside the function.
12148 Pass new arguments to findidx.
12150 2014-09-11 Florian Weimer <fweimer@redhat.com>
12153 * malloc/malloc.c (unlink): Turn asserts into a call to
12156 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
12159 * libio/wfileops (do_ftell_wide): Free OUT.
12161 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
12163 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12165 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12168 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12169 group if the current group is empty.
12171 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12173 * benchtests/bench-memset.c (test_main): Add more test from size
12174 from 32 to 512 bytes.
12175 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12176 Add POWER8 memset object.
12177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12178 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12179 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12181 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12183 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12184 multiarch POWER8 memset optimization.
12185 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12186 POWER8 memset optimization.
12188 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12189 Remove bzero multiarch objects.
12190 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12191 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12192 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12193 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12195 [__bzero]: Redefine to specific name.
12196 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12197 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12198 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12200 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12201 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12203 2014-09-10 Florian Weimer <fweimer@redhat.com>
12205 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12206 warnings into errors.
12208 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12209 __cxa_thread_atexit_impl prototype.
12211 2014-09-09 Steve Ellcey <sellcey@mips.com>
12213 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12214 Fix capitalization of error message.
12216 2014-09-09 Steve Ellcey <sellcey@mips.com>
12218 * sysdeps/mips/preconfigure: Modify ABI tests.
12220 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
12222 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12224 2014-09-07 Roland McGrath <roland@hack.frob.com>
12225 Carlos O'Donell <carlos@systemhalted.org>
12227 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12228 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12229 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12230 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12231 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12232 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12233 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12234 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12235 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12236 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12237 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12238 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12239 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12240 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12241 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12242 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12243 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12244 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12245 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12246 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12247 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12248 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12249 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12250 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12251 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12252 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12253 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12254 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12255 Deconditionalize the code that was previously under [RESET_PID].
12256 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12257 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12258 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12259 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12262 2014-09-08 Allan McRae <allan@archlinux.org>
12264 * version.h (RELEASE): Set to "development".
12265 (VERSION): Set to "2.20.90"
12267 2014-09-07 Allan McRae <allan@archlinux.org
12269 * version.h (RELEASE): Set to "stable".
12270 (VERSION): Set to "2.20"
12271 * include/features.h (__GLIBC_MINOR__): Set to 20.
12273 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12276 * po/ko.po: Update Korean translation from translation project.
12278 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
12281 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12282 macro for handling signed relocations.
12284 2014-09-03 Florian Weimer <fweimer@redhat.com>
12287 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12288 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12290 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12291 * iconvdata/ibm935.c (BODY): Likewise.
12292 * iconvdata/ibm937.c (BODY): Likewise.
12293 * iconvdata/ibm939.c (BODY): Likewise.
12294 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12296 * iconvdata/Makefile (iconv-test.out): Pass module list to test
12298 * iconvdata/run-iconv-test.sh: New test loop for checking for
12301 2014-09-02 Khem Raj <raj.khem@gmail.com>
12303 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12306 2014-09-01 Allan McRae <allan@archlinux.org>
12308 * po/eo.po: Update Esperanto translation from translation project.
12310 * po/ca.po: Update Catalan translation from translation project.
12312 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12314 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12315 __proc_dostop call.
12317 2014-08-27 Mark Wielaard <mjw@redhat.com>
12320 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12321 to call set_thread_area instead of hand written asm.
12322 (__NR_set_thread_area): Removed define.
12323 (TLS_FLAG_WRITABLE): Likewise.
12324 (__ASSUME_SET_THREAD_AREA): Remove check.
12325 (TLS_EBX_ARG): Remove define.
12326 (TLS_LOAD_EBX): Likewise.
12328 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12330 Simplify atomicity of socket creation in bind.
12332 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12333 looking up the name after linking the file.
12335 2014-08-27 Allan McRae <allan@archlinux.org>
12337 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12339 2014-08-26 Florian Weimer <fweimer@redhat.com>
12342 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12343 trans_compare, open_translit, __gconv_translit_find):
12344 Remove module loading code.
12346 2014-08-26 Allan McRae <allan@archlinux.org>
12348 * po/vi.po: Update Vietnamese translation from translation project.
12350 * po/uk.po: Update Ukrainian translation from translation project.
12352 * po/fr.po: Update French translation from translation project.
12354 * po/ru.po: Update Russian translation from translation project.
12356 * po/pl.po: Update Polish translation from translation project.
12358 * po/cs.po: Update Czech translation from translation project.
12360 * po/de.po: Update German translation from translation project.
12362 * po/bg.po: Update Bulgarian translation from translation project.
12364 * po/sv.po: Update Sweedish translation from translation project.
12366 * po/nl.po: Update Dutch translation from translation project.
12368 * po/es.po: Update Spanish translation from translation project.
12370 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12372 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12374 * catgets/Makefile (CPPFLAGS-gencat): Remove.
12375 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12376 (CPPFLAGS-iconvconfig): Likewise.
12377 * timezone/Makefile (CPPFLAGS-zic): Likewise.
12379 * include/libc-symbols.h: Remove unnecessary check for
12381 * nptl/pthreadP.h: Likewise.
12382 * sysdeps/aarch64/setjmp.S: Likewise.
12383 * sysdeps/alpha/setjmp.S: Likewise.
12384 * sysdeps/arm/sysdep.h: Likewise.
12385 * sysdeps/i386/setjmp.S: Likewise.
12386 * sysdeps/m68k/setjmp.c: Likewise.
12387 * sysdeps/posix/getcwd.c: Likewise.
12388 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12389 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12390 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12391 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12392 * sysdeps/sh/sh3/setjmp.S: Likewise.
12393 * sysdeps/sh/sh4/setjmp.S: Likewise.
12394 * sysdeps/unix/alpha/sysdep.h: Likewise.
12395 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12396 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12397 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12398 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12401 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12402 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12403 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12404 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12405 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12406 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12407 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12408 * sysdeps/x86_64/setjmp.S: Likewise.
12410 2014-08-13 Joseph Myers <joseph@codesourcery.com>
12413 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12415 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12416 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12418 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12420 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12423 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12424 and __x86_64__ when disabling x87 inline functions.
12426 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
12429 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12430 asm statement with __cpuid_count.
12432 2014-08-12 Mike Frysinger <vapier@gentoo.org>
12434 * configure.ac: Change __ehdr_start code to dereference the struct.
12435 Run readelf on the output to look for relocations.
12436 * configure: Regenerated.
12438 2014-08-12 Joseph Myers <joseph@codesourcery.com>
12441 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12443 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12445 2014-08-12 Roland McGrath <roland@hack.frob.com>
12447 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12449 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
12452 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12453 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12455 2014-08-12 Sean Anderson <seanga2@gmail.com>
12457 * malloc/malloc.c: Fix typo in comment.
12459 2014-08-09 Allan McRae <allan@archlinux.org>
12461 * Regenerate libc.po.
12463 2014-08-08 Mike Frysinger <vapier@gentoo.org>
12465 * intl/tst-gettext2.sh: Check every lang file for creation.
12467 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12469 * sysdeps/aarch64/fpu/math_private.h
12470 (libc_feholdsetround_noex_aarch64_ctx): New function.
12472 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12474 * sysdeps/arm/armv6/strcpy.S (strcpy):
12475 Fix performance issue in misaligned cases.
12477 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12479 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12480 Move definition from termios.h.
12481 (struct termio): Likewise.
12482 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12483 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12484 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12485 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12487 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12488 Move definition to ioctl-types.h
12489 (struct termio): Likewise.
12490 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12491 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12492 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12493 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12496 2014-08-05 Richard Henderson <rth@redhat.com>
12498 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12500 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12502 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12503 Use __feraiseexcept.
12504 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12505 Protect libm symbols with IS_IN_libm.
12507 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12509 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
12511 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12513 2014-08-04 Will Newton <will.newton@linaro.org>
12515 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12518 2014-08-04 Mike Frysinger <vapier@gentoo.org>
12520 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12521 variants for each function.
12523 2014-08-04 Roland McGrath <roland@hack.frob.com>
12525 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12527 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12528 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12530 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12531 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12532 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12533 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12534 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12535 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12536 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12537 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12538 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12539 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12540 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12541 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12542 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12543 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12544 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12545 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12546 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12547 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12548 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12549 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12550 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12551 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12552 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12553 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12554 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12555 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12556 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12557 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12558 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12559 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12560 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12561 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12562 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12563 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12564 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12565 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12566 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12567 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12568 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12569 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12570 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12571 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12572 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12573 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12574 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12575 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12576 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12577 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12578 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12579 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12580 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12581 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12582 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12584 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12585 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12587 2014-08-04 Roland McGrath <roland@hack.frob.com>
12589 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12590 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12591 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12592 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12593 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12594 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12596 2014-08-04 Roland McGrath <roland@hack.frob.com>
12598 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12599 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12600 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12601 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12603 2014-08-04 Roland McGrath <roland@hack.frob.com>
12605 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12606 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12607 (__libc_vfork): Define function under this name.
12608 (__vfork): Define as an alias.
12609 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12610 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12612 2014-08-04 Roland McGrath <roland@hack.frob.com>
12614 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12615 that was previously under [RESET_PID].
12616 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12618 2014-08-04 Andreas Schwab <schwab@suse.de>
12620 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12622 2014-08-03 Mike Frysinger <vapier@gentoo.org>
12624 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12627 2014-08-01 Roland McGrath <roland@hack.frob.com>
12629 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12631 2014-08-01 Richard Henderon <rth@redhat.com>
12633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12634 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12635 typo in exact zero test.
12636 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12637 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12638 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12640 2014-08-01 Roland McGrath <roland@hack.frob.com>
12642 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12643 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12644 * sysdeps/arm/sysdep.h: ... here.
12645 [!__ASSEMBLER__]: Include <stdint.h>.
12647 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12649 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12650 (HAVE_WCTYPE_H): Likewise.
12651 (HAVE_ISWCTYPE): Likewise.
12652 (ENABLE_NLS): Likewise.
12653 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12654 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12656 * posix/regex_internal.c: Check if DEBUG is defined and is
12659 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12660 (HAVE_MBSRTOWCS): Likewise.
12661 * posix/fnmatch.c: Include string.h unconditionally.
12663 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12665 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12668 2014-07-31 Roland McGrath <roland@hack.frob.com>
12670 * sysdeps/generic/safe-fatal.h: New file.
12671 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12672 * nptl/forward.c: Include it.
12673 (__pthread_unwind): Use __safe_fatal as default action, rather
12674 than a bogus use of INTERNAL_SYSCALL that could never work.
12676 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12677 * configure.ac (libc_cv_builtin_trap): New test.
12678 * configure: Regenerated.
12679 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12680 (ABORT_INSTRUCTION): Define using __builtin_trap.
12682 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12683 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12684 * sysdeps/nptl/nptl-signals.h: New file.
12685 * nptl/pthreadP.h: Include <nptl-signals.h>.
12687 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12689 * sysdeps/s390/s390-64/utf16-utf32-z9.c
12690 (ONE_DIRECTION): Define.
12691 * sysdeps/s390/s390-64/utf8-utf16-z9.c
12692 (ONE_DIRECTION): Define.
12693 * sysdeps/s390/s390-64/utf8-utf32-z9.c
12694 (ONE_DIRECTION): Define.
12696 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12698 * sysdeps/s390/Makefile: Delete file.
12699 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12700 * sysdeps/s390/__longjmp.c: Delete file.
12701 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12702 Remove fields __flags and __reserved.
12703 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12704 and add versioning.
12705 * sysdeps/s390/rtld-__longjmp.c: Delete file.
12706 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12707 * sysdeps/s390/rtld-setjmp.S: Likewise.
12708 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12709 * sysdeps/s390/s390-32/__longjmp.c: ... here.
12710 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12711 * sysdeps/s390/s390-32/setjmp.S: ... here.
12713 (__sigsetjmp): Remove setting __flags field.
12714 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12715 * sysdeps/s390/s390-64/__longjmp.c: ... here.
12716 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12717 * sysdeps/s390/s390-64/setjmp.S: ... here.
12719 (__sigsetjmp): Remove setting __flags field.
12720 * sysdeps/s390/setjmp.S: Delete file.
12721 * sysdeps/s390/sigjmp.c: Likewise.
12722 * sysdeps/s390/v1-longjmp.c: Likewise.
12723 * sysdeps/s390/v1-setjmp.h: Likewise.
12724 * sysdeps/s390/v1-sigjmp.c: Likewise.
12725 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12726 Remove v1-longjmp_chk.
12727 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12728 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12729 Include debug/longjmp_chk.c and add versioning.
12730 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12731 Include nptl/pt-longjmp.c and add versioning.
12732 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12733 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12734 Include __longjmp.c.
12735 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12737 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12738 (__getcontext): Remove setting __flags field.
12740 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12741 Don't restore upper high grps.
12742 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12744 (__swapcontext): Remove setting uc_flags field.
12745 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12747 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12748 Include __longjmp.c.
12749 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12751 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12752 (__getcontext): Remove setting __flags field.
12754 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12755 (__swapcontext): Remove setting uc_flags field.
12756 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12757 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12758 Remove fields uc_high_gprs and __reserved.
12759 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12760 New file with reverted content.
12761 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12762 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12764 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12767 2014-07-31 Andreas Schwab <schwab@suse.de>
12769 * config.h.in (HAVE_IFUNC): Define to 0.
12770 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12773 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
12775 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12776 memmove-avx-unaligned, memcpy-avx-unaligned and
12777 mempcpy-avx-unaligned.
12778 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12779 Add tests for AVX memcpy functions.
12780 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12781 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12783 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12784 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12786 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12787 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12789 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12790 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12791 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12793 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12796 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12799 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
12802 * manual/llio.texi: Add section about open file description locks.
12803 * manual/examples/ofdlocks.c: Example of open file description
12805 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12806 F_OFD_SETLK, and F_OFD_SETLKW.
12808 2014-07-23 Allan McRae <allan@archlinux.org>
12810 * po/es.po: Update Spanish translation from translation project.
12812 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
12814 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12816 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
12819 * sysdeps/arm/dl-machine.h (elf_machine_rela)
12820 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12821 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12823 2014-07-17 Joseph Myers <joseph@codesourcery.com>
12826 * math/fesetenv.c (__fesetenv)
12827 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12828 * math/feupdateenv.c (__feupdateenv)
12829 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12831 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12832 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12833 (__ASSUME_SOCKETCALL): Do not define.
12835 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12836 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12837 (__ASSUME_SOCKETCALL): Do not define.
12838 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12839 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12840 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12841 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12842 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12843 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12844 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12845 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12847 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12848 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12849 (__ASSUME_SOCKETCALL): Do not define.
12850 (__ASSUME_IPC64): Define unconditionally.
12851 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12852 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12853 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12854 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12855 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12856 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12857 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12860 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12861 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12862 (__ASSUME_SOCKETCALL): Do not define.
12863 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12864 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12865 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12866 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12867 (__ASSUME_REQUEUE_PI): Define unconditionally.
12868 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12869 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12870 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12871 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12872 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12873 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12875 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12876 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12877 (__ASSUME_SOCKETCALL): Do not define.
12878 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12879 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12880 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12881 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12882 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12883 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12885 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12886 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12887 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12888 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12889 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12890 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12891 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12892 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12893 (__ASSUME_GETCPU_SYSCALL): Likewise.
12895 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12896 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
12897 cases for individual architectures.
12898 * sysdeps/gnu/configure: Regenerated.
12899 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12900 LIBC_SLIBDIR_RTLDDIR.
12901 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12902 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12903 LIBC_SLIBDIR_RTLDDIR.
12904 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12906 LIBC_SLIBDIR_RTLDDIR.
12907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12909 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12910 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12912 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12913 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12915 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12916 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12917 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12918 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12920 * sysdeps/aarch64/shlib-versions: Move to ...
12921 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12922 * sysdeps/alpha/shlib-versions: Move to ...
12923 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12924 * sysdeps/arm/shlib-versions: Move to ...
12925 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12926 * sysdeps/hppa/shlib-versions: Move all contents except for
12927 libgcc_s entry to ...
12928 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
12930 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
12931 * sysdeps/ia64/shlib-versions: Move to ...
12932 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
12934 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
12935 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12936 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12937 * sysdeps/microblaze/shlib-versions: Move to ...
12938 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12939 * sysdeps/mips/shlib-versions: Move to ...
12940 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
12942 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
12943 * sysdeps/tile/shlib-versions: Move to ...
12944 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12945 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12947 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
12948 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12950 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
12952 2014-07-17 Will Newton <will.newton@linaro.org>
12954 * sysdeps/arm/bits/atomic.h
12955 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12956 (__arch_compare_and_exchange_bool_16_int): Likewise.
12957 (__arch_compare_and_exchange_bool_64_int): Likewise.
12959 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12960 into an #else block.
12962 2014-07-16 Roland McGrath <roland@hack.frob.com>
12964 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12965 just Linux configurations. Test empirically that the compiler sets
12966 __ARM_EABI__, rather than using the tuple to decide.
12967 * sysdeps/arm/preconfigure: Regenerated.
12968 * sysdeps/unix/sysv/linux/arm/configure: File removed.
12969 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12970 contents appended ...
12971 * sysdeps/arm/configure.ac: ... here.
12972 * sysdeps/arm/configure: Regenerated.
12974 2014-07-15 Roland McGrath <roland@hack.frob.com>
12976 * nptl/pthread_kill.c: New file.
12977 * nptl/pthread_sigmask.c: New file.
12978 * nptl/pthread_sigqueue.c: New file.
12980 * sysdeps/nptl/lowlevellock.h: New file.
12981 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12982 * sysdeps/nptl/lowlevellock-futex.h: New file.
12984 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12985 Remove dead declarations.
12987 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
12989 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12990 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12991 config-cflags-avx2.
12992 * sysdeps/x86_64/configure.ac: Likewise.
12993 * sysdeps/i386/configure: Regenerated.
12994 * sysdeps/x86_64/configure: Likewise.
12995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12996 memset-avx2 only if config-cflags-avx2 is yes.
12997 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12998 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13000 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13001 only if HAVE_AVX2_SUPPORT is defined.
13002 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13004 2014-07-14 Alan Modra <amodra@gmail.com>
13007 * elf/elf.h (DT_PPC64_NUM): Correct value.
13008 * NEWS: Add to fixed bug list.
13010 2014-07-13 Jim Meyering <meyering@fb.com>
13013 regex: don't deref NULL upon heap allocation failure
13014 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13015 failure in one more place.
13016 To trigger the segfault, configure grep -with-included-regex,
13017 build it, and run these commands:
13018 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13020 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
13022 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13024 2014-07-11 Richard Henderson <rth@redhat.com>
13026 * sysdeps/aarch64/libm-test-ulps: Update.
13028 2014-07-10 Florian Weimer <fweimer@redhat.com>
13031 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13032 * nptl/allocatestack.c (__nptl_setxid_error): New function.
13033 (__nptl_setxid): Initialize error member. Call
13034 __nptl_setxid_error.
13035 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13036 * nptl/descr.h (struct xid_command): Add error member.
13037 * nptl/tst-setuid3.c: New file.
13038 * nptl/Makefile (tests): Add it.
13040 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13042 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13044 (__lll_trylock): Use __lll_base_trylock.
13045 (__lll_cond_trylock): Likewise.
13047 2014-07-10 Roland McGrath <roland@hack.frob.com>
13049 * nptl/pthread_create.c (start_thread): Use atomic_or and
13050 lll_futex_wake directly rather than lll_robust_dead.
13051 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13052 (lll_robust_dead): Macro removed.
13053 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13054 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13055 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13056 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13057 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13058 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13059 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13060 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13061 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13062 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13063 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13064 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13065 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13066 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13067 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13069 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13070 Use atomic_compare_and_exchange_val_acq directly rather than
13071 lll_robust_trylock.
13072 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13073 (__lll_robust_trylock, lll_robust_trylock): Removed.
13074 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13075 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13076 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13077 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13078 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13079 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13080 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13081 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13082 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13083 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13084 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13085 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13086 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13087 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13089 2014-07-02 Florian Weimer <fweimer@redhat.com>
13091 * manual/locale.texi (Locale Names): New section documenting
13092 locale name syntax. Adjust menu and node chaining accordingly.
13093 (Choosing Locale): Reference Locale Names, Locale Categories.
13094 Mention setting LC_ALL=C. Reflect that name syntax is now
13096 (Locale Categories): New section title. Reference Locale Names.
13097 LC_ALL is an environment variable, but not a category.
13098 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13099 description, now in Locale Name. Reference that section. Locale
13100 name syntax is now documented.
13102 2014-07-02 Florian Weimer <fweimer@redhat.com>
13105 * locale/findlocale.c (name_present, valid_locale_name): New
13107 (_nl_find_locale): Use the loc_name variable to store name
13108 candidates. Call name_present and valid_locale_name to check and
13109 validate locale names. Return an error if the locale is invalid.
13111 2014-07-02 Florian Weimer <fweimer@redhat.com>
13113 * locale/setlocale.c (setlocale): Use strdup for allocating
13114 composite name copy.
13116 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13118 Sync up with gnulib.
13119 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13120 [!_LIBC && ENABLE_NLS]: Include gettext.h.
13121 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13122 and _GL_ARG_NONNULL.
13123 [USE_UNLOCKED_IO]: Include unlocked-io.h.
13124 [!_LIBC]: Include code for Windows and Cygwin.
13125 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13126 Include prototype for int strerror_r.
13127 [!_LIBC] (is_open): New function.
13128 (flush_stdout): New function.
13129 (print_errno_message): Use it.
13131 (error_at_line): Likewise.
13132 (error_tail) Add function attribute macros. Use
13135 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13137 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13139 * io/ftw.c: Include sys/param.h unconditionally.
13141 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13144 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13146 (freecache): New function to free CACHE on exit.
13148 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13151 2014-07-09 David S. Miller <davem@davemloft.net>
13153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13155 * sysdeps/sparc/nptl/internaltypes.h: Delete.
13156 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13157 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13158 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13159 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13160 * sysdeps/sparc/nptl/sem_init.c: Likewise.
13161 * sysdeps/sparc/nptl/sem_post.c: Likewise.
13162 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13163 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13164 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13165 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13166 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13167 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13169 2014-07-09 Andreas Schwab <schwab@suse.de>
13171 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13173 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13174 (do_test): Likewise.
13176 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13178 2014-07-09 Will Newton <will.newton@linaro.org>
13180 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13181 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13182 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13183 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13184 * sysdeps/hppa/start.S (_start): Likewise.
13186 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13188 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13190 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13193 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13195 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13196 after checking that it is non-NULL.
13198 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13200 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13202 * sysdeps/powerpc/memmove.c: Remove file.
13203 * sysdeps/powerpc/powerpc32/power4/memcopy.h
13204 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13205 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13206 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13207 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13208 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13209 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13210 string memmove instead of removed powerpc one.
13212 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13213 [weak_alias]: Fix compiler warning due trailing data.
13214 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13215 [weak_alias]: Likewise.
13216 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13217 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13219 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13220 (__libc_ifunc_impl_list): Add memmove functions.
13222 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13224 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13226 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13228 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13230 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13232 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13234 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13236 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13238 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13240 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13242 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13244 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13246 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13248 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13250 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13252 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13254 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13256 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13259 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13261 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13262 to avoid alignment traps in non-cacheable memory.
13263 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13265 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13267 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13268 file: multiarch power7 memmove.
13269 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13270 multiarch default memmove.
13271 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13272 multiarch memove for powerpc32/power4.
13274 * string/bcopy.c: Use full path to include memmove.c.
13275 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13277 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13278 bcopy for powerpc64.
13279 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13280 bcopy for powerpc64.
13281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13282 and memmove implementations.
13283 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13284 optimized multiarch memmove for POWER7/powerpc64.
13285 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13286 default multiarch memmove for powerpc64.
13287 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13288 multiarch for powerpc64.
13289 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13290 for POWER7/powerpc64.
13291 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13292 memmove for POWER7/powerpc64.
13294 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13297 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13298 __ELF_NATIVE_CLASS equal to 64.
13300 2014-07-07 Roland McGrath <roland@hack.frob.com>
13302 * sysdeps/nptl/lowlevellock.h: File removed.
13304 * NEWS: NPTL is no longer an add-on!
13305 * nptl/internaltypes.h: Moved ...
13306 * sysdeps/nptl/internaltypes.h: ... here.
13307 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13308 * sysdeps/nptl/fork.c: Likewise.
13309 * sysdeps/nptl/gai_misc.h: Likewise.
13310 * sysdeps/nptl/librt-cancellation.c: Likewise.
13311 * sysdeps/nptl/jmp-unwind.c: Likewise.
13312 * sysdeps/nptl/setxid.h: Likewise.
13313 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13314 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13315 * sysdeps/unix/sysv/linux/arm/Implies: New file.
13316 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13317 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13318 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13319 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13320 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13321 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13322 * sysdeps/unix/sysv/linux/mips/Implies: New file.
13323 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13324 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13325 * sysdeps/unix/sysv/linux/sh/Implies: New file.
13326 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13327 * sysdeps/unix/sysv/linux/tile/Implies: New file.
13328 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13329 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13330 * nptl/Makeconfig: Moved ...
13331 * sysdeps/nptl/Makeconfig: ... here.
13332 * nptl/configure: File removed.
13333 * nptl/ANNOUNCE: File removed.
13334 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13335 * sysdeps/unix/sysv/linux/configure: Regenerated.
13337 * nptl/Makefile (routines): Add libc_pthread_init,
13338 libc_multiple_threads, register-atfork and unregister-atfork.
13339 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13340 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13341 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13342 pthread-pi-defines.sym, structsem.sym.
13343 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13344 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13345 [$(subdir) = nptl] (tests): Add tst-setgetname.
13346 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13347 * sysdeps/unix/sysv/linux/sigaction.c: Just include
13348 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13349 [!LIBC_SIGACTION]: Remove aliases.
13350 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13351 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13352 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13353 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13354 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13355 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13356 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13357 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13358 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13359 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13360 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13361 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13362 __libc_allocate_rtsig_private.
13363 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13364 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13365 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13366 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13367 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13368 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13369 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13370 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13371 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13372 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13373 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13374 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13375 * nptl/internaltypes.h: ... here.
13376 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13377 * sysdeps/nptl/jmp-unwind.c: ... here.
13378 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13379 * nptl/libc-lowlevellock.c: ... here.
13380 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13381 * nptl/libc_multiple_threads.c: ... here.
13382 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13383 * nptl/libc_pthread_init.c: ... here.
13384 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13385 * nptl/lowlevelbarrier.sym: ... here.
13386 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13387 * nptl/lowlevelcond.sym: ... here.
13388 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13389 * nptl/lowlevellock.c: ... here.
13390 * nptl/lowlevellock.h: Moved ...
13391 * sysdeps/nptl/lowlevellock.h: ... here.
13392 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13393 * nptl/lowlevelrobustlock.c: ... here.
13394 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13395 * nptl/lowlevelrobustlock.sym: ... here.
13396 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13397 * nptl/lowlevelrwlock.sym: ... here.
13398 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13399 * nptl/pt-fork.c: ... here.
13400 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13401 * nptl/pthread-pi-defines.sym: ... here.
13402 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13403 * nptl/pthread_attr_getaffinity.c: ... here.
13404 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13405 * nptl/pthread_attr_setaffinity.c: ... here.
13406 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13407 * nptl/pthread_mutex_cond_lock.c: ... here.
13408 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13410 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13411 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13412 * nptl/pthread_once.c: ... here, replacing old file.
13413 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13414 * nptl/pthread_yield.c: ... here.
13415 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13416 * nptl/register-atfork.c: ... here.
13417 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13418 * nptl/sem_post.c: ... here.
13419 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13420 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13421 * nptl/sem_timedwait.c: ... here.
13422 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13423 * nptl/sem_trywait.c: ... here.
13424 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13425 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13426 * nptl/sem_wait.c: ... here.
13427 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13428 * nptl/structsem.sym: ... here.
13429 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13430 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13431 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13432 * nptl/unregister-atfork.c: ... here.
13433 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13434 * nptl/unwindbuf.sym: ... here.
13435 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13436 * sysdeps/nptl/fork.c: ... here.
13437 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13438 * sysdeps/nptl/fork.h: ... here.
13439 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13440 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13441 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13442 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13443 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13444 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13445 * sysdeps/unix/sysv/linux/getpid.c: ... here.
13446 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13447 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13448 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13449 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13450 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13451 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13452 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13453 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13454 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13455 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13456 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13457 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13458 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13459 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13460 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13461 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13462 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13463 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13464 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13465 * sysdeps/unix/sysv/linux/raise.c: ... here.
13466 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13467 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13468 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13469 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13470 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13471 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13472 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13473 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13474 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13475 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13476 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13477 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13478 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13479 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13480 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13482 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13484 * sysdeps/generic/memcopy.h: Add comment for
13485 MEMCPY_OK_FOR_FWD_MEMMOVE.
13487 2014-07-04 Will Newton <will.newton@linaro.org>
13489 * string/memchr.c: Merge from gnulib.
13490 [_LIBC]: Remove conditionals.
13491 (__ptr_t): Remove define.
13492 (LONG_MAX_32_BITS): Likewise.
13493 (LONG_MAX): Likewise.
13494 (MEMCHR): Use ANSI prototype and optimize algorithm.
13496 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13498 2014-07-03 Roland McGrath <roland@hack.frob.com>
13500 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13501 (lll_futex_timed_wait_bitset): Fix syscall argument count.
13503 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13504 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13505 in a bare environment with no <stdlib.h> installed.
13506 * sysdeps/nptl/configure: Regenerated.
13508 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13510 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13511 AC_EGREP_CPP for kernel header checks, so they only succeed if
13512 including <linux/version.h> actually works right.
13513 * sysdeps/unix/sysv/linux/configure: Regenerated.
13515 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13516 value so it's not diagnosed as unused.
13518 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13519 thing) with "ifeq ($(subdir),rt)".
13521 2014-07-03 Richard Henderson <rth@redhat.com>
13523 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13524 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13525 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13527 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13528 (math_force_eval): New.
13530 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13531 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13533 * sysdeps/alpha/fpu/s_round.c: Remove file.
13534 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13536 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13537 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13538 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13539 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13540 (_dl_start, print_statistics): Likewise.
13541 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13542 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13544 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13545 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13546 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13547 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13548 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13549 (HP_SMALL_TIMING_AVAIL): Define.
13550 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13551 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13552 (HP_SMALL_TIMING_AVAIL): Define.
13553 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13554 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13556 * sysdeps/aarch64/hp-timing.h: New file.
13558 * sysdeps/generic/hp-timing.h: Remove dead comment.
13559 * sysdeps/generic/hp-timing-common.h: New file.
13560 * sysdeps/alpha/hp-timing.h: Include it.
13561 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13562 * sysdeps/i386/i686/hp-timing.h: Likewise.
13563 * sysdeps/ia64/hp-timing.h: Likewise.
13564 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13565 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13566 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13567 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13568 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13569 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13570 (hp_timing_t): New.
13572 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13573 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13574 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13575 * elf/rtld.c (_dl_start_final): Likewise.
13576 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13577 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13578 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13579 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13580 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13581 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13582 (HP_TIMING_DIFF_INIT): Remove.
13583 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13584 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13585 (HP_TIMING_DIFF_INIT): Remove.
13586 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13587 * sysdeps/i386/i686/hp-timing.c: Remove file.
13588 * sysdeps/x86_64/hp-timing.c: Remove file.
13589 * sysdeps/ia64/hp-timing.c: Remove file.
13590 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13591 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13592 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13593 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13595 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13596 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13597 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13598 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13599 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13600 (HP_TIMING_ACCUM): Remove.
13601 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13602 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13603 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13605 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13606 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13607 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13608 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13609 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13610 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13611 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13612 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13614 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13616 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
13618 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13620 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13622 Sync up with gettext.
13623 * intl/loadmsgcat.c: Define O_BINARY if not defined.
13624 [_MSC_VER]: Include malloc.h
13625 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13626 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13627 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
13628 TEMP_FAILURE_RETRY. Cast return of alloca.
13629 [!_LIBC] Call gl_rwlock_init.
13630 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13632 2014-07-02 Roland McGrath <roland@hack.frob.com>
13634 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13635 before checking its value.
13637 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13639 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13641 * debug/memcpy_chk.c: Don't include pagecopy.h.
13642 * debug/mempcpy_chk.c: Likewise.
13643 * string/memcpy.c: Likewise.
13644 * string/memmove.c: Likewise.
13645 * sysdeps/powerpc/memmove.c: Likewise.
13646 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
13647 definition of PAGE_COPY_FWD_MAYBE here...
13648 * sysdeps/generic/pagecopy.h: ... from here.
13649 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13651 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13652 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13654 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13658 (__libc_ifunc_impl_list): Likewise.
13659 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13660 multiarch strcat for PPC64.
13661 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13662 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13664 2014-07-02 Roland McGrath <roland@hack.frob.com>
13666 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13668 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13670 * intl/loadmsgcat.c: Remove declaration of
13671 get_sysdep_segment_value.
13672 (get_sysdep_segment_value): Use ISO C style.
13673 (_nl_load_domain): Use ISO C style. Get rid of redundant
13674 semicolon. Fix typo and formatting in comment.
13675 (_nl_unload_domain): Use ISO C style.
13677 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13679 2014-07-02 Will Newton <will.newton@linaro.org>
13681 * malloc/obstack.c: Merge from gnulib master.
13682 [HAVE_CONFIG_H]: Remove conditional code.
13683 [!_LIBC]: Include config.h.
13684 [!ELIDE_CODE]: Don't include inttypes.h, include
13685 stdint.h unconditionally.
13686 (print_and_abort): Mark as _Noreturn.
13687 (_obstack_allocated_p): Mark as __attribute_pure__.
13688 (obstack_free): Rename to __obstack_free.
13689 [!__attribute__]: Remove conditional code.
13690 * malloc/obstack.h: Merge from gnulib master.
13691 [__cplusplus]: Move conditional down.
13692 [!__attribute_pure__]: Define __attribute_pure__ here
13693 if it is not already defined.
13694 (_obstack_memory_used): Mark as __attribute_pure__.
13695 [!__obstack_free]: Define as obstack_free.
13696 [__GNUC__]: Remove check for ancient NeXT gcc.
13698 2014-07-02 Will Newton <will.newton@linaro.org>
13699 Paul Eggert <eggert@cs.ucla.edu>
13701 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13703 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13705 * resolv/gethnamaddr.c: Add comment warning that the file is
13708 2014-07-01 Carlos O'Donell <carlos@redhat.com>
13710 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13713 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13714 entry for aio_cancel and aio_cancel64.
13715 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13716 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13717 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13718 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13719 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13720 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13721 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13722 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13723 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13724 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13725 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13726 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13727 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13729 2014-07-01 Roland McGrath <roland@hack.frob.com>
13731 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13732 * nptl/pthread_mutex_lock.c: Likewise.
13733 * nptl/pthread_mutex_timedlock.c: Likewise.
13734 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13736 2014-07-01 Richard henderson <rth@redhat.com>
13738 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13739 (__isnan, __isnanl): Remove.
13740 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13742 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13744 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13746 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13748 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13750 * resolv/nss_dns/dns-host.c (getanswer_r)
13751 [MULTI_PTRS_ARE_ALIASES]: Remove code.
13753 2014-07-01 Joseph Myers <joseph@codesourcery.com>
13755 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13756 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13758 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13759 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13761 2014-07-01 Roland McGrath <roland@hack.frob.com>
13763 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13764 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13766 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13767 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13769 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13770 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13772 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13773 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13775 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13776 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13777 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13778 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13780 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13781 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13782 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13783 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13784 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13786 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13788 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13789 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13790 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13791 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13792 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13793 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13794 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13795 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13796 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13797 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13798 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13799 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13800 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13801 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13802 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13803 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13804 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13805 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13806 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13807 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13809 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13810 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13811 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13812 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13813 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13814 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13815 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13816 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13818 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
13820 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13821 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13822 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13825 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13829 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13831 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13832 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13834 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13836 * sysdeps/arm/libm-test-ulps: Regenerated.
13838 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13839 Roland McGrath <roland@hack.frob.com>
13841 * test-skeleton.c (signal_handler): Kill the whole process group
13842 before killing the child individually.
13843 (main): Report any failure on `setpgid'.
13845 2014-06-30 Roland McGrath <roland@hack.frob.com>
13847 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13848 from _TLS_H to _ARM_NPTL_TLS_H.
13849 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13850 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13852 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13855 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13856 (__expm1l): Return argument unchanged when small but not
13859 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13860 include macro name.
13861 (_FP_UNPACK_RAW_1_P): Likewise.
13862 (_FP_PACK_RAW_1): Likewise.
13863 (_FP_PACK_RAW_1_P): Likewise.
13864 (_FP_MUL_MEAT_1_wide): Likewise.
13865 (_FP_MUL_MEAT_DW_1_hard): Likewise.
13866 (_FP_MUL_MEAT_1_hard): Likewise.
13867 (_FP_DIV_MEAT_1_imm): Likewise.
13868 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13869 (_FP_DIV_MEAT_1_udiv): Likewise.
13870 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13871 (_FP_UNPACK_RAW_2): Likewise.
13872 (_FP_UNPACK_RAW_2_P): Likewise.
13873 (_FP_PACK_RAW_2): Likewise.
13874 (_FP_PACK_RAW_2_P): Likewise.
13875 (_FP_MUL_MEAT_DW_2_wide): Likewise.
13876 (_FP_MUL_MEAT_2_wide): Likewise.
13877 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13878 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13879 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13880 (_FP_MUL_MEAT_2_gmp): Likewise.
13881 (_FP_DIV_MEAT_2_udiv): Likewise.
13882 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13883 (_FP_FRAC_SRL_4): Likewise.
13884 (_FP_FRAC_SRST_4): Likewise.
13885 (_FP_FRAC_SRS_4): Likewise.
13886 (_FP_UNPACK_RAW_4): Likewise.
13887 (_FP_UNPACK_RAW_4_P): Likewise.
13888 (_FP_PACK_RAW_4): Likewise.
13889 (_FP_PACK_RAW_4_P): Likewise.
13890 (_FP_MUL_MEAT_DW_4_wide): Likewise.
13891 (_FP_MUL_MEAT_4_wide): Likewise.
13892 (_FP_MUL_MEAT_4_gmp): Likewise.
13893 (umul_ppppmnnn): Likewise.
13894 (_FP_DIV_MEAT_4_udiv): Likewise.
13895 (__FP_FRAC_ADD_4): Likewise.
13896 (__FP_FRAC_SUB_3): Likewise.
13897 (__FP_FRAC_SUB_4): Likewise.
13898 (__FP_FRAC_DEC_3): Likewise.
13899 (__FP_FRAC_DEC_4): Likewise.
13900 (__FP_FRAC_ADDI_4): Likewise.
13901 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13902 (_FP_FRAC_SRL_8): Likewise.
13903 (_FP_FRAC_SRS_8): Likewise.
13905 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13906 include macro name.
13907 (FP_UNPACK_RAW_EP): Likewise.
13908 (FP_PACK_RAW_E): Likewise.
13909 (FP_PACK_RAW_EP): Likewise.
13910 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13911 (_FP_ISSIGNAN): Likewise.
13912 (_FP_ADD_INTERNAL): Likewise.
13913 (_FP_FMA): Likewise.
13914 (_FP_CMP): Likewise.
13915 (_FP_SQRT): Likewise.
13916 (_FP_TO_INT): Likewise.
13917 (_FP_FROM_INT): Likewise.
13918 (FP_EXTEND): Likewise.
13919 (_FP_DIV_MEAT_N_loop): Likewise.
13921 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13923 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13926 2014-06-29 Joseph Myers <joseph@codesourcery.com>
13929 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13930 result with correct sign in case of exponents that produce
13931 overflow except for X very close to 1.
13933 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
13935 mktime: merge #if/#ifdef usage from glibc
13936 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13937 as that works with both Glibc's and Gnulib's style.
13938 See thread starting at Siddhesh Poyarekar's bug report at:
13939 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13941 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13943 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13944 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13945 * sysdeps/tile/tilegx/memmove.c: Remove file.
13947 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13949 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13950 abi-name definition.
13951 * scripts/soversions.awk: Do not handle or generate ABI lines.
13952 * shlib-versions: Remove ABI entries.
13953 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13954 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13956 2014-06-27 Roland McGrath <roland@hack.frob.com>
13958 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13959 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13960 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13961 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13962 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13963 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13964 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13966 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13968 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13969 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13970 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13971 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13972 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13973 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13974 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13975 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13976 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13977 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13978 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13979 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13980 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13982 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13983 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13984 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13985 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13986 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13987 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13989 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13990 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13992 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13993 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13994 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13995 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13997 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13998 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13999 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14000 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14001 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14002 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14003 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14004 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14006 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14007 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14008 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14009 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14011 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14012 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14014 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14015 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14016 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14017 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14019 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14021 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14022 Identical file removed.
14023 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14025 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14026 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14027 Identical file removed.
14028 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14029 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14030 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14032 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14033 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14034 Identical file removed.
14035 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14036 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14037 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14038 Identical file removed.
14039 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14040 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14041 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14042 Identical file removed.
14043 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14044 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14045 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14046 Identical file removed.
14047 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14049 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14050 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14051 Identical file removed.
14052 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14054 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14055 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14056 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14057 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14058 Identical file removed.
14059 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14061 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14063 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14064 Identical file removed.
14065 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14067 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14068 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14069 Identical file removed.
14070 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14072 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14073 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14074 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14075 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14076 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14077 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14079 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14080 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14081 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14083 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14084 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14085 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14086 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14087 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14089 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
14092 * nscd/nscd.c (monitor_child): Return exit status of child
14093 instead of return value from wait syscall.
14095 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14097 * configure.ac (libc_commonpagesize): Remove variable.
14098 (libc_relro_required): Likewise.
14099 (libc_cv_z_relro): Remove configure test.
14100 * configure: Regenerated.
14101 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14103 (libc_relro_required): Likewise.
14104 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14105 (libc_relro_required): Likewise.
14106 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14107 (libc_relro_required): Likewise.
14108 * sysdeps/arm/preconfigure: Regenerated.
14109 * sysdeps/ia64/preconfigure: Remove file.
14110 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14112 (libc_relro_required): Likewise.
14116 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14117 (__ieee754_yn): Set FE_TONEAREST mode internally and then
14118 recompute overflowing results in original rounding mode.
14119 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14120 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14121 recompute overflowing results in original rounding mode.
14122 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14123 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14124 recompute overflowing results in original rounding mode.
14125 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14126 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14127 recompute overflowing results in original rounding mode.
14128 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14129 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14130 recompute overflowing results in original rounding mode.
14131 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14132 (libc_feholdsetround_ctx): New macro.
14133 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14134 * sysdeps/i386/fpu/libm-test-ulps: Update.
14135 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14137 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14139 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14140 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14141 corresponding .cpsetup call.
14143 2014-06-26 Roland McGrath <roland@hack.frob.com>
14145 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14146 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14147 * sysdeps/arm/Makefile [$(subdir) = csu]
14148 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14149 (static-only-routines): Add aeabi_read_tp here.
14150 (shared-only-routines): Add libc-aeabi_read_tp here.
14151 (CFLAGS-libc-start.c): Add -fexceptions here.
14152 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14153 (sysdep_routines, static-only-routines, shared-only-routines):
14154 Don't add to these here.
14155 (CFLAGS-libc-start.c): Likewise.
14157 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14158 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14159 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14160 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14161 * sysdeps/arm/Makefile [$(subdir) = rt]
14162 (librt-sysdep_routines, librt-shared-only-routines):
14163 Append rt-aeabi_unwind_cpp_pr1 here.
14164 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14165 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14166 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14167 (libpthread-sysdep_routines, libpthread-shared-only-routines):
14168 Append nptl-aeabi_unwind_cpp_pr1 here.
14169 (tests): Filter out tst-cleanupx4 here.
14170 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14171 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14172 Don't do those here.
14174 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14176 * scripts/list-sources.sh: Do not handle ports specially.
14178 2014-06-26 Roland McGrath <roland@hack.frob.com>
14180 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14181 * sysdeps/arm/feupdateenv.c: Likewise.
14183 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14185 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14187 * manual/texinfo.tex: Update to version 2014-05-05.10 with
14188 trailing whitespace removed.
14189 * scripts/config.guess: Update to version 2014-03-23.
14190 * scripts/config.sub: Update to version 2014-05-01
14191 * scripts/install-sh: Update to version 2013-12-25.23.
14192 * scripts/move-if-change: Update from gnulib.
14194 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14196 * debug/memmove_chk.c: Remove pagecopy.h include.
14198 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
14200 * time/mktime.c (leapyear): Remove inline keyword. The code is now
14201 identical to gnulib mktime.
14203 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14205 * configure.ac: Do not test for machine being rs6000. Do not test
14206 for powerpc*-*soft.
14207 * configure: Regenerated.
14210 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14212 * configure: Regenerated.
14213 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14214 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14215 Remove configure test.
14216 * sysdeps/arm/configure: Regenerated.
14217 * sysdeps/nptl/configure.ac: Do not check
14218 libc_cv_asm_cfi_directives.
14219 * sysdeps/nptl/configure: Regenerated.
14220 * sysdeps/x86_64/nptl/configure.ac: Remove file.
14221 * sysdeps/x86_64/nptl/configure: Remove generated file.
14222 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14224 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14226 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14228 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14229 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14230 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14233 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14234 instead of whether it is defined.
14235 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14236 * sysdeps/hppa/dl-machine.h: Likewise.
14237 * sysdeps/ia64/dl-machine.h: Likewise.
14238 * sysdeps/m68k/dl-machine.h: Likewise.
14239 * sysdeps/microblaze/dl-machine.h: Likewise.
14240 * sysdeps/mips/dl-machine.: Likewise.
14241 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14242 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14243 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14244 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14245 * sysdeps/sh/dl-machine.h: Likewise.
14246 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14247 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14248 * sysdeps/tile/dl-machine.h: Likewise.
14249 * sysdeps/x86_64/dl-machine.h: Likewise.
14251 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14253 (verify_persistent_db): Likewise.
14255 2014-06-26 Roland McGrath <roland@hack.frob.com>
14257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14258 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14260 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14263 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14266 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14268 Identical file removed.
14269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14270 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14272 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14274 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14276 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14278 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14281 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14283 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14285 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14288 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14290 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14292 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14294 Identical file removed.
14295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14296 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14298 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14301 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14304 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14306 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14308 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14310 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14312 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14315 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14318 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14320 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14323 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14325 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14327 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14329 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14330 * sysdeps/unix/sysv/linux/s390/Versions
14331 (libpthread: GLIBC_2.19): New version set.
14332 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14333 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14334 (librt: GLIBC_2.3.3): New version set.
14335 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14336 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14337 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14338 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14339 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14340 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14341 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14342 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14343 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14344 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14345 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14346 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14347 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14348 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14349 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14350 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14351 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14352 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14353 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14354 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14355 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14356 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14357 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14358 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14359 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14360 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14361 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14362 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14363 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14364 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14365 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14366 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14367 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14368 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14369 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14370 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14371 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14372 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14373 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14374 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14375 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14376 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14377 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14378 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14379 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14381 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14382 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14383 (__libc_vfork): Define the function under this name.
14384 [!NOT_IN_libc] (__vfork): Make this an alias.
14385 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14386 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14387 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14388 (__libc_vfork): Define the function under this name.
14389 [!NOT_IN_libc] (__vfork): Make this an alias.
14390 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14391 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14392 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14393 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14394 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14395 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14397 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14398 code that was previously under [RESET_PID].
14399 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14400 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14401 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14403 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14404 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14405 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14406 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14407 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14408 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14409 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14410 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14411 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14412 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14413 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14415 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14416 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14417 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14418 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14419 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14420 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14421 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14422 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14423 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14424 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14425 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14426 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14427 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14428 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14429 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14430 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14431 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14432 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14433 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14434 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14435 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14436 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14437 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14438 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14439 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14440 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14441 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14442 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14443 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14445 2014-06-25 Roland McGrath <roland@hack.frob.com>
14447 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14448 that was previously under [RESET_PID].
14449 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14451 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14453 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14454 not undefine and redefine.
14455 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14456 [O_CLOEXEC]: Make code unconditional.
14457 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14458 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14459 <kernel-features.h>.
14460 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14461 conditional variable definition.
14462 (shm_open) [O_CLOEXEC]: Make code unconditional.
14463 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14466 * configure.ac (USE_REGPARMS): Don't define here.
14467 * configure: Regenerated.
14468 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14469 * sysdeps/i386/configure: Regenerated.
14471 * nptl/createthread.c: Don't include kernel-features.h.
14472 * nptl/pthread_cancel.c: Likewise.
14473 * nptl/pthread_condattr_setclock.c: Likewise.
14474 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14475 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14476 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14477 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14478 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14479 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14480 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14481 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14482 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14483 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14484 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14485 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14486 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14487 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14488 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14489 * nscd/gai.c: Likewise.
14490 * nss/nss_db/db-open.c: Likewise.
14491 * sysdeps/generic/ldsodefs.h: Likewise.
14492 * sysdeps/sh/nptl/tls.h: Likewise.
14493 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14494 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14495 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14496 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14497 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14498 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14499 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14500 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14501 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14502 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14503 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14504 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14505 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14506 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14507 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14508 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14509 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14510 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14511 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14512 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14513 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14514 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14515 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14516 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14517 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14518 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14519 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14520 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14521 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14522 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14523 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14524 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14525 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14526 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14527 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14528 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14529 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14530 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14531 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14532 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14533 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14534 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14535 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14536 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14537 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14538 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14539 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14540 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14541 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14542 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14543 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14544 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14545 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14546 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14547 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14548 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14549 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14550 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14573 * sysdeps/unix/sysv/linux/pread.c: Likewise.
14574 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14575 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14576 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14577 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14578 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14579 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14580 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14581 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14582 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14583 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14584 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14585 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14586 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14587 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14588 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14589 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14590 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14591 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14592 * sysdeps/unix/sysv/linux/system.c: Likewise.
14593 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14594 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14595 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14596 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14597 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14598 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14599 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14601 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14602 * configure: Regenerated.
14603 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14605 * configure.ac (base_machine): Do not set specially for particular
14607 * configure: Regenerated.
14608 * sysdeps/powerpc/preconfigure: Move machine and base_machine
14609 settings from configure.ac.
14610 * sysdeps/i386/preconfigure: New file.
14611 * sysdeps/s390/preconfigure: Likewise.
14612 * sysdeps/sh/preconfigure: Likewise.
14613 * sysdeps/sparc/preconfigure: Likewise.
14615 2014-06-25 Roland McGrath <roland@hack.frob.com>
14617 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14618 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14619 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14620 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14621 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14622 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14623 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14624 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14625 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14626 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14627 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14628 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14629 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14630 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14631 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14632 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14633 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14634 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14635 * sysdeps/sparc/sparc64/Makefile: ... appended here.
14637 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14638 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14639 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14640 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14641 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14642 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14643 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14644 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14645 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14646 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14647 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14648 * sysdeps/sparc/sparc32/sem_post.c: ... here.
14649 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14650 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14651 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14652 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14653 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14654 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14655 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14656 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14657 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14658 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14659 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14660 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14661 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14662 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14663 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14664 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14665 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14666 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14667 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14668 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14669 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14670 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14671 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14672 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14673 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14674 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14677 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14679 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14682 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14685 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14687 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14690 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14692 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14694 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14696 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14699 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14702 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14704 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14707 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14709 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14711 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14713 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14715 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14718 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14721 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14723 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14726 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14728 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14730 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14732 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14735 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14738 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14740 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14743 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14745 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14747 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14749 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14751 * timezone/checktab.awk: Update from tzcode 2014e.
14752 * timezone/private.h: Likewise.
14753 * timezone/tzfile.h: Likewise.
14754 * timezone/zdump.c: Likewise.
14755 * timezone/zic.c: Likewise.
14757 * sysdeps/unix/sysv/linux/kernel-features.h
14758 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14759 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14760 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14761 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14762 Remove conditional code.
14764 2014-06-25 Will Newton <will.newton@linaro.org>
14766 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14767 (_dl_arm_cap_flags): Add HWCAP2 values.
14768 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14769 (_DL_HWCAP_COUNT): Increase to 37.
14770 (_DL_HWCAP_LAST): New define.
14771 (_DL_HWCAP2_LAST): New define.
14772 (_dl_procinfo): Add support for printing
14774 (_dl_string_hwcap): Use _dl_hwcap_string.
14776 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14780 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14782 * README: Do not mention ports directory.
14784 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14786 * sysdeps/unix/sysv/linux/futimes.c: Do not include
14787 <kernel-features.h>.
14788 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14789 conditional variable definition.
14790 (__futimes): Update comment.
14791 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14792 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14795 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14796 arguments close to 0.
14797 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14799 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14801 * math/auto-libm-test-in: Add more tests of exp10.
14802 * math/auto-libm-test-out: Regenerated.
14803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14805 * sysdeps/unix/sysv/linux/kernel-features.h
14806 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14807 * sysdeps/unix/sysv/linux/readv.c: Do not include
14808 <kernel-features.h>.
14809 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14810 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14811 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14813 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14815 * sysdeps/unix/sysv/linux/writev.c: Do not include
14816 <kernel-features.h>.
14817 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14818 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14819 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14821 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14824 2014-06-25 Will Newton <will.newton@linaro.org>
14826 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14827 comment changes throughout the file. Remove checks
14828 for HAVE_*_H definitions that are not required.
14829 (__gen_tempname): Call abort if an unknown kind value is
14832 2014-06-25 Andreas Schwab <schwab@suse.de>
14835 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14836 scalbln, scalblnf, scalblnl in libc.
14838 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14841 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14842 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14843 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14845 2014-06-24 Roland McGrath <roland@hack.frob.com>
14847 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14848 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14849 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14850 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14852 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14853 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14855 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14856 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14857 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14858 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14859 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14860 * sysdeps/x86/bits/pthreadtypes.h: ... here.
14861 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14862 * sysdeps/x86/bits/semaphore.h: ... here.
14863 * sysdeps/x86/nptl/elide.h: Moved ...
14864 * sysdeps/x86/elide.h: ... here.
14865 * sysdeps/x86_64/nptl/Implies: File removed.
14866 * sysdeps/i386/nptl/Implies: File removed.
14868 2014-06-24 Joseph Myers <joseph@codesourcery.com>
14871 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14872 return the argument for normal arguments with exponent below -64.
14873 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14875 * math/auto-libm-test-in: Add another test of expm1.
14876 * math/auto-libm-test-out: Regenerated.
14879 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14880 calling __erfcl for arguments at least 16.
14881 * math/auto-libm-test-in: Add more tests of erf.
14882 * math/auto-libm-test-out: Regenerated.
14884 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14885 individual architectures.
14886 * sysdeps/unix/sysv/linux/configure: Regenerated.
14887 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14888 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14889 * sysdeps/unix/sysv/linux/powerpc/configure.ac
14890 (ldd_rewrite_script): Define variable.
14891 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14896 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14897 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14898 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14899 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14900 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14901 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14902 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14903 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14905 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14908 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14909 Rename member __data.d to __data.__elision_data.
14911 2014-06-24 Wilco <wdijkstr@arm.com>
14913 * NEWS: Add 16918 to fixed bug list.
14915 2014-06-24 Wilco <wdijkstr@arm.com>
14917 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14919 2014-06-24 Wilco <wdijkstr@arm.com>
14921 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14922 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14923 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14924 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14925 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14926 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14927 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14930 2014-06-24 Wilco <wdijkstr@arm.com>
14932 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14934 2014-06-24 Wilco <wdijkstr@arm.com>
14936 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14937 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14938 * sysdeps/arm/fesetround.c (fesetround): Remove space.
14939 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14941 2014-06-24 Wilco <wdijkstr@arm.com>
14944 * sysdeps/arm/feupdateenv.c (feupdateenv):
14945 Rewrite to reduce FPSCR accesses and fix return value.
14947 2014-06-24 Wilco <wdijkstr@arm.com>
14949 * sysdeps/arm/fclrexcpt.c (feclearexcept):
14950 Optimize to avoid unnecessary FPSCR writes.
14951 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14952 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14953 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14954 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14956 2014-06-24 Wilco <wdijkstr@arm.com>
14958 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14959 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14960 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14961 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14962 Call libc_fetestexcept_vfp.
14963 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14964 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14965 __SOFTFP__ ifdef so that they can be built for softfp.
14967 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14969 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14970 argument type signed char.
14972 * Makerules (check-abi): Dump diff of symlist if the test
14975 2014-06-23 Roland McGrath <roland@hack.frob.com>
14977 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14980 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14981 Remove unused variable ST.
14983 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14987 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14988 small arguments before calling __expm1.
14989 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14990 small arguments before calling __expm1f.
14991 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14992 small arguments before calling __expm1l.
14993 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14995 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14996 * math/auto-libm-test-in: Add more cosh tests. Do not allow
14997 spurious underflow for some cosh tests.
14998 * math/auto-libm-test-out: Regenerated.
14999 * sysdeps/i386/fpu/libm-test-ulps: Update.
15002 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15003 (__ieee754_y1): Set errno if return value overflows.
15004 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15005 (__ieee754_y1f): Set errno if return value overflows.
15006 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15007 (__ieee754_y1l): Set errno if return value overflows.
15008 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15009 (__ieee754_y1l): Set errno if return value overflows.
15010 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15011 * math/auto-libm-test-out: Regenerated.
15013 * math/gen-auto-libm-tests.c: Document use of
15014 ignore-zero-inf-sign.
15015 (input_flag_type): Add value flag_ignore_zero_inf_sign.
15016 (input_flags): Add ignore-zero-inf-sign.
15017 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15018 * math/gen-libm-test.pl (generate_testfile): Handle
15019 ignore-zero-inf-sign.
15020 * math/auto-libm-test-in: Mark some cpow tests with
15021 ignore-zero-inf-sign and some with xfail-rounding.
15022 * math/auto-libm-test-out: Regenerated.
15023 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15024 * sysdeps/i386/fpu/libm-test-ulps: Update.
15025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15028 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15029 overflowing or underflowing operations take place with sign of
15031 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15032 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15033 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15034 (__ieee754_pow): Recompute overflowing and underflowing results in
15035 original rounding mode.
15036 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15037 (__powl_helper): Allow negative argument X and scale negated value
15038 as needed. Avoid passing value outside [-1, 1] to f2xm1.
15039 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15040 overflowing or underflowing operations take place with sign of
15042 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15044 * math/auto-libm-test-in: Add more tests of pow.
15045 * math/auto-libm-test-out: Regenerated.
15046 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15047 (pow_tonearest_test_data): Remove.
15048 (pow_test_tonearest): Likewise.
15049 (pow_towardzero_test_data): Likewise.
15050 (pow_test_towardzero): Likewise.
15051 (pow_downward_test_data): Likewise.
15052 (pow_test_downward): Likewise.
15053 (pow_upward_test_data): Likewise.
15054 (pow_test_upward): Likewise.
15055 (main): Don't call removed functions.
15056 * sysdeps/i386/fpu/libm-test-ulps: Update.
15057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15059 2014-06-23 Roland McGrath <roland@hack.frob.com>
15061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15235 2014-06-23 Will Newton <will.newton@linaro.org>
15236 Wilco <wdijkstr@arm.com>
15238 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15239 implementation. Include get-rounding-mode.h.
15240 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15241 [!libc_feholdsetround_noex_ctx]: Define
15242 libc_feholdsetround_noex_ctx.
15243 [!libc_feholdsetround_noexf_ctx]: Define
15244 libc_feholdsetround_noexf_ctx.
15245 [!libc_feholdsetround_noexl_ctx]: Define
15246 libc_feholdsetround_noexl_ctx.
15247 (libc_feholdsetround_ctx): New function.
15248 (libc_feresetround_ctx): New function.
15249 (libc_feholdsetround_noex_ctx): New function.
15250 (libc_feresetround_noex_ctx): New function.
15252 2014-06-23 Roland McGrath <roland@hack.frob.com>
15254 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15255 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15256 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15257 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15258 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15259 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15261 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15262 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15263 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15264 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15265 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15266 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15267 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15268 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15269 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15270 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15271 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15273 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15275 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15276 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15277 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15278 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15279 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15281 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15282 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15283 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15284 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15285 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15286 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15287 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15288 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15290 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15291 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15293 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15294 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15295 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15296 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15298 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15299 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15300 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15301 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15302 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15303 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15304 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15305 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15306 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15307 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15309 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15311 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15312 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15313 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15314 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15315 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15316 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15317 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15318 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15319 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15320 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15321 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15322 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15323 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15325 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15326 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15327 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15328 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15329 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15330 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15332 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15333 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15334 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15335 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15336 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15338 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15339 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15340 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15341 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15342 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15343 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15344 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15345 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15346 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15347 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15348 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15349 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15350 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15351 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15352 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15353 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15354 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15355 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15356 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15357 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15358 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15359 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15360 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15361 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15362 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15363 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15364 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15365 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15367 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15369 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15370 (FALLOC_FL_COLLAPSE_RANGE): New macro.
15371 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15372 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15373 (IPV6_PMTUDISC_INTERFACE): Likewise.
15374 (IPV6_PMTUDISC_OMIT): Likewise.
15376 2014-06-23 Andreas Schwab <schwab@suse.de>
15378 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15379 Remove unused errout label.
15381 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15383 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15384 macro: hardware supports Vector Crypto instructions.
15386 2014-06-23 Will Newton <will.newton@linaro.org>
15388 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15389 rather than __builtin_expect.
15391 * elf/dl-lookup.c (undefined_msg): Remove variable.
15392 (_dl_lookup_symbol_x): Replace undefined_msg with string
15395 * elf/dl-lookup.c (do_lookup_unique): New function.
15396 (do_lookup_x): Move STB_GNU_UNIQUE handling code
15397 to a separate function.
15399 2014-06-23 Andreas Schwab <schwab@suse.de>
15402 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15403 before reading the next line.
15405 2014-06-23 Will Newton <will.newton@linaro.org>
15407 * test-skeleton.c (signal_handler): Use printf and %m
15408 rather than perror. Use printf rather than fprintf to
15409 stderr. Use puts rather than fputs to stderr.
15412 2014-06-22 Ludovic Courtès <ludo@gnu.org>
15414 * nscd/nscd.c (thread_info_t): Remove typedef.
15415 (thread_info): Remove variable.
15417 2014-06-21 Allan McRae <allan@archlinux.org>
15419 * NEWS: Mention CVE-2014-4043.
15421 2014-06-20 Roland McGrath <roland@hack.frob.com>
15423 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15424 * nptl/smp.h: ... here.
15426 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15428 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15429 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15430 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15431 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15433 * nptl/allocatestack.c: Include <stack-aliasing.h>.
15434 * nptl/stack-aliasing.h: New file.
15435 * sysdeps/i386/i686/stack-aliasing.h: New file.
15436 * sysdeps/i386/i686/nptl/Makefile: File removed.
15437 * sysdeps/x86_64/stack-aliasing.h: New file.
15438 * sysdeps/x86_64/nptl/Makefile
15439 (CFLAGS-pthread_create.c): Variable removed.
15441 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15442 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15444 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15445 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15448 2014-06-21 Joseph Myers <joseph@codesourcery.com>
15450 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15451 (__ASSUME_SIGFRAME_V2): Remove macro.
15452 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15453 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15454 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15455 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15456 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15457 Declare as function. Remove conditional macro definitions.
15458 (__default_rt_sa_restorer): Likewise.
15459 (__default_sa_restorer_v1): Remove declaration.
15460 (__default_sa_restorer_v2): Likewise.
15461 (__default_rt_sa_restorer_v1): Likewise.
15462 (__default_rt_sa_restorer_v2): Likewise.
15463 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15464 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15465 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15467 2014-06-20 Roland McGrath <roland@hack.frob.com>
15469 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15470 (libpthread-routines): Add sysdep.
15471 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15472 * sysdeps/unix/sysv/linux/sparc/Versions
15473 (libpthread: GLIBC_2.3.3): New version set.
15474 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15475 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15476 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15477 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15478 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
15479 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15481 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15482 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15483 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15484 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15485 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15486 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15487 * sysdeps/sparc/nptl/sem_init.c: ... here.
15488 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15489 * sysdeps/sparc/nptl/sem_post.c: ... here.
15490 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15491 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15492 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15493 * sysdeps/sparc/nptl/sem_wait.c: ... here.
15494 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15495 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15496 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15497 (libpthread-routines): Add cpu_relax.
15498 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15500 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15501 (librt: GLIBC_2.3.3): New version set.
15502 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15503 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15504 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15505 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15506 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15507 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15508 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15511 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15512 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15513 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15514 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15515 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15516 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15517 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15518 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15519 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15520 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15522 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15524 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15526 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15528 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15530 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15532 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15534 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15536 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15538 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15542 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15544 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15545 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15546 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15547 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15548 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15549 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15551 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15552 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15553 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15554 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15556 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15557 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15558 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15559 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15560 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15562 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15564 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15565 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15566 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15567 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15568 * nscd/nscd.c: Likewise.
15569 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15570 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15571 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15572 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15574 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15575 <kernel-features.h>.
15576 (init_mq_netlink): Remove conditional have_sock_cloexec
15577 definitions. Remove code conditional on have_sock_cloexec < 0.
15578 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15579 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15580 * sysdeps/unix/sysv/linux/opensock.c: Do not include
15581 <kernel-features.h>.
15582 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15583 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15585 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15587 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15588 Add tests for memset_chk and memset.
15590 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15593 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15596 * elf/tst-dl-iter-static.c: New file.
15597 * elf/Makefile (tests-static): Add tst-dl-iter-static.
15599 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15602 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15604 * sysdeps/unix/sysv/linux/kernel-features.h
15605 (__ASSUME_F_GETOWN_EX): Remove macro.
15606 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15607 <kernel-features.h>.
15608 (miss_F_GETOWN_EX): Remove variable or macro.
15609 (do_fcntl): Do not check miss_F_GETOWN_EX.
15610 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15612 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15614 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15615 [!__ASSUME_AT_RANDOM]: Remove conditional code.
15616 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15618 * sysdeps/unix/sysv/linux/kernel-features.h
15619 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15620 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15621 [ADJ_OFFSET_SS_READ]: Make code unconditional.
15622 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15624 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15627 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15628 Fix calculation of the symbol's value.
15629 * sysdeps/arm/tst-armtlsdescloc.c: New file.
15630 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15631 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15632 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15633 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15634 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15635 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15636 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15637 (modules-names): Add `tst-armtlsdescmod',
15638 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15639 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15640 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15641 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15642 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15643 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15644 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15645 ($(objpfx)tst-armtlsdescloc): New dependency.
15646 ($(objpfx)tst-armtlsdescextnow): Likewise.
15647 ($(objpfx)tst-armtlsdescextlazy): Likewise.
15648 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15649 TLS scheme support.
15650 * sysdeps/arm/configure: Regenerate.
15652 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15654 * include/fcntl.h (__atfct_seterrno): Remove prototype.
15655 (__atfct_seterrno_2): Likewise.
15656 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15657 <kernel-features.h>.
15658 (__ASSUME_ATFCTS): Do not undefine and redefine.
15659 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15660 (__have_atfcts): Remove conditional definition.
15661 (__fxstatat([__NR_fstatat64]: Make code unconditional.
15662 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15663 unreachable if [__ASSUME_ATFCTS].
15664 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15665 not undefine and redefine.
15666 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15667 <kernel-features.h>.
15668 (faccessat) [__NR_faccessat]: Make code unconditional.
15669 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15670 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15671 <kernel-features.h>.
15672 (fchmodat) [__NR_fchmodat]: Make code unconditional.
15673 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15674 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15675 <kernel-features.h>.
15676 (fchownat) [__NR_fchownat]: Make code unconditional.
15677 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15678 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15679 <kernel-features.h>.
15680 (futimesat) [__NR_futimesat]: Make code unconditional.
15681 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15682 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15683 <kernel-features.h>.
15684 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15685 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15686 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15687 <kernel-features.h>.
15688 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15689 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15690 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15691 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15692 <kernel-features.h>.
15693 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15694 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15695 * sysdeps/unix/sysv/linux/linkat.c: Do not include
15696 <kernel-features.h>.
15697 (linkat) [__NR_linkat]: Make code unconditional.
15698 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15699 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15700 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15701 <kernel-features.h>.
15702 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15703 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15704 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15705 <kernel-features.h>.
15706 (mkdirat) [__NR_mkdirat]: Make code unconditional.
15707 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15708 * sysdeps/unix/sysv/linux/openat.c: Do not include
15709 <kernel-features.h>.
15710 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15711 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15712 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15713 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15714 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15715 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15716 <kernel-features.h>.
15717 (readlinkat) [__NR_readlinkat]: Make code unconditional.
15718 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
15719 result of INLINE_SYSCALL directly, not via int variable.
15720 * sysdeps/unix/sysv/linux/renameat.c: Do not include
15721 <kernel-features.h>.
15722 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15723 (renameat) [__NR_renameat]: Make code unconditional.
15724 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15725 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15726 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15727 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15728 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15729 (__ASSUME_ATFCTS): Do not undefine and redefine.
15730 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15731 <kernel-features.h>.
15732 (symlinkat) [__NR_symlinkat]: Make code unconditional.
15733 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15734 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15735 <kernel-features.h>.
15736 (unlinkat) [__NR_unlinkat]: Make code unconditional.
15737 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15738 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15739 (__ASSUME_ATFCTS): Do not undefine and redefine.
15740 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15741 <kernel-features.h>.
15742 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15743 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15744 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15745 <kernel-features.h>.
15746 (__xmknodat) [__NR_mknodat]: Make code unconditional.
15747 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15749 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15751 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15753 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
15756 * posix/regcomp.c (parse_reg_exp): Deallocate partially
15757 constructed tree before returning error.
15758 * posix/bug-regexp36.c: Expand test case.
15760 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15763 * math/libm-test.inc (scalbln_test_date):
15764 Add errno expectations.
15765 * math/w_scalblnf.c: New File.
15766 Add wrapper which checks for setting errno to ERANGE.
15767 Add weak_alias for corresponding scalbln function.
15768 * math/w_scalbln.c: Likewise.
15769 * math/w_scalblnl.c: Likewise.
15770 * math/Makefile (libm-calls): Add w_scalbln.
15771 * sysdeps/ieee754/flt-32/s_scalblnf.c:
15772 Remove weak_alias for corresponding scalbln function.
15773 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15774 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15775 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15776 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15777 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15778 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15779 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15780 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15781 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15782 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15783 Remove long_double_symbol for scalblnl function in libm, libc.
15784 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15785 Add wrapper which checks for setting errno to ERANGE.
15786 Add long_double_symbol for scalblnl function in libm, libc.
15787 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15788 Remove long_double_symbol for scalblnl in libm.
15789 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15790 Add wrapper which checks for setting errno to ERANGE.
15791 Add long_double_symbol for scalblnl function in libm.
15792 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15793 Do not use wrapper because of own implementation.
15795 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
15797 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15798 3 bytes for __pad1 for x32.
15799 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15801 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
15802 H.J. Lu <hongjiu.lu@intel.com>
15804 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15805 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15806 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15807 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15808 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15810 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
15813 * posix/regcomp.c (parse_expression): Deallocate partially
15814 constructed tree before returning error.
15815 * posix/Makefile.c (tests): Add bug-regex36.
15816 (generated): Add bug-regex36.mtrace.
15817 (tests-special): Add $(objpfx)bug-regex36-mem.out
15818 (bug-regex36-ENV): New variable.
15819 ($(objpfx)bug-regex36-mem.out): New rule.
15820 * posix/bug-regex36.c: New file.
15822 2014-06-19 Will Newton <will.newton@linaro.org>
15824 * malloc/malloc.c (systrim): If extra is zero then return
15827 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15829 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15831 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
15833 * sysdeps/aarch64/strchr.S: New file.
15835 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15838 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15839 from arguments -2 or below.
15840 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15841 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15843 2014-06-18 Andreas Schwab <schwab@suse.de>
15846 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15847 of a bracket expr not to run off the end of the string.
15848 * posix/Makefile (tests): Add tst-fnmatch3.
15849 * posix/tst-fnmatch3.c: New file.
15851 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15853 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15854 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15855 [$(cross-compiling) = no]: Likewise.
15856 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15857 [$(cross-compiling) = no]: Likewise.
15859 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15862 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15863 double, adjusted for any remainder from the high double.
15864 * math/libm-test.inc (nearbyint): Add tests.
15867 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15869 * nptl/sysdeps/powerpc/Makefile: Moved ...
15870 * sysdeps/powerpc/nptl/Makefile: ... here.
15871 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15872 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15873 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15874 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15875 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15876 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15877 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15878 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15879 * nptl/sysdeps/powerpc/tls.h: Moved ...
15880 * sysdeps/powerpc/nptl/tls.h: ... here.
15882 2014-06-16 Joseph Myers <joseph@codesourcery.com>
15885 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15886 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15887 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15888 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15889 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15890 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15891 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15892 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15893 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15895 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
15897 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15899 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
15901 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15904 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15907 2014-06-16 Florian Weimer <fweimer@redhat.com>
15910 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15911 non-executed part of the test.
15913 2014-06-16 Andreas Schwab <schwab@suse.de>
15915 * string/bits/string2.h (strdup, strndup): Update feature guard.
15917 2014-06-14 David S. Miller <davem@davemloft.net>
15919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15921 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
15923 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15924 that was previously under [RESET_PID].
15925 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15927 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15928 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15929 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15930 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15931 (__libc_vfork): New strong alias.
15932 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15934 2014-06-14 Andi Kleen <ak@linux.intel.com>
15936 * sysdeps/generic/elide.h: New file.
15938 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15940 * Makefile (installed-headers): Adjust path of pthread.h header.
15942 2014-06-13 Roland McGrath <roland@hack.frob.com>
15944 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15945 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15946 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15947 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15949 * nptl/sysdeps/s390/Makefile: Moved ...
15950 * sysdeps/s390/nptl/Makefile: ... here.
15951 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15952 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15953 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15954 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15955 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15956 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15957 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15958 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15959 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15960 * sysdeps/s390/nptl/pthreaddef.h: ... here.
15961 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15962 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15963 * nptl/sysdeps/s390/tls.h: Moved ...
15964 * sysdeps/s390/nptl/tls.h: ... here.
15966 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15967 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15969 2014-06-13 David S. Miller <davem@davemloft.net>
15971 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15972 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15973 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15974 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15975 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15976 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15977 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15978 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15979 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15980 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15981 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15982 Remove RESET_PID cpp guards.
15983 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15984 Remove RESET_PID cpp guards.
15985 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15987 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
15989 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15992 2014-06-13 Andi Kleen <ak@linux.intel.com>
15994 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15995 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15996 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15997 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15998 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15999 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16000 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16001 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16002 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16003 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16004 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16005 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16006 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16007 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16008 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16009 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16010 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16011 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16012 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16013 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16015 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16016 (pthread_rwlock_rdlock): Add elision.
16017 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16018 (pthread_rwlock_wrlock): Add elision.
16019 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16020 (pthread_rwlock_trywrlock): Add elision.
16021 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16022 (pthread_rwlock_tryrdlock): Add elision.
16023 * nptl/pthread_rwlock_unlock.c: Include elide.h.
16024 (pthread_rwlock_tryrdlock): Add elision unlock.
16025 * nptl/sysdeps/pthread/pthread.h:
16026 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16027 (PTHREAD_RWLOCK_INITIALIZER,
16028 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16029 Handle new elision field.
16030 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16031 * sysdeps/arm/nptl/bits/pthreadtypes.h
16032 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16033 * sysdeps/sh/nptl/bits/pthreadtypes.h
16034 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16035 * sysdeps/tile/nptl/bits/pthreadtypes.h
16036 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16037 * sysdeps/a/nptl/bits/pthreadtypes.h
16038 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16039 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16040 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16041 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16042 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16043 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16044 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16045 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16046 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16047 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16048 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16049 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16050 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16051 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16052 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16053 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16054 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16055 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16056 (elision_init): Set try_xbegin to zero when no RTM.
16057 * sysdeps/x86/nptl/bits/pthreadtypes.h
16058 (pthread_rwlock_t): Change __pad1 to __rwelision.
16059 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16061 2014-06-13 Andi Kleen <ak@linux.intel.com>
16063 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16064 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16065 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16066 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16068 2014-06-13 Meador Inge <meadori@codesourcery.com>
16071 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16072 that the cached result has been set before returning it.
16074 2014-06-12 Roland McGrath <roland@hack.frob.com>
16076 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16077 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16078 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16079 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16080 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16081 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16083 * nptl/sysdeps/sparc/Makefile: Moved ...
16084 * sysdeps/sparc/nptl/Makefile: ... here.
16085 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16086 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16087 * nptl/sysdeps/sparc/tls.h: Moved ...
16088 * sysdeps/sparc/nptl/tls.h: ... here.
16089 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16090 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16091 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16092 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16093 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16094 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16095 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16096 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16097 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16098 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16099 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16100 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16101 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16102 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16103 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16104 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16105 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16106 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16108 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16109 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16111 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16112 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16114 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16115 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16118 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16120 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16121 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16123 * sysdeps/pthread/posix-timer.h: Include <list.h>.
16124 (struct list_links): Type removed.
16125 (struct thread_node, struct timer_node): Replace struct list_links
16126 with struct list_head.
16127 (list_unlink_ip): Likewise.
16128 * sysdeps/pthread/timer_routines.c
16129 (timer_free_list, thread_free_list, thread_active_list): Likewise.
16130 (list_append, list_insbefore): Likewise.
16131 (list_init): Function removed.
16132 (thread_init, init_module): Use INIT_LIST_HEAD instead.
16133 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16134 * sysdeps/pthread/Makefile: ... here, new file.
16136 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16137 * sysdeps/nptl/Implies: ... here.
16138 * sysdeps/unix/sysv/linux/Implies: Add nptl.
16139 * nptl/sysdeps/pthread/list.h: Moved ...
16140 * include/list.h: ... here.
16141 * nptl/sysdeps/pthread/createthread.c: Moved ...
16142 * nptl/createthread.c: ... here.
16143 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16144 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16145 * nptl/pt-longjmp.c: ... here.
16146 * nptl/sysdeps/pthread/Makefile: Moved ...
16147 * sysdeps/nptl/Makefile: ... here.
16148 * nptl/sysdeps/pthread/Subdirs: Moved ...
16149 * sysdeps/nptl/Subdirs: ... here.
16150 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16151 * sysdeps/nptl/aio_misc.h: ... here.
16152 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16153 * sysdeps/nptl/bits/libc-lock.h: ... here.
16154 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16155 * sysdeps/nptl/bits/libc-lockP.h: ... here.
16156 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16157 * sysdeps/nptl/bits/stdio-lock.h: ... here.
16158 * nptl/sysdeps/pthread/configure: Moved ...
16159 * sysdeps/nptl/configure: ... here.
16160 * nptl/sysdeps/pthread/configure.ac: Moved ...
16161 * sysdeps/nptl/configure.ac: ... here.
16162 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16163 * sysdeps/nptl/gai_misc.h: ... here.
16164 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16165 * sysdeps/nptl/librt-cancellation.c: ... here.
16166 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16167 * sysdeps/nptl/malloc-machine.h: ... here.
16168 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16169 * sysdeps/nptl/pthread-functions.h: ... here.
16170 * nptl/sysdeps/pthread/pthread.h: Moved ...
16171 * sysdeps/nptl/pthread.h: ... here.
16172 * nptl/sysdeps/pthread/setxid.h: Moved ...
16173 * sysdeps/nptl/setxid.h: ... here.
16174 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16175 * sysdeps/nptl/sigfillset.c: ... here.
16176 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16177 * sysdeps/nptl/tcb-offsets.h: ... here.
16178 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16179 * sysdeps/nptl/tst-mqueue8x.c: ... here.
16180 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16181 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16182 * nptl/sysdeps/pthread/allocalim.h: Moved ...
16183 * sysdeps/pthread/allocalim.h: ... here.
16184 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16185 * sysdeps/pthread/bits/sigthread.h: ... here.
16186 * nptl/sysdeps/pthread/flockfile.c: Moved ...
16187 * sysdeps/pthread/flockfile.c: ... here.
16188 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16189 * sysdeps/pthread/ftrylockfile.c: ... here.
16190 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16191 * sysdeps/pthread/funlockfile.c: ... here.
16192 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16193 * sysdeps/pthread/posix-timer.h: ... here.
16194 * nptl/sysdeps/pthread/timer_create.c: Moved ...
16195 * sysdeps/pthread/timer_create.c: ... here.
16196 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16197 * sysdeps/pthread/timer_delete.c: ... here.
16198 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16199 * sysdeps/pthread/timer_getoverr.c: ... here.
16200 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16201 * sysdeps/pthread/timer_gettime.c: ... here.
16202 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16203 * sysdeps/pthread/timer_routines.c: ... here.
16204 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16205 * sysdeps/pthread/timer_settime.c: ... here.
16206 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16207 * sysdeps/pthread/tst-timer.c: ... here.
16208 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16209 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16211 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16212 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16214 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16215 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16216 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16217 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16218 Update #include target.
16219 * nptl/sysdeps/i386/i686/Makefile: Moved ...
16220 * sysdeps/i386/i686/nptl/Makefile: ... here.
16221 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16222 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16223 Update #include target.
16224 * nptl/sysdeps/i386/i686/tls.h: Moved ...
16225 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
16226 * nptl/sysdeps/i386/Makefile: Moved ...
16227 * sysdeps/i386/nptl/Makefile: ... here.
16228 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16229 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16230 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16231 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16232 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16233 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16234 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16235 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16236 * sysdeps/i386/nptl/pthreaddef.h: ... here.
16237 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16238 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16239 * nptl/sysdeps/i386/tls.h: Moved ...
16240 * sysdeps/i386/nptl/tls.h: ... here.
16242 * sysdeps/sh/Makefile [$(subdir) = csu]
16243 (gen-as-const-headers): Add tcb-offsets.sym.
16244 * nptl/sysdeps/sh/Makefile: File removed.
16245 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16246 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16247 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16248 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16249 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16250 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16251 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16252 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16253 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16254 * sysdeps/sh/nptl/pthreaddef.h: ... here.
16255 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16256 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16257 * nptl/sysdeps/sh/tls.h: Moved ...
16258 * sysdeps/sh/nptl/tls.h: ... here.
16259 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16260 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16261 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16262 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16263 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16264 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16265 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16266 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16267 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16268 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16269 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16270 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16271 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16272 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16273 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16274 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16275 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16276 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16277 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16278 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16279 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16280 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16281 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16282 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16283 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16285 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16286 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16288 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16289 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16290 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16291 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16292 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16293 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16294 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16295 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16296 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16297 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16298 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16299 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16300 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16301 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16302 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16303 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16304 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16305 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16306 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16308 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16310 * posix/spawn_faction_addopen.c: Include string.h.
16312 2014-06-11 Roland McGrath <roland@hack.frob.com>
16314 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16315 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16316 * nptl/sysdeps/x86_64/Makefile: Moved ...
16317 * sysdeps/x86_64/nptl/Makefile: ... here.
16318 * nptl/sysdeps/x86_64/configure: Moved ...
16319 * sysdeps/x86_64/nptl/configure: ... here.
16320 * nptl/sysdeps/x86_64/configure.ac: Moved ...
16321 * sysdeps/x86_64/nptl/configure.ac: ... here.
16322 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16323 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16324 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16325 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16326 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16327 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16328 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16329 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16330 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16331 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16332 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16333 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16334 * nptl/sysdeps/x86_64/tls.h: Moved ...
16335 * sysdeps/x86_64/nptl/tls.h: ... here.
16336 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16337 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16338 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16339 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16341 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16343 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16347 2014-06-11 Joseph Myers <joseph@codesourcery.com>
16349 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16351 [POSIX] (off_t): Likewise.
16352 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16353 [POSIX] (S_ISBLK): Require macro.
16354 [POSIX] (S_ISCHR): Likewise.
16355 [POSIX] (S_ISDIR): Likewise.
16356 [POSIX] (S_ISFIFO): Likewise.
16357 [POSIX] (S_ISREG): Likewise.
16358 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16360 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16362 [POSIX] (time_t): Likewise.
16363 [POSIX] (timer_t): Likewise.
16365 2014-06-11 Florian Weimer <fweimer@redhat.com>
16368 * posix/spawn_int.h (struct __spawn_action): Make the path string
16369 non-const to support deallocation.
16370 * posix/spawn_faction_addopen.c
16371 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16372 * posix/spawn_faction_destroy.c
16373 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
16374 path in all spawn_do_open actions.
16375 * posix/tst-spawn.c (do_test): Exercise the copy operation in
16376 posix_spawn_file_actions_addopen.
16378 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
16380 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16381 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16382 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16383 conditional code always true.
16384 (__libc_vfork): New alias.
16386 2014-06-11 Roland McGrath <roland@hack.frob.com>
16388 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16389 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16391 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16393 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16394 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16396 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16397 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16399 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16400 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16402 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16404 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16405 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16406 multiarch strcmp for PPC64.
16407 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16408 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16409 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16410 multiarch optimizations.
16411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16412 (__libc_ifunc_impl_list): Likewise.
16414 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16416 * benchtests/scripts/validate_benchout.py: New script.
16417 * benchtests/Makefile (bench-func): Call it.
16418 * benchtests/scripts/benchout.schema.json: New file.
16420 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
16422 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16423 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16424 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16425 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16426 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16427 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16428 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16429 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16430 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16431 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16432 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16433 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16434 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16435 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16436 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16437 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16541 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16542 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16543 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16544 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16545 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16547 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16549 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16550 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16551 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16552 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16553 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16554 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16555 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16556 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16557 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16558 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16559 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16560 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16561 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16563 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16564 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16566 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16567 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16568 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16569 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16571 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16572 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16573 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16574 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16575 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16576 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16577 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16579 2014-06-10 Wilco <wdijkstr@arm.com>
16581 * math/test-fenv-return.c: New file.
16582 * math/Makefile: Add new test test-fenv-return.
16584 2014-06-10 Joseph Myers <joseph@codesourcery.com>
16587 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16588 when x - 1 is zero.
16589 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16590 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16591 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16592 0.0L for an argument of 1.0L.
16593 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16595 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16596 value when x - 1 is zero.
16597 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16598 * sysdeps/i386/fpu/libm-test-ulps: Update.
16599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16601 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
16604 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16606 2014-06-09 Roland McGrath <roland@hack.frob.com>
16608 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16609 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16611 2014-06-09 Roland McGrath <roland@hack.frob.com>
16613 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16614 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16616 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16617 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16619 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16620 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16622 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16623 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16625 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16626 if not already defined.
16627 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16628 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16629 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16630 (TLS_INIT_TP): Use it.
16631 (TLS_DEFINE_INIT_TP): New macro.
16632 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16634 2014-06-09 Joseph Myers <joseph@codesourcery.com>
16636 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16638 [POSIX] (IXANY): Likewise.
16639 [POSIX] (OLCUC): Likewise.
16640 [POSIX || POSIX2008] (CBAUD): Do not allow.
16641 [POSIX || POSIX2008] (DEFECHO): Likewise.
16642 [POSIX || POSIX2008] (ECHOCTL): Likewise.
16643 [POSIX || POSIX2008] (ECHOKE): Likewise.
16644 [POSIX || POSIX2008] (ECHOPRT): Likewise.
16645 [POSIX || POSIX2008] (EXTA): Likewise.
16646 [POSIX || POSIX2008] (EXTB): Likewise.
16647 [POSIX || POSIX2008] (FLUSHO): Likewise.
16648 [POSIX || POSIX2008] (LOBLK): Likewise.
16649 [POSIX || POSIX2008] (PENDIN): Likewise.
16650 [POSIX || POSIX2008] (SWTCH): Likewise.
16651 [POSIX || POSIX2008] (VDISCARD): Likewise.
16652 [POSIX || POSIX2008] (VDSUSP): Likewise.
16653 [POSIX || POSIX2008] (VLNEXT): Likewise.
16654 [POSIX || POSIX2008] (VREPRINT): Likewise.
16655 [POSIX || POSIX2008] (VSTATUS): Likewise.
16656 [POSIX || POSIX2008] (VWERASE): Likewise.
16657 (B*): Change to B[0123456789]*.
16658 * conform/data/time.h-data [POSIX || UNIX98]
16659 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16660 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16661 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16662 [POSIX] (tm_*): Do not allow.
16664 2014-06-07 Joseph Myers <joseph@codesourcery.com>
16666 * Makefile (install): Don't set LANGUAGE.
16667 * Makefile.in (install): Likewise.
16668 * assert/Makefile (test-assert-ENV): Remove variable.
16669 (test-assert-perr-ENV): Likewise.
16670 * elf/Makefile (neededtest4-ENV): Likewise.
16671 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16672 [$(cross-compiling) = no]: Don't set LANGUAGE.
16673 * io/ftwtest-sh (LANG): Remove variable.
16674 * libio/Makefile (tst-widetext-ENV): Likewise.
16675 * manual/install.texi (Running make install): Don't refer to
16676 environment settings for make install.
16677 * INSTALL: Regenerated.
16678 * nptl/tst-tls6.sh: Don't set LANG.
16679 * posix/globtest.sh (LANG): Remove variable.
16680 * string/Makefile (tester-ENV): Likewise.
16681 (inl-tester-ENV): Likewise.
16682 (noinl-tester-ENV): Likewise.
16683 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16684 [$(cross-compiling) = no]: Don't set LANGUAGE.
16685 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16686 without explicit environment settings.
16688 2014-06-06 Roland McGrath <roland@hack.frob.com>
16690 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16691 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16692 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16693 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16695 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
16697 * crypt/crypt-private.h [DOS]: Add some includes taken from the
16698 other files in the crypt directory.
16699 * crypt/crypt.c: Remove duplicate includes.
16700 * crypt/crypt-entry.c: Likewise.
16701 * crypt/crypt_util.c: Likewise.
16703 2014-06-06 Joseph Myers <joseph@codesourcery.com>
16705 * Makeconfig (run-program-env): New variable.
16706 (run-program-prefix-before-env): Likewise.
16707 (run-program-prefix-after-env): Likewise.
16708 (run-program-prefix): Define in terms of new variables.
16709 (built-program-cmd-before-env): New variable.
16710 (built-program-cmd-after-env): Likewise.
16711 (built-program-cmd): Define in terms of new variables.
16712 (test-program-prefix-before-env): New variable.
16713 (test-program-prefix-after-env): Likewise.
16714 (test-program-prefix): Define in terms of new variables.
16715 (test-program-cmd-before-env): New variable.
16716 (test-program-cmd-after-env): Likewise.
16717 (test-program-cmd): Define in terms of new variables.
16718 * Rules (make-test-out): Use $(run-program-env).
16719 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16720 (help): Do not mention environment variables. Mention
16721 --timeoutfactor option.
16722 (timeoutfactor): New variable.
16723 (blacklist_exports): Remove function.
16724 (exports): Remove variable.
16725 (command): Do not include ${exports}.
16726 * manual/install.texi (Configuring and compiling): Do not mention
16727 test wrappers preserving environment variables. Mention that last
16728 assignment to a variable must take precedence.
16729 * INSTALL: Regenerated.
16730 * benchtests/Makefile (run-bench): Use $(run-program-env).
16731 * catgets/Makefile ($(objpfx)test1.cat): Use
16732 $(built-program-cmd-before-env), $(run-program-env) and
16733 $(built-program-cmd-after-env).
16734 ($(objpfx)test2.cat): Do not specify environment variables
16736 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16737 $(run-program-env) and $(built-program-cmd-after-env).
16738 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16739 $(run-program-env) and $(test-program-cmd-after-env).
16740 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16742 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16743 run_program_env and test_program_cmd_after_env arguments.
16744 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16745 * elf/tst-pathopt.sh: Use run_program_env argument.
16746 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16747 $(test-wrapper-env) and $(run-program-env).
16748 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16749 run_program_env arguments.
16750 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16751 * intl/Makefile ($(objpfx)tst-gettext.out): Use
16752 $(test-program-prefix-before-env), $(run-program-env) and
16753 $(test-program-prefix-after-env).
16754 ($(objpfx)tst-gettext2.out): Likewise.
16755 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16756 run_program_env and test_program_prefix_after_env arguments.
16757 * intl/tst-gettext2.sh: Likewise.
16758 * intl/tst-gettext4.sh: Do not set environment variables
16760 * intl/tst-gettext6.sh: Likewise.
16761 * intl/tst-translit.sh: Likewise.
16762 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16763 $(test-program-prefix-before-env), $(run-program-env) and
16764 $(test-program-prefix-after-env).
16765 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16766 run_program_env and test_program_prefix_after_env arguments.
16767 * math/Makefile (run-regen-ulps): Use $(run-program-env).
16768 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16769 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
16770 explicitly with each use of ${test_wrapper_env}.
16771 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16772 $(test-program-prefix-before-env), $(run-program-env) and
16773 $(test-program-prefix-after-env).
16774 * posix/tst-getconf.sh: Do not set environment variables
16776 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16777 run_program_env and test_program_prefix_after_env arguments.
16778 * stdio-common/tst-printf.sh: Do not set environment variables
16780 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16781 $(test-program-prefix-before-env), $(run-program-env) and
16782 $(test-program-prefix-after-env).
16783 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16784 run_program_env and test_program_prefix_after_env arguments.
16785 Split $test calls into $test_pre and $test.
16786 * timezone/Makefile (build-testdata): Use
16787 $(built-program-cmd-before-env), $(run-program-env) and
16788 $(built-program-cmd-after-env).
16790 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16792 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16793 strlen for non SHARED builds.
16795 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16797 * nptl/allocatestack.c (check_list): Inlined function...
16798 (__reclaim_stacks): ... here.
16800 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16803 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16806 2014-06-05 Joseph Myers <joseph@codesourcery.com>
16808 * Rules (make-test-out): Include
16809 LOCPATH=$(common-objpfx)localedata in default environment.
16810 * debug/Makefile (tst-chk1-ENV): Remove variable.
16811 (tst-chk2-ENV): Likewise.
16812 (tst-chk3-ENV): Likewise.
16813 (tst-chk4-ENV): Likewise.
16814 (tst-chk5-ENV): Likewise.
16815 (tst-chk6-ENV): Likewise.
16816 (tst-lfschk1-ENV): Likewise.
16817 (tst-lfschk2-ENV): Likewise.
16818 (tst-lfschk3-ENV): Likewise.
16819 (tst-lfschk4-ENV): Likewise.
16820 (tst-lfschk5-ENV): Likewise.
16821 (tst-lfschk6-ENV): Likewise.
16822 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16823 (tst-iconv7-ENV): Likewise.
16824 * intl/Makefile (LOCPATH-ENV): Likewise.
16825 (tst-codeset-ENV): Likewise.
16826 (tst-gettext3-ENV): Likewise.
16827 (tst-gettext5-ENV): Likewise.
16828 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16829 (tst-fopenloc-ENV): Likewise.
16830 (tst-fgetws-ENV): Remove variable.
16831 (tst-ungetwc1-ENV): Likewise.
16832 (tst-ungetwc2-ENV): Likewise.
16833 (bug-ungetwc2-ENV): Likewise.
16834 (tst-swscanf-ENV): Likewise.
16835 (bug-ftell-ENV): Likewise.
16836 (tst-fgetwc-ENV): Likewise.
16837 (tst-fseek-ENV): Likewise.
16838 (tst-ftell-partial-wide-ENV): Likewise.
16839 (tst-ftell-active-handler-ENV): Likewise.
16840 (tst-ftell-append-ENV): Likewise.
16841 * posix/Makefile (tst-fnmatch-ENV): Likewise.
16842 (tst-regexloc-ENV): Likewise.
16843 (bug-regex1-ENV): Likewise.
16844 (tst-regex-ENV): Likewise.
16845 (tst-regex2-ENV): Likewise.
16846 (bug-regex5-ENV): Likewise.
16847 (bug-regex6-ENV): Likewise.
16848 (bug-regex17-ENV): Likewise.
16849 (bug-regex18-ENV): Likewise.
16850 (bug-regex19-ENV): Likewise.
16851 (bug-regex20-ENV): Likewise.
16852 (bug-regex22-ENV): Likewise.
16853 (bug-regex23-ENV): Likewise.
16854 (bug-regex25-ENV): Likewise.
16855 (bug-regex26-ENV): Likewise.
16856 (bug-regex30-ENV): Likewise.
16857 (bug-regex32-ENV): Likewise.
16858 (bug-regex33-ENV): Likewise.
16859 (bug-regex34-ENV): Likewise.
16860 (bug-regex35-ENV): Likewise.
16861 (tst-rxspencer-ENV): Likewise.
16862 (tst-rxspencer-no-utf8-ENV): Likewise.
16863 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16864 (tst-sscanf-ENV): Likewise.
16865 (tst-swprintf-ENV): Likewise.
16866 (tst-swscanf-ENV): Likewise.
16867 (test-vfprintf-ENV): Likewise.
16868 (scanf13-ENV): Likewise.
16869 (bug14-ENV): Likewise.
16870 (tst-grouping-ENV): Likewise.
16871 * stdlib/Makefile (tst-strtod-ENV): Likewise.
16872 (tst-strtod3-ENV): Likewise.
16873 (tst-strtod4-ENV): Likewise.
16874 (tst-strtod5-ENV): Likewise.
16875 (testmb2-ENV): Likewise./
16876 * string/Makefile (tst-strxfrm-ENV): Likewise.
16877 (tst-strxfrm2-ENV): Likewise.
16878 (bug-strcoll1-ENV): Likewise.
16879 (test-strcasecmp-ENV): Likewise.
16880 (test-strncasecmp-ENV): Likewise.
16881 * time/Makefile (tst-strptime-ENV): Likewise.
16882 (tst-ftime_l-ENV): Likewise.
16883 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16884 (tst-mbrtowc-ENV): Likewise.
16885 (tst-wcrtomb-ENV): Likewise.
16886 (tst-mbrtowc2-ENV): Likewise.
16887 (tst-c16c32-1-ENV): Likewise.
16888 (tst-mbsnrtowcs-ENV): Likewise.
16890 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16892 * manual/resource.texi (How to get information about the memory
16893 subsystem?): Fix typo.
16894 Reported by Peon de la Parra Ivan <peon@keba.com>
16896 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
16899 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16900 (pthread_spin_lock): Branch out of spin loop to proper location.
16901 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16902 (pthread_spin_lock): Likewise.
16904 * nptl/tst-spin4.c: New test.
16905 * nptl/Makefile (tests): Add tst-spin4.
16907 2014-06-03 Andreas Schwab <schwab@suse.de>
16910 * resolv/res_send.c (send_dg): Reload file descriptor after
16913 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
16915 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16917 2014-06-03 Richard Henderson <rth@redhat.com>
16919 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16920 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16921 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16922 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
16923 in the SAVE_PID block.
16924 (__libc_vfork): New alias.
16925 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16927 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16928 child in registers, not on the stack. Remove RESET_PID conditionals.
16929 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16931 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
16933 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16935 2014-06-03 Wilco <wdijkstr@arm.com>
16937 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16938 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16939 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16940 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16941 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16944 2014-06-03 Wilco <wdijkstr@arm.com>
16946 * sysdeps/aarch64/fpu/math_private.h
16947 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16948 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16949 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16950 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16953 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16955 * crypt/crypt-private.h: Include ufc-crypt.h.
16956 (__b64_from_24bit): Declare extern.
16957 * crypt/crypt_util.c(__b64_from_24bit): New function.
16958 (b64t): New static const variable.
16959 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16960 (b64t): Remove variable.
16961 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16962 * crypt/sha256-crypt.c: Include crypt-private.h.
16963 (b64t): Remove variable.
16964 (__sha256_crypt_r): Remove b64_from_24bit and replace
16965 with __b64_from_24bit.
16966 * crypt/sha512-crypt.c: Likewise.
16968 2014-06-02 Roland McGrath <roland@hack.frob.com>
16970 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16971 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16972 Label the code __libc_vfork rather than __vfork.
16973 [!NOT_IN_libc] (vfork): Define as weak alias.
16974 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16975 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16976 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16978 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16980 * malloc/malloc.c (malloc_info): Fix format specifier for
16983 2014-06-02 Wilco <wdijkstr@arm.com>
16985 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16988 2014-06-02 Wilco <wdijkstr@arm.com>
16991 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16992 Rewrite to reduce FPCR/FPSR accesses.
16994 2014-06-01 David S. Miller <davem@davemloft.net>
16996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16998 2014-05-31 David S. Miller <davem@davemloft.net>
17000 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17001 to occur in round to nearest mode when |x| >= 2.0
17003 2014-05-30 Richard Henderson <rth@twiddle.net>
17005 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17006 (PSEUDO_RET_NOERRNO): Remove.
17007 (ret): Don't redefine.
17008 (ret_NOERRNO): Define in terms of ret.
17009 (ret_ERRVAL): Likewise.
17011 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17012 use of PSEUDO_RET; perform the error check directly.
17014 2014-05-30 Marko Myllynen <myllynen@redhat.com>
17016 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17019 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17021 * malloc/malloc (malloc_info): Fix formatting.
17023 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17024 Roland McGrath <roland@hack.frob.com>
17026 * malloc/malloc (malloc_info): Also print mmapped statistics.
17028 2014-05-30 Roland McGrath <roland@hack.frob.com>
17030 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17031 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17033 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
17035 * malloc/malloc.c (malloc_info): Inline mi_arena.
17037 2014-05-29 Richard Henderson <rth@twiddle.net>
17039 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17040 Remove comma before expanding ASM_ARGS_##nr.
17041 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17042 Make _x0 a strict output; make _x8 a strict input; adjust expansion
17044 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17045 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17046 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17047 (ASM_ARGS_1): Add leading comma.
17049 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17050 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17051 to __errno_location.
17052 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17053 Remove the expected plt for __errno_location.
17055 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17056 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17059 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17060 Always allocate 64 bytes of stack frame. Use ldp/stp to create
17061 it and break it down.
17062 (DOCARGS_0, DOCARGS_1): Do nothing.
17063 (DOCARGS_2): Update to store into the new stack frame.
17064 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17065 (UNDOCARGS_1): Update to restore from the new stack frame.
17066 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17067 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17069 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17070 (SINGLE_THREAD_P): New parameter for result regno.
17071 (PSEUDO): Update to match; use cbz instead of beq.
17073 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17074 Use ENTRY to define the _nocancel entry point. Share the syscall
17075 and syscall error check paths with the cancel path.
17078 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17079 whitespace; tabs before and after asm mnemonics.
17081 2014-05-29 Eric Wong <normalperson@yhbt.net>
17084 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17085 Call fstat64 or stat64 internally, depending on arguments passed.
17086 Replace stat buffer argument with file descriptor argument.
17087 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17088 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17089 Pass fd to __internal_statvfs instead of calling fstat64.
17090 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17091 Pass fd to __internal_statvfs64 instead of calling fstat64.
17092 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17093 Pass -1 to __internal_statvfs instead of calling stat64.
17094 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17095 Pass -1 to __internal_statvfs64 instead of calling stat64.
17097 2014-05-28 Roland McGrath <roland@hack.frob.com>
17099 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17100 that was previously under [RESET_PID].
17101 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17103 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17104 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17106 2014-05-27 Roland McGrath <roland@hack.frob.com>
17108 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17110 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17111 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17113 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
17115 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17117 2014-05-27 Andreas Schwab <schwab@suse.de>
17119 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17121 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17122 * elf/rtld.c (init_tls, dl_main): Likewise.
17123 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17124 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17125 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17126 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17127 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17128 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17129 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17130 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17131 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17132 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17133 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17134 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17135 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17136 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17137 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17138 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17139 * sysdeps/generic/tls.h: Update description.
17141 2014-05-27 Will Newton <will.newton@linaro.org>
17144 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17145 and restore r2 rather than just restoring.
17147 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17150 * libio/tst-ftell-append.c: New test case.
17151 * libio/Makefile (tests): Add test case.
17152 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17154 * libio/wfileops.c (do_ftell_wide): Likewise.
17156 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17160 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17164 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17165 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17166 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17167 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17168 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17169 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17170 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17173 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17176 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17177 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17178 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17179 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17180 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17182 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17183 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17185 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17187 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17189 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17190 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17191 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17193 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17194 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17195 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17196 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17198 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17201 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17204 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17207 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17211 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17214 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17219 conditional [RESET_PID].
17220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17221 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17223 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17228 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17229 (__libc_vfork): New strong alias.
17230 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17232 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17237 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17238 (__libc_vfork): New strong alias.
17239 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17241 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17244 2014-05-26 Carlos O'Donell <carlos@redhat.com>
17246 * malloc/malloc.c (mi_arena): New function.
17247 (malloc_info): Remove nested function mi_arena. Call non-nosted
17250 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17252 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17254 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17255 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17256 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17257 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17258 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17259 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17260 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17262 2014-05-26 Andreas Schwab <schwab@suse.de>
17265 * locale/programs/repertoire.c (repertoire_read): Add slash
17266 between I18NPATH element and file name.
17267 * locale/programs/locfile.c (locfile_read): Likewise.
17269 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
17271 * nptl/pthread_mutexattr_settype.c
17272 (__pthread_mutexattr_settype):
17273 Disable lock elision for PTHREAD_MUTEX_NORMAL.
17275 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
17277 * nptl/tst-mutex5 (do_test):
17278 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17280 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17282 * benchtests/README: Document 'init' directive.
17283 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17285 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17286 (parse_file): Recognize 'init' directive.
17288 2014-05-26 Kyle McMartin <kyle@redhat.com>
17291 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17292 alignment of struct pthread.
17294 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17297 * nscd/netgroupcache.c (addgetnetgrentX): Look for
17298 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17299 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17300 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17302 2014-05-25 Richard Henderson <rth@twiddle.net>
17304 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17305 (SINGLE_THREAD_P_PIC): Remove.
17306 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17307 (SINGLE_THREAD_P_PIC): Remove.
17309 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17310 branch to syscall error ...
17311 (PSEUDO): ... here.
17312 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17313 from __local_syscall_error to .Lsyscall_error.
17314 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17315 (SYSCALL_ERROR): Update label name.
17317 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17318 Do not use DOARGS/UNDOARGS.
17319 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17320 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17321 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17322 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17323 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17325 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17328 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17329 define if !NOT_IN_libc.
17330 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17331 define with non-default symbol versions.
17333 2014-05-23 Richard Henderson <rth@twiddle.net>
17335 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17336 (vfork, __vfork): Define via compat_symbol.
17338 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17339 [!HAVE_IFUNC] (vfork_compat): Remove.
17340 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17342 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17345 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17346 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17349 2014-05-23 Richard Henderson <rth@twiddle.net>
17351 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17352 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17353 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17354 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17356 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17357 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17358 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17359 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17360 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17361 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17362 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17363 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17364 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17365 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17366 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17367 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17368 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17369 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17370 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17371 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17372 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17373 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17374 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17375 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17376 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17377 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17378 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17379 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17380 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17381 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17382 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17383 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17384 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17385 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17386 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17387 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17388 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17389 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17390 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17391 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17392 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17393 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17394 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17395 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17396 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17397 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17398 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17399 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17400 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17401 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17402 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17403 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17404 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17405 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17406 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17407 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17408 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17409 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17410 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17411 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17413 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17414 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17415 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
17416 before exiting on error.
17417 (__libc_vfork): New strong alias.
17418 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17419 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17421 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17422 that was previously under [RESET_PID].
17423 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17425 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17427 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17430 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17431 value when x - 1 is zero.
17432 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17433 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17434 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17435 0.0L for an argument of 1.0L.
17436 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17438 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17439 value when x - 1 is zero.
17440 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17441 * sysdeps/i386/fpu/libm-test-ulps: Update.
17442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17444 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
17446 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17447 alphasort and versionsort.
17449 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17451 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17453 [copysignf]: Likewise.
17455 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17457 * crypt/md5-crypt.c: Fix formatting.
17459 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17461 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17462 (b64_from_24bit): New function.
17464 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17466 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17467 libc_hidden_builtin_def to ifunc.
17468 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17469 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17471 2014-05-21 Roland McGrath <roland@hack.frob.com>
17473 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17474 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17476 2014-05-21 Joseph Myers <joseph@codesourcery.com>
17478 * nscd/Depend (linuxthreads): Remove.
17480 * resolv/Depend (linuxthreads): Remove.
17481 * rt/Depend (linuxthreads): Remove.
17483 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17484 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17485 $(common-objpfx)elf/.
17486 (link-libc-before-gnulib): Likewise.
17487 (elfobjdir): Remove variable.
17488 * Makefile (install): Use $(elf-objpfx) instead of
17489 $(common-objpfx)elf/.
17490 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17492 (link-libc-deps): Likewise.
17493 ($(common-objpfx)libc.so): Likewise.
17494 ($(common-objpfx)linkobj/libc.so): Likewise.
17495 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17496 instead of $(common-objpfx)elf/.
17497 (symbolic-link-list): Likewise.
17498 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17499 [$(cross-compiling) = no]: Likewise.
17500 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17502 (static-gnulib-arch): Likewise.
17503 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17504 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17505 $(common-objpfx)elf/.
17507 2014-05-21 Richard Henderson <rth@redhat.com>
17509 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17510 (SINGLE_THREAD_P): Use the correct width load. Fold
17511 into the ldr offset.
17513 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17514 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17516 2014-05-20 Joseph Myers <joseph@codesourcery.com>
17518 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17519 (libgcc_s_resume): Use __attribute_used__.
17520 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17523 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17525 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17526 optimization when used with float constants.
17528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17530 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
17533 * locale/nl_langinfo_l.c: Make direct reference to every
17534 _nl_current_CATEGORY symbol.
17535 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17536 (tests-static): Add tst-langinfo-static.
17537 (tests-special): Add tst-langinfo-static.out.
17538 ($(objpfx)tst-langinfo.out): Redirect output.
17539 ($(objpfx)tst-langinfo-static.out): New.
17540 * localedata/tst-langinfo.sh: Send output to stdout.
17541 * localedata/tst-langinfo-static.c: New file.
17544 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17545 when the shift amount is modulo the limb size.
17547 2014-05-20 Richard Henderson <rth@redhat.com>
17550 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17551 Change type of sa_flags from unsigned int to int.
17554 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17556 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17558 2014-05-20 Will Newton <will.newton@linaro.org>
17560 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17561 Test the return value of the system call in the nocancel case.
17563 2014-05-20 Will Newton <will.newton@linaro.org>
17564 Yvan Roux <yvan.roux@linaro.org>
17566 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17567 #include of asm/ptrace.h.
17568 (PTRACE_GET_THREAD_AREA): Remove #undef.
17569 (PTRACE_GETHBPREGS): Likewise.
17570 (PTRACE_SETHBPREGS): Likewise.
17571 (struct user_regs_struct): New structure.
17572 (struct user_fpsimd_struct): New structure.
17573 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17574 #include of asm/ptrace.h and second #include of sys/user.h.
17575 (PTRACE_GET_THREAD_AREA): Remove #undef.
17576 (PTRACE_GETHBPREGS): Likewise.
17577 (PTRACE_SETHBPREGS): Likewise.
17578 (ELF_NGREG): Use new struct user_regs_struct.
17579 (elf_fpregset_t): Use new struct user_fpsimd_struct.
17581 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17583 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17584 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17586 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17589 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17590 membar to avoid block loads/stores to overlap previous stores.
17592 2014-05-17 Richard Henderson <rth@redhat.com>
17594 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17595 Create the __##syscall_name##_nocancel entry point.
17596 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17597 Remove; let the sysdep-cancel.h code create it.
17599 2014-05-17 David S. Miller <davem@davemloft.net>
17601 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17602 Protect with __USE_GNU.
17603 (TIOCSET_TEMPT): Likewise.
17604 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17605 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17606 these are already provided in bits/ioctl-types.h
17608 2014-05-16 Roland McGrath <roland@hack.frob.com>
17610 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17611 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17613 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17614 Use wait4 regardless of [__NR_waitpid].
17616 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17619 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17620 (_FP_NANSIGN_Q): Set the quiet bit.
17622 2014-05-16 Joseph Myers <joseph@codesourcery.com>
17624 * benchtests/Makefile
17625 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17626 not $(common-objpfx)math/libm.so.
17627 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17628 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17629 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17630 $(common-objpfx)dlfcn/libdl.so.
17631 ($(objpfx)tst-audit8): Depend on $(libm), not
17632 $(common-objpfx)math/libm.so.
17633 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17634 not $(common-objpfx)dlfcn/libdl.so.
17636 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17637 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
17638 [$(build-shared) = yes].
17639 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17640 $(common-objpfx)nptl/libpthread.so.
17641 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17642 $(common-objpfx)math/libm.so$(libm.so-version) or
17643 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17644 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17645 $(common-objpfx)dlfcn/libdl.so.
17646 * setjmp/Makefile (link-libm): Remove variable.
17647 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17648 * stdio-common/Makefile (link-libm): Remove variable.
17649 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17650 * stdlib/Makefile (link-libm): Remove variable.
17651 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17652 ($(objpfx)tst-strtod-round): Likewise.
17653 ($(objpfx)tst-tininess): Likewise.
17654 ($(objpfx)tst-strtod-underflow): Likewise.
17655 ($(objpfx)tst-strtod6): Likewise.
17656 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17657 $(libdl), not $(common-objpfx)nptl/libpthread.so and
17658 $(common-objpfx)dlfcn/libdl.so.
17660 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17662 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17663 BSD terminal modes definitions.
17665 2014-05-16 Roland McGrath <roland@hack.frob.com>
17667 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17668 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17670 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17671 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17672 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17673 Don't do #include_next.
17674 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17675 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17676 Don't do #include_next.
17677 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17678 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17679 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17680 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17682 2014-05-16 Allan McRae <allan@archlinux.org>
17684 * po/sv.po: Update Swedish translation from translation project.
17686 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17689 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
17692 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17693 errno if the TIOCGPTN ioctl fails with an error different than
17695 * login/tst-ptsname.c: New file.
17696 * login/Makefile (tests): Add tst-ptsname.
17699 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17702 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17706 herrno to return EAI_AGAIN.
17708 2014-05-14 Roland McGrath <roland@hack.frob.com>
17710 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17711 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17712 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17713 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17714 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17715 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17716 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17717 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17718 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17719 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17720 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17721 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17722 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17723 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17724 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17725 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17726 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17727 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17728 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17729 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17730 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17731 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17732 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17733 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17734 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17735 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17736 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17737 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17738 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17739 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17741 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17743 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17746 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17748 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17750 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17752 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17754 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17756 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17758 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17760 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17762 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17764 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17766 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17768 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17770 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17772 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17775 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17777 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17779 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17781 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17783 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17785 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17787 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17789 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17791 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17793 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17796 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17798 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17800 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17801 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17802 (libpthread-sysdep_routines): Add elision-related stuff here instead.
17803 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17804 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17805 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17806 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17807 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17808 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17809 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17810 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17811 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17812 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17813 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17814 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17815 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17816 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17817 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17818 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17819 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17820 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17821 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17822 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17823 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17824 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17825 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17826 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17827 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17828 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17829 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17830 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17832 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17833 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17835 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17836 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17837 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17838 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17839 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17840 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17842 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17843 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17845 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17846 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17848 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17849 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17851 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17852 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17853 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17854 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17856 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17857 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17858 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17859 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17860 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17861 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17862 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17863 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17865 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17866 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17868 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17870 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17871 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17872 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17873 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17874 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17876 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17878 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17880 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17881 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17882 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17883 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17884 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17885 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17887 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17888 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17890 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17891 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17893 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17894 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17896 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17897 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17898 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17899 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17901 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17902 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17903 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17904 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17905 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17906 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17907 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17908 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17910 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17911 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17913 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17915 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17916 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17917 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17918 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17919 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17921 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17923 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17925 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17926 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17927 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17928 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17929 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17930 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17931 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17932 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17933 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17934 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17936 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17937 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17939 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17940 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17942 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17943 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17945 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17946 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17947 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17948 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17949 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17950 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17952 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17953 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17954 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17955 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17956 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17957 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17958 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17959 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17961 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17962 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17964 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17966 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17967 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17968 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17969 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17970 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17972 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17974 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17976 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17977 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17978 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17979 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17980 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17981 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17982 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17983 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17984 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17985 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17986 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17988 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17989 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17991 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17992 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17994 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17995 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17996 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17997 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17998 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17999 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18000 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18001 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18002 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18003 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18004 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18005 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18006 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18007 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18008 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18009 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18010 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18011 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18013 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18014 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18015 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18016 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18018 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18019 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18020 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18021 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18022 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18023 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18024 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18025 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18027 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18028 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18030 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18031 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18032 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18033 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18034 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18035 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18036 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18037 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18038 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18039 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18040 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18041 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18042 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18043 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18044 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18045 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18046 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18048 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18049 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18050 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18051 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18052 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18054 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18055 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18056 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18057 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18058 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18059 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18060 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18061 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18062 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18063 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18065 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18066 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18068 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18069 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18070 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18071 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18072 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18073 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18074 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18075 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18076 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18077 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18078 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18079 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18080 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18081 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18082 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18084 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18086 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18088 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18090 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18092 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18094 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18096 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18098 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18100 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18102 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18103 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18104 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18105 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18106 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18107 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18108 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18109 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18110 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18111 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18112 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18113 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18114 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18115 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
18116 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
18118 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18119 that was previously under [RESET_PID].
18120 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18121 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18122 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18124 * sysdeps/i386/nptl/Implies: New file.
18125 * sysdeps/x86_64/nptl/Implies: New file.
18126 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18127 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18128 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18129 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18131 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18132 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18133 (__libc_vfork): New strong alias.
18134 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18135 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18137 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18138 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18139 (__libc_vfork): New strong alias.
18140 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18141 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18143 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18144 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18145 (__libc_vfork): New strong alias.
18146 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18147 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18148 * nptl/pt-vfork.c: New file.
18149 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18150 (libpthread: GLIBC_2.20): New version set (empty).
18152 2014-05-14 Will Newton <will.newton@linaro.org>
18154 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18157 2014-05-14 Joseph Myers <joseph@codesourcery.com>
18160 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18161 arguments with exponent 65 or above.
18162 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18163 arguments 0x1p113L or above.
18164 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18165 to arguments 0x1p107L or above.
18166 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18167 positive arguments with exponent 65 or above.
18168 * math/auto-libm-test-in: Add more tests of log1p.
18169 * math/auto-libm-test-out: Regenerated.
18172 * math/s_cacos.c (__cacos): Ensure zero real part of result from
18173 non-finite arguments is +0.
18174 * math/s_cacosf.c (__cacosf): Likewise.
18175 * math/s_cacosl.c (__cacosl): Likewise.
18176 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18177 * sysdeps/i386/fpu/libm-test-ulps: Update.
18178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18181 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18183 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18184 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18185 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18186 for explicit high bit of mantissa when testing for argument equal
18188 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18189 * sysdeps/i386/fpu/libm-test-ulps: Update.
18190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18193 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18194 (__erf): Scale by 16 instead of 8 in potentially underflowing
18195 case. Ensure exception if result actually underflows.
18196 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18197 (__erff): Scale by 16 instead of 8 in potentially underflowing
18198 case. Ensure exception if result actually underflows.
18199 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18200 (efx8): Remove variable.
18201 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18202 case. Ensure exception if result actually underflows.
18203 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18204 (efx8): Remove variable.
18205 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18206 case. Ensure exception if result actually underflows.
18207 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18208 (efx8): Remove variable.
18209 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18210 case. Ensure exception if result actually underflows.
18211 * math/auto-libm-test-in: Add more tests of erf.
18212 * math/auto-libm-test-out: Regenerated.
18214 2014-05-14 Andreas Schwab <schwab@suse.de>
18216 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18217 Remove code conditionalized on USE___THREAD.
18219 * config.h.in (HAVE_PT_CHOWN): Define as 0.
18220 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18223 2014-05-14 Joseph Myers <joseph@codesourcery.com>
18225 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18226 Define unconditionally.
18227 (__ASSUME_O_CLOEXEC): Likewise.
18228 (__ASSUME_SOCK_CLOEXEC): Likewise.
18229 (__ASSUME_IN_NONBLOCK): Likewise.
18230 (__ASSUME_PIPE2): Likewise.
18231 (__ASSUME_EVENTFD2): Likewise.
18232 (__ASSUME_SIGNALFD4): Likewise.
18233 (__ASSUME_DUP3): Likewise.
18234 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18235 (__ASSUME_DUP3): Do not define.
18236 (__ASSUME_EVENTFD2): Likewise.
18237 (__ASSUME_IN_NONBLOCK): Likewise.
18238 (__ASSUME_O_CLOEXEC): Likewise.
18239 (__ASSUME_PIPE2): Likewise.
18240 (__ASSUME_SIGNALFD4): Likewise.
18241 (__ASSUME_SOCK_CLOEXEC): Likewise.
18242 (__ASSUME_UTIMES): Undefine.
18243 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18244 (__ASSUME_UTIMES): Do not define.
18245 (__ASSUME_O_CLOEXEC): Likewise.
18246 (__ASSUME_SOCK_CLOEXEC): Likewise.
18247 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18248 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18250 (__ASSUME_PIPE2): Likewise.
18251 (__ASSUME_EVENTFD2): Likewise.
18252 (__ASSUME_SIGNALFD4): Likewise.
18253 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18254 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18256 (__ASSUME_EVENTFD2): Likewise.
18257 (__ASSUME_SIGNALFD4): Likewise.
18258 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18259 (__ASSUME_32BITUIDS): Likewise.
18260 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18261 (__ASSUME_IPC64): Likewise.
18262 (__ASSUME_ST_INO_64_BIT): Likewise.
18263 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18264 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18265 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18266 (__ASSUME_UTIMES): Do not define.
18267 (__ASSUME_PSELECT): Likewise.
18268 (__ASSUME_PPOLL): Likewise.
18269 (__ASSUME_O_CLOEXEC): Likewise.
18270 (__ASSUME_SOCK_CLOEXEC): Likewise.
18271 (__ASSUME_IN_NONBLOCK): Likewise.
18272 (__ASSUME_PIPE2): Likewise.
18273 (__ASSUME_EVENTFD2): Likewise.
18274 (__ASSUME_SIGNALFD4): Likewise.
18275 (__ASSUME_DUP3): Likewise.
18276 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18277 (__ASSUME_UTIMES): Likewise.
18278 (__ASSUME_O_CLOEXEC): Likewise.
18279 (__ASSUME_SOCK_CLOEXEC): Likewise.
18280 (__ASSUME_IN_NONBLOCK): Likewise.
18281 (__ASSUME_PIPE2): Likewise.
18282 (__ASSUME_EVENTFD2): Likewise.
18283 (__ASSUME_SIGNALFD4): Likewise.
18284 (__ASSUME_DUP3): Likewise.
18285 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18286 (__ASSUME_UTIMES): Likewise.
18287 (__ASSUME_O_CLOEXEC): Likewise.
18288 (__ASSUME_SOCK_CLOEXEC): Likewise.
18289 (__ASSUME_IN_NONBLOCK): Likewise.
18290 (__ASSUME_PIPE2): Likewise.
18291 (__ASSUME_EVENTFD2): Likewise.
18292 (__ASSUME_SIGNALFD4): Likewise.
18293 (__ASSUME_DUP3): Likewise.
18294 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18296 (__ASSUME_UTIMES): Likewise.
18297 (__ASSUME_EVENTFD2): Likewise.
18298 (__ASSUME_SIGNALFD4): Likewise.
18299 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18300 (__ASSUME_O_CLOEXEC): Likewise.
18301 (__ASSUME_SOCK_CLOEXEC): Likewise.
18302 (__ASSUME_IN_NONBLOCK): Likewise.
18303 (__ASSUME_PIPE2): Likewise.
18304 (__ASSUME_EVENTFD2): Likewise.
18305 (__ASSUME_SIGNALFD4): Likewise.
18306 (__ASSUME_DUP3): Likewise.
18307 (__ASSUME_UTIMES): Undefine.
18309 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18310 feclearexcept. Remove symbol versioning code.
18311 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
18312 symbol versioning code.
18313 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
18314 symbol versioning code.
18315 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18316 feupdateenv. Remove symbol versioning code.
18317 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18318 fegetexceptflag. Remove symbol versioning code.
18319 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18320 fesetexceptflag. Remove symbol versioning code.
18321 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18322 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
18323 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18324 (__posix_fadvise64_l32): Remove prototype.
18325 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18328 2014-05-13 Roland McGrath <roland@hack.frob.com>
18330 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18331 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18332 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18333 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18335 2014-05-13 Sami Kerola <kerolasa@iki.fi>
18337 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18338 current working directory
18340 2014-05-13 Roland McGrath <roland@hack.frob.com>
18342 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18343 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18344 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18345 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18346 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18347 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18348 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18349 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18350 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18351 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18352 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18353 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18354 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18355 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18356 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18357 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18358 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18359 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18360 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18361 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18362 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18363 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18364 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18365 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18366 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18367 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18368 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18369 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18370 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18371 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18372 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18373 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18374 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18375 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18376 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18377 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18378 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18379 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18380 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18381 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18382 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18383 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18385 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18386 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18388 * sysdeps/unix/sysv/linux/arm/Makefile
18389 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18390 Add rt-aeabi_unwind_cpp_pr1.
18391 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18392 Add nptl-aeabi_unwind_cpp_pr1.
18393 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18394 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18395 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18396 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18397 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18398 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18400 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18401 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18402 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18403 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18405 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18406 Deconditionalize the code that was previously under [RESET_PID].
18407 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18409 * sysdeps/generic/exit-thread.h: New file.
18410 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18411 * include/unistd.h (__exit_thread): Remove declaration.
18412 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18413 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18414 * csu/libc-start.c: Include <exit-thread.h>.
18415 (LIBC_START_MAIN): Pass no argument to __exit_thread.
18416 * nptl/pthread_create.c: Include <exit-thread.h>.
18417 (start_thread): Call __exit_thread in place of __exit_thread_inline.
18418 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18419 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18420 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18421 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18422 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18423 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18424 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18425 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18426 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18427 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18428 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18429 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18430 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18431 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18432 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18433 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18435 2014-05-13 Andreas Schwab <schwab@suse.de>
18437 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18439 2014-05-12 Joseph Myers <joseph@codesourcery.com>
18441 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18442 (__ASSUME_UTIMES): Do not condition on kernel version.
18443 (__ASSUME_PSELECT): Define unconditionally.
18444 (__ASSUME_PPOLL): Likewise.
18445 (__ASSUME_ATFCTS): Likewise.
18446 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18447 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18448 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18449 (__ASSUME_UTIMENSAT): Define unconditionally.
18450 (__ASSUME_PRIVATE_FUTEX): Likewise.
18451 (__ASSUME_FALLOCATE): Likewise.
18452 (__ASSUME_O_CLOEXEC): Likewise.
18453 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18454 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18455 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18456 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18457 (__ASSUME_IN_NONBLOCK): Likewise.
18458 (__ASSUME_PIPE2): Likewise.
18459 (__ASSUME_EVENTFD2): Likewise.
18460 (__ASSUME_SIGNALFD4): Likewise.
18461 (__ASSUME_DUP3): Likewise.
18462 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18463 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18464 (__ASSUME_AT_RANDOM): Likewise.
18465 (__ASSUME_PREADV): Likewise.
18466 (__ASSUME_PWRITEV): Likewise.
18467 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18468 (__ASSUME_F_GETOWN_EX): Define unconditionally.
18469 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18470 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18471 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18472 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18473 (__ASSUME_O_CLOEXEC): Define unconditionally.
18474 (__ASSUME_PSELECT): Do not undefine conditionally.
18475 (__ASSUME_PPOLL): Likewise.
18476 (__ASSUME_ATFCTS): Likewise.
18477 (__ASSUME_SET_ROBUST_LIST): Likewise.
18478 (__ASSUME_UTIMENSAT): Likewise.
18479 (__ASSUME_FDATASYNC): Define unconditionally.
18480 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18481 (__ASSUME_SIGFRAME_V2): Likewise.
18482 )__ASSUME_EVENTFD2): Likewise.
18483 (__ASSUME_SIGNALFD4): Likewise.
18484 (__ASSUME_PSELECT): Do not undefine conditionally.
18485 (__ASSUME_PPOLL): Likewise.
18486 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18487 (__ASSUME_PSELECT): Define unconditionally.
18488 (__ASSUME_PPOLL): Likewise.
18489 (__ASSUME_O_CLOEXEC): Likewise.
18490 (__ASSUME_SOCK_CLOEXEC): Likewise.
18491 (__ASSUME_IN_NONBLOCK): Likewise.
18492 (__ASSUME_PIPE2): Likewise.
18493 (__ASSUME_EVENTFD2): Likewise.
18494 (__ASSUME_SIGNALFD4): Likewise.
18495 (__ASSUME_DUP3): Likewise.
18496 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18497 (__ASSUME_O_CLOEXEC): Likewise.
18498 (__ASSUME_SOCK_CLOEXEC): Likewise.
18499 (__ASSUME_IN_NONBLOCK): Likewise.
18500 (__ASSUME_PIPE2): Likewise.
18501 (__ASSUME_EVENTFD2): Likewise.
18502 (__ASSUME_SIGNALFD4): Likewise.
18503 (__ASSUME_DUP3): Likewise.
18504 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18505 (__ASSUME_EVENTFD2): Likewise.
18506 (__ASSUME_SIGNALFD4): Likewise.
18507 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18509 2014-05-12 Andreas Schwab <schwab@suse.de>
18512 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18513 (_nss_nis_gethostbyname4_r): Return error if item length is larger
18514 than maximum RPC packet size.
18515 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18516 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18517 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18518 (_nss_nis_getservbyport_r): Likewise.
18520 2014-05-12 Will Newton <will.newton@linaro.org>
18522 * malloc/Makefile (tests): Add tst-mallopt.
18523 * malloc/tst-mallopt.c: New file.
18525 2014-05-09 Roland McGrath <roland@hack.frob.com>
18527 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18528 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18530 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18532 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18533 (tst-tlsmod6.so): Likewise.
18535 2014-05-09 Roland McGrath <roland@hack.frob.com>
18537 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18539 2014-05-09 Joseph Myers <joseph@codesourcery.com>
18542 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18543 and <dl-procinfo.h>.
18544 (__fegetenv): Save SSE state in envp->__eip if supported.
18545 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18546 envp->__eip if supported.
18547 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18548 and <dl-procinfo.h>.
18549 (__fesetenv): Always set __eip, __cs_selector, __opcode,
18550 __data_offset and __data_selector in environment to 0. Set SSE
18551 state if supported.
18552 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18554 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18556 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18558 2014-05-09 Will Newton <will.newton@linaro.org>
18560 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18561 and libc_relro_required for ARM.
18562 * sysdeps/arm/preconfigure: Regenerate.
18564 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
18565 Stefan Liebler <stli@linux.vnet.ibm.com>
18567 * config.make.in (enable-lock-elision): New Makefile variable.
18568 * configure.ac: Likewise.
18569 * configure: Regenerate.
18570 * sysdeps/s390/configure.ac:
18571 Add check for gcc transactions support.
18572 * sysdeps/s390/configure: Regenerate.
18573 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18574 Build elision files if enabled.
18575 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18576 Add lock elision support for s390.
18577 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18578 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18579 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18580 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18581 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18582 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18583 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18585 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18587 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18589 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18591 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18592 (__lll_timedlock_elision, __lll_lock_elision)
18593 (__lll_unlock_elision, __lll_trylock_elision)
18594 (lll_timedlock_elision, lll_lock_elision)
18595 (lll_unlock_elision, lll_trylock_elision): Add.
18596 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18597 (pthread_mutex_t): Add lock elision support for s390.
18599 2014-05-14 Wilco <wdijkstr@arm.com>
18601 * sysdeps/arm/fclrexcpt.c: Cleanup.
18602 * sysdeps/arm/fedisblxcpt.c: Cleanup.
18603 * sysdeps/arm/feenablxcpt.c: Cleanup.
18604 * sysdeps/arm/fegetenv.c: Cleanup.
18605 * sysdeps/arm/fegetexcept.c: Cleanup.
18606 * sysdeps/arm/fegetround.c: Cleanup.
18607 * sysdeps/arm/feholdexcpt.c: Cleanup.
18608 * sysdeps/arm/fesetenv.c: Cleanup.
18609 * sysdeps/arm/fesetround.c: Cleanup.
18610 * sysdeps/arm/feupdateenv.c: Cleanup.
18611 * sysdeps/arm/fgetexcptflg.c: Cleanup.
18612 * sysdeps/arm/fraiseexcpt.c: Cleanup.
18613 * sysdeps/arm/fsetexcptflg.c: Cleanup.
18614 * sysdeps/arm/ftestexcept.c: Cleanup.
18615 * sysdeps/arm/get-rounding-mode.h: Cleanup.
18616 * sysdeps/arm/setfpucw.c: Cleanup.
18618 2014-05-09 Will Newton <will.newton@linaro.org>
18620 * sysdeps/arm/armv7/strcmp.S: New file.
18621 * NEWS: Mention addition of ARMv7 optimized strcmp.
18623 2014-05-08 Roland McGrath <roland@hack.frob.com>
18625 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18626 look for %.ac rather than %.in.
18628 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18629 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18630 * sysdeps/mach/hurd/configure: Regenerated.
18631 * sysdeps/unix/sysv/linux/configure: Regenerated.
18633 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18635 2014-05-07 Steve Ellcey <sellcey@mips.com>
18638 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18642 2014-05-07 Andreas Schwab <schwab@suse.de>
18644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18645 when skipping over non-matching result from nscd.
18647 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
18650 * nptl/sockperf.c (client): Check socket return value.
18653 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18654 nscd security class.
18656 2014-05-06 Roland McGrath <roland@hack.frob.com>
18658 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18659 * sysdeps/arm/unwind.h: ... here.
18661 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
18664 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18667 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18669 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18670 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18671 multiarch strncpy for PPC64.
18672 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18673 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18675 multiarch optimizations.
18676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18677 (__libc_ifunc_impl_list): Likewise.
18678 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18679 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18680 multiarch stpncpy for PPC64.
18681 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18682 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18684 2014-05-06 Andreas Schwab <schwab@suse.de>
18687 * gmon/mcount.c (_MCOUNT_DECL): Use
18688 atomic_compare_and_exchange_bool_acq instead of
18689 catomic_compare_and_exchange_bool_acq.
18691 2014-05-05 Roland McGrath <roland@hack.frob.com>
18693 * elf/Makefile (others, install-bin): Remove pldd.
18694 (pldd-modules): Variable removed.
18695 ($(objpfx)pldd): Target removed.
18696 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18697 (others, install-bin): Append pldd here.
18698 ($(objpfx)pldd): New target.
18700 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18701 to 0, so the first #if test emitted later doesn't see it undefined.
18702 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18703 * sysdeps/gnu/errlist.c: Regenerated.
18705 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18707 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18708 [libc_hidden_builtin_def]: Define to empty value.
18709 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18710 [libc_hidden_builtin_def]: Likewise.
18711 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18712 [libc_hidden_builtin_def]: Likewise.
18713 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18714 [libc_hidden_builtin_def]: Likewise.
18715 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18716 __redirect_memcpy and define ifunc as default hidden symbol.
18717 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18718 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18720 2014-05-04 Adam Conrad <adconrad@0c3.net>
18722 * locale/iso-4217.def: Reintroduce XDR currency.
18724 2014-05-04 Allan McRae <allan@archlinux.org>
18726 * po/eo.po: Update Esperanto translation from translation project.
18728 2014-05-02 Carlos O'Donell <carlos@redhat.com>
18730 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18731 and FEATURE_INDEX_MAX to 1.
18732 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18734 2014-05-01 Steve Ellcey <sellcey@mips.com>
18736 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18737 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18738 * iconvdata/big5.c (ONE_DIRECTION): Define.
18739 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18740 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18741 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18742 * iconvdata/cp932.c (ONE_DIRECTION): Define.
18743 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18744 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18745 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18746 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18747 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18748 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18749 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18750 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18751 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18752 * iconvdata/gbk.c (ONE_DIRECTION): Define.
18753 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18754 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18755 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18756 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18757 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18758 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18759 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18760 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18761 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18762 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18763 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18764 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18765 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18766 * iconvdata/iso646.c (ONE_DIRECTION): Define.
18767 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18768 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18769 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18770 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18771 * iconvdata/johab.c (ONE_DIRECTION): Define.
18772 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18773 * iconvdata/sjis.c (ONE_DIRECTION): Define.
18774 * iconvdata/t.61.c (ONE_DIRECTION): Define.
18775 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18776 * iconvdata/tscii.c (ONE_DIRECTION): Define.
18777 * iconvdata/uhc.c (ONE_DIRECTION): Define.
18778 * iconvdata/unicode.c (ONE_DIRECTION): Define.
18779 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18780 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18781 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18783 2014-05-01 Roland McGrath <roland@hack.frob.com>
18785 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18786 (_IO_JUMPS_OFFSET): Define to 0.
18788 * nptl/sysdeps/pthread/bits/libc-lock.h
18789 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18790 (__libc_lock_define_initialized_recursive): Always define using
18791 initializer. Modern compilers treat uninitialized (implicit zero) and
18792 explicit zero initializers the same (i.e. put the datum in bss).
18794 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18796 * nscd/nscd-client.h: Include <string.h>.
18798 2014-05-01 David S. Miller <davem@davemloft.net>
18801 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18802 multiple zero bytes exist at the end of a string.
18803 Reported by Aurelien Jarno <aurelien@aurel32.net>
18805 * string/test-strcmp.c (check): Add explicit test for situations where
18806 there are multiple zero bytes after the first.
18808 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18811 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18812 when compiling wprintf.
18813 * stdio-common/tstdiomisc.c (t3): New function.
18816 2014-05-01 Steve Ellcey <sellcey@mips.com>
18818 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18819 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18820 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18821 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18823 2014-05-01 Steve Ellcey <sellcey@mips.com>
18825 * stdlib/longlong.h: Updated from GCC.
18827 2014-05-01 Will Newton <will.newton@linaro.org>
18828 Bernard Ogden <bernie.ogden@linaro.org>
18830 * NEWS: Update fixed bug list.
18833 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18835 2014-04-30 David S. Miller <davem@davemloft.net>
18837 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18838 (libc_feholdexcept_setround_sparc_ctx): New function.
18839 (libc_fesetenv_sparc_ctx): Likewise.
18840 (libc_feupdateenv_sparc_ctx): Likewise.
18841 (libc_feholdsetround_sparc_ctx): Likewise.
18842 (libc_feholdexcept_setround_ctx): Define.
18843 (libc_feholdexcept_setroundf_ctx): Likewise.
18844 (libc_feholdexcept_setroundl_ctx): Likewise.
18845 (libc_fesetenv_ctx): Likewise.
18846 (libc_fesetenvf_ctx): Likewise.
18847 (libc_fesetenvl_ctx): Likewise.
18848 (libc_feupdateenv_ctx): Likewise.
18849 (libc_feupdateenvf_ctx): Likewise.
18850 (libc_feupdateenvl_ctx): Likewise.
18851 (libc_feresetround_ctx): Likewise.
18852 (libc_feresetroundf_ctx): Likewise.
18853 (libc_feresetroundl_ctx): Likewise.
18854 (libc_feholdsetround_ctx): Likewise.
18855 (libc_feholdsetroundf_ctx): Likewise.
18856 (libc_feholdsetroundl_ctx): Likewise.
18858 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18859 with __USE_GNU instead of XOPEN cpp guards.
18861 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18864 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18865 with XOPEN cpp guards.
18867 2014-04-30 Julian Brown <julian@codesourcery.com>
18870 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18873 2014-04-30 Joseph Myers <joseph@codesourcery.com>
18876 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18878 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18879 * sysdeps/unix/sysv/linux/configure: Regenerated.
18880 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18881 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18882 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18883 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18884 * README: Update reference to required Linux kernel version.
18885 * manual/install.texi (Linux): Update reference to required Linux
18886 kernel headers version.
18887 * INSTALL: Regenerated.
18889 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18891 [POSIX] (limits.h): Likewise.
18892 [POSIX] (math.h): Likewise.
18893 [POSIX] (sys/wait.h): Likewise.
18894 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18896 [POSIX] (stddef.h): Do not allow header inclusion.
18898 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18900 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18902 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
18904 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18905 Return immediately after lll_futex_wake.
18907 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18910 * nscd/nscd-client.h (datahead_init_common): Initialize entire
18912 (datahead_init_pos): Call datahead_init_common early.
18913 (datahead_init_neg): Likewise.
18915 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18916 datahead_init_neg): New functions.
18917 * nscd/aicache.c (addhstaiX): Use them.
18918 * nscd/grpcache.c (cache_addgr): Likewise.
18919 * nscd/hstcache.c (cache_addhst): Likewise.
18920 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18921 * nscd/netgroupcache.c (do_notfound): Likewise.
18922 (addgetnetgrentX): Likewise.
18923 (addinnetgrX): Likewise.
18924 * nscd/pwdcache.c (cache_addpw): Likewise.
18925 * nscd/servicescache.c (cache_addserv): Likewise.
18927 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18928 Atsushi Onoe <atsushi@onoe.org>
18933 * resolv/res_query.c (__libc_res_nsearch): Return if at least
18934 one response is valid.
18935 * resolv/res_send.c (send_dg): Check for validity of other
18936 response if the current response is a referral.
18938 2014-04-29 Steve Ellcey <sellcey@mips.com>
18940 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18942 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
18945 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18946 Always divide by positive zero when computing -Inf result.
18947 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18948 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18950 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18952 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18953 FPSCR if value do not change.
18954 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18955 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18956 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18957 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18958 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18959 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18962 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
18964 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18965 * sysdeps/unix/sysv/linux/hppa: Move directory from
18966 ports/systeps/unix/sysv/linux/hppa.
18967 * README: Update listing for hppa-*-linux-gnu.
18969 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
18972 * manual/stdio.texi (Hook functions): Fix types of stream hook
18975 * socket/sys/socket.h: Fix typo in comment.
18977 2014-04-28 Wilco <wdijkstr@arm.com>
18979 * sysdeps/arm/fenv_private.h: New file.
18980 * sysdeps/arm/math_private.h: New file.
18981 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18983 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
18985 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18987 (La_x86_64_retval): Likewise.
18989 2014-04-24 Ian Bolton <ian.bolton@arm.com>
18991 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18992 fpsr if value didn't change.
18993 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18994 to fpcr if value didn't change.
18995 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18996 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18997 fpsr or fpcr if value didn't change.
18998 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18999 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19000 fpcr if value didn't change.
19001 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19002 to fpsr if value didn't change.
19004 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19006 * nptl/tst-sem3.c: Use test-skeleton.c
19007 (main): Rename to do_test. Use return instead of
19009 * nptl/tst-sem4.c: Use test-skeleton.c
19010 (main): Rename to do_test.
19012 2014-04-22 David S. Miller <davem@davemloft.net>
19014 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19015 (struct sigaction): New struct member __glibc_reserved0, change
19016 type of sa_flags to int.
19018 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
19020 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19021 (COUNT_LEADING_ZEROS_0): Define for AArch64.
19023 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19025 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19026 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19028 2014-04-22 Will Newton <will.newton@linaro.org>
19029 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
19031 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19032 (__longjmp): Add longjmp and longjmp_target SystemTap
19034 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19035 (__sigsetjmp): Add setjmp SystemTap probe.
19037 2014-04-17 Carlos O'Donell <carlos@redhat.com>
19039 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19040 match manual order.
19042 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19044 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19046 * sysdeps/powerpc/fpu/fenv_private.h
19047 (libc_feholdexcept_setroundl_ctx): Define to
19048 libc_feholdexcept_setround_ppc_ctx.
19049 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19050 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19051 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19052 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19054 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19056 * sysdeps/aarch64/math-tests.h: New file.
19058 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
19060 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19063 Check and set bit_AVX2_Usable.
19064 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19066 (bit_AVX2): Likewise.
19067 (index_AVX2_Usable): Likewise.
19068 (CPUID_AVX2): Likewise.
19069 (HAS_AVX2): Likewise.
19071 2014-04-17 Will Newton <will.newton@linaro.org>
19073 * manual/setjmp.texi (System V contexts): Add note that
19074 calling setcontext on a context created by a call to a
19075 signal handler is undefined. Update text to note that
19076 setcontext from a signal handler is possible but not
19080 * stdlib/tst-setcontext.c: Include signal.h.
19081 (main): Check that the signal stack before and
19082 after swapcontext is the same.
19084 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19085 Re-implement to restore registers in user code and avoid
19086 rt_sigreturn system call.
19088 2014-04-17 Wilco <wdijkstr@arm.com>
19090 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19091 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19092 * math/test-fenv.c: Skip exception trap tests on targets which only
19093 support non-stop mode.
19095 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19096 Wilco Dijkstra <wilco.dijkstra@arm.com>
19098 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19099 (libc_feholdsetround_aarch64_ctx)
19100 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19101 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19102 (libc_feresetround_ctx, libc_feresetroundf_ctx)
19103 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19104 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19105 (libc_feresetround_noexl_ctx): Define.
19107 2014-04-16 Richard Henderson <rth@redhat.com>
19109 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19111 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19114 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19115 const from the non-libc, non-ldso copy.
19117 * sysdeps/alpha/libm-test-ulps: Regenerate.
19119 2014-04-16 Ian Bolton <ian.bolton@arm.com>
19120 Wilco Dijkstra <wilco.dijkstra@arm.com>
19122 * sysdeps/aarch64/fpu/math_private.h: New file.
19124 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
19126 * sysdeps/aarch64/libm-test-ulps: Regenerate.
19128 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
19131 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19132 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19133 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19134 Intel MPX bound registers before _dl_profile_fixup.
19135 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19136 registers after _dl_profile_fixup. Save and restore bound
19137 registers bnd0/bnd1 when calling _dl_call_pltexit.
19138 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19139 (LR_BND_OFFSET): Likewise.
19140 (LRV_BND0_OFFSET): Likewise.
19141 (LRV_BND1_OFFSET): Likewise.
19143 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19145 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19147 * sysdeps/mach/hurd/i386/tls.h: ... here.
19148 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19149 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19152 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19154 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19156 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19158 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19160 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19163 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19164 * sysdeps/s390/configure: Regenerate.
19167 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19168 Set round-to-nearest internally to reduce error accumulation.
19170 2014-04-16 Alan Modra <amodra@gmail.com>
19174 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19175 * math/libm-test.inc (frexp_test_data): Add tests.
19176 * NEWS: Update fixed bug list.
19178 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19180 * benchtests/Makefile: Depend on libraries in build directory.
19181 (bench-math): Separate out math tests.
19182 (bench-pthread): Separate out pthread tests.
19183 (bench): Include math and pthread tests.
19185 2014-04-14 Carlos O'Donell <carlos@redhat.com>
19188 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19189 _dl_debug_initialize.
19191 * configure.ac: Remove SELinux header check.
19192 * configure: Regenerate.
19193 * nscd/selinux.c (perms): Array of const char* to permission names.
19194 (nscd_request_avc_has_perm): Call security_deny_unknown to find
19195 default policy. Call string_to_security_class and string_to_av_perm to
19196 translate strings. Enforce default policy and call avs_has_perm with
19197 results of translated strings.
19199 2014-04-13 David S. Miller <davem@davemloft.net>
19201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19203 2014-04-12 Allan McRae <allan@archlinux.org>
19206 * manual/string.texi (Collation Functions): Fix qsort argument
19208 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19210 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
19212 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19213 Make the test a no-op if there are no exceptions defined.
19215 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19217 * elf/Makefile (tests): make tst-dlopen-aout conditional on
19218 enable-hardcoded-path-in-tests
19220 2014-04-11 Will Newton <will.newton@linaro.org>
19222 * benchtests/Makefile (extra-objs): Add json-lib.o.
19223 (bench-func): Tidy up JSON output.
19224 * benchtests/bench-skeleton.c: Include json-lib.h.
19225 (main): Use JSON library functions to do output of
19227 * benchtests/bench-timing-type.c (main): Output the
19228 timing type simply, leaving formatting to the user.
19229 * benchtests/json-lib.c: New file.
19230 * benchtests/json-lib.h: Likewise.
19232 2014-04-11 Torvald Riegel <triegel@redhat.com>
19235 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19236 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
19237 memory barriers. Add comments.
19238 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19239 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19240 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19241 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19242 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19243 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19245 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19247 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19248 * sysdeps/s390/s390-64/configure.ac: ... this ...
19249 * sysdeps/s390/configure.ac: ... to here.
19250 * sysdeps/s390/s390-32/configure: Delete file.
19251 * sysdeps/s390/s390-64/configure: Delete file.
19252 * sysdeps/s390/configure: Regenerate.
19254 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
19256 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19258 2014-04-11 Will Newton <will.newton@linaro.org>
19260 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19261 to zero if it is not defined elsewhere. (mtrim): Test
19262 the value of MALLOC_DEBUG with #if rather than #ifdef.
19264 2014-04-10 Torvald Riegel <triegel@redhat.com>
19266 * benchtests/pthread_once-inputs: New file.
19267 * benchtests/pthread_once-source.c: New file.
19268 * benchtests/README: Update documentation.
19270 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
19271 H.J. Lu <hongjiu.lu@intel.com>
19274 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19275 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19276 * sysdeps/x86_64/configure: Regenerated.
19277 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19279 (REGISTER_SAVE_RAX): Likewise.
19280 (REGISTER_SAVE_RCX): Likewise.
19281 (REGISTER_SAVE_RDX): Likewise.
19282 (REGISTER_SAVE_RSI): Likewise.
19283 (REGISTER_SAVE_RDI): Likewise.
19284 (REGISTER_SAVE_R8): Likewise.
19285 (REGISTER_SAVE_R9): Likewise.
19286 (REGISTER_SAVE_BND0): Likewise.
19287 (REGISTER_SAVE_BND1): Likewise.
19288 (REGISTER_SAVE_BND2): Likewise.
19289 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
19290 bound registers when calling _dl_fixup.
19292 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19294 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19295 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19297 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19298 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19299 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19300 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19301 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19302 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19303 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19305 2014-04-09 Peter Brett <peter@peter-b.co.uk>
19308 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19309 pathconf(_PC_NAME_MAX).
19311 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19313 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19314 Remove macro usage.
19315 (__PTHREAD_SPINS): Move definition to ...
19316 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19317 (__PTHREAD_SPINS): ... here.
19318 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19319 (__PTHREAD_SPIN): Likewise.
19320 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19321 (__PTHREAD_SPIN): Likewise.
19322 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19323 (__PTHREAD_SPIN): Likewise.
19324 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19325 (__PTHREAD_SPIN): Likewise.
19326 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19327 (__PTHREAD_SPIN): Likewise.
19328 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19329 (__PTHREAD_SPIN): Likewise.
19330 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19331 (__PTHREAD_SPIN): Likewise.
19332 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19333 (__PTHREAD_SPIN): Likewise.
19334 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19335 (__PTHREAD_SPIN): Likewise.
19336 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19337 (__PTHREAD_SPIN): Likewise.
19338 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19339 (__PTHREAD_SPIN): Likewise.
19340 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19341 (__PTHREAD_SPIN): Likewise.
19343 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19344 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19345 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19346 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19348 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19349 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19350 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19351 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19352 correct imply path.
19353 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19354 strlen symbol for non multi-arch builds.
19355 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19356 missing hidden_def and weak_alias.
19358 2014-04-08 Carlos O'Donell <carlos@redhat.com>
19360 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19362 2014-04-07 Will Newton <will.newton@linaro.org>
19364 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19365 and contents. [!_LIBC] Remove #ifndef and contents.
19366 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
19367 * string/memccpy.c (__memccpy): Use ANSI prototype.
19368 * string/memfrob.c (memfrob): Likewise.
19369 * string/strcoll.c (STRCOLL): Likewise.
19370 * string/strlen.c (strlen): Likewise.
19371 * string/strtok.c (STRTOK): Likewise.
19372 * string/strcat.c: Remove unused #include of memcopy.h.
19373 (strcat): Use ANSI prototype.
19374 * string/strchr.c: Remove unused #include of memcopy.h.
19375 (strchr): Use ANSI prototype.
19376 * string/strcmp.c: Remove unused #include of memcopy.h.
19377 (strcmp): Use ANSI prototype.
19378 * string/strcpy.c: Remove unused #include of memcopy.h.
19379 (strcpy): Use ANSI prototype.
19381 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19383 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19384 * config.make.in (config-extra-cppflags): Set it from
19385 libc_extra_cppflags.
19386 * configure.ac (libc_extra_cflags): Make it accumulate over
19387 configure fragments.
19388 (libc_extra_cppflags): New flag.
19389 * configure. Regenerate.
19390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19391 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19392 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19396 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19397 result for FE_DOWNWARD rounding mode.
19398 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19402 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
19404 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19405 in function argument name.
19407 2014-04-03 David Svoboda <svoboda@cert.org>
19410 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19413 2014-04-03 Roland McGrath <roland@hack.frob.com>
19415 * elf/dl-unmap-segments.h: New file.
19416 * sysdeps/generic/ldsodefs.h
19417 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19418 * elf/dl-close.c: Include <dl-unmap-segments.h>.
19419 * elf/dl-fptr.c: Likewise.
19420 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19421 * sysdeps/aarch64/tlsdesc.c: Likewise.
19422 * sysdeps/arm/tlsdesc.c: Likewise.
19423 * sysdeps/i386/tlsdesc.c: Likewise.
19424 * sysdeps/tile/dl-runtime.c: Likewise.
19425 * sysdeps/x86_64/tlsdesc.c: Likewise.
19426 * elf/dl-load.h: New file.
19427 * elf/dl-load.c: Include it.
19428 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19429 Macros moved to dl-load.h.
19430 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19431 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19432 Use _dl_unmap_segments in place of __munmap.
19433 Break out segment-mapping loop into ...
19434 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19436 2014-04-03 Will Newton <will.newton@linaro.org>
19438 * elf/dl-lookup.c (do_lookup_x): Remove comment
19439 referring to nested function and move variable
19440 declarations down to before first use.
19442 2014-04-02 Joseph Myers <joseph@codesourcery.com>
19446 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19448 * math/s_catanf.c (__catanf): Likewise.
19449 * math/s_catanh.c (__catanh): Likewise.
19450 * math/s_catanhf.c (__catanhf): Likewise.
19451 * math/s_catanhl.c (__catanhl): Likewise.
19452 * math/s_catanl.c (__catanl): Likewise.
19453 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19454 by positive zero when computing -Inf result.
19455 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19456 (catanh_test): Likewise.
19457 * sysdeps/i386/fpu/libm-test-ulps: Update.
19458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19461 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19462 instead of using underflowing value in computing result.
19463 * math/s_clog10.c (__clog10): Likewise.
19464 * math/s_clog10f.c (__clog10f): Likewise.
19465 * math/s_clog10l.c (__clog10l): Likewise.
19466 * math/s_clogf.c (__clogf): Likewise.
19467 * math/s_clogl.c (__clogl): Likewise.
19468 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19469 (clog10_test): Likewise.
19470 * sysdeps/i386/fpu/libm-test-ulps: Update.
19471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19473 2014-04-02 Alan Modra <amodra@gmail.com>
19476 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19477 output when value is near a power of two. Use int64_t for lx and
19478 remove casts. Use decimal rather than hex exponent constants.
19479 Don't use long double multiplication when double will suffice.
19480 * math/libm-test.inc (nextafter_test_data): Add tests.
19481 * NEWS: Add 16739 and 16786 to bug list.
19483 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19485 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19487 2014-04-01 Will Newton <will.newton@linaro.org>
19489 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19490 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
19492 2014-04-01 Florian Weimer <fweimer@redhat.com>
19495 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19496 * nptl/tst-setuid2.c: New file.
19497 * nptl/Makefile (xtests): Add tst-setuid2.
19499 2014-04-01 Alan Modra <amodra@gmail.com>
19502 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19504 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19508 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19509 set errno as appropriate.
19510 * math/w_scalbf.c (__scalbf): Likewise.
19511 * math/w_scalbl.c (__scalbl): Likewise.
19512 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19513 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19514 * math/libm-test.inc (scalb_test_data): Add errno expectations.
19515 Add more NaN tests.
19518 * math/w_atan2.c: Include <errno.h>.
19519 (__atan2): Set errno for result underflowing to zero.
19520 * math/w_atan2f.c: Include <errno.h>.
19521 (__atan2f): Set errno for result underflowing to zero.
19522 * math/w_atan2l.c: Include <errno.h>.
19523 (__atan2l): Set errno for result underflowing to zero.
19524 * math/auto-libm-test-in: Don't allow missing errno for some atan2
19526 * math/auto-libm-test-out: Regenerated.
19528 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19530 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19531 Encode instruction correctly in little endian.
19532 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19534 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19536 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19538 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19541 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19544 * sysdeps/unix/sysv/linux/kernel-features.h
19545 [__sparc__ && !__arch64__ && !__sparc_v9__]
19546 (__ASSUME_SET_ROBUST_LIST): Do not define.
19547 [__sparc__ && !__arch64__ && !__sparc_v9__]
19548 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19549 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19551 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19552 (__ASSUME_FUTEX_LOCK_PI): Undefine.
19553 (__ASSUME_REQUEUE_PI): Likewise.
19554 (__ASSUME_SET_ROBUST_LIST): Likewise.
19555 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19556 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19558 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19559 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19561 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19563 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19565 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19566 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19568 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19569 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19573 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19574 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19575 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19577 2014-03-31 Will Newton <will.newton@linaro.org>
19579 * benchtests/Makefile (bench): Add ffs and ffsll to list
19581 * benchtests/ffs-inputs: New file.
19582 * benchtests/ffsll-inputs: Likewise.
19584 2014-03-29 Joseph Myers <joseph@codesourcery.com>
19587 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19588 too large before casting to int.
19589 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19590 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19591 * math/libm-test.inc (scalb_test_data): Add more tests.
19593 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19595 * benchtests/Makefile (DETAILED_OPT): New make option.
19596 (bench-func): Run benchmark program with -d if DETAILED_OPT is
19598 * benchtests/bench-skeleton.c: Include stdbool.h.
19599 (main): Store and print timings per input.
19600 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19601 member to each argument value.
19602 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19603 (_print_arg_data): Initialize per-input timing to 0.
19605 * benchtests/Makefile (timing-type): New binary.
19606 (bench-clean): Also remove bench-timing-type.
19607 (bench): New target for timing-type.
19608 (bench-func): Print output in JSON format.
19609 * benchtests/bench-skeleton.c (main): Print output in JSON
19611 * benchtests/bench-timing-type.c: New file.
19612 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19613 (TIMING_PRINT_STATS): Remove.
19614 * benchtests/scripts/bench.py (_print_arg_data): Store variant
19617 * benchtests/bench-modf.c: Remove.
19618 * benchtests/modf-inputs: New inputs file.
19620 2014-03-28 Joseph Myers <joseph@codesourcery.com>
19623 * math/s_clog10.c (M_PI_LOG10E): New macro.
19624 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19625 imaginary parts are 0.
19626 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19627 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19628 imaginary parts are 0.
19629 * math/s_clog10l.c (M_PI_LOG10El): New macro.
19630 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19631 imaginary parts are 0.
19632 * math/libm-test.inc (clog10_test_data): Update expected results
19633 for when real and imaginary parts are 0.
19635 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
19637 * elf/dl-load.c: Finish conversion of __builtin_expect into
19638 __glibc_{un}likely.
19640 2014-03-27 Joseph Myers <joseph@codesourcery.com>
19643 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19644 1+x for argument with exponent below -67.
19645 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19647 * math/auto-libm-test-in: Add more tests of exp.
19648 * math/auto-libm-test-out: Regenerated.
19650 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19653 * inet/getnetgrent_r.c (get_nonempty_val): New function.
19654 (nscd_getnetgrent): Use it.
19657 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19660 2014-03-27 Andi Kleen <ak@linux.intel.com>
19662 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19663 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19664 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19665 (lll_robust_unlock): Remove out of line section. Use cfi
19667 (LLL_STUB_UNWIND_INFO*): Remove.
19668 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19669 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19670 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19671 (lll_robust_unlock): Remove out of line section. Use cfi
19673 (LLL_STUB_UNWIND_INFO*): Remove.
19675 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19678 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19681 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19683 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19685 2014-03-26 Joseph Myers <joseph@codesourcery.com>
19688 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19690 * math/test-fenv-preserve.c: New file.
19691 * math/Makefile (tests): Add test-fenv-preserve.
19693 2014-03-26 Will Newton <will.newton@linaro.org>
19695 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19697 2014-03-25 Roland McGrath <roland@hack.frob.com>
19699 * scripts/versionlist.awk: Partition the version sets and emit all
19700 GLIBC_* (sorted) before all others (sorted).
19702 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19704 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19705 GLIBC_2.2.5 version.
19707 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19709 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19712 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19717 2014-03-25 Andreas Schwab <schwab@suse.de>
19719 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19720 label to be used after in6ailist is initialized.
19722 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19724 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19725 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19727 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19731 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19733 (fp_formats): Update initializers.
19734 (init_fp_formats): Initialize new field.
19735 (output_for_one_input_case): Allow underflow for results up to
19737 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19738 * math/auto-libm-test-in: Don't mark some underflows from asin and
19740 * math/auto-libm-test-out: Regenerated.
19741 * sysdeps/i386/fpu/libm-test-ulps: Update.
19742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19744 2014-03-25 Andreas Schwab <schwab@suse.de>
19746 * libio/Makefile (tst-ftell-partial-wide-ENV)
19747 (tst-ftell-active-handler-ENV): Define.
19749 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19751 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19753 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19755 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19757 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19759 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19760 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19761 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19763 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19766 * elf/dl-load.c (open_verify): Add mode parameter.
19767 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19768 (open_path): Change from boolean 'secure' to complete flag 'mode'
19769 (_dl_map_object): Adjust.
19770 * elf/Makefile (tests): Add tst-dlopen-aout.
19771 * elf/tst-dlopen-aout.c: New test.
19773 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19776 * sysdeps/unix/sysv/linux/s390/bits/stat.h
19777 (struct stat): Rename member pad0 to __glibc_reserved0.
19780 * sysdeps/s390/s390-32/bits/wordsize.h
19781 (__WORDSIZE32_SIZE_ULONG): New define.
19782 * sysdeps/s390/s390-64/bits/wordsize.h
19783 (__WORDSIZE32_SIZE_ULONG): Likewise.
19784 * sysdeps/generic/stdint.h (SIZE_MAX):
19785 Define as UL if __WORDSIZE32_SIZE_ULONG.
19788 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19789 (__glibc_reserved0): New variable.
19790 (sa_flags): Change type to int.
19792 * posix/Makefile (before-compile): Use += before-compile instead
19795 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19796 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19798 2014-03-20 Andreas Schwab <schwab@suse.de>
19801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19802 non-matching result from nscd.
19804 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19806 * scripts/bench.py: Moved to ...
19807 * benchtests/scripts/bench.py: ... here.
19808 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19810 2014-03-24 Andreas Schwab <schwab@suse.de>
19813 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19814 alloca_account and account alloca use for struct in6ailist.
19816 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19819 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19820 rounding mode to recompute results that overflow to infinity or
19822 * math/auto-libm-test-in: Don't mark tests as expected to fail for
19824 * math/auto-libm-test-out: Regenerated.
19825 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19826 (ccosh_test): Likewise.
19827 (csin_test_data): Use plus_oflow.
19828 (csin_test): Use ALL_RM_TEST.
19829 (csinh_test_data): Use plus_oflow.
19830 (csinh_test): Use ALL_RM_TEST.
19831 * sysdeps/i386/fpu/libm-test-ulps: Update.
19832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19834 2014-03-21 Joseph Myers <joseph@codesourcery.com>
19836 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19837 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19838 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19841 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19842 when x - 1 is zero.
19843 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19844 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19845 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19846 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19848 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19849 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19851 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19852 * sysdeps/i386/fpu/libm-test-ulps: Update.
19853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19855 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19857 * scripts/bench.pl: Remove file.
19858 * scripts/bench.py: New benchmark script.
19859 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19860 * benchtests/README: Mention python dependency.
19861 * scripts/pylintrc: New file.
19862 * scripts/pylint: New file.
19864 * bits/mathdef.h: Use #ifdef instead of #if.
19865 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19866 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19867 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19868 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19869 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19870 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19872 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19873 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19875 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19876 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19877 and strpbrk-ppc64 objects.
19878 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19879 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19880 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19881 multiarch strpbrk for POWER7.
19882 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19883 multiarch strpbrk for PPC64.
19884 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19886 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19887 strpbrk for POWER7.
19889 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19891 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19892 (atan_test): Likewise.
19893 (atanh_test_data): Use NO_TEST_INLINE for two tests.
19894 (atanh_test): Use ALL_RM_TEST.
19895 (atan2_test_data): Likewise.
19896 (cabs_test): Likewise.
19897 (cacosh_test): Likewise.
19898 (carg_test): Likewise.
19899 (casin_test): Likewise.
19900 (casinh_test): Likewise.
19901 (cbrt_test): Likewise.
19902 (csqrt_test): Likewise.
19903 (erf_test): Likewise.
19904 (erfc_test): Likewise.
19905 (pow10_test): Likewise.
19906 (exp2_test): Likewise.
19907 (hypot_test): Likewise.
19908 (j0_test): Likewise.
19909 (j1_test): Likewise.
19910 (lgamma_test): Likewise.
19911 (gamma_test): Likewise.
19912 (sincos_test): Likewise.
19913 (tanh_test): Likewise.
19914 (y0_test): Likewise.
19915 (y1_test): Likewise.
19916 * sysdeps/i386/fpu/libm-test-ulps: Update.
19917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19919 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19921 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19922 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19923 and strcspn-ppc64 objects.
19924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19925 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19926 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19927 multiarch strcspn for POWER7.
19928 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19929 multiarch strcspn for PPC64.
19930 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19932 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19933 strcspn for POWER7.
19935 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19937 * math/gen-libm-test.pl (generate_testfile): Expect only function
19938 name as argument to AUTO_TESTS_* and pass results for all rounding
19939 modes to parse_args.
19940 (parse_auto_input): Separate inputs of automatic tests from
19941 outputs before storing in %auto_tests.
19942 * math/libm-test.inc (acos_test_data): Update call to
19944 (acos_test): Use ALL_RM_TEST.
19945 (acos_tonearest_test_data): Remove.
19946 (acos_test_tonearest): Likewise.
19947 (acos_towardzero_test_data): Likewise.
19948 (acos_test_towardzero): Likewise.
19949 (acos_downward_test_data): Likewise.
19950 (acos_test_downward): Likewise.
19951 (acos_upward_test_data): Likewise.
19952 (acos_test_upward): Likewise.
19953 (acosh_test_data): Update call to AUTO_TESTS_f_f.
19954 (asin_test_data): Likewise.
19955 (asin_test): Use ALL_RM_TEST.
19956 (asin_tonearest_test_data): Remove.
19957 (asin_test_tonearest): Likewise.
19958 (asin_towardzero_test_data): Likewise.
19959 (asin_test_towardzero): Likewise.
19960 (asin_downward_test_data): Likewise.
19961 (asin_test_downward): Likewise.
19962 (asin_upward_test_data): Likewise.
19963 (asin_test_upward): Likewise.
19964 (asinh_test_data): Update call to AUTO_TESTS_f_f.
19965 (atan_test_data): Likewise.
19966 (atanh_test_data): Likewise.
19967 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19968 (cabs_test_data): Update call to AUTO_TESTS_c_f.
19969 (carg_test_data): Likewise.
19970 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19971 (ccos_test_data): Update call to AUTO_TESTS_c_c.
19972 (ccosh_test_data): Likewise.
19973 (cexp_test_data): Likewise.
19974 (clog_test_data): Likewise.
19975 (clog10_test_data): Likewise.
19976 (cos_test_data): Update call to AUTO_TESTS_f_f.
19977 (cos_test): Use ALL_RM_TEST.
19978 (cos_tonearest_test_data): Remove.
19979 (cos_test_tonearest): Likewise.
19980 (cos_towardzero_test_data): Likewise.
19981 (cos_test_towardzero): Likewise.
19982 (cos_downward_test_data): Likewise.
19983 (cos_test_downward): Likewise.
19984 (cos_upward_test_data): Likewise.
19985 (cos_test_upward): Likewise.
19986 (cosh_test_data): Update call to AUTO_TESTS_f_f.
19987 (cosh_test): Use ALL_RM_TEST.
19988 (cosh_tonearest_test_data): Remove.
19989 (cosh_test_tonearest): Likewise.
19990 (cosh_towardzero_test_data): Likewise.
19991 (cosh_test_towardzero): Likewise.
19992 (cosh_downward_test_data): Likewise.
19993 (cosh_test_downward): Likewise.
19994 (cosh_upward_test_data): Likewise.
19995 (cosh_test_upward): Likewise.
19996 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19997 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19998 (ctan_test_data): Likewise.
19999 (ctan_test): Use ALL_RM_TEST.
20000 (ctan_tonearest_test_data): Remove.
20001 (ctan_test_tonearest): Likewise.
20002 (ctan_towardzero_test_data): Likewise.
20003 (ctan_test_towardzero): Likewise.
20004 (ctan_downward_test_data): Likewise.
20005 (ctan_test_downward): Likewise.
20006 (ctan_upward_test_data): Likewise.
20007 (ctan_test_upward): Likewise.
20008 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20009 (ctanh_test): Use ALL_RM_TEST.
20010 (ctanh_tonearest_test_data): Remove.
20011 (ctanh_test_tonearest): Likewise.
20012 (ctanh_towardzero_test_data): Likewise.
20013 (ctanh_test_towardzero): Likewise.
20014 (ctanh_downward_test_data): Likewise.
20015 (ctanh_test_downward): Likewise.
20016 (ctanh_upward_test_data): Likewise.
20017 (ctanh_test_upward): Likewise.
20018 (erf_test_data): Update call to AUTO_TESTS_f_f.
20019 (erfc_test_data): Likewise.
20020 (exp_test_data): Likewise.
20021 (exp_test): Use ALL_RM_TEST.
20022 (exp_tonearest_test_data): Remove.
20023 (exp_test_tonearest): Likewise.
20024 (exp_towardzero_test_data): Likewise.
20025 (exp_test_towardzero): Likewise.
20026 (exp_downward_test_data): Likewise.
20027 (exp_test_downward): Likewise.
20028 (exp_upward_test_data): Likewise.
20029 (exp_test_upward): Likewise.
20030 (exp10_test_data): Update call to AUTO_TESTS_f_f.
20031 (exp10_test): Use ALL_RM_TEST.
20032 (exp10_tonearest_test_data): Remove.
20033 (exp10_test_tonearest): Likewise.
20034 (exp10_towardzero_test_data): Likewise.
20035 (exp10_test_towardzero): Likewise.
20036 (exp10_downward_test_data): Likewise.
20037 (exp10_test_downward): Likewise.
20038 (exp10_upward_test_data): Likewise.
20039 (exp10_test_upward): Likewise.
20040 (exp2_test_data): Update call to AUTO_TESTS_f_f.
20041 (expm1_test_data): Likewise.
20042 (expm1_test): Use ALL_RM_TEST.
20043 (expm1_tonearest_test_data): Remove.
20044 (expm1_test_tonearest): Likewise.
20045 (expm1_towardzero_test_data): Likewise.
20046 (expm1_test_towardzero): Likewise.
20047 (expm1_downward_test_data): Likewise.
20048 (expm1_test_downward): Likewise.
20049 (expm1_upward_test_data): Likewise.
20050 (expm1_test_upward): Likewise.
20051 (fma_test_data): Update call to AUTO_TESTS_fff_f.
20052 (fma_test): Use ALL_RM_TEST.
20053 (fma_towardzero_test_data): Remove.
20054 (fma_test_towardzero): Likewise.
20055 (fma_downward_test_data): Likewise.
20056 (fma_test_downward): Likewise.
20057 (fma_upward_test_data): Likewise.
20058 (fma_test_upward): Likewise.
20059 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20060 (j0_test_data): Update call to AUTO_TESTS_f_f.
20061 (j1_test_data): Likewise.
20062 (jn_test_data): Update call to AUTO_TESTS_if_f.
20063 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20064 (log_test_data): Update call to AUTO_TESTS_f_f.
20065 (log10_test_data): Likewise.
20066 (log1p_test_data): Likewise.
20067 (log2_test_data): Likewise.
20068 (pow_test_data): Update call to AUTO_TESTS_ff_f.
20069 (pow_tonearest_test_data): Likewise.
20070 (sin_test_data): Update call to AUTO_TESTS_f_f.
20071 (sin_test): Use ALL_RM_TEST.
20072 (sin_tonearest_test_data): Remove.
20073 (sin_test_tonearest): Likewise.
20074 (sin_towardzero_test_data): Likewise.
20075 (sin_test_towardzero): Likewise.
20076 (sin_downward_test_data): Likewise.
20077 (sin_test_downward): Likewise.
20078 (sin_upward_test_data): Likewise.
20079 (sin_test_upward): Likewise.
20080 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20081 (sinh_test_data): Update call to AUTO_TESTS_f_f.
20082 (sinh_test): Use ALL_RM_TEST.
20083 (sinh_tonearest_test_data): Remove.
20084 (sinh_test_tonearest): Likewise.
20085 (sinh_towardzero_test_data): Likewise.
20086 (sinh_test_towardzero): Likewise.
20087 (sinh_downward_test_data): Likewise.
20088 (sinh_test_downward): Likewise.
20089 (sinh_upward_test_data): Likewise.
20090 (sinh_test_upward): Likewise.
20091 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20092 (sqrt_test): Use ALL_RM_TEST.
20093 (sqrt_tonearest_test_data): Remove.
20094 (sqrt_test_tonearest): Likewise.
20095 (sqrt_towardzero_test_data): Likewise.
20096 (sqrt_test_towardzero): Likewise.
20097 (sqrt_downward_test_data): Likewise.
20098 (sqrt_test_downward): Likewise.
20099 (sqrt_upward_test_data): Likewise.
20100 (sqrt_test_upward): Likewise.
20101 (tan_test_data): Update call to AUTO_TESTS_f_f.
20102 (tan_test): Use ALL_RM_TEST.
20103 (tan_tonearest_test_data): Remove.
20104 (tan_test_tonearest): Likewise.
20105 (tan_towardzero_test_data): Likewise.
20106 (tan_test_towardzero): Likewise.
20107 (tan_downward_test_data): Likewise.
20108 (tan_test_downward): Likewise.
20109 (tan_upward_test_data): Likewise.
20110 (tan_test_upward): Likewise.
20111 (tanh_test_data): Update call to AUTO_TESTS_f_f.
20112 (tgamma_test_data): Likewise.
20113 (y0_test_data): Likewise.
20114 (y1_test_data): Likewise.
20115 (yn_test_data): Update call to AUTO_TESTS_if_f.
20116 (main): Do not call removed functions.
20118 2014-03-19 Joseph Myers <joseph@codesourcery.com>
20120 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20121 (ldexp_test_data): Remove.
20122 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
20124 (scalb_test): Use ALL_RM_TEST.
20126 2014-03-19 Andreas Schwab <schwab@suse.de>
20128 * nscd/nscd.service: Also invalidate netgroup cache on reload.
20130 2014-03-19 Joseph Myers <joseph@codesourcery.com>
20133 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20134 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20135 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20136 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20137 (__ASSUME_PREADV): Undefine.
20138 (__ASSUME_PWRITEV): Likewise.
20140 2014-03-18 Roland McGrath <roland@hack.frob.com>
20142 * bits/mman-linux.h: Add comment about non-Linux use.
20143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20144 bits/mman-linux.h resting place.
20146 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20147 * bits/mman-linux.h: ... here.
20149 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20151 * conform/conformtest.pl: Add standard definition when calling C
20152 preprocessor on data files.
20153 (checknamespace): Remove unused variable.
20155 2014-03-18 Joseph Myers <joseph@codesourcery.com>
20157 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20158 minus_oflow, plus_uflow and minus_uflow in expected results.
20159 * math/libm-test.inc (scalbn_test_data): Add more tests of
20160 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
20162 (scalbn_test): Use ALL_RM_TEST.
20163 (scalbln_test_data): Add more tests of negative arguments. Use
20164 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20165 (scalbln_test): Use ALL_RM_TEST.
20167 2014-03-18 Roland McGrath <roland@hack.frob.com>
20169 * scripts/abilist.awk: Ignore symbols marked with .hidden.
20171 2014-03-18 Will Newton <will.newton@linaro.org>
20173 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20174 inaccurate comment.
20176 2014-03-18 Joseph Myers <joseph@codesourcery.com>
20178 * Makerules [!subdir] (check-abi): Exit with error status if a
20181 2014-03-17 Joseph Myers <joseph@codesourcery.com>
20183 * math/libm-test.inc (nearbyint_test_data): Include all tests used
20184 for rint. Include results for all rounding modes.
20185 (nearbyint_test): Use ALL_RM_TEST.
20186 (rint_test_data): Include all tests used for nearbyint.
20188 2014-03-17 Will Newton <will.newton@linaro.org>
20190 * nptl/sysdeps/pthread/pthread.h: Revert previous
20193 * sysdeps/generic/ldsodefs.h: Revert previous
20196 * libio/genops.c: Revert previous change.
20197 * libio/libioP.h: Likewise.
20198 * stdio-common/vfprintf.c: Likewise.
20200 * sysdeps/generic/math_private.h: Revert previous
20203 * sysdeps/generic/math_private.h: Check whether
20204 HAVE_RM_CTX is defined with #ifdef rather
20207 * argp/argp-fmtstream.h: Check whether
20208 __STRICT_ANSI__ is defined with #ifdef rather
20210 * argp/argp.h: Likewise.
20212 * libio/genops.c: Check whether
20213 _IO_JUMPS_OFFSET is defined with #ifdef rather
20215 * libio/libioP.h: Likewise.
20216 * stdio-common/vfprintf.c: Likewise.
20218 * sysdeps/generic/ldsodefs.h: Check whether
20219 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20222 * nptl/sysdeps/pthread/pthread.h: Check
20223 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20226 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20228 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20230 * libio/tst-ftell-active-handler.c (do_append_test): Add a
20234 * libio/fileops.c (_IO_file_open): Seek to end of file but
20235 don't cache the offset.
20236 (get_file_offset): Remove function.
20237 (do_ftell): Use cached offset when available.
20238 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20239 don't cache the offset.
20240 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20242 (do_one_test): Call it.
20243 (do_ftell_test): Fix up expected old offset for a+ mode.
20244 * libio/wfileops.c (do_ftell_wide): Used cached offset when
20247 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20248 up test status with function return status.
20249 (do_write_test): Likewise.
20250 (do_append_test): Likewise.
20252 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20253 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20256 2014-03-17 Joseph Myers <joseph@codesourcery.com>
20258 * math/gen-libm-test.pl (parse_args): Handle results specified for
20259 each rounding mode separately.
20260 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20261 tests and results from lrint_tonearest_test_data,
20262 lrint_towardzero_test_data, lrint_downward_test_data and
20263 lrint_upward_test_data.
20264 (lrint_test): Use ALL_RM_TEST.
20265 (lrint_tonearest_test_data): Remove.
20266 (lrint_test_tonearest): Likewise.
20267 (lrint_towardzero_test_data): Likewise.
20268 (lrint_test_towardzero): Likewise.
20269 (lrint_downward_test_data): Likewise.
20270 (lrint_test_downward): Likewise.
20271 (lrint_upward_test_data): Likewise.
20272 (lrint_test_upward): Likewise.
20273 (llrint_test_data): Merge in per-rounding-mode tests and results
20274 from llrint_tonearest_test_data, llrint_towardzero_test_data,
20275 llrint_downward_test_data and llrint_upward_test_data.
20276 (llrint_test): Use ALL_RM_TEST.
20277 (llrint_tonearest_test_data): Remove.
20278 (llrint_test_tonearest): Likewise.
20279 (llrint_towardzero_test_data): Likewise.
20280 (llrint_test_towardzero): Likewise.
20281 (llrint_downward_test_data): Likewise.
20282 (llrint_test_downward): Likewise.
20283 (llrint_upward_test_data): Likewise.
20284 (llrint_test_upward): Likewise.
20285 (rint_test_data): Merge in per-rounding-mode tests and results
20286 from rint_tonearest_test_data, rint_towardzero_test_data,
20287 rint_downward_test_data and rint_upward_test_data. Add
20288 per-rounding-mode results for tests not in those arrays.
20289 (rint_test): Use ALL_RM_TEST.
20290 (rint_tonearest_test_data): Remove.
20291 (rint_test_tonearest): Likewise.
20292 (rint_towardzero_test_data): Likewise.
20293 (rint_test_towardzero): Likewise.
20294 (rint_downward_test_data): Likewise.
20295 (rint_test_downward): Likewise.
20296 (rint_upward_test_data): Likewise.
20297 (rint_test_upward): Likewise.
20298 (main): Don't call removed functions.
20300 2014-03-14 Roland McGrath <roland@hack.frob.com>
20302 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20303 "Compiled on ..." crapola. It is anti-useful.
20305 2014-03-14 Joseph Myers <joseph@codesourcery.com>
20307 * scripts/evaluate-test.sh: Handle fourth argument to determine
20308 whether test run should stop on failure.
20309 * Makeconfig (stop-on-test-failure): New variable.
20310 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20311 $(stop-on-test-failure).
20312 * Makefile (tests): Give a summary of results from testing and
20313 exit with failure status if they include an ERROR or FAIL.
20314 (xtests): Likewise.
20315 * manual/install.texi (Configuring and compiling): Mention
20316 stop-on-test-failure=y.
20317 * INSTALL: Regenerated.
20319 2014-03-14 Roland McGrath <roland@hack.frob.com>
20321 * scripts/versionlist.awk: New file.
20322 * Makerules [$(build-shared) = yes]
20323 (postclean-generated): Add Versions.def, not Versions.def.v and
20325 ($(common-objpfx)Versions.def.v.i): Target removed.
20326 ($(common-objpfx)Versions.def): New target.
20327 ($(common-objpfx)Versions.all): Depend on that rather that
20328 $(common-objpfx)Versions.def.v.
20329 * Versions.def: File removed.
20331 * Makeconfig (+gccwarn): Add -Wundef.
20332 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20333 a dl-sysdep.h breaking its contract.
20334 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20335 * include/stackinfo.h: New file.
20336 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20337 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20338 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20339 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20340 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20341 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20342 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20343 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20344 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20345 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20346 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20347 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20348 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20349 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20350 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20352 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20355 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20357 * math/libm-test.inc (round_test_data): Add more tests.
20360 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20362 * math/libm-test.inc (nearbyint_test_data): Add more tests.
20365 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20367 * math/libm-test.inc (ceil_test_data): Add more tests.
20369 * math/libm-test.inc (trunc_test_data): Add more tests related to
20372 2014-03-14 Roland McGrath <roland@hack.frob.com>
20374 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20375 with #if rather than #ifdef.
20376 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20378 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
20380 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20381 first. Disable AVX-512 GCC support if assembler doesn't support
20383 * sysdeps/x86_64/configure: Regenerated.
20385 2014-03-13 Carlos O'Donell <carlos@redhat.com>
20387 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20388 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20389 (__old_pthread_attr_setstack): Likewise.
20390 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20391 [!_STACK_GROWS_DOWN]: Likewise.
20393 2014-03-13 Mike Frysinger <vapier@gentoo.org>
20395 * config.make.in (have-bash2): Delete.
20396 * configure.ac (libc_cv_have_bash2): Delete.
20397 * configure: Regenerate.
20398 * elf/Makefile (common-ldd-rewrite): Rename to ...
20399 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
20400 (sh-ldd-rewrite): Delete.
20401 (bash-ldd-rewrite): Delete.
20402 (have-bash2): Delete checks.
20403 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20406 * config.make.in (have-ksh): Delete.
20408 * configure.ac (libc_cv_have_ksh): Delete.
20409 * configure: Regenerate.
20411 * elf/Makefile: Delete $(have-ksh) check.
20412 ($(objpfx)sotruss): Change KSH to BASH.
20413 * elf/sotruss.ksh: Rename to ...
20414 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
20415 function style to match POSIX. Drop ksh vim mode setting.
20417 * manual/time.texi (Specifying the Time Zone with TZ): Change
20418 Tuesday to Thursday.
20420 * debug/tst-longjmp_chk2.c: Update header comment.
20421 (stackoverflow_handler): Add comment. Call assert on pass value.
20423 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
20426 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20427 (HAVE_AVX512_ASM_SUPPORT): Likewise.
20428 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20429 (La_x86_64_vector): Add zmm.
20430 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20431 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20432 ($(objpfx)tst-audit10): New target.
20433 ($(objpfx)tst-audit10.out): Likewise.
20434 (tst-audit10-ENV): New.
20435 (AVX512-CFLAGS): Likewise.
20436 (CFLAGS-tst-audit10.c): Likewise.
20437 (CFLAGS-tst-auditmod10a.c): Likewise.
20438 (CFLAGS-tst-auditmod10b.c): Likewise.
20439 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20440 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20441 * sysdeps/x86_64/configure: Regenerated.
20442 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20443 AVX-512 zmm register support.
20444 (_dl_x86_64_save_sse): Likewise.
20445 (_dl_x86_64_restore_sse): Likewise.
20446 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20447 size vector registers.
20448 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20449 (ZMM_SIZE): Likewise.
20450 * sysdeps/x86_64/tst-audit10.c: New file.
20451 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20452 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20454 2014-03-13 Roland McGrath <roland@hack.frob.com>
20456 * configure.ac (HAVE_EHDR_START): New check.
20457 * configure: Regenerated.
20458 * config.h.in (HAVE_EHDR_START): New #undef.
20459 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20460 assuming the lowest-addressed segment maps the start of the file.
20462 2014-03-13 Joseph Myers <joseph@codesourcery.com>
20464 * INSTALL: Regenerated.
20466 2014-03-13 Will Newton <will.newton@linaro.org>
20468 * manual/setjmp.texi (System V contexts): Improve
20469 clarity and grammar of documentation.
20471 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
20474 * elf/Makefile (tests): Add tst-pie2.
20475 (tests-pie): Add tst-pie2.
20476 * elf/tst-pie2.c: New file.
20477 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20479 * elf/rtld.c (map_doit): Load executable as lt_executable.
20480 (dl_main): Likewise.
20482 2014-03-12 Joseph Myers <joseph@codesourcery.com>
20485 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20486 (__ASSUME_PSELECT): Undefine.
20488 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20491 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20492 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20494 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20495 selector for static builds.
20497 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20500 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20503 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20505 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20506 IFUNC selector for static builds.
20508 2014-03-11 Joseph Myers <joseph@codesourcery.com>
20510 * sysdeps/mips/math_private.h [__mips_hard_float]
20511 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20512 libc_feresetround_mips_ctx.
20513 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20514 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20515 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20518 * math/s_nextafter.c (__nextafter): Do not return value from
20519 overflowing computation.
20520 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20521 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20522 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20524 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20526 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20527 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20529 2014-03-11 Roland McGrath <roland@hack.frob.com>
20531 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20532 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20533 Move sfi_sp use from the load-multiple (that no longer sets sp) to
20534 the new mov targetting sp.
20536 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20539 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20540 Define it for static builds as well.
20541 (NO_BZERO_IMPL): Likewise.
20543 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20545 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20546 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20547 multiarch strspn for PPC64.
20548 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20549 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20551 (__libc_ifunc_impl_list): Likewise.
20552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20553 multiarch optimizations
20554 * string/strspn.c (strspn): Using macro to redefine symbol name.
20556 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20557 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20559 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20560 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20561 multiarch strncat for PPC64.
20562 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20563 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20565 (__libc_ifunc_impl_list): Likewise.
20566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20567 multiarch optimizations
20569 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20572 * nscd/nscd.service: Make service type forking.
20574 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20576 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20577 sign in non default rounding modes.
20578 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20580 2014-03-08 Joseph Myers <joseph@codesourcery.com>
20582 * math/libm-test.inc (ALL_RM_TEST): New macro.
20583 (ceil_test): Use ALL_RM_TEST.
20584 (cimag_test): Likewise.
20585 (conj_test): Likewise.
20586 (copysign_test): Likewise.
20587 (cproj_test): Likewise.
20588 (creal_test): Likewise.
20589 (fabs_test): Likewise.
20590 (floor_test): Likewise.
20591 (fmax_test): Likewise.
20592 (fmin_test): Likewise.
20593 (fmod_test): Likewise.
20594 (fpclassify_test): Likewise.
20595 (frexp_test): Likewise.
20596 (ilogb_test): Likewise.
20597 (isfinite_test): Likewise.
20598 (finite_test): Likewise.
20599 (isgreater_test): Likewise.
20600 (isgreaterequal_test): Likewise.
20601 (isinf_test): Likewise.
20602 (isless_test): Likewise.
20603 (islessequal_test): Likewise.
20604 (islessgreater_test): Likewise.
20605 (isnan_test): Likewise.
20606 (isnormal_test): Likewise.
20607 (issignaling_test): Likewise.
20608 (isunordered_test): Likewise.
20609 (logb_test): Likewise.
20610 (logb_downward_test_data): Remove.
20611 (logb_test_downward): Likewise.
20612 (lround_test): Use ALL_RM_TEST.
20613 (llround_test): Likewise.
20614 (modf_test): Likewise.
20615 (nexttoward_test): Likewise.
20616 (remainder_test): Likewise.
20617 (drem_test): Likewise.
20618 (remainder_tonearest_test_data): Likewise.
20619 (remainder_test_tonearest): Likewise.
20620 (drem_test_tonearest): Likewise.
20621 (remainder_towardzero_test_data): Likewise.
20622 (remainder_test_towardzero): Likewise.
20623 (drem_test_towardzero): Likewise.
20624 (remainder_downward_test_data): Likewise.
20625 (remainder_test_downward): Likewise.
20626 (drem_test_downward): Likewise.
20627 (remainder_upward_test_data): Likewise.
20628 (remainder_test_upward): Likewise.
20629 (drem_test_upward): Likewise.
20630 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
20631 (round_test): Use ALL_RM_TEST.
20632 (signbit_test): Likewise.
20633 (trunc_test): Likewise.
20634 (significand_test): Likewise.
20635 (main): Don't call removed functions.
20637 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20640 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20641 || __USE_XOPEN2K8].
20642 (ILL_ILLOPN): Likewise.
20643 (ILL_ILLADR): Likewise.
20644 (ILL_ILLTRP): Likewise.
20645 (ILL_PRVOPC): Likewise.
20646 (ILL_PRVREG): Likewise.
20647 (ILL_COPROC): Likewise.
20648 (ILL_BADSTK): Likewise.
20649 (FPE_INTDIV): Likewise.
20650 (FPE_INTOVF): Likewise.
20651 (FPE_FLTDIV): Likewise.
20652 (FPE_FLTOVF): Likewise.
20653 (FPE_FLTUND): Likewise.
20654 (FPE_FLTRES): Likewise.
20655 (FPE_FLTINV): Likewise.
20656 (FPE_FLTSUB): Likewise.
20657 (SEGV_MAPERR): Likewise.
20658 (SEGV_ACCERR): Likewise.
20659 (BUS_ADRALN): Likewise.
20660 (BUS_ADRERR): Likewise.
20661 (BUS_OBJERR): Likewise.
20662 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20663 (TRAP_TRACE): Likewise.
20664 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20666 (CLD_KILLED): Likewise.
20667 (CLD_DUMPED): Likewise.
20668 (CLD_TRAPPED): Likewise.
20669 (CLD_STOPPED): Likewise.
20670 (CLD_CONTINUED): Likewise.
20671 (POLL_IN): Likewise.
20672 (POLL_OUT): Likewise.
20673 (POLL_MSG): Likewise.
20674 (POLL_ERR): Likewise.
20675 (POLL_PRI): Likewise.
20676 (POLL_HUP): Likewise.
20677 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20679 (ILL_ILLOPN): Likewise.
20680 (ILL_ILLADR): Likewise.
20681 (ILL_ILLTRP): Likewise.
20682 (ILL_PRVOPC): Likewise.
20683 (ILL_PRVREG): Likewise.
20684 (ILL_COPROC): Likewise.
20685 (ILL_BADSTK): Likewise.
20686 (FPE_INTDIV): Likewise.
20687 (FPE_INTOVF): Likewise.
20688 (FPE_FLTDIV): Likewise.
20689 (FPE_FLTOVF): Likewise.
20690 (FPE_FLTUND): Likewise.
20691 (FPE_FLTRES): Likewise.
20692 (FPE_FLTINV): Likewise.
20693 (FPE_FLTSUB): Likewise.
20694 (SEGV_MAPERR): Likewise.
20695 (SEGV_ACCERR): Likewise.
20696 (BUS_ADRALN): Likewise.
20697 (BUS_ADRERR): Likewise.
20698 (BUS_OBJERR): Likewise.
20699 (BUS_MCEERR_AR): Likewise.
20700 (BUS_MCEERR_AO): Likewise.
20701 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20702 (TRAP_TRACE): Likewise.
20703 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20705 (CLD_KILLED): Likewise.
20706 (CLD_DUMPED): Likewise.
20707 (CLD_TRAPPED): Likewise.
20708 (CLD_STOPPED): Likewise.
20709 (CLD_CONTINUED): Likewise.
20710 (POLL_IN): Likewise.
20711 (POLL_OUT): Likewise.
20712 (POLL_MSG): Likewise.
20713 (POLL_ERR): Likewise.
20714 (POLL_PRI): Likewise.
20715 (POLL_HUP): Likewise.
20716 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20717 (ILL_ILLOPN): Likewise.
20718 (ILL_ILLADR): Likewise.
20719 (ILL_ILLTRP): Likewise.
20720 (ILL_PRVOPC): Likewise.
20721 (ILL_PRVREG): Likewise.
20722 (ILL_COPROC): Likewise.
20723 (ILL_BADSTK): Likewise.
20724 (FPE_INTDIV): Likewise.
20725 (FPE_INTOVF): Likewise.
20726 (FPE_FLTDIV): Likewise.
20727 (FPE_FLTOVF): Likewise.
20728 (FPE_FLTUND): Likewise.
20729 (FPE_FLTRES): Likewise.
20730 (FPE_FLTINV): Likewise.
20731 (FPE_FLTSUB): Likewise.
20732 (SEGV_MAPERR): Likewise.
20733 (SEGV_ACCERR): Likewise.
20734 (BUS_ADRALN): Likewise.
20735 (BUS_ADRERR): Likewise.
20736 (BUS_OBJERR): Likewise.
20737 (BUS_MCEERR_AR): Likewise.
20738 (BUS_MCEERR_AO): Likewise.
20739 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20740 (TRAP_TRACE): Likewise.
20741 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20743 (CLD_KILLED): Likewise.
20744 (CLD_DUMPED): Likewise.
20745 (CLD_TRAPPED): Likewise.
20746 (CLD_STOPPED): Likewise.
20747 (CLD_CONTINUED): Likewise.
20748 (POLL_IN): Likewise.
20749 (POLL_OUT): Likewise.
20750 (POLL_MSG): Likewise.
20751 (POLL_ERR): Likewise.
20752 (POLL_PRI): Likewise.
20753 (POLL_HUP): Likewise.
20754 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20756 (ILL_ILLOPN): Likewise.
20757 (ILL_ILLADR): Likewise.
20758 (ILL_ILLTRP): Likewise.
20759 (ILL_PRVOPC): Likewise.
20760 (ILL_PRVREG): Likewise.
20761 (ILL_COPROC): Likewise.
20762 (ILL_BADSTK): Likewise.
20763 (ILL_BADIADDR): Likewise.
20764 (ILL_BREAK): Likewise.
20765 (FPE_INTDIV): Likewise.
20766 (FPE_INTOVF): Likewise.
20767 (FPE_FLTDIV): Likewise.
20768 (FPE_FLTOVF): Likewise.
20769 (FPE_FLTUND): Likewise.
20770 (FPE_FLTRES): Likewise.
20771 (FPE_FLTINV): Likewise.
20772 (FPE_FLTSUB): Likewise.
20773 (FPE_DECOVF): Likewise.
20774 (FPE_DECDIV): Likewise.
20775 (FPE_DECERR): Likewise.
20776 (FPE_INVASC): Likewise.
20777 (FPE_INVDEC): Likewise.
20778 (SEGV_MAPERR): Likewise.
20779 (SEGV_ACCERR): Likewise.
20780 (SEGV_PSTKOVF): Likewise.
20781 (BUS_ADRALN): Likewise.
20782 (BUS_ADRERR): Likewise.
20783 (BUS_OBJERR): Likewise.
20784 (BUS_MCEERR_AR): Likewise.
20785 (BUS_MCEERR_AO): Likewise.
20786 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20787 (TRAP_TRACE): Likewise.
20788 (TRAP_BRANCH): Likewise.
20789 (TRAP_HWBKPT): Likewise.
20790 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20792 (CLD_KILLED): Likewise.
20793 (CLD_DUMPED): Likewise.
20794 (CLD_TRAPPED): Likewise.
20795 (CLD_STOPPED): Likewise.
20796 (CLD_CONTINUED): Likewise.
20797 (POLL_IN): Likewise.
20798 (POLL_OUT): Likewise.
20799 (POLL_MSG): Likewise.
20800 (POLL_ERR): Likewise.
20801 (POLL_PRI): Likewise.
20802 (POLL_HUP): Likewise.
20803 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20804 (ILL_ILLOPN): Likewise.
20805 (ILL_ILLADR): Likewise.
20806 (ILL_ILLTRP): Likewise.
20807 (ILL_PRVOPC): Likewise.
20808 (ILL_PRVREG): Likewise.
20809 (ILL_COPROC): Likewise.
20810 (ILL_BADSTK): Likewise.
20811 (FPE_INTDIV): Likewise.
20812 (FPE_INTOVF): Likewise.
20813 (FPE_FLTDIV): Likewise.
20814 (FPE_FLTOVF): Likewise.
20815 (FPE_FLTUND): Likewise.
20816 (FPE_FLTRES): Likewise.
20817 (FPE_FLTINV): Likewise.
20818 (FPE_FLTSUB): Likewise.
20819 (SEGV_MAPERR): Likewise.
20820 (SEGV_ACCERR): Likewise.
20821 (BUS_ADRALN): Likewise.
20822 (BUS_ADRERR): Likewise.
20823 (BUS_OBJERR): Likewise.
20824 (BUS_MCEERR_AR): Likewise.
20825 (BUS_MCEERR_AO): Likewise.
20826 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20827 (TRAP_TRACE): Likewise.
20828 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20830 (CLD_KILLED): Likewise.
20831 (CLD_DUMPED): Likewise.
20832 (CLD_TRAPPED): Likewise.
20833 (CLD_STOPPED): Likewise.
20834 (CLD_CONTINUED): Likewise.
20835 (POLL_IN): Likewise.
20836 (POLL_OUT): Likewise.
20837 (POLL_MSG): Likewise.
20838 (POLL_ERR): Likewise.
20839 (POLL_PRI): Likewise.
20840 (POLL_HUP): Likewise.
20841 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20842 (ILL_ILLOPN): Likewise.
20843 (ILL_ILLADR): Likewise.
20844 (ILL_ILLTRP): Likewise.
20845 (ILL_PRVOPC): Likewise.
20846 (ILL_PRVREG): Likewise.
20847 (ILL_COPROC): Likewise.
20848 (ILL_BADSTK): Likewise.
20849 (FPE_INTDIV): Likewise.
20850 (FPE_INTOVF): Likewise.
20851 (FPE_FLTDIV): Likewise.
20852 (FPE_FLTOVF): Likewise.
20853 (FPE_FLTUND): Likewise.
20854 (FPE_FLTRES): Likewise.
20855 (FPE_FLTINV): Likewise.
20856 (FPE_FLTSUB): Likewise.
20857 (SEGV_MAPERR): Likewise.
20858 (SEGV_ACCERR): Likewise.
20859 (BUS_ADRALN): Likewise.
20860 (BUS_ADRERR): Likewise.
20861 (BUS_OBJERR): Likewise.
20862 (BUS_MCEERR_AR): Likewise.
20863 (BUS_MCEERR_AO): Likewise.
20864 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20865 (TRAP_TRACE): Likewise.
20866 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20868 (CLD_KILLED): Likewise.
20869 (CLD_DUMPED): Likewise.
20870 (CLD_TRAPPED): Likewise.
20871 (CLD_STOPPED): Likewise.
20872 (CLD_CONTINUED): Likewise.
20873 (POLL_IN): Likewise.
20874 (POLL_OUT): Likewise.
20875 (POLL_MSG): Likewise.
20876 (POLL_ERR): Likewise.
20877 (POLL_PRI): Likewise.
20878 (POLL_HUP): Likewise.
20879 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20880 (ILL_ILLOPN): Likewise.
20881 (ILL_ILLADR): Likewise.
20882 (ILL_ILLTRP): Likewise.
20883 (ILL_PRVOPC): Likewise.
20884 (ILL_PRVREG): Likewise.
20885 (ILL_COPROC): Likewise.
20886 (ILL_BADSTK): Likewise.
20887 (FPE_INTDIV): Likewise.
20888 (FPE_INTOVF): Likewise.
20889 (FPE_FLTDIV): Likewise.
20890 (FPE_FLTOVF): Likewise.
20891 (FPE_FLTUND): Likewise.
20892 (FPE_FLTRES): Likewise.
20893 (FPE_FLTINV): Likewise.
20894 (FPE_FLTSUB): Likewise.
20895 (SEGV_MAPERR): Likewise.
20896 (SEGV_ACCERR): Likewise.
20897 (BUS_ADRALN): Likewise.
20898 (BUS_ADRERR): Likewise.
20899 (BUS_OBJERR): Likewise.
20900 (BUS_MCEERR_AR): Likewise.
20901 (BUS_MCEERR_AO): Likewise.
20902 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20903 (TRAP_TRACE): Likewise.
20904 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20906 (CLD_KILLED): Likewise.
20907 (CLD_DUMPED): Likewise.
20908 (CLD_TRAPPED): Likewise.
20909 (CLD_STOPPED): Likewise.
20910 (CLD_CONTINUED): Likewise.
20911 (POLL_IN): Likewise.
20912 (POLL_OUT): Likewise.
20913 (POLL_MSG): Likewise.
20914 (POLL_ERR): Likewise.
20915 (POLL_PRI): Likewise.
20916 (POLL_HUP): Likewise.
20917 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20918 (ILL_ILLOPN): Likewise.
20919 (ILL_ILLADR): Likewise.
20920 (ILL_ILLTRP): Likewise.
20921 (ILL_PRVOPC): Likewise.
20922 (ILL_PRVREG): Likewise.
20923 (ILL_COPROC): Likewise.
20924 (ILL_BADSTK): Likewise.
20925 (ILL_DBLFLT): Likewise.
20926 (ILL_HARDWALL): Likewise.
20927 (FPE_INTDIV): Likewise.
20928 (FPE_INTOVF): Likewise.
20929 (FPE_FLTDIV): Likewise.
20930 (FPE_FLTOVF): Likewise.
20931 (FPE_FLTUND): Likewise.
20932 (FPE_FLTRES): Likewise.
20933 (FPE_FLTINV): Likewise.
20934 (FPE_FLTSUB): Likewise.
20935 (SEGV_MAPERR): Likewise.
20936 (SEGV_ACCERR): Likewise.
20937 (BUS_ADRALN): Likewise.
20938 (BUS_ADRERR): Likewise.
20939 (BUS_OBJERR): Likewise.
20940 (BUS_MCEERR_AR): Likewise.
20941 (BUS_MCEERR_AO): Likewise.
20942 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20943 (TRAP_TRACE): Likewise.
20944 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20946 (CLD_KILLED): Likewise.
20947 (CLD_DUMPED): Likewise.
20948 (CLD_TRAPPED): Likewise.
20949 (CLD_STOPPED): Likewise.
20950 (CLD_CONTINUED): Likewise.
20951 (POLL_IN): Likewise.
20952 (POLL_OUT): Likewise.
20953 (POLL_MSG): Likewise.
20954 (POLL_ERR): Likewise.
20955 (POLL_PRI): Likewise.
20956 (POLL_HUP): Likewise.
20957 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20958 (ILL_ILLOPN): Likewise.
20959 (ILL_ILLADR): Likewise.
20960 (ILL_ILLTRP): Likewise.
20961 (ILL_PRVOPC): Likewise.
20962 (ILL_PRVREG): Likewise.
20963 (ILL_COPROC): Likewise.
20964 (ILL_BADSTK): Likewise.
20965 (FPE_INTDIV): Likewise.
20966 (FPE_INTOVF): Likewise.
20967 (FPE_FLTDIV): Likewise.
20968 (FPE_FLTOVF): Likewise.
20969 (FPE_FLTUND): Likewise.
20970 (FPE_FLTRES): Likewise.
20971 (FPE_FLTINV): Likewise.
20972 (FPE_FLTSUB): Likewise.
20973 (SEGV_MAPERR): Likewise.
20974 (SEGV_ACCERR): Likewise.
20975 (BUS_ADRALN): Likewise.
20976 (BUS_ADRERR): Likewise.
20977 (BUS_OBJERR): Likewise.
20978 (BUS_MCEERR_AR): Likewise.
20979 (BUS_MCEERR_AO): Likewise.
20980 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20981 (TRAP_TRACE): Likewise.
20982 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20984 (CLD_KILLED): Likewise.
20985 (CLD_DUMPED): Likewise.
20986 (CLD_TRAPPED): Likewise.
20987 (CLD_STOPPED): Likewise.
20988 (CLD_CONTINUED): Likewise.
20989 (POLL_IN): Likewise.
20990 (POLL_OUT): Likewise.
20991 (POLL_MSG): Likewise.
20992 (POLL_ERR): Likewise.
20993 (POLL_PRI): Likewise.
20994 (POLL_HUP): Likewise.
20995 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20996 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20999 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21000 before #include of <time.h>.
21001 [!__USE_XOPEN2K] (__need_timespec): Likewise.
21002 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21003 (test-xfail-UNIX98/sched.h/conform): Likewise.
21005 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
21007 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21008 error absence of trapping exception support.
21009 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21011 2014-03-07 Joseph Myers <joseph@codesourcery.com>
21013 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21014 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21015 * timezone/Makefile (testdata): Move definition above include of
21017 (test-zones): New variable.
21018 (tests-special): Add zone files.
21019 (build-testdata): Use $(evaluate-test).
21021 * elf/Makefile (tests-special): Rename tests to end with .out.
21022 ($(objpfx)noload-mem): Likewise.
21023 ($(objpfx)tst-leaks1-mem): Likewise.
21024 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21025 * iconv/Makefile (xtests-special): Change test-iconvconfig to
21026 $(objpfx)test-iconvconfig.out.
21027 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
21028 set -e inside subshell and redirect output to file.
21029 * iconvdata/Makefile (generated): Rename tests to end with .out.
21031 (tests-special): Rename tests to end with .out.
21032 ($(objpfx)mtrace-tst-loading): Likewise.
21033 * intl/Makefile (generated): Likewise.
21034 (tests-special): Likewise.
21035 ($(objpfx)mtrace-tst-gettext): Likewise.
21036 * misc/Makefile (generated): Likewise.
21037 (tests-special): Likewise.
21038 ($(objpfx)tst-error1-mem): Likewise.
21039 * nptl/Makefile (tests-special): Likewise.
21040 ($(objpfx)tst-stack3-mem): Likewise.
21041 (generated): Likewise.
21042 * posix/Makefile (generated): Likewise.
21043 (tests-special): Likewise.
21044 (xtests-special): Likewise.
21045 ($(objpfx)tst-fnmatch-mem): Likewise.
21046 ($(objpfx)bug-regex2-mem): Likewise.
21047 ($(objpfx)bug-regex14-mem): Likewise.
21048 ($(objpfx)bug-regex21-mem): Likewise.
21049 ($(objpfx)bug-regex31-mem): Likewise.
21050 ($(objpfx)tst-vfork3-mem): Likewise.
21051 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21052 ($(objpfx)tst-pcre-mem): Likewise.
21053 ($(objpfx)tst-boost-mem): Likewise.
21054 ($(objpfx)bug-ga2-mem): Likewise.
21055 ($(objpfx)bug-glob2-mem): Likewise.
21056 * resolv/Makefile (generate): Likewise.
21057 (tests-special): Likewise.
21058 (xtests-special): Likewise.
21059 (generated): Likewise.
21060 ($(objpfx)mtrace-tst-leaks): Likewise.
21061 ($(objpfx)mtrace-tst-leaks2): Likewise.
21063 * scripts/merge-test-results.sh: New file.
21064 * Makefile (tests-special-notdir): New variable.
21065 (tests): Run merge-test-results.sh.
21066 (xtests): Likewise.
21067 * Rules (tests-special-notdir): New variable.
21068 (xtests-special-notdir): Likewise.
21069 (tests): Run merge-test-results.sh
21070 (xtests): Likewise.
21072 * Makeconfig (test-xfail-name): New variable.
21073 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21074 compute variable name for expected failures.
21075 * conform/Makefile (conformtest-headers-data): New variable.
21076 (conformtest-standards): Likewise.
21077 (conformtest-headers-ISO): Likewise.
21078 (conformtest-headers-ISO99): Likewise.
21079 (conformtest-headers-ISO11): Likewise.
21080 (conformtest-headers-POSIX): Likewise.
21081 (conformtest-headers-XPG3): Likewise.
21082 (conformtest-headers-XPG4): Likewise.
21083 (conformtest-headers-UNIX98): Likewise.
21084 (conformtest-headers-XOPEN2K): Likewise.
21085 (conformtest-headers-POSIX2008): Likewise.
21086 (conformtest-headers-XOPEN2K8): Likewise.
21087 (conformtest-header-list-base): Likewise.
21088 (conformtest-header-list-tests): Likewise.
21089 (conformtest-header-base): Likewise.
21090 (conformtest-header-tests): Likewise.
21091 (tests-special): Add $(conformtest-header-list-tests). If
21092 [$(fast-check) && !$(cross-compiling)], add
21093 $(conformtest-header-tests) instead of
21094 $(objpfx)run-conformtest.out.
21095 (generated): Add $(conformtest-header-list-base). If
21096 [$(fast-check) && !$(cross-compiling)], add
21097 $(conformtest-header-base). Remove previous setting.
21098 ($(conformtest-header-list-tests)): New target.
21099 (test-xfail-run-conformtest): Remove variable.
21100 ($(objpfx)run-conformtest.out): Remove target.
21101 (test-xfail-ISO11/complex.h/conform): New variable.
21102 (test-xfail-ISO11/stdalign.h/conform): Likewise.
21103 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21104 (test-xfail-XPG3/varargs.h/conform): Likewise.
21105 (test-xfail-XPG4/varargs.h/conform): Likewise.
21106 (test-xfail-UNIX98/varargs.h/conform): Likewise.
21107 (test-xfail-XPG4/ndbm.h/conform): Likewise.
21108 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21109 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21110 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21111 (test-xfail-XPG3/fcntl.h/conform): Likewise.
21112 (test-xfail-XPG3/ftw.h/conform): Likewise.
21113 (test-xfail-XPG3/grp.h/conform): Likewise.
21114 (test-xfail-XPG3/langinfo.h/conform): Likewise.
21115 (test-xfail-XPG3/limits.h/conform): Likewise.
21116 (test-xfail-XPG3/pwd.h/conform): Likewise.
21117 (test-xfail-XPG3/search.h/conform): Likewise.
21118 (test-xfail-XPG3/signal.h/conform): Likewise.
21119 (test-xfail-XPG3/stdio.h/conform): Likewise.
21120 (test-xfail-XPG3/stdlib.h/conform): Likewise.
21121 (test-xfail-XPG3/string.h/conform): Likewise.
21122 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21123 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21124 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21125 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21126 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21127 (test-xfail-XPG3/sys/types.h/conform): Likewise.
21128 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21129 (test-xfail-XPG3/termios.h/conform): Likewise.
21130 (test-xfail-XPG3/time.h/conform): Likewise.
21131 (test-xfail-XPG3/unistd.h/conform): Likewise.
21132 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21133 (test-xfail-XPG4/fcntl.h/conform): Likewise.
21134 (test-xfail-XPG4/langinfo.h/conform): Likewise.
21135 (test-xfail-XPG4/netdb.h/conform): Likewise.
21136 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21137 (test-xfail-XPG4/signal.h/conform): Likewise.
21138 (test-xfail-XPG4/stdio.h/conform): Likewise.
21139 (test-xfail-XPG4/stdlib.h/conform): Likewise.
21140 (test-xfail-XPG4/stropts.h/conform): Likewise.
21141 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21142 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21143 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21144 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21145 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21146 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21147 (test-xfail-XPG4/sys/time.h/conform): Likewise.
21148 (test-xfail-XPG4/sys/types.h/conform): Likewise.
21149 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21150 (test-xfail-XPG4/termios.h/conform): Likewise.
21151 (test-xfail-XPG4/ucontext.h/conform): Likewise.
21152 (test-xfail-XPG4/unistd.h/conform): Likewise.
21153 (test-xfail-XPG4/utmpx.h/conform): Likewise.
21154 (test-xfail-POSIX/sched.h/conform): Likewise.
21155 (test-xfail-POSIX/signal.h/conform): Likewise.
21156 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21157 (test-xfail-POSIX/tar.h/conform): Likewise.
21158 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21159 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21160 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21161 (test-xfail-UNIX98/netdb.h/conform): Likewise.
21162 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21163 (test-xfail-UNIX98/sched.h/conform): Likewise.
21164 (test-xfail-UNIX98/signal.h/conform): Likewise.
21165 (test-xfail-UNIX98/stdio.h/conform): Likewise.
21166 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21167 (test-xfail-UNIX98/stropts.h/conform): Likewise.
21168 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21169 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21170 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21171 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21172 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21173 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21174 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21175 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21176 (test-xfail-UNIX98/unistd.h/conform): Likewise.
21177 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21178 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21179 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21180 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21181 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21182 (test-xfail-XOPEN2K/math.h/conform): Likewise.
21183 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21184 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21185 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21186 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21187 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21188 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21189 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21190 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21191 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21192 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21193 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21194 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21195 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21196 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21197 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21198 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21199 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21200 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21201 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21202 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21203 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21204 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21205 (test-xfail-POSIX2008/signal.h/conform): Likewise.
21206 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21207 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21208 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21209 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21210 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21211 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21212 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21213 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21214 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21215 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21216 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21217 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21218 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21219 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21220 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21221 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21222 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21223 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21224 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21225 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21226 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21227 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21228 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21229 (conformtest-cc-flags): Likewise.
21230 ($(conformtest-header-tests): New target.
21231 * conform/check-header-lists.sh: New file.
21232 * conform/run-conformtest.sh: Remove.
21234 * conform/conformtest.pl: Allow ' and \ in values given for
21236 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21238 [POSIX] (sys/types.h): Likewise.
21239 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21241 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21243 * conform/data/signal.h-data (SIGIO): Remove expectation.
21244 [XPG3] (SIGBUS): Do not expect.
21245 [POSIX || XPG3] (SIGPOLL): Likewise.
21246 [POSIX || XPG3] (SIGPROF): Likewise.
21247 [POSIX || XPG3] (SIGSYS): Likewise.
21248 [XPG3] (SIGTRAP): Likewise.
21249 [POSIX || XPG3] (SIGURG): Likewise.
21250 [POSIX || XPG3] (SIGVTALRM): Likewise.
21251 [POSIX || XPG3] (SIGXCPU): Likewise.
21252 [POSIX || XPG3] (SIGXFSZ): Likewise.
21253 [POSIX] (SA_SIGINFO): Expect.
21254 [XPG3] (siginfo_t): Do not expect type or contents.
21255 [POSIX] (si_pid): Do not expect element.
21256 [POSIX] (si_uid): Likewise.
21257 [POSIX] (si_addr): Likewise.
21258 [POSIX] (si_status): Likewise.
21259 [POSIX] (si_band): Likewise.
21260 [XPG4] (si_value): Likewise.
21261 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21262 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21263 [POSIX || XPG3] (ILL_ILLADR): Likewise.
21264 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21265 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21266 [POSIX || XPG3] (ILL_PRVREG): Likewise.
21267 [POSIX || XPG3] (ILL_COPROC): Likewise.
21268 [POSIX || XPG3] (ILL_BADSTK): Likewise.
21269 [POSIX || XPG3] (FPE_INTDIV): Likewise.
21270 [POSIX || XPG3] (FPE_INTOVF): Likewise.
21271 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21272 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21273 [POSIX || XPG3] (FPE_FLTUND): Likewise.
21274 [POSIX || XPG3] (FPE_FLTRES): Likewise.
21275 [POSIX || XPG3] (FPE_FLTINV): Likewise.
21276 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21277 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21278 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21279 [POSIX || XPG3] (BUS_ADRALN): Likewise.
21280 [POSIX || XPG3] (BUS_ADRERR): Likewise.
21281 [POSIX || XPG3] (BUS_OBJERR): Likewise.
21282 [POSIX || XPG3] (CLD_EXITED): Likewise.
21283 [POSIX || XPG3] (CLD_KILLED): Likewise.
21284 [POSIX || XPG3] (CLD_DUMPED): Likewise.
21285 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21286 [POSIX || XPG3] (CLD_STOPPED): Likewise.
21287 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21288 [POSIX || XPG3] (POLL_IN): Likewise.
21289 [POSIX || XPG3] (POLL_OUT): Likewise.
21290 [POSIX || XPG3] (POLL_MSG): Likewise.
21291 [POSIX || XPG3] (POLL_ERR): Likewise.
21292 [POSIX || XPG3] (POLL_PRI): Likewise.
21293 [POSIX || XPG3] (POLL_HUP): Likewise.
21294 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21295 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21296 (SIG*): Do not allow.
21297 [XPG3] (si_*): Likewise.
21298 [XPG3] (SI_*): Likewise.
21299 [XPG3 || XPG4] (sigev_*): Likewise.
21300 [XPG3 || XPG4] (SIGEV_*): Likewise.
21301 [XPG3 || XPG4] (sival_*): Likewise.
21302 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21303 [POSIX || XPG3] (BUS_*): Likewise.
21304 [POSIX || XPG3] (CLD_*): Likewise.
21305 [POSIX || XPG3] (FPE_*): Likewise.
21306 [POSIX || XPG3] (ILL_*): Likewise.
21307 [POSIX || XPG3] (POLL_*): Likewise.
21308 [POSIX || XPG3] (SEGV_*): Likewise.
21309 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21310 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21311 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21312 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21313 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21314 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21315 Specify type and value.
21316 (TVERSLEN): Likewise.
21317 (REGTYPE): Likewise.
21318 (AREGTYPE): Likewise.
21319 (LNKTYPE): Likewise.
21320 (SYMTYPE): Likewise.
21321 (CHRTYPE): Likewise.
21322 (BLKTYPE): Likewise.
21323 (DIRTYPE): Likewise.
21324 (FIFOTYPE): Likewise.
21325 (CONTTYPE): Likewise.
21329 (TUREAD): Likewise.
21330 (TUWRITE): Likewise.
21331 (TUEXEC): Likewise.
21332 (TGREAD): Likewise.
21333 (TGWRITE): Likewise.
21334 (TGEXEC): Likewise.
21335 (TOREAD): Likewise.
21336 (TOWRITE): Likewise.
21337 (TOEXEC): Likewise.
21338 [POSIX] (TSVTX): Expect constant.
21340 2014-03-06 Joseph Myers <joseph@codesourcery.com>
21342 * Makefile (tests): Change dependencies to ....
21343 (tests-special): ... additions to this variable.
21344 (tests): Depend on $(tests-special).
21345 * Makerules (check-abi-list): New variable.
21346 (check-abi): Depend on $(check-abi-list).
21347 [$(subdir) = elf] (tests-special): Add
21348 $(objpfx)check-abi-libc.out.
21349 [$(build-shared) = yes && subdir] (tests-special): Add
21351 [$(build-shared) = yes && subdir] (tests): Do not depend on
21353 * Rules (tests): Depend on $(tests-special).
21354 (xtests): Depend on $(xtests-special).
21355 * catgets/Makefile (tests): Change dependencies to ....
21356 (tests-special): ... additions to this variable.
21357 * conform/Makefile (tests): Change dependencies to ....
21358 (tests-special): ... additions to this variable.
21359 * elf/Makefile (tests): Change dependencies to ....
21360 (tests-special): ... additions to this variable.
21361 * grp/Makefile (tests): Change dependencies to ....
21362 (tests-special): ... additions to this variable.
21363 * iconv/Makefile (xtests): Change dependencies to ....
21364 (xtests-special): ... additions to this variable.
21365 * iconvdata/Makefile (tests): Change dependencies to ....
21366 (tests-special): ... additions to this variable.
21367 * intl/Makefile (tests): Change dependencies to ....
21368 (tests-special): ... additions to this variable. Also add
21369 $(objpfx)tst-gettext.out.
21370 * io/Makefile (tests): Change dependencies to ....
21371 (tests-special): ... additions to this variable.
21372 * libio/Makefile (tests): Change dependencies to ....
21373 (tests-special): ... additions to this variable.
21374 * malloc/Makefile (tests): Change dependencies to ....
21375 (tests-special): ... additions to this variable.
21376 * misc/Makefile (tests): Change dependencies to ....
21377 (tests-special): ... additions to this variable.
21378 * nptl/Makefile (tests): Change dependencies to ....
21379 (tests-special): ... additions to this variable.
21380 * nptl_db/Makefile (tests): Change dependencies to ....
21381 (tests-special): ... additions to this variable.
21382 * posix/Makefile (tests): Change dependencies to ....
21383 (tests-special): ... additions to this variable.
21384 (xtests): Change dependencies to ....
21385 (xtests-special): ... additions to this variable.
21386 * resolv/Makefile (tests): Change dependencies to ....
21387 (tests-special): ... additions to this variable.
21388 (xtests): Change dependencies to ....
21389 (xtests-special): ... additions to this variable.
21390 * stdio-common/Makefile (tests): Change dependencies to ....
21391 (tests-special): ... additions to this variable.
21392 (do-tst-unbputc): Remove target.
21393 (do-tst-printf): Likewise.
21394 * stdlib/Makefile (tests): Change dependencies to ....
21395 (tests-special): ... additions to this variable.
21396 * string/Makefile (tests): Change dependencies to ....
21397 (tests-special): ... additions to this variable.
21398 * sysdeps/x86/Makefile (tests): Change dependencies to ....
21399 (tests-special): ... additions to this variable.
21401 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21403 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21405 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21406 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21408 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21409 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21410 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21411 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21412 * conform/data/libgen.h-data [XPG3]: Likewise.
21413 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21414 * conform/data/ndbm.h-data [XPG3]: Likewise.
21415 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21416 * conform/data/netdb.h-data [XPG3]: Likewise.
21417 * conform/data/netinet/in.h-data [XPG3]: Likewise.
21418 * conform/data/poll.h-data [XPG3]: Likewise.
21419 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21420 * conform/data/strings.h-data [XPG3]: Likewise.
21421 * conform/data/stropts.h-data [XPG3]: Likewise.
21422 * conform/data/sys/mman.h-data [XPG3]: Likewise.
21423 * conform/data/sys/resource.h-data [XPG3]: Likewise.
21424 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21426 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21427 * conform/data/sys/time.h-data [XPG3]: Likewise.
21428 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21429 * conform/data/sys/uio.h-data [XPG3]: Likewise.
21430 * conform/data/sys/un.h-data [XPG3]: Likewise.
21431 * conform/data/syslog.h-data [XPG3]: Likewise.
21432 * conform/data/ucontext.h-data [XPG3]: Likewise.
21433 * conform/data/utmpx.h-data [XPG3]: Likewise.
21434 * conform/data/varargs.h-data [UNIX98]: Enable file.
21436 * manual/Makefile (INSTALL_INFO): Remove variable setting.
21438 * math/libm-test.inc (struct test_f_f_data): Move expected results
21439 into structure for each rounding mode.
21440 (struct test_ff_f_data): Likewise.
21441 (struct test_ff_f_data_nexttoward): Likewise.
21442 (struct test_fi_f_data): Likewise.
21443 (struct test_fl_f_data): Likewise.
21444 (struct test_if_f_data): Likewise.
21445 (struct test_fff_f_data): Likewise.
21446 (struct test_c_f_data): Likewise.
21447 (struct test_f_f1_data): Likewise.
21448 (struct test_fF_f1_data): Likewise.
21449 (struct test_ffI_f1_data): Likewise.
21450 (struct test_c_c_data): Likewise.
21451 (struct test_cc_c_data): Likewise.
21452 (struct test_f_i_data): Likewise.
21453 (struct test_ff_i_data): Likewise.
21454 (struct test_f_l_data): Likewise.
21455 (struct test_f_L_data): Likewise.
21456 (struct test_fFF_11_data): Likewise.
21458 (RM_FE_DOWNWARD): Likewise.
21459 (RM_FE_TONEAREST): Likewise.
21460 (RM_FE_TOWARDZERO): Likewise.
21461 (RM_FE_UPWARD): Likewise.
21462 (RUN_TEST_LOOP_f_f): Update references to expected results.
21463 (RUN_TEST_LOOP_2_f): Likewise.
21464 (RUN_TEST_LOOP_fff_f): Likewise.
21465 (RUN_TEST_LOOP_c_f): Likewise.
21466 (RUN_TEST_LOOP_f_f1): Likewise.
21467 (RUN_TEST_LOOP_fF_f1): Likewise.
21468 (RUN_TEST_LOOP_fI_f1): Likewise.
21469 (RUN_TEST_LOOP_ffI_f1): Likewise.
21470 (RUN_TEST_LOOP_c_c): Likewise.
21471 (RUN_TEST_LOOP_cc_c): Likewise.
21472 (RUN_TEST_LOOP_f_i): Likewise.
21473 (RUN_TEST_LOOP_f_i_tg): Likewise.
21474 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21475 (RUN_TEST_LOOP_f_b): Likewise.
21476 (RUN_TEST_LOOP_f_b_tg): Likewise.
21477 (RUN_TEST_LOOP_f_l): Likewise.
21478 (RUN_TEST_LOOP_f_L): Likewise.
21479 (RUN_TEST_LOOP_fFF_11): Likewise.
21480 * math/gen-libm-test.pl (parse_args): Output four copies of
21481 expected results for each test.
21483 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21484 (__ASSUME_UTIMES): Remove.
21485 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21486 (__ASSUME_UTIMES): Likewise.
21488 * math/gen-auto-libm-tests.c: Update comment on output format.
21489 (output_for_one_input_case): Generate before-rounding and
21490 after-rounding information as conditions on output flags not
21491 floating-point format.
21492 * math/auto-libm-test-out: Regenerated.
21493 * math/gen-libm-test.pl (cond_value): New function.
21494 (or_cond_value): Use cond_value.
21495 (generate_testfile): Handle conditional exceptions.
21497 2014-03-05 Joseph Myers <joseph@codesourcery.com>
21499 * math/libm-test.inc (max_valid_error): New variable.
21500 (init_max_error): Take new argument specifying whether function
21501 results are exactly determined. Set max_valid_error and bound
21502 other variables for errors based on this argument.
21503 (set_max_error): Do not record results above max_valid_error.
21504 (check_float_internal): Only accept errors of up to 0.5ulps if
21505 also at most max_valid_error.
21506 (START): Take new argument EXACT and pass it to init_max_error.
21507 (acos_test): Update call to START.
21508 (acos_test_tonearest): Likewise.
21509 (acos_test_towardzero): Likewise.
21510 (acos_test_downward): Likewise.
21511 (acos_test_upward): Likewise.
21512 (acosh_test): Likewise.
21513 (asin_test): Likewise.
21514 (asin_test_tonearest): Likewise.
21515 (asin_test_towardzero): Likewise.
21516 (asin_test_downward): Likewise.
21517 (asin_test_upward): Likewise.
21518 (asinh_test): Likewise.
21519 (atan_test): Likewise.
21520 (atanh_test): Likewise.
21521 (atan2_test): Likewise.
21522 (cabs_test): Likewise.
21523 (cacos_test): Likewise.
21524 (cacosh_test): Likewise.
21525 (carg_test): Likewise.
21526 (casin_test): Likewise.
21527 (casinh_test): Likewise.
21528 (catan_test): Likewise.
21529 (catanh_test): Likewise.
21530 (cbrt_test): Likewise.
21531 (ccos_test): Likewise.
21532 (ccosh_test): Likewise.
21533 (ceil_test): Likewise.
21534 (cexp_test): Likewise.
21535 (cimag_test): Likewise.
21536 (clog_test): Likewise.
21537 (clog10_test): Likewise.
21538 (conj_test): Likewise.
21539 (copysign_test): Likewise.
21540 (cos_test): Likewise.
21541 (cos_test_tonearest): Likewise.
21542 (cos_test_towardzero): Likewise.
21543 (cos_test_downward): Likewise.
21544 (cos_test_upward): Likewise.
21545 (cosh_test): Likewise.
21546 (cosh_test_tonearest): Likewise.
21547 (cosh_test_towardzero): Likewise.
21548 (cosh_test_downward): Likewise.
21549 (cosh_test_upward): Likewise.
21550 (cpow_test): Likewise.
21551 (cproj_test): Likewise.
21552 (creal_test): Likewise.
21553 (csin_test): Likewise.
21554 (csinh_test): Likewise.
21555 (csqrt_test): Likewise.
21556 (ctan_test): Likewise.
21557 (ctan_test_tonearest): Likewise.
21558 (ctan_test_towardzero): Likewise.
21559 (ctan_test_downward): Likewise.
21560 (ctan_test_upward): Likewise.
21561 (ctanh_test): Likewise.
21562 (ctanh_test_tonearest): Likewise.
21563 (ctanh_test_towardzero): Likewise.
21564 (ctanh_test_downward): Likewise.
21565 (ctanh_test_upward): Likewise.
21566 (erf_test): Likewise.
21567 (erfc_test): Likewise.
21568 (exp_test): Likewise.
21569 (exp_test_tonearest): Likewise.
21570 (exp_test_towardzero): Likewise.
21571 (exp_test_downward): Likewise.
21572 (exp_test_upward): Likewise.
21573 (exp10_test): Likewise.
21574 (exp10_test_tonearest): Likewise.
21575 (exp10_test_towardzero): Likewise.
21576 (exp10_test_downward): Likewise.
21577 (exp10_test_upward): Likewise.
21578 (pow10_test): Likewise.
21579 (exp2_test): Likewise.
21580 (expm1_test): Likewise.
21581 (expm1_test_tonearest): Likewise.
21582 (expm1_test_towardzero): Likewise.
21583 (expm1_test_downward): Likewise.
21584 (expm1_test_upward): Likewise.
21585 (fabs_test): Likewise.
21586 (fdim_test): Likewise.
21587 (floor_test): Likewise.
21588 (fma_test): Likewise.
21589 (fma_test_towardzero): Likewise.
21590 (fma_test_downward): Likewise.
21591 (fma_test_upward): Likewise.
21592 (fmax_test): Likewise.
21593 (fmin_test): Likewise.
21594 (fmod_test): Likewise.
21595 (fpclassify_test): Likewise.
21596 (frexp_test): Likewise.
21597 (hypot_test): Likewise.
21598 (ilogb_test): Likewise.
21599 (isfinite_test): Likewise.
21600 (finite_test): Likewise.
21601 (isgreater_test): Likewise.
21602 (isgreaterequal_test): Likewise.
21603 (isinf_test): Likewise.
21604 (isless_test): Likewise.
21605 (islessequal_test): Likewise.
21606 (islessgreater_test): Likewise.
21607 (isnan_test): Likewise.
21608 (isnormal_test): Likewise.
21609 (issignaling_test): Likewise.
21610 (isunordered_test): Likewise.
21611 (j0_test): Likewise.
21612 (j1_test): Likewise.
21613 (jn_test): Likewise.
21614 (ldexp_test): Likewise.
21615 (lgamma_test): Likewise.
21616 (gamma_test): Likewise.
21617 (lrint_test): Likewise.
21618 (lrint_test_tonearest): Likewise.
21619 (lrint_test_towardzero): Likewise.
21620 (lrint_test_downward): Likewise.
21621 (lrint_test_upward): Likewise.
21622 (llrint_test): Likewise.
21623 (llrint_test_tonearest): Likewise.
21624 (llrint_test_towardzero): Likewise.
21625 (llrint_test_downward): Likewise.
21626 (llrint_test_upward): Likewise.
21627 (log_test): Likewise.
21628 (log10_test): Likewise.
21629 (log1p_test): Likewise.
21630 (log2_test): Likewise.
21631 (logb_test): Likewise.
21632 (logb_test_downward): Likewise.
21633 (lround_test): Likewise.
21634 (llround_test): Likewise.
21635 (modf_test): Likewise.
21636 (nearbyint_test): Likewise.
21637 (nextafter_test): Likewise.
21638 (nexttoward_test): Likewise.
21639 (pow_test): Likewise.
21640 (pow_test_tonearest): Likewise.
21641 (pow_test_towardzero): Likewise.
21642 (pow_test_downward): Likewise.
21643 (pow_test_upward): Likewise.
21644 (remainder_test): Likewise.
21645 (drem_test): Likewise.
21646 (remainder_test_tonearest): Likewise.
21647 (drem_test_tonearest): Likewise.
21648 (remainder_test_towardzero): Likewise.
21649 (drem_test_towardzero): Likewise.
21650 (remainder_test_downward): Likewise.
21651 (drem_test_downward): Likewise.
21652 (remainder_test_upward): Likewise.
21653 (drem_test_upward): Likewise.
21654 (remquo_test): Likewise.
21655 (rint_test): Likewise.
21656 (rint_test_tonearest): Likewise.
21657 (rint_test_towardzero): Likewise.
21658 (rint_test_downward): Likewise.
21659 (rint_test_upward): Likewise.
21660 (round_test): Likewise.
21661 (scalb_test): Likewise.
21662 (scalbn_test): Likewise.
21663 (scalbln_test): Likewise.
21664 (signbit_test): Likewise.
21665 (sin_test): Likewise.
21666 (sin_test_tonearest): Likewise.
21667 (sin_test_towardzero): Likewise.
21668 (sin_test_downward): Likewise.
21669 (sin_test_upward): Likewise.
21670 (sincos_test): Likewise.
21671 (sinh_test): Likewise.
21672 (sinh_test_tonearest): Likewise.
21673 (sinh_test_towardzero): Likewise.
21674 (sinh_test_downward): Likewise.
21675 (sinh_test_upward): Likewise.
21676 (sqrt_test): Likewise.
21677 (sqrt_test_tonearest): Likewise.
21678 (sqrt_test_towardzero): Likewise.
21679 (sqrt_test_downward): Likewise.
21680 (sqrt_test_upward): Likewise.
21681 (tan_test): Likewise.
21682 (tan_test_tonearest): Likewise.
21683 (tan_test_towardzero): Likewise.
21684 (tan_test_downward): Likewise.
21685 (tan_test_upward): Likewise.
21686 (tanh_test): Likewise.
21687 (tgamma_test): Likewise.
21688 (trunc_test): Likewise.
21689 (y0_test): Likewise.
21690 (y1_test): Likewise.
21691 (yn_test): Likewise.
21692 (significand_test): Likewise.
21694 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21695 individual tests in comment.
21696 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21697 (prev_max_error): New variable.
21698 (prev_real_max_error): Likewise.
21699 (prev_imag_max_error): Likewise.
21700 (compare_ulp_data): Don't refer to test names in comment.
21701 (find_test_ulps): Remove function.
21702 (find_function_ulps): Likewise.
21703 (find_complex_function_ulps): Likewise.
21704 (init_max_error): Take function name as argument. Look up ulps
21706 (print_ulps): Remove function.
21707 (print_max_error): Use prev_max_error instead of calling
21708 find_function_ulps.
21709 (print_complex_max_error): Use prev_real_max_error and
21710 prev_imag_max_error instead of calling find_complex_function_ulps.
21711 (check_float_internal): Take max_ulp parameter instead of calling
21712 find_test_ulps. Don't call print_ulps.
21713 (check_float): Update call to check_float_internal.
21714 (check_complex): Update calls to check_float_internal.
21715 (START): Pass argument to init_max_error.
21716 * math/gen-libm-test.pl (%results): Don't include "kind"
21718 (parse_ulps): Don't handle ulps of individual tests.
21719 (print_ulps_file): Likewise.
21720 (output_ulps): Likewise.
21721 * math/README.libm-test: Update.
21722 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21724 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21725 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21726 * sysdeps/arm/libm-test-ulps: Likewise.
21727 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21728 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21729 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21730 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21731 * sysdeps/microblaze/libm-test-ulps: Likewise.
21732 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21733 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21734 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21735 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21736 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21737 * sysdeps/sh/libm-test-ulps: Likewise.
21738 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21739 * sysdeps/tile/libm-test-ulps: Likewise.
21740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21742 2014-03-04 Joseph Myers <joseph@codesourcery.com>
21744 * math/libm-test.inc (print_complex_max_error): Check separately
21745 whether real and imaginary errors are within allowed range and
21746 pass 0 to print_complex_function_ulps instead of value within
21749 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21751 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21753 (get_handles_fopen): Likewise.
21754 (do_write_test): Likewise.
21756 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21758 * libio/fileops.c (do_ftell): Use cached offset when
21760 * libio/iofwide.c (do_ftell_wide): Likewise.
21761 * libio/iofdopen.c (_IO_new_fdopen): Don't use
21763 * libio/wfileops.c (_IO_fwide): Don't cache offset.
21766 * libio/libioP.h (get_file_offset): New function.
21767 * libio/fileops.c (get_file_offset): Likewise.
21768 (do_ftell): Likewise.
21769 (_IO_new_file_seekoff): Split out ftell logic.
21770 * libio/wfileops.c (do_ftell_wide): Likewise.
21771 (_IO_wfile_seekoff): Split out ftell logic.
21772 * libio/tst-ftell-active-handler.c: New test case.
21773 * libio/Makefile (tests): Add it.
21775 2014-03-03 Roland McGrath <roland@hack.frob.com>
21777 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21778 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21780 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21783 * nscd/connections.c (nscd_init): Call do_exit.
21784 (start_threads): Call do_exit and notify_parent.
21785 (begin_drop_privileges): Call do_exit.
21786 (finish_drop_privileges): Likewise.
21787 * nscd/selinux.c (preserve_capabilities): Likewise.
21788 (install_real_capabilities): Likewise.
21789 (nscd_selinux_enabled): Likewise.
21790 (avc_create_thread): Likewise.
21791 (avc_alloc_lock): Likewise.
21792 (nscd_avc_init): Likewise.
21793 * nscd/nscd.c (parent_fd): New static variable.
21794 (main): Create a pipe between parent and child processes.
21795 Skip closing parent_fd.
21796 (monitor_child): New function.
21797 (do_exit): Likewise.
21798 (notify_parent): Likewise.
21799 * nscd/nscd.h (notify_parent): Likewise.
21800 (do_exit): Likewise.
21802 2014-03-03 Carlos O'Donell <carlos@redhat.com>
21804 * malloc/malloc.c (__libc_calloc): Revert last change.
21806 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21810 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21812 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21816 (__libc_ifunc_impl_list): Likewise.
21817 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21818 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21819 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21820 * string/strrchr.c: Define STRRCHR.
21822 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
21824 * benchtest/bench-strtok.c (simple_strtok): Delete.
21825 (strtok_string): Use as benchmark.
21826 * string/strtok (STRTOK): New macro.
21828 2014-02-28 Carlos O'Donell <carlos@redhat.com>
21830 * manual/threads.texi: Add header and standard comments to all
21833 * elf/dl-lookup.c (check_match): New function.
21834 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21835 (do_lookup_x): Remove nested function check_match. Use non-nested
21836 function check_match.
21838 2014-02-28 Roland McGrath <roland@hack.frob.com>
21840 * csu/Makefile (generated, before-compile): Use += rather than =.
21841 * catgets/Makefile (generated, generated-dirs): Likewise.
21842 * debug/Makefile (generated): Likewise.
21843 * dlfcn/Makefile (generated): Likewise.
21844 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21845 * iconvdata/Makefile (before-compile, generated): Likewise.
21846 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21847 * libio/Makefile (generated): Likewise.
21848 * malloc/Makefile (generated): Likewise.
21849 * manual/Makefile (generated, generated-dirs): Likewise.
21850 * misc/Makefile (generated): Likewise.
21851 * posix/Makefile (generated): Likewise.
21852 * resolv/Makefile (generated): Likewise.
21853 * sunrpc/Makefile (generated, generated-dirs): Likewise.
21854 * timezone/Makefile (generated, generated-dirs): Likewise.
21856 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21858 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21860 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21861 power8 implementation.
21862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21863 file: POWER8 llround ifunc implementation.
21864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21865 (__lllround): Add POWER8 implementation.
21866 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21867 POWER8 llround implementation.
21869 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21870 power8 implementation.
21871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21872 file: POWER8 llrint ifunc implementation.
21873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21874 Add POWER8 implementation.
21875 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21876 POWER8 llrint implementation.
21878 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21879 power8 implementation.
21880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21881 file: POWER8 finite ifunc implementation.
21882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21883 Add POWER8 implementation.
21884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21886 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21887 POWER8 finite implementation.
21888 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21890 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21891 power8 implementation.
21892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21893 file: POWER8 isinf ifunc implementation.
21894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21895 POWER8 implementation.
21896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21898 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21899 isinf implementation.
21900 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21902 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21903 (INIT_ARCH): Add hwcap2 initialization.
21904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21905 power8 implementation.
21906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21907 file: POWER8 isnan ifunc implementation.
21908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21909 POWER8 implementation.
21910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21912 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21913 isnan implementation.
21914 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21916 2014-02-27 Joey Ye <joey.ye@arm.com>
21918 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21919 (_FP_NANFRAC_Q): Set to zero.
21921 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21924 * math/auto-libm-test-in: New test inputs.
21925 * math/auto-libm-test-out: Regenerate.
21926 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21929 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21931 2014-02-27 Joseph Myers <joseph@codesourcery.com>
21933 * scripts/evaluate-test.sh: Take new argument indicating whether
21934 failure is expected.
21935 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21936 indicating whether failure is expected.
21937 * conform/Makefile (test-xfail-run-conformtest): New variable.
21938 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21940 * posix/Makefile (test-xfail-annexc): New variable.
21941 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21943 2014-02-26 Joseph Myers <joseph@codesourcery.com>
21945 * argp/Makefile: Include Makeconfig immediately after defining
21947 * assert/Makefile: Likewise.
21948 * benchtests/Makefile: Likewise.
21949 * catgets/Makefile: Likewise.
21950 * conform/Makefile: Likewise.
21951 * crypt/Makefile: Likewise.
21952 * csu/Makefile: Likewise.
21953 (all): Remove target.
21954 * ctype/Makefile: Include Makeconfig immediately after defining
21956 * debug/Makefile: Likewise.
21957 * dirent/Makefile: Likewise.
21958 * dlfcn/Makefile: Likewise.
21959 * gmon/Makefile: Likewise.
21960 * gnulib/Makefile: Likewise.
21961 * grp/Makefile: Likewise.
21962 * gshadow/Makefile: Likewise.
21963 * hesiod/Makefile: Likewise.
21964 * hurd/Makefile: Likewise.
21965 (all): Remove target.
21966 * iconvdata/Makefile: Include Makeconfig immediately after
21968 * inet/Makefile: Likewise.
21969 * intl/Makefile: Likewise.
21970 * io/Makefile: Likewise.
21971 * libio/Makefile: Likewise.
21972 (all): Remove target.
21973 * locale/Makefile: Include Makeconfig immediately after defining
21975 * login/Makefile: Likewise.
21976 * mach/Makefile: Likewise.
21977 (all): Remove target.
21978 * malloc/Makefile: Include Makeconfig immediately after defining
21980 (all): Remove target.
21981 * manual/Makefile: Include Makeconfig immediately after defining
21983 * math/Makefile: Likewise.
21984 * misc/Makefile: Likewise.
21985 * nis/Makefile: Likewise.
21986 * nss/Makefile: Likewise.
21987 * po/Makefile: Likewise.
21988 (all): Remove target.
21989 * posix/Makefile: Include Makeconfig immediately after defining
21991 * pwd/Makefile: Likewise.
21992 * resolv/Makefile: Likewise.
21993 * resource/Makefile: Likewise.
21994 * rt/Makefile: Likewise.
21995 * setjmp/Makefile: Likewise.
21996 * shadow/Makefile: Likewise.
21997 * signal/Makefile: Likewise.
21998 * socket/Makefile: Likewise.
21999 * soft-fp/Makefile: Likewise.
22000 * stdio-common/Makefile: Likewise.
22001 * stdlib/Makefile: Likewise.
22002 * streams/Makefile: Likewise.
22003 * string/Makefile: Likewise.
22004 * sunrpc/Makefile: Likewise.
22005 (all): Remove target.
22006 * sysvipc/Makefile: Include Makeconfig immediately after defining
22008 * termios/Makefile: Likewise.
22009 * time/Makefile: Likewise.
22010 * timezone/Makefile: Likewise.
22011 (all): Remove target.
22012 * wcsmbs/Makefile: Include Makeconfig immediately after defining
22014 * wctype/Makefile: Likewise.
22016 2014-02-26 Steve Ellcey <sellcey@mips.com>
22018 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22019 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22020 (libc_feholdexcept_setround_mips): Ditto.
22021 (libc_feholdsetround): New.
22022 (libc_feholdsetroundf): New.
22023 (libc_feholdsetroundl): New.
22024 (libc_feupdateenv_test_mips): New.
22025 (libc_feupdateenv_test): New.
22026 (libc_feupdateenv_testf): New.
22027 (libc_feupdateenv_testl): New.
22028 (libc_feresetround): New.
22029 (libc_feresetroundf): New.
22030 (libc_feresetroundl): New.
22031 (libc_fetestexcept_mips): New.
22032 (libc_fetestexcept): New.
22033 (libc_fetestexceptf): New.
22034 (libc_fetestexceptl): New.
22035 (HAVE_RM_CTX): New.
22036 (libc_feholdexcept_setround_mips_ctx): New.
22037 (libc_feholdexcept_setround_ctx): New.
22038 (libc_feholdexcept_setroundf_ctx): New.
22039 (libc_feholdexcept_setroundl_ctx): New.
22040 (libc_fesetenv_mips_ctx): New.
22041 (libc_fesetenv_ctx): New.
22042 (libc_fesetenv_ctxf): New.
22043 (libc_fesetenv_ctxl): New.
22044 (libc_feupdateenv_mips_ctx): New.
22045 (libc_feupdateenv_ctx): New.
22046 (libc_feupdateenvf_ctx): New.
22047 (libc_feupdateenvl_ctx): New.
22048 (libc_feholdsetround_mips_ctx): New.
22049 (libc_feholdsetround_ctx): New.
22050 (libc_feholdsetroundf_ctx): New.
22051 (libc_feholdsetroundl_ctx): New.
22052 (libc_feresetround_mips_ctx): New.
22053 (libc_feresetround_ctx): New.
22054 (libc_feresetroundf_ctx): New.
22055 (libc_feresetroundl_ctx): New.
22057 2014-02-26 Carlos O'Donell <carlos@redhat.com>
22059 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22061 * manual/ipc.texi: New file.
22062 * manual/Makefile (chapters): Add ipc.
22063 * manual/job.texi: Add "Inter-Process Communication" to next.
22064 * manual/process.texi: Add "Inter-Process Communication" to prev.
22066 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22070 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
22072 * malloc/malloc.c (__libc_calloc): Simplify implementation.
22074 * manual/arith.texi: Fix spaces after sentences.
22075 * manual/charset.texi: Likewise.
22076 * manual/errno.texi: Likewise.
22077 * manual/install.texi: Likewise.
22078 * manual/llio.texi: Likewise.
22079 * manual/locale.texi: Likewise.
22080 * manual/maint.texi: Likewise.
22081 * manual/math.texi: Likewise.
22082 * manual/memory.texi: Likewise.
22083 * manual/message.texi: Likewise.
22084 * manual/probes.texi: Likewise.
22085 * manual/resource.texi: Likewise.
22086 * manual/signal.texi: Likewise.
22087 * manual/socket.texi: Likewise.
22088 * manual/stdio.texi: Likewise.
22089 * manual/string.texi: Likewise.
22090 * manual/time.texi: Likewise.
22091 * manual/users.texi: Likewise.
22093 2014-02-25 Carlos O'Donell <carlos@redhat.com>
22096 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22097 _DEFAULT_SOURCE is defined.
22099 2014-02-25 Ulrich Drepper <drepper@gmail.com>
22100 Carlos O'Donell <carlos@redhat.com>
22103 * elf/dl-tls.c (_dl_count_modids): New function.
22104 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22105 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22106 audit library and increment generation counter.
22107 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22108 * elf/tst-audit9.c: New file.
22109 * elf/tst-auditmod9a.c: New file.
22110 * elf/tst-auditmod9b.c: New file.
22111 * elf/Makefile: Add rules to build and run tst-audit9.
22113 2014-02-25 Florian Weimer <fweimer@redhat.com>
22116 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22118 2014-02-25 Will Newton <will.newton@linaro.org>
22120 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22121 (__longjmp): Restore sp and lr before restoring callee
22122 saved registers. Add longjmp and longjmp_target
22123 SystemTap probe point.
22124 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22125 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22126 Define to zero to match jmpbuf layout.
22127 * sysdeps/arm/setjmp.S: Include stap-probe.h.
22128 (__sigsetjmp): Save sp and lr before saving callee
22129 saved registers. Add setjmp SystemTap probe point.
22131 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22133 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22135 2014-02-24 Andreas Schwab <schwab@suse.de>
22138 * elf/pldd.c (wait_for_ptrace_stop): New function.
22139 (main): Call it after attaching.
22141 2014-02-22 Roland McGrath <roland@hack.frob.com>
22143 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22144 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22145 Versions files is now verboten.
22146 * hurd/Versions (libc: GLIBC_2.0):
22147 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22148 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22149 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22150 * mach/Versions: Likewise.
22152 * csu/Versions: Remove unused %include.
22153 * resolv/Versions: Likewise.
22155 2014-02-21 Joseph Myers <joseph@codesourcery.com>
22157 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22158 ($(objpfx)check-local-headers.out): Likewise.
22159 ($(objpfx)begin-end-check.out): Likewise.
22160 * Makerules (check-abi-%.out): Likewise.
22161 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22162 ($(objpfx)test2.cat): Likewise.
22163 ($(objpfx)de/libc.cat): Likewise.
22164 ($(objpfx)test-gencat.out): Likewise.
22165 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22166 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22167 ($(objpfx)noload-mem): Likewise.
22168 ($(objpfx)tst-pathopt.out): Likewise.
22169 ($(objpfx)tst-rtld-load-self.out): Likewise.
22170 ($(objpfx)tst-array1-cmp.out): Likewise.
22171 ($(objpfx)tst-array1-static-cmp.out): Likewise.
22172 ($(objpfx)tst-array2-cmp.out): Likewise.
22173 ($(objpfx)tst-array3-cmp.out): Likewise.
22174 ($(objpfx)tst-array4-cmp.out): Likewise.
22175 ($(objpfx)tst-array5-cmp.out): Likewise.
22176 ($(objpfx)tst-array5-static-cmp.out): Likewise.
22177 ($(objpfx)check-textrel.out): Likewise.
22178 ($(objpfx)check-execstack.out): Likewise.
22179 ($(objpfx)check-localplt.out): Likewise.
22180 ($(objpfx)order2-cmp.out): Likewise.
22181 ($(objpfx)tst-leaks1-mem): Likewise.
22182 ($(objpfx)tst-leaks1-static-mem): Likewise.
22183 ($(objpfx)tst-initorder-cmp.out): Likewise.
22184 ($(objpfx)tst-initorder2-cmp.out): Likewise.
22185 ($(objpfx)tst-unused-dep.out): Likewise.
22186 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22187 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22188 * iconv/Makefile (test-iconvconfig): Likewise.
22189 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22190 ($(objpfx)iconv-test.out): Likewise.
22191 ($(objpfx)tst-tables.out): Likewise.
22192 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22193 ($(objpfx)tst-gettext.out): Likewise.
22194 ($(objpfx)tst-translit.out): Likewise.
22195 ($(objpfx)tst-gettext2.out): Likewise.
22196 ($(objpfx)tst-gettext4.out): Likewise.
22197 ($(objpfx)tst-gettext6.out): Likewise.
22198 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22199 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22200 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22201 ($(objpfx)tst-fopenloc-mem.out): Likewise.
22202 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22203 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22204 * posix/Makefile ($(objpfx)globtest.out): Likewise.
22205 ($(objpfx)wordexp-tst.out): Likewise.
22206 ($(objpfx)annexc.out): Likewise.
22207 ($(objpfx)tst-fnmatch-mem): Likewise.
22208 ($(objpfx)bug-regex2-mem): Likewise.
22209 ($(objpfx)bug-regex14-mem): Likewise.
22210 ($(objpfx)bug-regex21-mem): Likewise.
22211 ($(objpfx)bug-regex31-mem): Likewise.
22212 ($(objpfx)tst-vfork3-mem): Likewise.
22213 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22214 ($(objpfx)tst-pcre-mem): Likewise.
22215 ($(objpfx)tst-boost-mem): Likewise.
22216 ($(objpfx)tst-getconf.out): Likewise.
22217 ($(objpfx)bug-ga2-mem): Likewise.
22218 ($(objpfx)bug-glob2-mem): Likewise.
22219 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22220 ($(objpfx)mtrace-tst-leaks2): Likewise.
22221 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22222 ($(objpfx)tst-printf.out): Likewise.
22223 ($(objpfx)tst-setvbuf1.out): Likewise.
22224 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22225 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22226 ($(objpfx)tst-fmtmsg.out): Likewise.
22227 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22228 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22230 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22231 * bits/sigaction.h [__USE_MISC]: Likewise.
22232 * bits/waitstatus.h: Update #endif comments.
22233 * ctype/ctype.h: Likewise.
22234 * dirent/dirent.h: Likewise.
22235 [__USE_MISC]: Remove redundant conditionals.
22236 * grp/grp.h: Update #endif comments.
22237 [__USE_GNU]: Remove redundant conditionals.
22238 [__USE_MISC]: Likewise.
22239 * inet/netinet/in.h [__USE_GNU]: Likewise.
22240 * io/sys/stat.h [__USE_MISC]: Likewise.
22241 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22242 * libio/bits/stdio.h: Update #endif comments.
22243 [__USE_MISC]: Remove redundant conditionals.
22244 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22245 * libio/stdio.h: Update #endif comments.
22246 [__USE_MISC]: Remove redundant conditionals.
22247 * math/bits/math-finite.h [__USE_MISC]: Likewise.
22248 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22249 * math/math.h: Update #else and #endif comments.
22250 [__USE_MISC]: Remove redundant conditionals.
22251 * misc/sys/uio.h: Update #endif comments.
22252 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22253 * posix/glob.h [__USE_MISC]: Likewise.
22254 * posix/sys/types.h: Update #endif comments.
22255 [__USE_MISC]: Remove redundant conditionals.
22256 * posix/sys/wait.h: Update #endif comments.
22257 [__USE_MISC]: Remove redundant conditionals.
22258 * posix/unistd.h: Update #endif comments.
22259 [__USE_MISC]: Remove redundant conditionals.
22260 * pwd/pwd.h [__USE_GNU]: Likewise.
22261 [__USE_MISC]: Likewise.
22262 * resolv/netdb.h [__USE_GNU]: Likewise.
22263 * signal/signal.h: Update #endif comments.
22264 [__USE_MISC]: Remove redundant conditionals.
22265 * stdlib/stdlib.h: Update #else and #endif comments.
22266 [__USE_MISC]: Remove redundant conditionals.
22267 [__USE_GNU]: Likewise.
22268 * string/bits/string2.h [__USE_MISC]: Likewise.
22269 * string/string.h: Update #endif comments.
22270 [__USE_MISC]: Remove redundant conditionals.
22271 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22273 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22274 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22275 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22277 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22279 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22281 [__USE_MISC]: Remove redundant conditionals.
22282 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22283 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22284 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22285 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22286 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22288 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22289 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22291 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22292 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22294 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22296 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22297 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22299 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22301 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22302 * sysdeps/x86/bits/string.h: Update #endif comments.
22303 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22305 * time/sys/time.h: Update #endif comments.
22306 * time/time.h: Likewise.
22307 [__USE_MISC]: Remove redundant conditionals.
22309 2014-02-21 Yury Gribov <y.gribov@samsung.com>
22312 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22314 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
22316 * Versions.def (librt): Add GLIBC_2.17.
22318 2014-02-21 Adam Conrad <adconrad@0c3.net>
22320 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22321 synonym for _SYS_AUXV_H to allow direct inclusion.
22322 * sysdeps/sparc/bits/hwcap.h: Likewise.
22323 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22324 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22325 * sysdeps/sparc/sysdep.h: Likewise.
22327 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22329 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22331 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22333 * benchtests/bench-strrchr.c: Print length instead of position.
22335 2014-02-20 Joseph Myers <joseph@codesourcery.com>
22338 * sysdeps/unix/sysv/linux/kernel-features.h
22339 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22340 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22341 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22342 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22344 [__i386__ || __powerpc__ || __sh__ || __sparc__]
22345 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22346 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22347 (__ASSUME_SENDMMSG): Define instead of using previous
22348 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22349 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22350 (__ASSUME_SENDMMSG_SYSCALL): Define.
22351 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22352 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22354 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22355 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22357 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22358 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22360 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22361 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22362 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22363 [__ASSUME_SENDMMSG]: Change conditionals to
22364 [__ASSUME_SENDMMSG_SOCKETCALL].
22365 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22366 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22368 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22369 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22371 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22372 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22373 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22374 [!__ASSUME_SENDMMSG]: Change conditional to
22375 [!__ASSUME_SENDMMSG_SOCKETCALL].
22376 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22377 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22381 * sysdeps/unix/sysv/linux/kernel-features.h
22382 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22383 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22384 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22385 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22386 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22387 [__i386__ || __sparc__]
22388 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22389 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22390 (__ASSUME_RECVMMSG): Define instead of using previous
22391 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22392 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22393 (__ASSUME_RECVMMSG_SYSCALL): Define.
22394 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22395 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22397 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22398 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22400 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22401 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22403 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22404 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22405 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22406 [__ASSUME_RECVMMSG]: Change condition to
22407 [__ASSUME_RECVMMSG_SOCKETCALL].
22408 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22409 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22411 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22412 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22413 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22415 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22416 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22417 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22418 [!__ASSUME_RECVMMSG]: Change condition to
22419 [!__ASSUME_RECVMMSG_SOCKETCALL].
22420 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22421 (__ASSUME_RECVMMSG_SYSCALL): Define.
22424 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22425 __powerpc__ || __s390__ || __sh__ || __sparc__]
22426 (__ASSUME_SOCKETCALL): Define.
22427 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22428 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22429 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22430 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22431 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22432 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22433 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22434 (__ASSUME_ACCEPT4): Define instead of using previous
22435 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22436 __powerpc__ || __sparc__ || __s390__)] condition.
22437 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22438 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22439 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22440 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22441 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22442 [!__ASSUME_ACCEPT4]: Change condition to
22443 [!__ASSUME_ACCEPT4_SOCKETCALL].
22444 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22445 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
22446 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22447 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22448 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22449 __ASSUME_ACCEPT4_SYSCALL.
22450 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22451 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22452 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22453 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22454 __ASSUME_ACCEPT4_SYSCALL.
22455 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22456 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22457 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22458 [__ASSUME_ACCEPT4]: Change condition to
22459 [__ASSUME_ACCEPT4_SOCKETCALL].
22460 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22461 (__ASSUME_SOCKETCALL): Define.
22462 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22463 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22464 (__ASSUME_SOCKETCALL): Define.
22465 (__ASSUME_ACCEPT4): Remove.
22466 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22468 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22469 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22471 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22472 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22474 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22476 (HWCAP_ARM_LPAE): Likewise.
22477 (HWCAP_ARM_EVTSTRM): Likewise.
22478 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22479 Add vpfd32, lpae and evtstrm.
22480 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22483 2014-02-19 Joseph Myers <joseph@codesourcery.com>
22485 * math/auto-libm-test-in: Add tests of clog10.
22486 * math/auto-libm-test-out: Regenerated.
22487 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22488 * sysdeps/i386/fpu/libm-test-ulps: Update.
22489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22491 2014-02-18 Andreas Schwab <schwab@suse.de>
22494 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22495 Store non-zero if the second buffer was newly allocated.
22496 (send_dg): Likewise.
22497 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22498 to send_vc and send_dg.
22499 (res_nsend): Pass NULL for ansp2_malloced.
22500 * resolv/res_query.c (__libc_res_nquery): Add parameter
22501 answerp2_malloced and pass it down to __libc_res_nsend.
22502 (res_nquery): Pass additional NULL to __libc_res_nquery.
22503 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22504 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
22505 second answer buffer if answerp2_malloced was set.
22506 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22507 (__libc_res_nquerydomain): Add parameter
22508 answerp2_malloced and pass it down to __libc_res_nquery.
22509 (res_nquerydomain): Pass additional NULL to
22510 __libc_res_nquerydomain.
22511 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22512 additional NULL to __libc_res_nsend and __libc_res_nquery.
22513 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22514 additional NULL to __libc_res_nsearch.
22515 (_nss_dns_gethostbyname4_r): Revert last change. Use new
22516 parameter of __libc_res_nsearch to check for separately allocated
22518 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22520 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22521 additional NULL to __libc_res_nquery.
22522 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22523 __libc_res_nsearch.
22524 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22525 * include/resolv.h: Update prototypes of __libc_res_nquery,
22526 __libc_res_nsearch, __libc_res_nsend.
22528 2014-02-18 Joseph Myers <joseph@codesourcery.com>
22530 * math/auto-libm-test-in: Add tests of fma.
22531 * math/auto-libm-test-out: Regenerated.
22532 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22533 (fma_towardzero_test_data): Likewise.
22534 (fma_downward_test_data): Likewise.
22535 (fma_upward_test_data): Likewise.
22536 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22538 (rounding_modes): Add values for new field.
22539 (func_calc_method): Add value mpfr_fff_f.
22540 (func_calc_desc): Add mpfr_fff_f union field.
22541 (test_function): Add field exact_args.
22542 (FUNC): Add macro argument EXACT_ARGS.
22543 (FUNC_mpfr_f_f): Update call to FUNC.
22544 (FUNC_mpfr_f_f): Likewise.
22545 (FUNC_mpfr_ff_f): Likewise.
22546 (FUNC_mpfr_if_f): Likewise.
22547 (FUNC_mpc_c_f): Likewise.
22548 (FUNC_mpc_c_c): Likewise.
22549 (test_functions): Add fma. Update calls to FUNC.
22550 (handle_input_arg): Add argument exact_args.
22551 (add_test): Update call to handle_input_arg.
22552 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
22553 (output_for_one_input_case): Update call to calc_generic_results.
22554 Recalculate exact zero results in each rounding mode.
22556 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22557 non-negative before setting low bit.
22558 * math/auto-libm-test-in: Mark one asin test possibly having
22559 spurious underflow.
22560 * math/auto-libm-test-out: Regenerated.
22561 * sysdeps/i386/fpu/libm-test-ulps: Update.
22562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22564 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
22566 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22567 * sysdeps/unix/sysv/linux/microblaze: Move directory from
22568 ports/sysdeps/unix/sysv/linux/microblaze.
22569 * README: Add missing listing for microblaze*-*-linux-gnu.
22571 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
22573 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22576 2014-02-16 Mike Frysinger <vapier@gentoo.org>
22578 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22579 * sysdeps/unix/sysv/linux/ia64: Move directory from
22580 ports/sysdeps/unix/sysv/linux/ia64.
22581 * README: Update listing for ia64-*-linux-gnu.
22583 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
22584 Joseph Myers <joseph@codesourcery.com>
22586 * Makeconfig (test-name): New variable.
22587 (evaluate-test): Likewise.
22588 * Makerules (do-test-clean): Remove .test-result files.
22589 (common-mostlyclean): Likewise.
22590 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22591 * scripts/evaluate-test.sh: New file.
22593 2014-02-14 Joseph Myers <joseph@codesourcery.com>
22595 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22596 separate $(objpfx)tst-fopenloc-cmp.out and
22597 $(objpfx)tst-fopenloc-mem.out targets.
22598 (tests): Update dependencies.
22599 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22600 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22601 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22602 (tst-rxspencer-no-utf8-ARGS): New variable.
22603 (tst-rxspencer-no-utf8-ENV): Likewise.
22604 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22605 instead of $(objpfx)tst-rxspencer-mem.
22606 ($(objpfx)tst-rxspencer-mem): Change target to
22607 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
22608 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22609 * posix/tst-rxspencer-no-utf8.c: New file.
22611 * elf/Makefile ($(objpfx)order.out): Remove rule.
22612 [$(run-built-tests) = yes] (tests): Depend on
22613 $(objpfx)order-cmp.out.
22614 ($(objpfx)order-cmp.out): New rule.
22615 [$(run-built-tests) = yes] (tests): Depend on
22616 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22617 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22618 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22619 $(objpfx)tst-array5-static-cmp.out.
22620 ($(objpfx)tst-array1.out): Remove rule.
22621 ($(objpfx)tst-array1-cmp.out): New rule.
22622 ($(objpfx)tst-array1-static.out): Remove rule.
22623 ($(objpfx)tst-array1-static-cmp.out): New rule.
22624 ($(objpfx)tst-array2.out): Remove rule.
22625 ($(objpfx)tst-array2-cmp.out): New rule.
22626 ($(objpfx)tst-array3.out): Remove rule.
22627 ($(objpfx)tst-array3-cmp.out): New rule.
22628 ($(objpfx)tst-array4.out): Remove rule.
22629 ($(objpfx)tst-array4-cmp.out): New rule.
22630 ($(objpfx)tst-array5.out): Remove rule.
22631 ($(objpfx)tst-array5-cmp.out): New rule.
22632 ($(objpfx)tst-array5-static.out): Remove rule.
22633 ($(objpfx)tst-array5-static-cmp.out): New rule.
22634 [$(run-built-tests) = yes] (tests): Depend on
22635 $(objpfx)order2-cmp.out.
22636 ($(objpfx)order2.out): Remove rule.
22637 ($(objpfx)order2-cmp.out): New rule.
22638 ($(objpfx)tst-initorder.out): Remove rule.
22639 [$(run-built-tests) = yes] (tests): Depend on
22640 $(objpfx)tst-initorder-cmp.out.
22641 ($(objpfx)tst-initorder-cmp.out): New rule.
22642 ($(objpfx)tst-initorder2.out): Remove rule.
22643 [$(run-built-tests) = yes] (tests): Depend on
22644 $(objpfx)tst-initorder2-cmp.out.
22645 ($(objpfx)tst-initorder2-cmp.out): New rule.
22646 [$(run-built-tests) = yes] (tests): Depend on
22647 $(objpfx)tst-unused-dep-cmp.out.
22648 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22649 ($(objpfx)tst-unused-dep-cmp.out): New rule.
22650 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22651 on $(objpfx)tst-setvbuf1-cmp.out.
22652 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22653 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22654 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22655 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22656 ($(objpfx)tst-svc.out): Remove rule.
22657 ($(objpfx)tst-svc-cmp.out): New rule.
22659 2014-02-13 Joseph Myers <joseph@codesourcery.com>
22661 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22662 * ctype/ctype.h [__USE_MISC]: Likewise.
22663 * dirent/dirent.h [__USE_MISC]: Likewise.
22664 * grp/grp.h [__USE_MISC]: Likewise.
22665 * io/fcntl.h [__USE_MISC]: Likewise.
22666 * io/sys/stat.h [__USE_MISC]: Likewise.
22667 * libio/stdio.h [__USE_MISC]: Likewise.
22668 * posix/unistd.h [__USE_MISC]: Likewise.
22669 * pwd/pwd.h [__USE_MISC]: Likewise.
22670 * stdlib.h [__USE_MISC]: Likewise.
22671 * string/bits/string2.h [__USE_MISC]: Likewise.
22672 * string/string.h [__USE_MISC]: Likewise.
22673 * time/time.h [__USE_MISC]: Likewise.
22675 2014-02-13 Andreas Schwab <schwab@suse.de>
22678 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22679 second answer buffer if it was separately allocated.
22681 2014-02-12 Joseph Myers <joseph@codesourcery.com>
22683 * sysdeps/mips/math-tests.h: Include <features.h>.
22684 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22685 (ROUNDING_TESTS_long_double): Do not define.
22686 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22687 (EXCEPTION_TESTS_long_double): Likewise.
22688 * sysdeps/mips/mips64/libm-test-ulps: Update.
22690 * include/features.h (__USE_BSD): Remove macro definitions.
22691 (__USE_SVID): Likewise.
22692 (_BSD_SOURCE): Likewise.
22693 (_SVID_SOURCE): Likewise.
22694 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22695 from definition of _DEFAULT_SOURCE.
22696 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22698 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22699 * bits/mman.h [__USE_BSD]: Likewise.
22700 * bits/termios.h [__USE_BSD]: Likewise.
22701 * bits/waitstatus.h [__USE_BSD]: Likewise.
22702 * ctype/ctype.h [__USE_SVID]: Likewise.
22703 * dirent/dirent.h [__USE_BSD]: Likewise.
22704 * grp/grp.h [__USE_SVID]: Likewise.
22705 [__USE_BSD]: Likewise.
22706 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22707 * io/fcntl.h [__USE_BSD]: Likewise.
22708 * io/ftw.h [__USE_BSD]: Likewise.
22709 * io/sys/stat.h [__USE_BSD]: Likewise.
22710 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22711 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22712 * libio/stdio.h [__USE_SVID]: Likewise.
22713 [__USE_BSD]: Likewise.
22714 * math/math.h [__USE_SVID]: Likewise.
22715 [__USE_BSD]: Likewise.
22716 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22717 * misc/bits/syslog.h [__USE_BSD]: Likewise.
22718 * misc/search.h [__USE_SVID]: Likewise.
22719 * misc/sys/mman.h [__USE_BSD]: Likewise.
22720 * misc/sys/syslog.h [__USE_BSD]: Likewise.
22721 * misc/sys/uio.h [__USE_BSD]: Likewise.
22722 * posix/bits/unistd.h [__USE_BSD]: Likewise.
22723 * posix/glob.h [__USE_BSD]: Likewise.
22724 * posix/regex.h [__USE_BSD]: Likewise.
22725 * posix/sys/types.h [__USE_BSD]: Likewise.
22726 [__USE_SVID]: Likewise.
22727 * posix/sys/utsname.h [__USE_SVID]: Likewise.
22728 * posix/sys/wait.h [__USE_BSD]: Likewise.
22729 [__USE_SVID]: Likewise.
22730 * posix/unistd.h [__USE_BSD]: Likewise.
22731 [__USE_SVID]: Likewise.
22732 * pwd/pwd.h [__USE_SVID]: Likewise.
22733 * resolv/netdb.h [__USE_BSD]: Likewise.
22734 * setjmp/setjmp.h [__USE_BSD]: Likewise.
22735 * signal/signal.h [__USE_BSD]: Likewise.
22736 [__USE_SVID]: Likewise.
22737 * socket/sys/socket.h [__USE_BSD]: Likewise.
22738 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22739 * stdlib/stdlib.h [__USE_BSD]: Likewise.
22740 [__USE_SVID]: Likewise.
22741 * string/bits/string2.h [__USE_BSD]: Likewise.
22742 [__USE_SVID]: Likewise.
22743 * string/bits/string3.h [__USE_BSD]: Likewise.
22744 * string/endian.h [__USE_BSD]: Likewise.
22745 * string/string.h [__USE_SVID]: Likewise.
22746 [__USE_BSD]: Likewise.
22747 * string/strings.h [__USE_BSD]: Likewise.
22748 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22749 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22750 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22751 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22752 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22753 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22755 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22757 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22758 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22760 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22761 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22763 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22765 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22766 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22767 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22769 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22771 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22772 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22773 * termios/termios.h [__USE_BSD]: Likewise.
22774 * time/sys/time.h [__USE_BSD]: Likewise.
22775 * time/time.h [__USE_BSD]: Likewise.
22776 [__USE_SVID]: Likewise.
22778 * Makefile (subdir_targets): Remove subdir_lint.out.
22780 * stdio-common/Makefile (do-tst-unbputc): Remove target.
22781 (do-tst-printf): Likewise.
22782 (tests): Depend directly on $(objpfx)tst-unbputc.out and
22783 $(objpfx)tst-printf.out.
22785 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22787 * Makerules (check-abi-%): Change target to
22788 $(objpfx)check-abi-%.out.
22789 (check-abi target): Update dependencies.
22790 (check-abi-pattern variable): Redirect output of diff to $@.
22791 (check-abi variable): Likewise.
22792 * elf/Makefile (check-abi): Update dependencies.
22794 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22796 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22797 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22799 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22800 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22801 value has largest subnormal exponent.
22802 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22803 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22804 * sysdeps/aarch64/soft-fp/sfp-machine.h
22805 (_FP_TININESS_AFTER_ROUNDING): New macro.
22806 * sysdeps/alpha/soft-fp/sfp-machine.h
22807 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22808 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22810 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22811 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22812 * sysdeps/mips/soft-fp/sfp-machine.h
22813 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22814 * sysdeps/powerpc/soft-fp/sfp-machine.h
22815 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22816 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22818 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22819 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22820 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22821 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22822 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22825 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
22828 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22831 2014-02-12 Richard Henderson <rth@redhat.com>
22833 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22834 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22835 * sysdeps/unix/sysv/linux/alpha: Move directory from
22836 ports/sysdeps/unix/sysv/linux/alpha.
22837 * README: Update listing for alpha-*-linux-gnu.
22839 2014-02-11 Joseph Myers <joseph@codesourcery.com>
22841 * include/features.h: Update comment documenting feature test
22843 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
22845 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22846 (_SVID_SOURCE): Likewise.
22847 (_DEFAULT_SOURCE): Update description of default features.
22848 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22850 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22851 (S_ISVTX): Likewise.
22852 * manual/math.texi (Mathematical Constants): Likewise.
22853 * manual/signal.texi (Interrupted Primitives): Likewise.
22854 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22855 * math/test-matherr.c (_SVID_SOURCE): Do not define.
22856 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22857 Don't refer to _SVID_SOURCE in warning text.
22859 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22861 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22863 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22864 * sysdeps/mips/dl-lookup.c: Remove.
22865 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22867 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22870 * math/auto-libm-test-in: Add testcase for expl.
22871 * math/auto-libm-test-out: Regenerate.
22872 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22873 calculation of unsafe.
22874 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22876 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
22878 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22879 * sysdeps/unix/sysv/linux/aarch64: Move directory from
22880 ports/sysdeps/unix/sysv/linux/aarch64.
22881 * README: Update listing for aarch64*-*-linux-gnu.
22883 2014-02-11 Will Newton <will.newton@linaro.org>
22885 * manual/probes.texi (Mathematical Function Probes): Use
22886 "triggered" instead of "hit".
22888 * manual/probes.texi (Internal Probes): Add documentation
22889 of setjmp, longjmp and longjmp_target probes.
22891 * include/stap-probe.h: Add comment about probe argument
22894 * malloc/mtrace.c (attribute_hidden): Remove unused macro
22895 definition. (tr_where, tr_freehook, tr_mallochook,
22896 tr_reallochook, tr_memalignhook): Use ANSI protoype.
22898 2014-02-11 David S. Miller <davem@davemloft.net>
22900 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22901 processing int_tests.
22903 2014-02-10 Joseph Myers <joseph@codesourcery.com>
22905 * sysdeps/mips: Move directory from ports/sysdeps/mips.
22906 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22907 * sysdeps/unix/sysv/linux/mips: Move directory from
22908 ports/sysdeps/unix/sysv/linux/mips.
22909 * README: Update listing for mips-*-linux-gnu and
22910 mips64-*-linux-gnu.
22912 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
22914 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22915 * sysdeps/unix/sysv/linux/m68k: Move directory from
22916 ports/sysdeps/unix/sysv/linux/m68k.
22917 * README: Update listing for m68k-*-linux-gnu.
22919 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
22921 * sysdeps/tile: Move directory from ports/sysdeps/tile.
22922 * sysdeps/unix/sysv/linux/generic: Move directory from
22923 ports/sysdeps/unix/sysv/linux/generic.
22924 * sysdeps/unix/sysv/linux/tile: Move directory from
22925 ports/sysdeps/unix/sysv/linux/tile.
22926 * README: Update listing for tile*-*-linux-gnu.
22928 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
22930 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22932 * benchtests/bench-memmem.c (simple_memmem): Likewise.
22933 * catgets/open_catalog.c (__open_catalog): Likewise.
22934 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22935 * debug/confstr_chk.c: Likewise.
22936 * debug/fread_chk.c (__fread_chk): Likewise.
22937 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22938 * debug/getgroups_chk.c: Likewise.
22939 * debug/mbsnrtowcs_chk.c: Likewise.
22940 * debug/mbsrtowcs_chk.c: Likewise.
22941 * debug/mbstowcs_chk.c: Likewise.
22942 * debug/memcpy_chk.c: Likewise.
22943 * debug/memmove_chk.c: Likewise.
22944 * debug/mempcpy_chk.c: Likewise.
22945 * debug/memset_chk.c: Likewise.
22946 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22947 * debug/strcat_chk.c (__strcat_chk): Likewise.
22948 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22949 * debug/strncat_chk.c (__strncat_chk): Likewise.
22950 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22951 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22952 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22953 * debug/wcpncpy_chk.c: Likewise.
22954 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22955 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22956 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22957 * debug/wcsncpy_chk.c: Likewise.
22958 * debug/wcsnrtombs_chk.c: Likewise.
22959 * debug/wcsrtombs_chk.c: Likewise.
22960 * debug/wcstombs_chk.c: Likewise.
22961 * debug/wmemcpy_chk.c: Likewise.
22962 * debug/wmemmove_chk.c: Likewise.
22963 * debug/wmempcpy_chk.c: Likewise.
22964 * debug/wmemset_chk.c: Likewise.
22965 * dirent/scandirat.c (SCANDIRAT): Likewise.
22966 * dlfcn/dladdr1.c (dladdr1): Likewise.
22967 * dlfcn/dladdr.c (dladdr): Likewise.
22968 * dlfcn/dlclose.c (dlclose_doit): Likewise.
22969 * dlfcn/dlerror.c (__dlerror): Likewise.
22970 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22971 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22972 * dlfcn/dlopen.c (dlopen_doit): Likewise.
22973 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22974 * dlfcn/dlsym.c (dlsym_doit): Likewise.
22975 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22976 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22977 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22979 * elf/dl-conflict.c: Likewise.
22980 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22981 * elf/dl-dst.h: Likewise.
22982 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22983 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22984 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22985 * elf/dl-init.c (call_init, _dl_init): Likewise.
22986 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22987 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22988 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22990 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22992 * elf/dl-minimal.c (__libc_memalign): Likewise.
22993 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22994 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22995 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22996 * elf/dl-sym.c (do_sym): Likewise.
22997 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22998 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22999 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23000 * elf/dl-writev.h (_dl_writev): Likewise.
23001 * elf/ldconfig.c (search_dir): Likewise.
23002 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23003 (dl_main): Likewise.
23004 * elf/setup-vdso.h (setup_vdso): Likewise.
23005 * grp/compat-initgroups.c (compat_call): Likewise.
23006 * grp/fgetgrent.c (fgetgrent): Likewise.
23007 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23008 * grp/putgrent.c (putgrent): Likewise.
23009 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23011 * hurd/hurdinit.c: Likewise.
23012 * iconvdata/8bit-gap.c (struct): Likewise.
23013 * iconvdata/ansi_x3.110.c : Likewise.
23014 * iconvdata/big5.c : Likewise.
23015 * iconvdata/big5hkscs.c : Likewise.
23016 * iconvdata/cp1255.c: Likewise.
23017 * iconvdata/cp1258.c : Likewise.
23018 * iconvdata/cp932.c : Likewise.
23019 * iconvdata/euc-cn.c: Likewise.
23020 * iconvdata/euc-jisx0213.c : Likewise.
23021 * iconvdata/euc-jp.c: Likewise.
23022 * iconvdata/euc-jp-ms.c : Likewise.
23023 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23024 * iconvdata/gb18030.c : Likewise.
23025 * iconvdata/gbbig5.c (const): Likewise.
23026 * iconvdata/gbgbk.c: Likewise.
23027 * iconvdata/gbk.c : Likewise.
23028 * iconvdata/ibm1364.c : Likewise.
23029 * iconvdata/ibm930.c : Likewise.
23030 * iconvdata/ibm932.c: Likewise.
23031 * iconvdata/ibm933.c : Likewise.
23032 * iconvdata/ibm935.c : Likewise.
23033 * iconvdata/ibm937.c : Likewise.
23034 * iconvdata/ibm939.c : Likewise.
23035 * iconvdata/ibm943.c: Likewise.
23036 * iconvdata/iso_11548-1.c: Likewise.
23037 * iconvdata/iso-2022-cn.c : Likewise.
23038 * iconvdata/iso-2022-cn-ext.c : Likewise.
23039 * iconvdata/iso-2022-jp-3.c: Likewise.
23040 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23041 * iconvdata/iso-2022-kr.c : Likewise.
23042 * iconvdata/iso646.c (gconv_end): Likewise.
23043 * iconvdata/iso_6937-2.c : Likewise.
23044 * iconvdata/iso_6937.c : Likewise.
23045 * iconvdata/iso8859-1.c: Likewise.
23046 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23047 * iconvdata/shift_jisx0213.c : Likewise.
23048 * iconvdata/sjis.c : Likewise.
23049 * iconvdata/t.61.c : Likewise.
23050 * iconvdata/tcvn5712-1.c : Likewise.
23051 * iconvdata/tscii.c: Likewise.
23052 * iconvdata/uhc.c : Likewise.
23053 * iconvdata/unicode.c (gconv_end): Likewise.
23054 * iconvdata/utf-16.c (gconv_end): Likewise.
23055 * iconvdata/utf-32.c (gconv_end): Likewise.
23056 * iconvdata/utf-7.c (base64): Likewise.
23057 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23058 * iconv/gconv_close.c (__gconv_close): Likewise.
23059 * iconv/gconv_open.c (__gconv_open): Likewise.
23060 * iconv/gconv_simple.c (internal_ucs4_loop_single)
23061 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23062 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23063 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23064 (ucs4le_internal_loop_single): Likewise.
23065 * iconv/iconv.c (iconv): Likewise.
23066 * iconv/iconv_close.c: Likewise.
23067 * iconv/loop.c (SINGLE): Likewise.
23068 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23069 * include/atomic.h: Likewise.
23070 * inet/inet6_option.c (option_alloc): Likewise.
23071 * intl/bindtextdom.c (set_binding_values): Likewise.
23072 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23073 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23074 * intl/localealias.c (read_alias_file): Likewise.
23075 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23076 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23077 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23078 * libio/fmemopen.c (fmemopen): Likewise.
23079 * libio/iofgets.c (_IO_fgets): Likewise.
23080 * libio/iofgets_u.c (fgets_unlocked): Likewise.
23081 * libio/iofgetws.c (fgetws): Likewise.
23082 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23083 * libio/iogetdelim.c (_IO_getdelim): Likewise.
23084 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23085 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23086 * locale/findlocale.c (_nl_find_locale): Likewise.
23087 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23088 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23090 * locale/setlocale.c (setlocale): Likewise.
23091 * login/programs/pt_chown.c (main): Likewise.
23092 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23093 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23094 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23095 (mmap, mmap64, mremap, munmap): Likewise.
23096 * math/e_exp2l.c: Likewise.
23097 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23098 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23099 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23100 * math/s_catan.c (__catan): Likewise.
23101 * math/s_catanf.c (__catanf): Likewise.
23102 * math/s_catanh.c (__catanh): Likewise.
23103 * math/s_catanhf.c (__catanhf): Likewise.
23104 * math/s_catanhl.c (__catanhl): Likewise.
23105 * math/s_catanl.c (__catanl): Likewise.
23106 * math/s_ccosh.c (__ccosh): Likewise.
23107 * math/s_ccoshf.c (__ccoshf): Likewise.
23108 * math/s_ccoshl.c (__ccoshl): Likewise.
23109 * math/s_cexp.c (__cexp): Likewise.
23110 * math/s_cexpf.c (__cexpf): Likewise.
23111 * math/s_cexpl.c (__cexpl): Likewise.
23112 * math/s_clog10.c (__clog10): Likewise.
23113 * math/s_clog10f.c (__clog10f): Likewise.
23114 * math/s_clog10l.c (__clog10l): Likewise.
23115 * math/s_clog.c (__clog): Likewise.
23116 * math/s_clogf.c (__clogf): Likewise.
23117 * math/s_clogl.c (__clogl): Likewise.
23118 * math/s_csin.c (__csin): Likewise.
23119 * math/s_csinf.c (__csinf): Likewise.
23120 * math/s_csinh.c (__csinh): Likewise.
23121 * math/s_csinhf.c (__csinhf): Likewise.
23122 * math/s_csinhl.c (__csinhl): Likewise.
23123 * math/s_csinl.c (__csinl): Likewise.
23124 * math/s_csqrt.c (__csqrt): Likewise.
23125 * math/s_csqrtf.c (__csqrtf): Likewise.
23126 * math/s_csqrtl.c (__csqrtl): Likewise.
23127 * math/s_ctan.c (__ctan): Likewise.
23128 * math/s_ctanf.c (__ctanf): Likewise.
23129 * math/s_ctanh.c (__ctanh): Likewise.
23130 * math/s_ctanhf.c (__ctanhf): Likewise.
23131 * math/s_ctanhl.c (__ctanhl): Likewise.
23132 * math/s_ctanl.c (__ctanl): Likewise.
23133 * math/w_pow.c: Likewise.
23134 * math/w_powf.c: Likewise.
23135 * math/w_powl.c: Likewise.
23136 * math/w_scalb.c (sysv_scalb): Likewise.
23137 * math/w_scalbf.c (sysv_scalbf): Likewise.
23138 * math/w_scalbl.c (sysv_scalbl): Likewise.
23139 * misc/error.c (error_tail): Likewise.
23140 * misc/pselect.c (__pselect): Likewise.
23141 * nis/nis_callback.c (__nis_create_callback): Likewise.
23142 * nis/nis_call.c (__nisfind_server): Likewise.
23143 * nis/nis_creategroup.c (nis_creategroup): Likewise.
23144 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23145 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23146 * nis/nis_getservlist.c (nis_getservlist): Likewise.
23147 * nis/nis_lookup.c (nis_lookup): Likewise.
23148 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23149 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23150 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23151 * nis/nis_xdr.c (xdr_endpoint): Likewise.
23152 * nis/nss_compat/compat-grp.c (getgrent_next_file)
23153 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23154 * nis/nss_compat/compat-initgroups.c (add_group)
23155 (internal_getgrent_r): Likewise.
23156 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23157 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23158 * nis/nss_compat/compat-spwd.c (getspent_next_file)
23159 (internal_getspnam_r): Likewise.
23160 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23161 (_nss_nis_getaliasbyname_r): Likewise.
23162 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23163 (_nss_nis_getntohost_r): Likewise.
23164 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23165 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23166 (_nss_nis_getgrgid_r): Likewise.
23167 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23168 (internal_nis_gethostent_r, internal_gethostbyname2_r)
23169 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23170 (_nss_nis_gethostbyname4_r): Likewise.
23171 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23172 (initgroups_netid): Likewise.
23173 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23174 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23175 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23176 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23177 (_nss_nis_getprotobynumber_r): Likewise.
23178 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23179 (_nss_nis_getsecretkey): Likewise.
23180 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23181 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23182 (_nss_nis_getpwuid_r): Likewise.
23183 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23184 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23185 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23186 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23187 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23188 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23189 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23191 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23192 (_nss_nisplus_getntohost_r): Likewise.
23193 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23194 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23195 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23196 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23198 * nis/nss_nisplus/nisplus-initgroups.c
23199 (_nss_nisplus_initgroups_dyn): Likewise.
23200 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23201 (_nss_nisplus_getnetbyaddr_r): Likewise.
23202 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23203 (_nss_nisplus_getprotobynumber_r): Likewise.
23204 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23205 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23206 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23208 * nis/nss_nisplus/nisplus-service.c
23209 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23210 (_nss_nisplus_getservbyport_r): Likewise.
23211 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23212 (_nss_nisplus_getspnam_r): Likewise.
23213 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23215 * nscd/aicache.c (addhstaiX): Likewise.
23216 * nscd/cache.c (cache_search, prune_cache): Likewise.
23217 * nscd/connections.c (register_traced_file, send_ro_fd)
23218 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23219 (main_loop_epoll): Likewise.
23220 * nscd/grpcache.c (addgrbyX): Likewise.
23221 * nscd/hstcache.c (addhstbyX): Likewise.
23222 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23223 * nscd/mem.c (gc, mempool_alloc): Likewise.
23224 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23225 (addinnetgrX): Likewise.
23226 * nscd/nscd-client.h (__nscd_acquire_maplock)
23227 (__nscd_drop_map_ref): Likewise.
23228 * nscd/nscd_getai.c (__nscd_getai): Likewise.
23229 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23230 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23232 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23233 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23234 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23235 (__nscd_get_map_ref): Likewise.
23236 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23237 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23239 * nscd/pwdcache.c (addpwbyX): Likewise.
23240 * nscd/selinux.c (preserve_capabilities): Likewise.
23241 * nscd/servicescache.c (addservbyX): Likewise.
23242 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23243 * posix/fnmatch.c (fnmatch): Likewise.
23244 * posix/getopt.c (_getopt_internal_r): Likewise.
23245 * posix/glob.c (glob, glob_in_dir): Likewise.
23246 * posix/wordexp.c (exec_comm_child): Likewise.
23247 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23248 (getanswer_r, gaih_getanswer_slice): Likewise.
23249 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23250 * resolv/res_init.c: Likewise.
23251 * resolv/res_mkquery.c (res_nmkquery): Likewise.
23252 * resolv/res_query.c (__libc_res_nquery): Likewise.
23253 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23255 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23256 * stdio-common/perror.c (perror): Likewise.
23257 * stdio-common/printf_fp.c (___printf_fp): Likewise.
23258 * stdio-common/tmpnam.c (tmpnam): Likewise.
23259 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23260 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23261 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23263 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23264 * stdlib/putenv.c (putenv): Likewise.
23265 * stdlib/setenv.c (__add_to_environ): Likewise.
23266 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23267 * stdlib/strtol_l.c (INTERNAL): Likewise.
23268 * string/memmem.c (memmem): Likewise.
23269 * string/strerror.c (strerror): Likewise.
23270 * string/strnlen.c (__strnlen): Likewise.
23271 * string/test-memmem.c (simple_memmem): Likewise.
23272 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23273 * sunrpc/pm_getport.c (__get_socket): Likewise.
23274 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23275 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23276 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23277 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23279 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23280 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23281 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23282 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23283 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23284 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23286 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23288 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23289 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23290 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23291 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23292 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23293 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23294 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23295 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23296 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23297 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23298 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23299 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23301 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23303 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23305 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23306 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23307 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23308 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23309 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23310 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23311 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23312 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23313 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23314 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23315 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23316 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23317 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23318 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23319 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23320 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23322 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23324 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23326 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23328 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23329 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23330 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23332 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23333 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23334 * sysdeps/posix/opendir.c (__opendirat): Likewise.
23335 * sysdeps/posix/sleep.c: Likewise.
23336 * sysdeps/posix/tempname.c: Likewise.
23337 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23338 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23340 * sysdeps/powerpc/powerpc32/dl-machine.h
23341 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23342 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23343 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23344 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23345 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23347 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23348 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23349 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23350 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23351 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23352 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23353 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23354 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23355 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23356 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23357 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23358 (elf_machine_lazy_rel): Likewise.
23359 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23360 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23361 (elf_machine_lazy_rel): Likewise.
23362 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23363 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23364 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23365 * sysdeps/unix/grantpt.c (grantpt): Likewise.
23366 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23367 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23368 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23369 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23371 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23372 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23373 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23374 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23375 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23376 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23377 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23378 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23379 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23380 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23381 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23383 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23384 (__posix_fallocate64_l64): Likewise.
23385 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23386 (posix_fallocate): Likewise.
23387 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23389 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23390 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23391 (getifaddrs_internal): Likewise.
23392 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23393 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23394 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23395 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23396 * sysdeps/unix/sysv/linux/posix_fallocate64.c
23397 (__posix_fallocate64_l64): Likewise.
23398 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23400 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23401 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23402 (__get_clockfreq): Likewise.
23403 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23404 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23405 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23406 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23407 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23408 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23409 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23410 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23412 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23413 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23414 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23415 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23416 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23417 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23418 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23420 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23421 (posix_fallocate): Likewise.
23422 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23423 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23424 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23425 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23426 (elf_machine_rela, elf_machine_rela_relative)
23427 (elf_machine_lazy_rel): Likewise.
23428 * time/asctime.c (asctime_internal): Likewise.
23429 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23430 * time/tzset.c (__tzset_parse_tz): Likewise.
23431 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23432 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23433 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23434 * wcsmbs/wcsmbsload.h: Likewise.
23437 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23439 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23440 (arena_get2): Remove THREAD_STATS conditionals.
23441 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23442 (__malloc_stats, int): Likewise.
23444 2014-02-08 Mike Frysinger <vapier@gentoo.org>
23446 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23447 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
23449 * manual/setjmp.texi: Fix typos/grammar errors.
23451 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23452 Only return early when n is <= 0. Delete unused return statement.
23454 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23455 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23456 * debug/tst-longjmp_chk3.c: New file.
23458 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23459 (test_main): Replace code with set_fortify_handler call.
23460 * debug/test-strcpy_chk.c: Likewise.
23461 * debug/tst-chk1.c: Likewise.
23462 * debug/tst-longjmp_chk.c: Likewise.
23463 * test-skeleton.c: Include fcntl.h & paths.h
23464 (set_fortify_handler): Define.
23466 * debug/tst-longjmp_chk.c: Add header comment and include
23467 ../test-skeleton.c.
23468 (do_test): Mark static.
23469 (TEST_FUNCTION): Define.
23471 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23472 (IP_PMTUDISC_INTERFACE): Likewise.
23473 (IP_MULTICAST_IF): Likewise.
23474 (IP_MULTICAST_TTL): Likewise.
23475 (IP_MULTICAST_LOOP): Likewise.
23476 (IP_ADD_MEMBERSHIP): Likewise.
23477 (IP_DROP_MEMBERSHIP): Likewise.
23478 (IP_UNBLOCK_SOURCE): Likewise.
23479 (IP_BLOCK_SOURCE): Likewise.
23480 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23481 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23482 (IP_MSFILTER): Likewise.
23483 (MCAST_JOIN_GROUP): Likewise.
23484 (MCAST_BLOCK_SOURCE): Likewise.
23485 (MCAST_UNBLOCK_SOURCE): Likewise.
23486 (MCAST_LEAVE_GROUP): Likewise.
23487 (MCAST_JOIN_SOURCE_GROUP): Likewise.
23488 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23489 (MCAST_MSFILTER): Likewise.
23490 (IP_MULTICAST_ALL): Likewise.
23491 (IP_UNICAST_IF): Likewise.
23493 * timezone/Makefile: Delete $(have-ksh) check.
23494 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23495 * timezone/tzselect.ksh: Add +x mode bits.
23497 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23498 (ANON_INODE_FS_MAGIC): Likewise.
23499 (BDEVFS_MAGIC): Likewise.
23500 (BINFMTFS_MAGIC): Likewise.
23501 (BTRFS_TEST_MAGIC): Likewise.
23502 (CRAMFS_MAGIC_WEND): Likewise.
23503 (DEBUGFS_MAGIC): Likewise.
23504 (ECRYPTFS_SUPER_MAGIC): Likewise.
23505 (EXT3_SUPER_MAGIC): Likewise.
23506 (EXT4_SUPER_MAGIC): Likewise.
23507 (FUTEXFS_SUPER_MAGIC): Likewise.
23508 (HOSTFS_SUPER_MAGIC): Likewise.
23509 (HUGETLBFS_MAGIC): Likewise.
23510 (MINIX3_SUPER_MAGIC): Likewise.
23511 (MTD_INODE_FS_MAGIC): Likewise.
23512 (NILFS_SUPER_MAGIC): Likewise.
23513 (OPENPROM_SUPER_MAGIC): Likewise.
23514 (PIPEFS_MAGIC): Likewise.
23515 (PSTOREFS_MAGIC): Likewise.
23516 (QNX6_SUPER_MAGIC): Likewise.
23517 (RAMFS_MAGIC): Likewise.
23518 (REISERFS_SUPER_MAGIC_STRING): Likewise.
23519 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23520 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23521 (SECURITYFS_MAGIC): Likewise.
23522 (SELINUX_MAGIC): Likewise.
23523 (SMACK_MAGIC): Likewise.
23524 (SOCKFS_MAGIC): Likewise.
23525 (SQUASHFS_MAGIC): Likewise.
23526 (STACK_END_MAGIC): Likewise.
23527 (TMPFS_MAGIC): Likewise.
23528 (USBDEVICE_SUPER_MAGIC): Likewise.
23529 (V9FS_MAGIC): Likewise.
23530 (XENFS_SUPER_MAGIC): Likewise.
23531 (CRAMFS_MAGIC): Fix typo in comment.
23532 (EXT2_SUPER_MAGIC): Update comment.
23533 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23535 2014-02-08 Joseph Myers <joseph@codesourcery.com>
23537 * sysdeps/arm: Move directory from ports/sysdeps/arm.
23538 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23539 * sysdeps/unix/sysv/linux/arm: Move directory from
23540 ports/sysdeps/unix/sysv/linux/arm.
23541 * README: Update listing for arm-*-linux-gnueabi.
23543 * README: Remove mention of am33.
23545 2014-02-07 Roland McGrath <roland@hack.frob.com>
23547 * bits/sigset.h (__sigemptyset): Use a statement expression rather
23548 than the comma operator, to avoid "rhs of comma has no effect"
23550 (__sigfillset, __sigandset, __sigorset): Likewise.
23551 * include/signal.h (__sigemptyset): Likewise.
23552 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23554 2014-02-07 Allan McRae <allan@archlinux.org>
23556 * version.h (RELEASE): Set to "development".
23557 (VERSION): Set to "2.19.90"
23558 * NEWS: Add 2.20 section.
23560 2014-02-06 Carlos O'Donell <carlos@redhat.com>
23563 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23565 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23567 * manual/contrib.texi: Update entry for Carlos O'Donell,
23568 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23570 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
23572 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23574 * sysdeps/unix/sysv/linux/kernel-features.h
23575 [__LINUX_KERNEL_VERSION >= 0x020621]
23576 (__ASSUME_PROC_PID_TASK_COMM): Define.
23578 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23581 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23582 conversion when destination buffer does not have enough space.
23583 * libio/tst-ftell-partial-wide.c: New test case.
23584 * libio/Makefile (tests): Add tst-ftell-partial-wide.
23586 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23587 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
23588 Leonard and Allan McRae.
23590 2014-02-04 David S. Miller <davem@davemloft.net>
23592 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23595 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23624 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23626 * nptl/shlib-versions: Change powerpc*le start to 2.17.
23627 * shlib-versions: Likewise.
23629 2014-02-04 Roland McGrath <roland@hack.frob.com>
23630 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23632 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23633 (abilist-pattern): New variable, set to %-le.abilist.
23635 * Makerules (abilist-pattern): New variable.
23636 (vpath): Use $(abilist-pattern) in place of %.abilist.
23637 (check-abi-% pattern rule): Likewise.
23638 (check-abi, update-abi): Likewise.
23640 2014-02-04 Eric Wong <normalperson@yhbt.net>
23642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23644 2014-02-03 Carlos O'Donell <carlos@redhat.com>
23646 * manual/startup.texi: Add next, previous, and top entries for
23647 the `Program Arguments' and `Environment Variables' nodes.
23649 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
23651 * manual/macros.texi: Add comments before MTASC-safety macros.
23653 * manual/users.texi: Document MTASC-safety properties.
23655 * manual/threads.texi (pthread_key_create, pthread_key_delete)
23656 (pthread_getspecific, pthread_setspecific): Format with
23657 @deftypefun, and add @safety note.
23658 * manual/signal.texi: Move comments that analyze the above
23659 functions to their home place.
23661 2014-02-03 Allan McRae <allan@archlinux.org>
23663 * po/sl.po: Update Slovenian translation from translation project.
23665 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
23667 * manual/time.texi (timegm): Add missing blank after @c.
23668 Reported by Joseph Myers <joseph@codesourcery.com>.
23670 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
23672 * manual/check-safety.sh: New.
23673 * manual/Makefile ($(objpfx)stamp-summary): Run it.
23675 * manual/terminal.texi: Document MTASC-safety properties.
23677 * manual/filesys.texi: Document MTASC-safety properties.
23679 * manual/errno.texi: Document MTASC-safety properties.
23681 * manual/intro.texi: Document safety identifiers and
23684 * manual/string.texi (wcstok): Fix prototype.
23685 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23687 * manual/time.texi: Document MTASC-safety properties.
23689 * manual/string.texi: Document MTASC-safety properties.
23691 * manual/threads.texi: Document MTASC-safety properties.
23693 * manual/stdio.texi: Document MTASC-safety properties.
23695 * manual/syslog.texi: Document MTASC-safety properties.
23697 * manual/sysinfo.texi: Document MTASC-safety properties.
23699 * manual/startup.texi: Document MTASC-safety properties.
23701 * manual/socket.texi: Document MTASC-safety properties.
23703 * manual/signal.texi: Document MTASC-safety properties.
23705 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
23707 * manual/setjmp.texi: Document MTASC-safety properties.
23709 * manual/search.texi: Document MTASC-safety properties.
23711 * manual/resource.texi: Document MTASC-safety properties.
23713 * manual/process.texi: Document MTASC-safety properties.
23715 * manual/platform.texi: Document MTASC-safety properties.
23717 * manual/pipe.texi: Document MTASC-safety properties.
23719 * manual/pattern.texi: Document MTASC-safety properties.
23721 * manual/message.texi: Document MTASC-safety properties.
23724 * manual/memory.texi: Document MTASC-safety properties.
23726 * manual/math.texi: Document MTASC-safety properties.
23728 * manual/locale.texi: Document MTASC-safety properties.
23730 * manual/llio.texi: Document MTASC-safety properties.
23732 * manual/libdl.texi: New.
23734 * manual/lang.texi: Document MTASC-safety properties.
23736 * manual/job.texi: Document MTASC-safety properties.
23738 * manual/getopt.texi: Document MTASC-safety properties.
23740 * manual/ctype.texi: Document MTASC-safety properties.
23742 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
23745 * csu/libc-tls.c (static_map): Remove variable.
23746 (__libc_setup_tls): Use main executable's link map for TLS data.
23747 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23748 casing for LM_ID_BASE and GL(dl_nns).
23749 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23750 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
23751 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23752 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23753 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23755 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23758 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
23760 * manual/debug.texi: Document MTASC-safety properties.
23762 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
23765 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23766 of __x86_64__ when disabling x87 inline functions.
23768 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
23770 * manual/charset.texi: Document MTASC-safety properties.
23772 * manual/crypt.texi: Document MTASC-safety properties.
23774 * manual/conf.texi: Document MTASC-safety properties.
23776 * manual/arith.texi: Document MTASC-safety properties.
23778 * manual/argp.texi: Document MTASC-safety properties.
23780 * manual/macros.texi: Introduce macros to document multi
23781 thread, asynchronous signal and asynchronous cancellation
23783 * manual/intro.texi: Introduce the properties themselves.
23785 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23787 * sysdeps/sh/sh4/Makefile: New file.
23789 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
23791 * math/gen-libm-test.pl ($srcdir): New variable.
23792 ($auto_input): Use it.
23794 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23797 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23798 access beyond array bounds when parsing netgroups file.
23800 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23801 the old buffer before realloc.
23803 2014-01-27 Allan McRae <allan@archlinux.org>
23805 * po/fr.po: Update French translation from translation project.
23807 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23809 * sysdeps/sh/libm-test-ulps: Regenerate.
23811 2014-01-24 David S. Miller <davem@davemloft.net>
23813 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23815 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23817 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23818 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23820 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23823 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23824 string pointers after reallocation.
23826 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23828 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23829 __SH4A__ instead of __SH_FPU_ANY__.
23831 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23833 * sysdeps/sh/fpu_control.h: New file.
23834 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23835 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23836 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23837 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23838 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23839 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23840 * sysdeps/sh/sys/ucontext.h: Remove.
23841 * sysdeps/sh/sys: Remove directory.
23843 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23845 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23846 s390/sys/ucontext.h.
23847 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23848 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23850 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
23853 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23855 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23858 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23859 Adjust the vDSO correctly for internal calls.
23860 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23862 2014-01-20 Allan McRae <allan@archlinux.org>
23864 * po/ca.po: Update Catalan translation from translation project.
23866 2014-01-16 Mike Frysinger <vapier@gentoo.org>
23868 * sysdeps/s390/sotruss-lib.c: New file.
23870 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23873 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23874 (__GI___gettimeofday): Alias for a different internal symbol to avoid
23875 local calls issues by not having a PLT stub required for IFUNC calls.
23876 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23878 2014-01-16 Joseph Myers <joseph@codesourcery.com>
23880 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23881 * math/test-fpucw-static.c: Likewise.
23883 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23886 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23888 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23890 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23891 implementation for powerpc.
23893 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
23896 * sysdeps/posix/system.c (__libc_system): Do not enable
23897 asynchronous cancellation.
23899 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23902 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23903 handling only for numbers special also in the IEEE case.
23905 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23907 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23909 2014-01-11 Allan McRae <allan@archlinux.org>
23911 * po/bg.po: Update Bulgarian translation from translation project.
23913 * po/de.po: Update German translation from translation project.
23915 2014-01-10 Roland McGrath <roland@hack.frob.com>
23917 * sysdeps/generic/gcc-compat.h: New file.
23919 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23921 * benchtests/asin-inputs: Correct slow inputs.
23922 * benchtests/acos-inputs: Likewise.
23924 2014-01-10 Allan McRae <allan@archlinux.org>
23926 * po:sv.po: Update Swedish translation from translation project.
23928 * po/vi.po: Update Vietnamese translation from translation project.
23930 * po/eo.po: Update Esperanto translation from translation project.
23932 * po/cs.po: Update Czech translation from translation project.
23934 * po/nl.po: Update Dutch translation from translation project.
23936 * po/pl.po: Update Polish translation from translation project.
23938 * po/ru.po: Update Russian translation from translation project.
23940 * po/uk.po: Update Ukrainian translation from translation project.
23942 2014-01-08 Brooks Moses <bmoses@google.com>
23944 * elf/dl-load.c: Fix comment typo.
23946 2014-01-08 Carlos O'Donell <carlos@redhat.com>
23948 * po/header.pot: Rename to...
23949 * po/pot.header: ... this.
23950 * po/Makefile: Use pot.header.
23952 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
23953 Maxim Kuvyrkov <maxim@kugelworks.com>
23956 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23957 SRC and DEST against LEN.
23959 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23962 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23964 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23966 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23970 2014-01-08 Joseph Myers <joseph@codesourcery.com>
23973 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23974 for large positive arguments.
23976 2014-01-07 Joseph Myers <joseph@codesourcery.com>
23978 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23980 * math/auto-libm-test-in: Mark various tests with
23981 xfail-rounding:ldbl-128ibm.
23982 * math/auto-libm-test-out: Regenerated.
23985 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23986 Increase overflow threshold.
23988 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
23991 * stdio-common/vfprintf.c: Check for integer overflow.
23993 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23995 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23996 the first argument and return value of __tls_get_addr_internal.
23998 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24000 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24001 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24003 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24005 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24006 * sysdeps/s390/rtld-global-offsets.sym: New file.
24007 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24009 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24010 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24011 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24013 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24014 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24020 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24021 halfs of GPRs for high_gprs contexts.
24022 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24023 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
24025 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24027 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24029 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24030 for high GPRs (uc_high_gprs) and for future extensions
24032 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24033 for future extensions (__reserved).
24034 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24036 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24037 SC_HIGHGPRS offset definition.
24038 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24039 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24041 * Versions.def: Add GLIBC_2.19 for libpthread.
24042 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24043 siglongjmp for libpthread with GLIBC_2.19 symver.
24044 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24045 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24046 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24047 * sysdeps/s390/__longjmp.c: New file.
24048 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24049 * sysdeps/s390/longjmp.c: New file.
24050 * sysdeps/s390/setjmp.S: New file.
24051 * sysdeps/s390/sigjmp.S: New file.
24052 * sysdeps/s390/v1-longjmp.c: New file.
24053 * sysdeps/s390/v1-setjmp.h: New file.
24054 * sysdeps/s390/v1-sigjmp.c: New file.
24055 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24056 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24057 GLIBC_2.19 version.
24058 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24059 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24060 versioned symbols for ____longjmp_chk.
24061 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24071 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24072 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24073 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24074 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24075 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24076 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24077 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24078 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24079 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24080 * sysdeps/s390/rtld-__longjmp.c: New file.
24081 * sysdeps/s390/rtld-setjmp.S: New file.
24083 2014-01-06 Joseph Myers <joseph@codesourcery.com>
24086 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24087 Return -__logl (x) for small positive arguments without evaluating
24090 2014-01-06 Mike Frysinger <vapier@gentoo.org>
24092 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24094 (__ptrace_peeksiginfo_args): ... this.
24095 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24096 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24097 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24099 2014-01-06 Allan McRae <allan@archlinux.org>
24101 * inet/netinet/in.h: Fix typo in comment.
24103 2014-01-05 Andreas Jaeger <aj@suse.de>
24105 * sysdeps/i386/fpu/libm-test-ulps: Update.
24107 2014-01-05 Allan McRae <allan@archlinux.org>
24109 * po/libc.pot: Regenerated.
24111 * malloc/memusagestat.c: Fix gettext call formatting.
24113 2014-01-04 Sami Kerola <kerolasa@iki.fi>
24115 * nscd/nscd.c: Improve usage() output.
24117 2014-01-04 Mike Frysinger <vapier@gentoo.org>
24119 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24120 * sysdeps/unix/sysv/linux/configure: Regenerated.
24121 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24122 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24124 2014-01-03 Joseph Myers <joseph@codesourcery.com>
24127 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24128 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24130 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24132 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24133 extra tokens at end of #undef directive.
24134 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24135 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24136 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24138 2014-01-03 Joseph Myers <joseph@codesourcery.com>
24140 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24142 * math/auto-libm-test-in: Mark various tests with
24143 xfail-rounding:ldbl-128ibm.
24144 * math/auto-libm-test-out: Regenerated.
24146 2014-01-02 Joseph Myers <joseph@codesourcery.com>
24149 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24150 numbers with subnormal high part when calculating exponent.
24153 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24157 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24159 (__ieee754_acoshl): Use __log1pl not __log1p.
24161 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
24163 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24164 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24165 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24166 (grow_heap, heap_trim, _int_new_arena, get_free_list)
24167 (reused_arena, arena_get2): Convert to GNU style.
24168 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24169 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24170 (memalign_check, __malloc_set_state): Likewise.
24171 * malloc/mallocbug.c (main): Likewise.
24172 * malloc/malloc.c (__malloc_assert, malloc_init_state)
24173 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24174 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24175 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24176 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24177 (__posix_memalign, malloc_info): Likewise.
24178 * malloc/malloc.h: Likewise.
24179 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24180 (mallochook, memalignhook, reallochook, mabort): Likewise.
24181 * malloc/mcheck.h: Likewise.
24182 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24183 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24184 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24185 * malloc/morecore.c (__default_morecore): Likewise.
24186 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24187 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24188 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24189 (print_and_abort): Likewise.
24190 * malloc/obstack.h: Likewise.
24191 * malloc/set-freeres.c (__libc_freeres): Likewise.
24192 * malloc/tst-mallocstate.c (main): Likewise.
24193 * malloc/tst-mtrace.c (main): Likewise.
24194 * malloc/tst-realloc.c (do_test): Likewise.
24196 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24199 * nscd/netgroupcache.c (do_notfound): New function.
24200 (addgetnetgrentX): Use it.
24203 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24204 NSS_STATUS_NOTFOUND.
24206 2014-01-01 Joseph Myers <joseph@codesourcery.com>
24208 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24211 2014-01-01 Allan McRae <allan@archlinux.org>
24213 * scripts/update-copyrights: Update configure input file suffix.
24215 * NEWS: Update copyright year.
24216 * catgets/gencat.c: Likewise.
24217 * csu/version.c: Likewise.
24218 * debug/catchsegv.sh: Likewise.
24219 * debug/pcprofiledump.c: Likewise.
24220 * debug/xtrace.sh: Likewise.
24221 * elf/ldconfig.c: Likewise.
24222 * elf/ldd.bash.in: Likewise.
24223 * elf/pldd.c: Likewise.
24224 * elf/sotruss.ksh: Likewise.
24225 * elf/sprof.c: Likewise.
24226 * iconv/iconv_prog.c: Likewise.
24227 * iconv/iconvconfig.c: Likewise.
24228 * locale/programs/locale.c: Likewise.
24229 * locale/programs/localedef.c: Likewise.
24230 * login/programs/pt_chown.c: Likewise.
24231 * malloc/memusage.sh: Likewise.
24232 * malloc/memusagestat.c: Likewise.
24233 * malloc/mtrace.pl: Likewise.
24234 * manual/libc.texinfo: Likewise.
24235 * nscd/nscd.c: Likewise.
24236 * nss/getent.c: Likewise.
24237 * nss/makedb.c: Likewise.
24238 * posix/getconf.c: Likewise.
24239 * scripts/test-installation.pl: Likewise.
24241 * All files with FSF copyright notices: Update copyright dates
24242 using scripts/update-copyrights.
24243 * intl/plural.c: Regenerated.
24244 * locale/programs/charmap-kw.h: Likewise.
24245 * locale/programs/locfile-kw.h: Likewise.
24247 2013-12-31 Mike Frysinger <vapier@gentoo.org>
24249 * sysdeps/unix/sysv/linux/configure: Regenerated.
24250 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24251 the linux/fanotify.h header.
24252 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24253 HAVE_LINUX_FANOTIFY_H is defined.
24255 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24257 * benchtests/cos-inputs: New inputs.
24258 * benchtests/sin-inputs: Likewise.
24260 * benchtests/atan-inputs: New inputs. Fix name of multiple
24261 precision fallback inputs.
24263 * benchtests/atanh-inputs: New inputs.
24264 * benchtests/tanh-inputs: Likewise.
24266 * benchtests/acosh-inputs: New inputs.
24267 * benchtests/asinh-inputs: Likewise.
24269 * benchtests/cosh-inputs: New inputs.
24270 * benchtests/sinh-inputs: Likewise.
24272 * benchtests/acos-inputs: Add more inputs.
24273 * benchtests/asin-inputs: Likewise.
24275 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
24278 * manual/arith.texi: Fix spelling.
24279 * manual/charset.texi: Likewise.
24280 * manual/errno.texi: Likewise.
24281 * manual/filesys.texi: Likewise.
24282 * manual/lang.texi: Likewise.
24283 * manual/llio.texi: Likewise.
24284 * manual/locale.texi: Likewise.
24285 * manual/message.texi: Likewise.
24286 * manual/resource.texi: Likewise.
24287 * manual/search.texi: Likewise.
24288 * manual/setjmp.texi: Likewise.
24289 * manual/stdio.texi: Likewise.
24290 * manual/string.texi: Likewise.
24291 * manual/sysinfo.texi: Likewise.
24292 * manual/time.texi: Likewise.
24294 2013-12-27 Carlos O'Donell <carlos@redhat.com>
24296 * po/sl.po: New file.
24298 2013-12-27 Mike Frysinger <vapier@gentoo.org>
24300 * .gitignore: Add core/.gdbinit/.gdb_history.
24302 2013-12-27 Allan McRae <allan@archlinux.org>
24305 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24306 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24308 2013-12-24 Brooks Moses <bmoses@google.com>
24310 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24311 all compilers that claim C++98 compliance, not just GCC.
24312 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24315 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24317 * NEWS: Restore accidentally deleted bug-fix entries.
24319 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24320 Ondřej Bílka <neleai@seznam.cz>
24323 * malloc/malloc.c (_int_free): Perform sanity check only if we
24326 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
24329 * manual/stdio.texi (String Input Conversions): Clarify that character
24330 classes are not supported.
24332 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24336 2013-12-22 Joseph Myers <joseph@codesourcery.com>
24339 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24340 Calculate results for small negative arguments directly rather
24341 than using reflection formula with special underflow handling.
24343 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24344 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24345 sysdeps/unix/bsd/bsd4.4/syscalls.list.
24346 (fchflags): Likewise.
24347 (revoke): Likewise.
24348 (setlogin): Likewise.
24349 (sigaltstack): Likewise.
24351 (sigblock): Remove.
24352 (sigsetmask): Likewise.
24354 (waitpid): Likewise.
24355 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24356 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24358 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24359 * sysdeps/unix/bsd/Makefile: ... here.
24360 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24361 * sysdeps/unix/bsd/Versions: ... here.
24362 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24363 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24364 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24365 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24366 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24367 * sysdeps/unix/bsd/sigblock.c: ... here.
24368 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24369 * sysdeps/unix/bsd/sigsetmask.c: ... here.
24370 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24371 * sysdeps/unix/bsd/sigvec.c: ... here.
24372 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24373 * sysdeps/unix/bsd/tcdrain.c: ... here.
24374 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24375 * sysdeps/unix/bsd/tcgetattr.c: ... here.
24376 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24377 * sysdeps/unix/bsd/tcsetattr.c: ... here.
24378 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24379 * sysdeps/unix/bsd/wait.c: ... here.
24380 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24381 * sysdeps/unix/bsd/wait3.c: ... here.
24382 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24383 * sysdeps/unix/bsd/waitpid.c: ... here.
24385 2013-12-21 Joseph Myers <joseph@codesourcery.com>
24388 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24389 round-to-nearest for [!USE_AS_EXPM1L].
24390 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24391 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
24392 more tests of exp and exp10. Expect some exp10 tests to miss
24393 exceptions or fail in directed rounding modes.
24394 * math/auto-libm-test-out: Regenerated.
24395 * math/libm-test.inc (exp10_tonearest_test_data): New array.
24396 (exp10_test_tonearest): New function.
24397 (exp10_towardzero_test_data): New array.
24398 (exp10_test_towardzero): New function.
24399 (exp10_downward_test_data): New array.
24400 (exp10_test_downward): New function.
24401 (exp10_upward_test_data): New array.
24402 (exp10_test_upward): New function.
24403 (main): Call the new functions.
24404 * sysdeps/i386/fpu/libm-test-ulps: Update.
24405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24407 2013-12-20 Joseph Myers <joseph@codesourcery.com>
24409 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24410 asinh, atan, atan2, atanh, cbrt, cos and cosh.
24411 * math/auto-libm-test-out: Regenerated.
24412 * math/libm-test.inc (acosh_test_data): Add more tests.
24413 (atanh_test_data): Likewise.
24414 (ceil_test_data): Likewise.
24415 (copysign_test_data): Likewise.
24416 * sysdeps/i386/fpu/libm-test-ulps: Update.
24417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24419 * timezone/checktab.awk: Update from tzcode 2013i.
24420 * timezone/private.h: Likewise.
24421 * timezone/scheck.c: Likewise.
24422 * timezone/tzfile.h: Likewise.
24423 * timezone/tzselect.ksh: Likewise.
24424 * timezone/zdump.c: Likewise.
24425 * timezone/zic.c: Likewise.
24427 * math/auto-libm-test-in: Add tests of cpow.
24428 * math/auto-libm-test-out: Regenerated.
24429 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24430 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24432 (func_calc_desc): Add mpc_cc_c union field.
24433 (test_functions): Add cpow.
24434 (special_fill_2pi): New function.
24435 (special_real_inputs): Add 2pi.
24436 (calc_generic_results): Handle mpc_cc_c.
24437 * sysdeps/i386/fpu/libm-test-ulps: Update.
24438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24440 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24441 csqrt, ctan and ctanh.
24442 * math/auto-libm-test-out: Regenerated.
24443 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24444 (TEST_COND_x86): Likewise.
24445 (ccos_test_data): Use AUTO_TESTS_c_c.
24446 (ccosh_test_data): Likewise.
24447 (cexp_test_data): Likewise.
24448 (clog_test_data): Likewise.
24449 (csqrt_test_data): Likewise.
24450 (ctan_test_data): Likewise.
24451 (ctan_tonearest_test_data): Likewise.
24452 (ctan_towardzero_test_data): Likewise.
24453 (ctan_downward_test_data): Likewise.
24454 (ctan_upward_test_data): Likewise.
24455 (ctanh_test_data): Likewise.
24456 (ctanh_tonearest_test_data): Likewise.
24457 (ctanh_towardzero_test_data): Likewise.
24458 (ctanh_downward_test_data): Likewise.
24459 (ctanh_upward_test_data): Likewise.
24460 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24462 (func_calc_desc): Add mpc_c_c union field.
24463 (FUNC_mpc_c_c): New macro.
24464 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24465 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24467 (special_fill_min_subnorm_p120): New function.
24468 (special_real_inputs): Add min_subnorm_p120.
24469 (calc_generic_results): Handle mpc_c_c.
24470 * sysdeps/i386/fpu/libm-test-ulps: Update.
24471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24473 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24475 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24476 (do_sin_slow): New functions.
24477 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24478 (cslow2, csloww1, csloww2): Use the new functions.
24480 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24481 Use M to change sign of result instead of X. Assume X is
24483 (csloww1): Likewise.
24487 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24488 arguments A and DA.
24492 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24494 (sloww1): Don't adjust sign of DX.
24495 (csloww1): Likewise.
24496 (sloww2): Use X directly and don't adjust sign of DX.
24497 (csloww2): Likewise.
24499 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24501 * math/auto-libm-test-in: Add tests of cabs and carg.
24502 * math/auto-libm-test-out: Regenerated.
24503 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24504 (carg_test_data): Likewise.
24505 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24507 (func_calc_desc): Add mpc_c_f union field.
24508 (test_functions): Add cabs and carg.
24509 (calc_generic_results): Handle mpc_c_f.
24511 * sysdeps/powerpc/powerpc32/libgcc-compat.S
24512 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24513 as a macro and a compat symbol.
24514 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24515 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24516 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24517 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24518 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24519 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24521 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24523 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24525 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24527 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24529 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24531 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24532 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24535 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24539 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24541 * manual/texinfo.tex: Update to version 2013-11-26.10 with
24542 trailing whitespace removed.
24543 * scripts/config.guess: Update to version 2013-11-29.
24544 * scripts/config.sub: Update to version 2013-10-01.
24546 * math/auto-libm-test-in: Add tests of sincos.
24547 * math/auto-libm-test-out: Regenerated.
24548 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24549 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24551 (func_calc_desc): Add mpfr_f_11 union field.
24552 (test_functions): Add sincos.
24553 (calc_generic_results): Handle mpfr_f_11.
24554 * sysdeps/i386/fpu/libm-test-ulps: Update.
24555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24557 2013-12-19 Andreas Schwab <schwab@suse.de>
24559 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24561 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24562 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24563 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24565 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24567 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24568 * sysdeps/i386/fpu/libm-test-ulps: Update.
24569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24572 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24573 round-to-nearest mode when using frndint.
24574 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24575 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24576 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24578 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
24580 * math/auto-libm-test-out: Regenerated.
24581 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24582 (TEST_COND_x86): Likewise.
24583 (expm1_tonearest_test_data): New array.
24584 (expm1_test_tonearest): New function.
24585 (expm1_towardzero_test_data): New array.
24586 (expm1_test_towardzero): New function.
24587 (expm1_downward_test_data): New array.
24588 (expm1_test_downward): New function.
24589 (expm1_upward_test_data): New array.
24590 (expm1_test_upward): New function.
24591 (main): Run the new test functions.
24592 * sysdeps/i386/fpu/libm-test-ulps: Update.
24593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24595 * include/features.h: Update comment documenting feature test
24596 macros. Mention _DEFAULT_SOURCE in comment.
24597 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24598 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24599 _BSD_SOURCE and _SVID_SOURCE.
24600 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24601 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24602 !_SVID_SOURCE]: Likewise.
24603 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24604 (__USE_POSIX_IMPLICITLY): Define.
24605 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24606 (_POSIX_SOURCE): Undefine and redefine.
24607 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24608 (_POSIX_C_SOURCE): Likewise.
24609 * manual/creature.texi (_DEFAULT_SOURCE): Document.
24610 (Feature Test Macros): Update documentation of default features.
24612 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24614 * benchtests/Makefile: Add bench-strtok.
24615 * benchtests/bench-strtok.c: New file: strtok benchtest.
24617 2013-12-19 Allan McRae <allan@archlinux.org>
24619 * manual/install.texi: Suppress menu for plain text output.
24620 * INSTALL: Regenerated.
24622 2013-12-18 Brooks Moses <bmoses@google.com>
24625 * misc/getauxval.c: Include errno.h.
24626 (__getauxval): Set errno to ENOENT if the requested type is not
24628 * misc/sys/auxv.h (getauxval): Document that it may set errno;
24629 don't declare with __attribute_const__.
24630 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24631 * manual/startup.texi: Document that getauxval sets errno.
24633 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24635 * math/auto-libm-test-in: Add tests of jn and yn.
24636 * math/auto-libm-test-out: Regenerated.
24637 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24638 (yn_test_data): Likewise.
24639 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24641 (func_calc_desc): Add mpfr_if_f union field.
24642 (FUNC_mpfr_if_f): New macro.
24643 (test_functions): Add jn and yn.
24644 (calc_generic_results): Assert type of second input for
24645 mpfr_ff_f. Handle mpfr_if_f.
24646 (output_for_one_input_case): Disable all checking for arguments
24647 fitting floating-point types in case of an integer argument.
24648 * sysdeps/i386/fpu/libm-test-ulps: Update.
24649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24652 Don't expect fegetround reference in libm.so.
24654 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24656 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24657 $(config-cflags-nofma).
24659 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24661 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24662 * math/auto-libm-test-out: Regenerated.
24665 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24666 to determine exponent and adjust argument to have exponent of -1.
24667 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24669 * math/auto-libm-test-out: Regenerated.
24670 * sysdeps/i386/fpu/libm-test-ulps: Update.
24671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24673 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
24675 * manual/probes.texi: Remove cases when per-thread arenas are
24678 2013-12-18 Andreas Schwab <schwab@suse.de>
24680 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24681 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24682 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24683 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24684 * sysdeps/i386/i686/multiarch/Makefile: Update.
24685 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24687 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24689 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24690 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24692 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
24695 Support TZ transition times < 00:00:00.
24696 This is needed for version-3 tz-format files; it supports time
24697 stamps past 2037 for America/Godthab (the only entry in the tz
24698 database for which this change is relevant).
24699 * manual/time.texi (TZ Variable): Document transition times
24700 from -167:59:59 through -00:00:01.
24701 * time/tzset.c (tz_rule): Time of day is now signed.
24702 (__tzset_parse_tz): Parse negative time of day.
24704 Document TZ transition times >= 25:00:00.
24705 * manual/time.texi (TZ Variable): Document transition times from
24706 25:00:00 through 167:59:59. These are already supported, and this
24707 support will help with version-3 tz-format files.
24709 * manual/time.texi (TZ Variable): Modernize North America example
24710 to reflect current (i.e., 2007-and-later) daylight saving rules.
24712 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24714 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24716 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24717 * sysdeps/unix/bsd/bits/stat.h: Likewise.
24718 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24719 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24720 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24721 * sysdeps/unix/bsd/bsdstat.h: Likewise.
24722 * sysdeps/unix/bsd/clock.c: Likewise.
24723 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24724 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24725 * sysdeps/unix/bsd/init-posix.c: Likewise.
24726 * sysdeps/unix/bsd/poll.c: Likewise.
24727 * sysdeps/unix/bsd/ptsname.c: Likewise.
24728 * sysdeps/unix/bsd/seekdir.c: Likewise.
24729 * sysdeps/unix/bsd/setegid.c: Likewise.
24730 * sysdeps/unix/bsd/seteuid.c: Likewise.
24731 * sysdeps/unix/bsd/setgid.c: Likewise.
24732 * sysdeps/unix/bsd/setrgid.c: Likewise.
24733 * sysdeps/unix/bsd/setruid.c: Likewise.
24734 * sysdeps/unix/bsd/setsid.c: Likewise.
24735 * sysdeps/unix/bsd/setuid.c: Likewise.
24736 * sysdeps/unix/bsd/sigaction.c: Likewise.
24737 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24738 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24739 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24740 * sysdeps/unix/bsd/telldir.c: Likewise.
24741 * sysdeps/unix/bsd/times.c: Likewise.
24742 * sysdeps/unix/bsd/usleep.c: Likewise.
24744 * misc/Makefile (install-lib): Remove libbsd-compat.a.
24745 ($(objpfx)libbsd-compat.a): Remove rule.
24747 * include/features.h (__FAVOR_BSD): Do not define.
24748 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24749 features conflicting with POSIX.
24750 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24751 (_BSD_SOURCE): Remove description of not being a subset of other
24752 feature test macros.
24753 * manual/job.texi (getpgrp): Do not document BSD version.
24754 (getpgid): Do not document by reference to BSD getpgrp.
24755 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24756 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24757 * signal/signal.h [__FAVOR_BSD]: Likewise.
24758 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24759 instead of making contents conditional on [__FAVOR_BSD].
24760 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24762 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24766 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24769 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24770 values below 2**-450, not 2**-500.
24771 * math/auto-libm-test-in: Don't allow spurious underflow from
24773 * math/auto-libm-test-out: Regenerated.
24777 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24778 values of ha and hb and sort them after adjusting subnormal
24780 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24782 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24783 values of ea and eb and sort them after adjusting subnormal
24785 * math/auto-libm-test-in: Do not expect some hypot tests of
24786 subnormals to fail. Add more hypot tests.
24787 * math/auto-libm-test-out: Regenerated.
24789 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24792 * sysdeps/sh/s_fma.c: New file.
24793 * sysdeps/sh/s_fmaf.c: New file.
24794 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
24796 * sysdeps/sh/Implies: Add sh/soft-fp.
24798 2013-12-16 Roland McGrath <roland@hack.frob.com>
24800 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
24801 level of indirection to members `objname', `errstring', `malloced'.
24802 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24803 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
24804 it as the __longjmp argument (just pass 1 instead).
24805 (_dl_catch_error): Initialize C with argument pointers and address of
24806 volatile local ERRCODE rather than copying values out of C at return.
24808 2013-12-16 Joseph Myers <joseph@codesourcery.com>
24810 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24811 * math/auto-libm-test-out: Regenerated.
24812 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24813 (hypot_test_data): Likewise.
24814 (pow_test_data): Likewise.
24815 (pow_tonearest_test_data): Likewise.
24816 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24818 (func_calc_desc): Add mpfr_ff_f union field.
24819 (FUNC_mpfr_ff_f): New macro.
24820 (test_functions): Add atan2, hypot and pow.
24821 (special_fill_min): New function.
24822 (special_fill_minus_min): Likewise.
24823 (special_fill_min_subnorm): Likewise.
24824 (special_fill_minus_min_subnorm): Likewise.
24825 (special_real_inputs): Add min, -min, min_subnorm and
24827 (calc_generic_results): Handle mpfr_ff_f.
24828 * sysdeps/i386/fpu/libm-test-ulps: Update.
24829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24831 2013-12-16 Will Newton <will.newton@linaro.org>
24833 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24834 (Aligned Memory Blocks): Add documentation for aligned_alloc
24835 and suggest it as an alternative to posix_memalign.
24836 (Hooks for Malloc): Document __memalign_hook is also called
24837 for aligned_alloc. (Summary of Malloc): Add summary for
24838 aligned alloc. Document __memalign_hook is also called
24841 2013-12-16 Will Newton <will.newton@linaro.org>
24843 * manual/memory.texi (Malloc Examples): Clarify default
24844 alignment documentation. Suggest posix_memalign rather
24845 than memalign or valloc.
24846 (Aligned Memory Blocks): Remove suggestion to use memalign
24847 or valloc. Remove obsolete comment about BSD.
24848 Document memalign errno values and mark the function obsolete.
24849 Document posix_memalign returned error codes. Mark valloc
24850 as obsolete. (Hooks for Malloc): __memalign_hook is also
24851 called for posix_memalign and valloc.
24852 (Summary of Malloc): Add posix_memalign to function summary.
24853 __memalign_hook is also called for posix_memalign and valloc.
24855 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24857 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24861 (sloww): Use mynumber union. Expand ternary operator into
24862 if-else statements.
24863 (cslow): use mynumber union.
24865 2013-12-16 Allan McRae <allan@archlinux.org>
24867 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24868 * configure: Regenerated.
24870 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24873 * configure.ac: Added --enable-maintainer-mode. Check for
24874 autoconf when enabled.
24875 * configure: Regenerated.
24877 * nscd/nscd.service: New file.
24878 * nscd/nscd.tmpfiles: New file.
24880 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
24883 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24884 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24885 * sysdeps/x86_64/multiarch/strstr.c: ... here.
24886 (strstr): Add __strstr_sse2_unaligned ifunc.
24887 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24888 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24889 (strcasestr): Remove __strcasestr_sse42 ifunc.
24890 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24891 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24892 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24894 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24896 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24897 * sysdeps/sh/bits/fenv.h: ... here.
24898 * sysdeps/sh/sh4/fpu/bits: Remove directory.
24900 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24902 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24905 hypotf multiarch implementations.
24906 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24907 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24908 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24909 multiarch hypot for PPC64.
24910 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24911 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24912 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24913 multiarch hypotf for PPC64.
24915 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24916 modff multiarch implementations.
24917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24920 multiarch modf for PPC64.
24921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24924 multiarch modff for PPC64.
24926 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24927 and logl multiarch implementations.
24928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24931 multiarch logb for PPC64.
24932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24935 multiarch logb for PPC64.
24936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24939 multiarch logb for PPC64.
24941 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24942 isinff multiarch implementation.
24943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24947 multiarch isinf for PPC64.
24948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24951 multiarch isinff for PPC64.
24953 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24954 finitef multiarch implementation.
24955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24959 multiarch finite for PPC64.
24960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24963 multiarch finitef for PPC64.
24965 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24966 lrint multiarch implementation.
24967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24971 multiarch llrint for PPC64.
24972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24973 multiarch lrint for PPC64.
24975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24976 copysignf multiarch implementation.
24977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24982 multiarch copysign for PPC64.
24983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24984 multiarch copysignf for PPC64.
24986 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24987 multiarch implementation.
24988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24996 multiarch llround for PPC64.
24997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24998 multiarch trunc for PPC64.
24999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25000 multiarch truncf for PPC64.
25002 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25003 multiarch implementation.
25004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25012 multiarch llround for PPC64.
25013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25014 multiarch round for PPC64.
25015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25016 multiarch roundf for PPC64.
25018 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25019 multiarch implementation.
25020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25028 multiarch llround for PPC64.
25029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25030 multiarch floor for PPC64.
25031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25032 multiarch floorf for PPC64.
25034 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25035 multiarch implementation.
25036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25044 multiarch llround for PPC64.
25045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25046 multiarch ceil for PPC64.
25047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25048 multiarch ceilf for PPC64.
25050 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25051 multiarch implementation.
25052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25059 multiarch llround for PPC64.
25060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25061 multiarch lround for PPC64.
25063 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25064 multiarch implementation.
25065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25072 multiarch isnan for PPC64.
25073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25074 multiarch isnanf for PPC64.
25076 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25077 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25078 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25079 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25080 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25083 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25084 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25085 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25086 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25089 multiarch implementations.
25090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25091 (__libc_ifunc_impl_list): Likewise.
25092 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25093 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25094 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25095 multiarch stpcpy for PPC64.
25097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25098 multiarch implementations.
25099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25100 (__libc_ifunc_impl_list): Likewise.
25101 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25102 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25103 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25104 multiarch strcpy for PPC64.
25106 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25107 redefine function name.
25108 (_wordcopy_fwd_dest_aligned): Likewise.
25109 (_wordcopy_bwd_aligned): Likewise.
25110 (_wordcopy_bwd_dest_aligned): Likewise.
25111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25112 multiarch implementations.
25113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25114 (__libc_ifunc_impl_list): Likewise.
25115 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25116 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25117 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25118 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25119 multiarch wcscpy for PPC64.
25121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25122 multiarch implementations.
25123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25124 (__libc_ifunc_impl_list): Likewise.
25125 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25126 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25127 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25128 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25129 multiarch wcscpy for PPC64.
25131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25132 multiarch implementations.
25133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25134 (__libc_ifunc_impl_list): Likewise.
25135 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25136 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25137 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25138 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25139 multiarch wcsrchr for PPC64.
25141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25142 multiarch implementations.
25143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25144 (__libc_ifunc_impl_list): Likewise.
25145 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25146 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25147 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25148 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25149 multiarch wcschr for PPC64.
25151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25152 multiarch implementations.
25153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25154 (__libc_ifunc_impl_list): Likewise.
25155 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25156 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25157 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25158 multiarch strchrnul for PPC64.
25160 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25163 (__libc_ifunc_impl_list): Likewise.
25164 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25165 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25166 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25167 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25170 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25173 (__libc_ifunc_impl_list): Likewise.
25174 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25175 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25176 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25177 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25180 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25181 multiarch implementations.
25182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25183 (__libc_ifunc_impl_list): Likewise.
25184 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25185 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25186 strncasecmp for PPC64.
25187 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25188 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25189 multiarch strncasecmp_l for PPC64.
25191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25192 multiarch implementations.
25193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25194 (__libc_ifunc_impl_list): Likewise.
25195 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25196 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25197 multiarch strcasecmp for PPC64.
25198 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25200 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25201 multiarch strcasecmp_l for PPC64.
25203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25206 (__libc_ifunc_impl_list): Likewise.
25207 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25208 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25209 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25212 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25215 (__libc_ifunc_impl_list): Likewise.
25216 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25217 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25218 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25224 (__libc_ifunc_impl_list): Likewise.
25225 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25226 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25227 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25228 rawmemrchr for PPC64.
25230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25233 (__libc_ifunc_impl_list): Likewise.
25234 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25235 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25236 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25239 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25241 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25242 (__libc_ifunc_impl_list): Likewise.
25243 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25244 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25245 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25248 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25251 (__libc_ifunc_impl_list): Likewise.
25252 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25253 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25254 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25257 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25258 avoid cretion of __bzero symbol.
25259 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25261 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25263 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25265 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25266 multiarch implementations.
25267 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25268 (__libc_ifunc_impl_list): Likewise.
25269 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25270 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25271 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25272 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25274 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25275 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25276 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25277 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25278 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25280 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25282 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25286 (__libc_ifunc_impl_list): Likewise.
25287 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25288 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25289 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25290 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25293 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25294 multiarch for POWER/PPC64.
25295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25296 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25297 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25298 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25299 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25300 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25301 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25302 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25303 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25306 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25307 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25308 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25309 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25310 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25311 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25312 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25313 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25314 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25315 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25316 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25317 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25318 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25319 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25320 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25329 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25331 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25333 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25335 * benchtests/Makefile (bench): Add exp2 and log2.
25336 (LDLIBS-bench-exp2): Add -lm.
25337 (LDLIBS-bench-log2): Likewise.
25338 * benchtests/exp2-inputs: New inputs file.
25339 * benchtests/log2-inputs: New inputs file.
25340 * benchtests/log-inputs: Add new inputs.
25341 * benchtests/tan-inputs: Likewise.
25343 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25345 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25347 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25348 (csloww2): ... from here.
25350 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25351 instead of structures.
25352 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25353 (POLYNOMIAL): Likewise.
25354 (TAYLOR_SLOW): Likewise.
25360 (sloww1); Likewise.
25361 (sloww2): Likewise.
25362 (bsloww1): Likewise.
25363 (bsloww2): Likewise.
25364 (cslow2): Likewise.
25365 (csloww): Likewise.
25366 (csloww1): Likewise.
25367 (csloww2): Likewise.
25369 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
25371 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25372 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25373 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25374 * malloc/hooks.c (realloc_check): Likewise.
25376 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25377 * malloc/arena.c: Remove PER_THREAD conditional.
25378 [!PER_THREAD]: Remove code.
25379 (ptmalloc_unlock_all2): Likewise.
25380 (ptmalloc_init): Likewise.
25381 (_int_new_arena): Likewise.
25382 (arena_get2): Likewise.
25383 * malloc/hooks.c (__malloc_get_state): Likewise.
25384 (__malloc_set_state): Likewise.
25385 * malloc/malloc.c: Likewise.
25386 (struct malloc_state): Likewise.
25387 (struct malloc_par): Likewise.
25388 (__libc_realloc): Likewise.
25389 (__libc_mallopt): Likewise.
25391 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25393 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25395 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
25397 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25398 macro to a function. Check for zero perturb_byte.
25399 (_int_malloc, _int_free): Remove zero perturb_byte checks.
25401 * malloc/malloc.c: (force_reg): Remove.
25402 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25403 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25404 force_reg by atomic_forced_read.
25405 * malloc/arena.c (ptmalloc_init): Likewise.
25406 * malloc/hooks.c (top_check): Likewise.
25408 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25412 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
25414 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25416 2013-12-08 Joseph Myers <joseph@codesourcery.com>
25418 * math/auto-libm-test-in: Add tests of lgamma.
25419 * math/auto-libm-test-out: Regenerated.
25420 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25421 (M_LOG_2_SQRT_PIl): Likewise.
25422 (lgamma_test_data): Use AUTO_TESTS_f_f1.
25423 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25425 (func_calc_desc): Add mpfr_f_f1 union field.
25426 (ARGS1): New macro.
25434 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25435 (test_functions): Add lgamma.
25436 (calc_generic_results): Handle mpfr_f_f1.
25437 * sysdeps/i386/fpu/libm-test-ulps: Update.
25438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25440 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25442 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25443 __mpn_add_n for PowerPC64/POWER7.
25444 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25445 __mpn_sub_n for PowerPC64/POWER7.
25447 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25448 __mpn_addmul_1 for PowerPC64.
25449 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25450 __mpn_submul_1 for PowerPC64.
25451 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25453 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25456 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
25459 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25461 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25463 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25465 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25466 add multiarch folders.
25467 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25468 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25469 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25470 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25471 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25472 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25473 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25474 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25475 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25476 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25477 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25486 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25492 multiarch __ieee754_hypot for PowerPC32.
25493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25498 multiarch __ieee754_hypotf for PowerPC32.
25500 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25501 long_double_symbol only if __logbl is defined.
25502 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25503 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25504 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25505 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25506 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25507 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25508 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25509 path for implementation.
25510 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25511 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25513 logb, and logbl multiarch implementations for PowerPC32.
25514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25519 multiarch logb for PowerPC32.
25520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25525 multiarch logbf for PowerPC32.
25526 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25530 multiarch logbl implementation for PowerPC32.
25532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25533 and modff multiarch implementations.
25534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25539 multiarch modf for PowerPC32.
25540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25545 multiarch modff for PowerPC32.
25547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25548 and lrintf multiarch implementations.
25549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25554 multiarch lrint for PowerPC32.
25555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25556 file: multiarch lrintf for PowerPC32.
25558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25559 and lroundf multiarch implementations.
25560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25567 multiarch lround for PowerPC32.
25568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25569 file: multiarch lroundf for PowerPC32.
25571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25572 copysign and copysignf multiarch implementations.
25573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25578 file: multiarch copysign for PowerPC32.
25579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25580 file: multiarch copysignf for PowerPC32.
25582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25583 and truncf multiarch implementations.
25584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25589 multiarch trunc for PowerPC32.
25590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25595 multiarch truncf for PowerPC32.
25597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25598 and roundf multiarch implementations.
25599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25604 multiarch round for PowerPC32.
25605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25610 multiarch roundf for PowerPC32.
25612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25613 and floorf multiarch implementations.
25614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25619 multiarch floor for PowerPC32.
25620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25625 multiarch floorf for PowerPC32.
25627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25628 and ceilf multiarch implementations.
25629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25634 multiarch ceil for PowerPC32.
25635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25640 multiarch ceilf for PowerPC32.
25642 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25644 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25645 FINITEF is defined.
25646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25647 and finitef multiarch implementations.
25648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25653 multiarch finite for PowerPC32.
25654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25657 file: multiarch finitef for PowerPC32.
25659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25660 and isinff multiarch implementations.
25661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25666 multiarch isinf for PowerPC32.
25667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25670 multiarch isinff for PowerPC32.
25672 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25673 alias when __isnan is defined.
25674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25675 and isnanf multiarch implementations.
25676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25685 multiarch isnan for PowerPC32.
25686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25691 multiarch isnanf for PowerPC32.
25693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25694 and sqrtf multiarch implementations.
25695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25700 multiarch sqrt for PowerPC32.
25701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25706 multiarch sqrtf for PowerPC32.
25708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25709 and llroundf multiarch implementations.
25710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25717 file: multiarch llround for PowerPC32.
25718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25719 file: multiarch llroundf for PowerPC32.
25721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25722 multiarch PowerPC32 fpu implementations.
25723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25728 multiarch llrint for PowerPC32.
25729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25738 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25740 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25742 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25744 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25745 multiarch wordcopy for PPC32.
25746 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25748 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25749 (__libc_ifunc_impl_list): Likewise.
25750 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25751 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25752 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25753 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25754 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25755 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25757 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25758 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25760 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25762 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25764 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25765 multiarch wcscpy for PPC32.
25766 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25768 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25769 (__libc_ifunc_impl_list): Likewise.
25770 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25771 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25772 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25773 sysdeps/powerpc/power6/wcscpy.c.
25775 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25776 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25778 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25780 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25782 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25783 multiarch wcsrchr for PPC32.
25784 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25786 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25787 (__libc_ifunc_impl_list): Likewise.
25788 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25789 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25790 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25791 sysdeps/powerpc/power6/wcsrchr.c.
25793 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25795 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25797 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25798 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25799 multiarch wcschr for PPc32.
25800 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25803 (__libc_ifunc_impl_list): Likewise.
25804 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25805 * sysdeps/powerpc/power6/wcschr.c: ... to here.
25806 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25807 sysdeps/powerpc/power6/wcschr.c.
25809 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25810 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25812 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25813 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25814 file: multiarch strchr for PPC32.
25815 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25817 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25818 (__libc_ifunc_impl_list): Likewise.
25820 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25822 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25824 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25826 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25827 multiarch strchrnul for PPC32.
25828 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25830 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25831 (__libc_ifunc_impl_list): Likewise.
25833 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25835 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25836 multiarch strncasecmp for PPC32.
25837 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25839 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25840 multiarch strncasecmp_l for PPC32.
25841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25842 strncasecmp multiarch objects.
25843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25844 (__libc_ifunc_impl_list): Likewise.
25846 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25848 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25849 multiarch strncasecmp for PPC32.
25850 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25852 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25853 multiarch strcasecmp_l for PPC32.
25854 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25856 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25857 (__libc_ifunc_impl_list): Likewise.
25859 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25861 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25863 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25864 multiarch strncmp for PPC32.
25865 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25867 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25868 (__libc_ifunc_impl_list): Likewise.
25870 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25871 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25873 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25874 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25875 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25877 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25878 (__libc_ifunc_impl_list): Likewise.
25880 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25882 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25884 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25888 (__libc_ifunc_impl_list): Likewise.
25890 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25892 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25894 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25895 multiarch rawmemchr for PPC32.
25896 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25898 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25899 (__libc_ifunc_impl_list): Likewise.
25901 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25903 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25905 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25906 file: memrchr multiarch for PPC32.
25907 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25909 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25910 (__libc_ifunc_impl_list): Likewise.
25912 * string/memchr.c (__memchr): Using macro to redefine symbol name.
25913 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25915 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25916 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25917 multiarch memchr for PPC32.
25918 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25920 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25921 (__libc_ifunc_impl_list): Likewise.
25923 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25924 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25926 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25928 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25929 file: multiarch mempcpy for PPC32.
25930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25932 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25933 (__libc_ifunc_impl_list): Likewise.
25935 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25936 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25937 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25938 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25939 multiarch bzero for PPC32.
25940 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25942 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25944 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25945 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25946 file: multiarch memset for PPC32.
25947 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25948 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25949 memset multiarch objects.
25950 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25951 (__libc_ifunc_impl_list): Likewise.
25953 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25955 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25956 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25958 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25959 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25961 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25962 (__libc_ifunc_impl_list): Likewise.
25964 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25965 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25966 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25968 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25970 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25972 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25973 multiarch memcpy for PPC32.
25974 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25976 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25977 (__libc_ifunc_impl_list): Likewise.
25979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25980 support multiarch for POWER/PPC32.
25981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25983 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25985 Implies file to make multiarch folder appers before the fpu and
25986 default folder for power4 configuration.
25988 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25990 * scripts/bench.pl: Append volatile keyword to type.
25992 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25994 * sysdeps/sh/sotruss-lib.c: New file.
25995 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25997 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26001 2013-12-05 Joseph Myers <joseph@codesourcery.com>
26004 * math/w_tgamma.c: Include <errno.h>.
26005 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
26006 * math/w_tgammaf.c: Include <errno.h>.
26007 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
26008 * math/w_tgammal.c: Include <errno.h>.
26009 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
26010 * math/auto-libm-test-in: Do not allow missing errno on tgamma
26011 underflow. Add more tgamma tests.
26012 * math/auto-libm-test-out: Regenerated.
26013 * sysdeps/i386/fpu/libm-test-ulps: Update.
26014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26016 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26017 sin, sinh, tan, tanh, tgamma, y0 and y1.
26018 * math/auto-libm-test-out: Regenerated.
26019 * math/libm-test.inc (TEST_COND_x86_64): New macro.
26020 (TEST_COND_x86): Likewise.
26021 (M_E2l): Remove macro.
26023 (M_2_SQRT_PIl): Likewise.
26024 (M_SQRT_PIl): Likewise.
26025 (M_1_DIV_El): Likewise.
26026 (log_test_data): Use AUTO_TESTS_f_f.
26027 (log10_test_data): Likewise.
26028 (log1p_test_data): Likewise.
26029 (log2_test_data): Likewise.
26030 (sin_test_data): Likewise.
26031 (sin_tonearest_test_data): Likewise.
26032 (sin_towardzero_test_data): Likewise.
26033 (sin_downward_test_data): Likewise.
26034 (sin_upward_test_data): Likewise.
26035 (sinh_test_data): Likewise.
26036 (sinh_tonearest_test_data): Likewise.
26037 (sinh_towardzero_test_data): Likewise.
26038 (sinh_downward_test_data): Likewise.
26039 (sinh_upward_test_data): Likewise.
26040 (tan_test_data): Likewise.
26041 (tan_tonearest_test_data): Likewise.
26042 (tan_towardzero_test_data): Likewise.
26043 (tan_downward_test_data): Likewise.
26044 (tan_upward_test_data): Likewise.
26045 (tanh_test_data): Likewise.
26046 (tgamma_test_data): Likewise.
26047 (y0_test_data): Likewise.
26048 (y1_test_data): Likewise.
26049 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26050 (special_real_inputs): Add pi/4.
26051 * sysdeps/i386/fpu/libm-test-ulps: Update.
26052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26054 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26056 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26057 "longjmp_target" static probes.
26058 (__longjmp): Rename to __longjmp_symbol.
26059 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26060 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26061 on which longjmp to generate.
26062 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26063 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26065 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26066 (__sigjmp_save): Rename to __sigjmp_save_symbol.
26067 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26068 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26069 and __sigjmp_save_symbol based on which sigsetjmp to generated.
26070 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26072 __longjmp_symbol based on which __longjmp to generate.
26073 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26075 (setjmp): Rename to setjmp_symbol.
26076 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26077 (_setjmp): Rename to _setjmp_symbol.
26078 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26079 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26080 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26081 which setjmp to generate.
26082 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26083 "longjmp_target" static probes.
26085 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26087 * benchtests/README: Add note about output arguments.
26088 * benchtests/bench-sincos.c: Remove file.
26089 * benchtests/sincos-inputs: New file.
26090 * scripts/bench.pl: Identify output arguments and define
26091 static variables for them.
26093 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26096 * Makefile (INSTALL): Add install-plain.texi as the primary
26098 * manual/install-plain.texi: New file.
26099 * manual/install.texi: Include node directive only for
26100 non-plaintext output.
26102 2013-12-04 Joseph Myers <joseph@codesourcery.com>
26104 * stdlib/longlong.h: Update from GCC.
26108 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26109 * math/w_j0f.c (y0f): Likewise.
26110 * math/w_j0l.c (__y0l): Likewise.
26111 * math/w_j1.c (y1): Likewise.
26112 * math/w_j1f.c (y1f): Likewise.
26113 * math/w_j1l.c (__y1l): Likewise
26114 * math/w_jn.c (yn): Likewise.
26115 * math/w_jnf.c (ynf): Likewise.
26116 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26117 Bessel function pole errors in _POSIX_ mode. Use NAN as return
26118 value for Bessel function domain errors outside _SVID_ mode.
26119 Adjust sign of return value for yn (negative integer, 0).
26120 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26121 by zero in return for negative x and set sign appropriately for
26123 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26124 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26125 * math/libm-test.inc (y0_test_data): Add more tests and adjust
26126 expectations in error cases.
26127 (y1_test_data): Likewise.
26128 (yn_test_data): Likewise.
26129 * sysdeps/i386/fpu/libm-test-ulps: Update.
26130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26132 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26134 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26135 "64" to "64-v1". Add "64-v2".
26136 (abi-64-options): Rename to ...
26137 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
26138 (abi-64-condition): Rename to ...
26139 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
26140 (abi-64-ld-soname): Rename to ...
26141 (abi-64-v1-ld-soname): ... this.
26142 (abi-64-v2-options): Define.
26143 (abi-64-v2-condition): Likewise.
26144 (abi-64-v2-ld-soname): Likewise.
26145 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26146 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26151 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26152 Alan Modra <amodra@gmail.com>
26154 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26155 New versions for use with the ELFv2 ABI.
26156 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26157 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26159 (struct La_ppc64v2_retval): Likewise.
26160 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26161 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26162 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26163 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26164 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26165 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26166 Do not save or restore CR.
26167 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26168 (_dl_profile_resolve): Do no save or restore CR. Support extended
26169 return values for ELFv2 ABI. Fix location of FPR return registers.
26170 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26171 updated values for _CALL_ELF == 2.
26172 (La_regs, La_retval, int_retval): Likewise.
26174 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26176 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26177 (FRAME_MIN_SIZE_PARM): Likewise.
26178 (FRAME_BACKCHAIN): Likewise.
26179 (FRAME_CR_SAVE): Likewise.
26180 (FRAME_LR_SAVE): Likewise.
26181 (FRAME_TOC_SAVE): Likewise.
26182 (FRAME_PARM_SAVE): Likewise.
26183 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26184 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26185 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26186 (call_mcount_parm_offset): New macro.
26187 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26188 (PROF): Use symbolic stack frame offsets.
26189 (TAIL_CALL_SYSCALL_ERROR): Likewise.
26190 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26191 Redefine in terms of FRAME_MIN_SIZE.
26192 (_dl_runtime_resolve): Use symbolic stack frame offsets.
26193 (_dl_profile_resolve): Likewise. Update comment.
26194 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26195 symbols stack frame offsets.
26196 (__sigsetjmp): Likewise.
26197 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26198 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26199 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26200 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26203 (FRAME_BACKCHAIN): Remove.
26204 (FRAME_CR_SAVE): Likewise.
26205 (FRAME_LR_SAVE): Likewise.
26206 (FRAME_COMPILER_DW): Likewise.
26207 (FRAME_LINKER_DW): Likewise.
26208 (FRAME_TOC_SAVE): Likewise.
26209 (FRAME_PARM_SAVE): Likewise.
26210 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26211 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26212 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26214 (CHECK_SP): Use symbolic stack frame offsets.
26215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26216 zone" instead of caller's parameter save area for temp storage.
26217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26218 Likewise. Also, use symbolic stack frame offsets.
26219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26220 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26221 our own stack frame instead of the caller's.
26222 (__socket): Use symbolic stack frame offsets.
26224 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26225 Alan Modra <amodra@gmail.com>
26227 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26229 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26230 (PPC64_LOCAL_ENTRY_OFFSET): Define.
26231 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26233 (elf_machine_fixup_plt): Call it.
26234 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
26236 (elf_machine_rela): Update call to elf_machine_plt_conflict.
26237 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26238 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26239 r2 before calling target.
26241 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26242 Alan Modra <amodra@gmail.com>
26244 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26245 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26246 versions of macros to support ELFv2 ABI.
26247 (LOCALENTRY): New macro.
26248 (ENTRY, EALIGN): Use it.
26249 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26250 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26251 fall through into ENTRY entry point.
26252 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26253 Only define if _CALL_ELF != 2.
26255 (elf_machine_matches_host): Verify ABI version matches.
26256 (RTLD_START): Use LOCALENTRY.
26257 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26258 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26259 (PLT_ENTRY_WORDS): New macro.
26260 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26261 (elf_machine_runtime_setup): Support ELFv2 ABI.
26262 (elf_machine_fixup_plt): Likewise.
26263 (elf_machine_plt_conflict): Likewise.
26264 (resolve_ifunc): Likewise.
26265 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26266 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26269 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26271 (makecontext): Support ELFv2 ABI.
26272 * elf/elf.h (EF_PPC64_ABI): Define.
26274 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26276 * sysdeps/powerpc/powerpc64/sysdep.h
26277 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26278 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26279 (ENTRY) [ASSEMBLER]: ... but instead here ...
26280 (EALIGN) [ASSEMBLER]: ... and here.
26281 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26282 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26283 (ENTRY_2) [!ASSEMBLER]: Use it.
26284 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26285 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
26286 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26287 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26288 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26290 Use PPC64_LOAD_FUNCPTR.
26292 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26294 2013-12-04 Alan Modra <amodra@gmail.com>
26296 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26297 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26298 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26299 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26301 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26302 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26303 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26304 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26305 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26306 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26308 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26311 (__makecontext): Fix incorrect CFI when backtracing out of
26312 context created via makecontext.
26313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26314 (__setcontext): Fix incorrect CFI during switch to new context.
26315 (__novec_setcontext): Likewise.
26317 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26320 * time/strptime_l.c (__strptime_internal): Allow modifiers
26322 * time/tst-strptime.c (day_tests): Add testcase.
26324 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26326 * scripts/bench.pl: Skip over blank lines.
26328 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
26331 * manual/time.texi (Calendar Time): Clarify what timezone functions
26334 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26338 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26340 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26342 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26343 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26344 * debug/memset_chk.c (__memset_chk): Likewise.
26345 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26346 * debug/strncpy_chk.c: Likewise.
26348 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26352 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26353 (__ieee754_exp): For possibly underflowing results, check size of
26354 result and force underflow exception if required.
26355 * math/auto-libm-test-in: Add more tests of exp.
26356 * math/auto-libm-test-out: Regenerated.
26357 * sysdeps/i386/fpu/libm-test-ulps: Update.
26358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26361 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26362 * math/w_exp2f.c (__exp2f): Likewise.
26363 * math/w_exp2l.c (__exp2l): Likewise.
26364 * math/auto-libm-test-in: Do not allow missing errno on exp2
26366 * math/auto-libm-test-out: Regenerated.
26368 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
26371 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26372 handle filename validation.
26373 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26376 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26379 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26380 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26381 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26383 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26384 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26385 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26386 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26387 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26388 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26389 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26390 * math/auto-libm-test-in: Don't allow missing errno from erfc.
26391 Add more erfc tests.
26392 * math/auto-libm-test-out: Regenerated.
26393 * sysdeps/i386/fpu/libm-test-ulps: Update.
26394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26396 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26397 exp2, expm1, j0 and j1.
26398 * math/auto-libm-test-out: Regenerated.
26399 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26400 (erfc_test_data): Likewise.
26401 (exp_test_data): Likewise.
26402 (exp_tonearest_test_data): Likewise.
26403 (exp_towardzero_test_data): Likewise.
26404 (exp_downward_test_data): Likewise.
26405 (exp_upward_test_data): Likewise.
26406 (exp10_test_data): Likewise.
26407 (exp2_test_data): Likewise.
26408 (expm1_test_data): Likewise.
26409 (j0_test_data): Likewise.
26410 (j1_test_data): Likewise.
26411 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26412 (input_flag_type): Add flag_xfail_rounding.
26413 (input_flags): Add xfail-rounding.
26414 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26415 (output_for_one_input_case): Handle flag_xfail_rounding.
26416 * sysdeps/i386/fpu/libm-test-ulps: Update.
26417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26419 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
26422 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26425 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26428 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26429 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26430 (STAP_PROBE0): New macro.
26431 (STAP_PROBE1): Likewise.
26432 (STAP_PROBE2): Likewise.
26433 (STAP_PROBE3): Likewise.
26434 (STAP_PROBE4): Likewise.
26436 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
26438 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26440 2013-12-02 Steve Ellcey <sellcey@mips.com>
26442 * benchtests/Makefile (bench): Add sqrt.
26443 (LDLIBS-bench-sqrt): New.
26444 * benchtests/sqrt-input: New.
26446 2013-12-02 Pavel Simerda <psimerda@redhat.com>
26448 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26449 (GAIH_EAI): Likewise.
26450 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26451 (gaih_inet): Likewise.
26452 (getaddrinfo): Don't use GAIH_EAI.
26454 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26455 (struct gaih): Remove definition.
26457 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26459 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26460 Use HERRNOP directly.
26462 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26466 2013-11-30 Joseph Myers <joseph@codesourcery.com>
26468 * math/gen-auto-libm-tests.c (test_functions): Add more
26469 single-argument functions.
26470 (special_fill_pi_2): New function.
26471 (special_fill_minus_pi_2): Likewise.
26472 (special_fill_pi_6): Likewise.
26473 (special_fill_minus_pi_6): Likewise.
26474 (special_fill_pi_3): Likewise.
26475 (special_fill_2pi_3): Likewise.
26476 (special_fill_e): Likewise.
26477 (special_fill_1_e): Likewise.
26478 (special_fill_e_minus_1): Likewise.
26479 (special_real_inputs): Add more special inputs.
26480 (output_for_one_input_case): Do not require ERANGE on underflow to
26481 zero if round-to-nearest result does not underflow to zero, unless
26482 exact results required.
26483 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26484 atan, atanh, cbrt, cos and cosh.
26485 * math/auto-libm-test-out: Regenerated.
26486 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26487 (acos_tonearest_test_data): Likewise.
26488 (acos_towardzero_test_data): Likewise.
26489 (acos_downward_test_data): Likewise.
26490 (acos_upward_test_data): Likewise.
26491 (acosh_test_data): Likewise.
26492 (asin_test_data): Likewise.
26493 (asin_tonearest_test_data): Likewise.
26494 (asin_towardzero_test_data): Likewise.
26495 (asin_upward_test_data): Likewise.
26496 (asinh_test_data): Likewise.
26497 (atan_test_data): Likewise.
26498 (atanh_test_data): Likewise.
26499 (cbrt_test_data): Likewise.
26500 (cos_test_data): Likewise.
26501 (cos_tonearest_test_data): Likewise.
26502 (cos_towardzero_test_data): Likewise.
26503 (cos_downward_test_data): Likewise.
26504 (cos_upward_test_data): Likewise.
26505 (cosh_test_data): Likewise.
26506 (cosh_tonearest_test_data): Likewise.
26507 (cosh_towardzero_test_data): Likewise.
26508 (cosh_downward_test_data): Likewise.
26509 (cosh_upward_test_data): Likewise.
26510 * sysdeps/i386/fpu/libm-test-ulps: Update.
26511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26513 2013-11-29 Joseph Myers <joseph@codesourcery.com>
26516 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26517 * math/w_exp10f.c (__exp10f): Likewise.
26518 * math/w_exp10l.c (__exp10l): Likewise.
26519 * math/libm-test.inc (exp10_test_data): Add more tests and expect
26520 errno settings in existing tests.
26523 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26524 precision control set to double precision.
26525 * sysdeps/i386/fpu/w_sqrt.c: New file.
26526 * math/auto-libm-test-in: Add more tests.
26527 * math/auto-libm-test-out: Update.
26529 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26530 (sqrt_test_tonearest): New function.
26531 (sqrt_towardzero_test_data): New variable.
26532 (sqrt_test_towardzero): New function.
26533 (sqrt_downward_test_data): New variable.
26534 (sqrt_test_downward): New function.
26535 (sqrt_upward_test_data): New variable.
26536 (sqrt_test_upward): New function.
26537 (main): Call the new functions.
26539 * math/gen-auto-libm-tests.c: New file.
26540 * math/auto-libm-test-in: Likewise.
26541 * math/auto-libm-test-out: New generated file.
26542 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26544 (%beautify): Add generated representations of zero.
26545 (top level): Set $auto_input and call parse_auto_input.
26546 (beautify): Remove trailing "f" from hex float constants.
26547 (parse_args): Handle XFAIL_TEST.
26548 (convert_condition): New function.
26549 (or_value): Likewise.
26550 (or_cond_value): Likewise.
26551 (generate_testfile): Handle AUTO_TESTS_* lines.
26552 (parse_auto_input): New function.
26553 * math/libm-test.inc (XFAIL_TEST): New macro.
26554 (ERRNO_UNCHANGED): Update value.
26555 (ERRNO_EDOM): Likewise.
26556 (ERRNO_ERANGE): Likewise.
26557 (IGNORE_RESULT): Likewise.
26558 (TEST_COND_flt_32): New macro.
26559 (TEST_COND_dbl_64): Likewise.
26560 (TEST_COND_ldbl_96_intel): Likewise.
26561 (TEST_COND_ldbl_96_m68k): Likewise.
26562 (TEST_COND_ldbl_128): Likewise.
26563 (TEST_COND_ldbl_128ibm): Likewise.
26564 (TEST_COND_long32): Likewise.
26565 (TEST_COND_long64): Likewise.
26566 (TEST_COND_before_rounding): Likewise.
26567 (TEST_COND_after_rounding): Likewise.
26568 (enable_test): Handle XFAIL_TEST flag.
26569 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26570 with finite results.
26571 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26572 auto-libm-test-out.
26574 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26575 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26578 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26579 __tls_get_addr_internal instead of __tls_get_offset in order to
26580 avoid GOT pointer dependency. Make rtld export
26581 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26582 __tls_get_addr since we are a __tls_get_offset platform.
26583 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26584 GOT pointer being set up before.
26585 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26587 2013-11-28 Joseph Myers <joseph@codesourcery.com>
26589 * manual/math.texi (Errors in Math Functions): Document accuracy
26593 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26594 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26595 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26596 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26597 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26598 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26599 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26600 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26601 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26602 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26603 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26604 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26605 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26606 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26607 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26608 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26610 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26611 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26612 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26613 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26614 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26616 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26618 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26620 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26621 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26622 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26623 atomic-feupdateenv and flt-rounds.
26624 * sysdeps/powerpc/nofpu/Versions (libc): Add
26625 __atomic_feholdexcept, __atomic_feclearexcept,
26626 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26627 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26628 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26629 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26630 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26635 * manual/arith.texi (FP Exceptions): Document that exceptions may
26636 not be raised when matherr is used.
26637 (Math Error Reporting): Document overflow in directed rounding
26638 modes. Document that errno may not be set when finite values are
26639 returned on overflow. Document intent to set errno on underflow
26640 only for underflow to zero.
26643 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26644 round-to-nearest then adjust result for other rounding modes.
26645 * include/fenv.h (fegetround): Use libm_hidden_proto.
26646 * math/fegetround.c (fegetround): Use libm_hidden_def.
26647 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26648 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26649 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26650 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26652 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26653 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26654 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26655 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26657 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26660 * nss/Versions (libnss_files): Add
26661 _nss_files_gethostbyname3_r.
26662 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26664 (HOST_DB_LOOKUP): Remove macro.
26665 (_nss_files_gethostbyname_r): Implement function without the
26666 HOST_DB_LOOKUP macro.
26667 (_nss_files_gethostbyname2_r): Likewise.
26669 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
26671 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26673 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
26675 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26676 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26679 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26681 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26682 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26683 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26684 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26685 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26686 __fe_nomask_env_priv and attribute_hidden.
26687 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26688 (libc_feupdateenv_test_ppc): Likewise.
26689 (libc_feresetround_ppc): Likewise.
26690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26691 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26692 compat_symbol macro.
26693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26694 (__fe_nomask_env): Likewise.
26695 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26697 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26699 * string/Makefile: Remove ifunc tests.
26700 * string/test-string.h: Define TEST_IFUNC.
26701 * string/test-bcopy-ifunc.c: Remove.
26702 * string/test-bzero-ifunc.c: Likewise.
26703 * string/test-memccpy-ifunc.c: Likewise.
26704 * string/test-memchr-ifunc.c: Likewise.
26705 * string/test-memcmp-ifunc.c: Likewise.
26706 * string/test-memcpy-ifunc.c: Likewise.
26707 * string/test-memmem-ifunc.c: Likewise.
26708 * string/test-memmove-ifunc.c: Likewise.
26709 * string/test-mempcpy-ifunc.c: Likewise.
26710 * string/test-memrchr-ifunc.c: Likewise.
26711 * string/test-memset-ifunc.c: Likewise.
26712 * string/test-rawmemchr-ifunc.c: Likewise.
26713 * string/test-stpcpy-ifunc.c: Likewise.
26714 * string/test-stpncpy-ifunc.c: Likewise.
26715 * string/test-strcasecmp-ifunc.c: Likewise.
26716 * string/test-strcasestr-ifunc.c: Likewise.
26717 * string/test-strcat-ifunc.c: Likewise.
26718 * string/test-strchr-ifunc.c: Likewise.
26719 * string/test-strchrnul-ifunc.c: Likewise.
26720 * string/test-strcmp-ifunc.c: Likewise.
26721 * string/test-strcpy-ifunc.c: Likewise.
26722 * string/test-strcspn-ifunc.c: Likewise.
26723 * string/test-strlen-ifunc.c: Likewise.
26724 * string/test-strncasecmp-ifunc.c: Likewise.
26725 * string/test-strncat-ifunc.c: Likewise.
26726 * string/test-strncmp-ifunc.c: Likewise.
26727 * string/test-strncpy-ifunc.c: Likewise.
26728 * string/test-strnlen-ifunc.c: Likewise.
26729 * string/test-strpbrk-ifunc.c: Likewise.
26730 * string/test-strrchr-ifunc.c: Likewise.
26731 * string/test-strspn-ifunc.c: Likewise.
26732 * string/test-strstr-ifunc.c: Likewise.
26734 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26736 * benchtests/Makefile: Remove ifunc tests.
26737 * benchtests/bench-string.h: Define TEST_IFUNC.
26738 * benchtests/bench-bcopy-ifunc.c: Remove.
26739 * benchtests/bench-bzero-ifunc.c: Likewise.
26740 * benchtests/bench-memccpy-ifunc.c: Likewise.
26741 * benchtests/bench-memchr-ifunc.c: Likewise.
26742 * benchtests/bench-memcmp-ifunc.c: Likewise.
26743 * benchtests/bench-memcpy-ifunc.c: Likewise.
26744 * benchtests/bench-memmem-ifunc.c: Likewise.
26745 * benchtests/bench-memmove-ifunc.c: Likewise.
26746 * benchtests/bench-mempcpy-ifunc.c: Likewise.
26747 * benchtests/bench-memrchr-ifunc.c: Likewise.
26748 * benchtests/bench-memset-ifunc.c: Likewise.
26749 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26750 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26751 * benchtests/bench-stpcpy-ifunc.c: Likewise.
26752 * benchtests/bench-stpncpy-ifunc.c: Likewise.
26753 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26754 * benchtests/bench-strcasestr-ifunc.c: Likewise.
26755 * benchtests/bench-strcat-ifunc.c: Likewise.
26756 * benchtests/bench-strchr-ifunc.c: Likewise.
26757 * benchtests/bench-strchrnul-ifunc.c: Likewise.
26758 * benchtests/bench-strcmp-ifunc.c: Likewise.
26759 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26760 * benchtests/bench-strcpy-ifunc.c: Likewise.
26761 * benchtests/bench-strcspn-ifunc.c: Likewise.
26762 * benchtests/bench-strlen-ifunc.c: Likewise.
26763 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26764 * benchtests/bench-strncat-ifunc.c: Likewise.
26765 * benchtests/bench-strncmp-ifunc.c: Likewise.
26766 * benchtests/bench-strncpy-ifunc.c: Likewise.
26767 * benchtests/bench-strnlen-ifunc.c: Likewise.
26768 * benchtests/bench-strpbrk-ifunc.c: Likewise.
26769 * benchtests/bench-strrchr-ifunc.c: Likewise.
26770 * benchtests/bench-strsep-ifunc.c: Likewise.
26771 * benchtests/bench-strspn-ifunc.c: Likewise.
26772 * benchtests/bench-strstr-ifunc.c: Likewise.
26774 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26776 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26778 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26780 * resolv/netdb.h: Use __glibc_reserved instead __unused.
26781 * rt/aio.h: Likewise.
26782 * sysdeps/gnu/bits/utmp.h: Likewise.
26783 * sysdeps/gnu/bits/utmpx.h: Likewise.
26784 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26785 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26786 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26787 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26788 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26789 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26790 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26791 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26792 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26793 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26794 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26795 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26796 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26798 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26799 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26800 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26801 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26802 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26803 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26804 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26805 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26806 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26807 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26808 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26809 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26810 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26811 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26812 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26813 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26814 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26815 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26816 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26817 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26818 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26819 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26820 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26821 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26822 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26823 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26824 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26825 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26827 2013-11-25 Carlos O'Donell <carlos@redhat.com>
26830 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26831 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26833 2013-11-25 Joseph Myers <joseph@codesourcery.com>
26835 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26836 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26839 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26841 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26842 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26843 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26844 (__fesetround): Remove define.
26845 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26846 rounding and exceptions handling.
26847 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26848 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26849 (__fe_nomask_env): Likewise.
26850 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26851 __fegetround instead of fegetround.
26852 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26853 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26855 2013-11-21 Roland McGrath <roland@hack.frob.com>
26857 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26860 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26862 2013-11-21 Meador Inge <meadori@codesourcery.com>
26865 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26866 (encrypt_r): Likewise.
26867 * malloc/obstack.h (obstack_free): Likewise.
26868 * posix/unistd.h (encrypt): Likewise.
26870 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
26872 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26873 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26874 DL_CALL_DT_FINI() that call the functions directly.
26875 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26876 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26877 * elf/dl-fini.c: Likewise.
26879 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
26881 * malloc/hooks.c (memalign_check): Add alignment rounding.
26882 * malloc/malloc.c (_mid_memalign): New function.
26883 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26884 Implement by calling _mid_memalign.
26885 * manual/probes.texi (Memory Allocation Probes): Remove
26886 memory_valloc_retry and memory_pvalloc_retry.
26888 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26890 * locale/programs/locarchive.c (open_archive): Add const
26891 qualifier to ARCHIVEFNAME and copy default fname to
26895 * libio/tst-widetext.input: Rename Oriya to Odia.
26896 * locale/iso-639.def: Likewise.
26898 * manual/probes.texi (Mathematical Function Probes): Add
26899 documentation for sin, cos, asin and acos probes.
26900 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26901 (__sin32): Add slowasin probe.
26902 (__cos32): Add slowacos probe.
26903 (__mpsin): Add slowsin probe.
26904 (__mpcos): Add slowcos probe.
26906 2013-11-19 Joseph Myers <joseph@codesourcery.com>
26909 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26910 thread-local __sim_exceptions_thread and global
26911 __sim_exceptions_global.
26912 (__sim_disabled_exceptions): Change to thread-local
26913 __sim_disabled_exceptions_thread and global
26914 __sim_disabled_exceptions_global.
26915 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26916 and global __sim_round_mode_global.
26917 (__simulate_exceptions): Use thread-local floating-point state and
26918 set global state from it as needed.
26919 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26920 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26921 __sim_round_mode_thread.
26922 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26923 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26924 and global __sim_exceptions_global.
26925 (__sim_disabled_exceptions): Change to thread-local
26926 __sim_disabled_exceptions_thread and global
26927 __sim_disabled_exceptions_global.
26928 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26929 and global __sim_round_mode_global.
26930 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26931 (SIM_SET_GLOBAL): Likewise.
26932 * sysdeps/powerpc/soft-fp/sfp-machine.h
26933 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26934 __sim_round_mode_thread.
26935 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26936 __sim_disabled_exceptions_thread.
26937 (__sim_exceptions): Change to __sim_exceptions_thread.
26938 (__sim_disabled_exceptions): Change to
26939 __sim_disabled_exceptions_thread.
26940 (__sim_round_mode): Change to __sim_round_mode_thread.
26941 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26942 thread-local floating-point state and set global state from it as
26944 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26945 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26946 (__sim_disabled_exceptions): Remove extern declaration.
26947 (feenableexcept): Use thread-local floating-point state and set
26948 global state from it as needed.
26949 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26950 extern declaration.
26951 (__sim_disabled_exceptions): Likewise.
26952 (__sim_round_mode): Likewise.
26953 (__fegetenv): Use thread-local floating-point state.
26954 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26955 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26956 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26957 floating-point state and set global state from it as needed.
26958 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26959 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26960 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26962 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26963 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26965 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26966 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26967 Use __sim_round_mode_thread.
26968 * math/test-fenv-tls.c: New file.
26969 * math/Makefile (tests): Add test-fenv-tls.
26970 ($(objpfx)test-fenv-tls): Depend on
26971 $(common-objpfx)nptl/libpthread.so.
26973 2013-11-19 Andreas Schwab <schwab@suse.de>
26975 * locale/programs/locale.c (show_info): Decode wordarray elements.
26976 * locale/categories.def (LC_MONETARY): Add element for
26977 _NL_MONETARY_CRNCYSTR.
26978 * locale/C-monetary.c (conversion_rate): New variable.
26979 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26982 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
26984 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26985 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26987 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26989 * elf/Makefile (tst-auxv): New test.
26990 * elf/tst-auxv.c: New
26991 * elf/rtld.c (dl_main): Adjust AT_EXECFN
26993 2013-11-18 Joseph Myers <joseph@codesourcery.com>
26995 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26996 (hidden_proto): Caller changed.
26997 (hidden_tls_proto): New macro.
26998 (libc_hidden_tls_proto): Likewise.
26999 (rtld_hidden_tls_proto): Likewise.
27000 (libm_hidden_tls_proto): Likewise.
27001 (libresolv_hidden_tls_proto): Likewise.
27002 (librt_hidden_tls_proto): Likewise.
27003 (libdl_hidden_tls_proto): Likewise.
27004 (libnss_files_hidden_tls_proto): Likewise.
27005 (libnsl_hidden_tls_proto): Likewise.
27006 (libnss_nisplus_hidden_tls_proto): Likewise.
27007 (libutil_hidden_tls_proto): Likewise.
27009 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
27012 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27013 (decompose_rpath): Defer expansion to fillin_rpath.
27014 (_dl_init_paths): Pass linkmap to fillin_rpath.
27016 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27018 * benchtests/Makefile: Add strsep.
27019 * benchtests/bench-strsep.c: New file: strsep benchtest.
27020 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27022 2013-11-18 Andreas Schwab <schwab@suse.de>
27024 * locale/programs/locale.c (show_info) [case byte]: Check for
27025 '\377' instead of '\177'.
27026 * locale/C-monetary.c (not_available): Always use "\377".
27027 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27028 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
27029 detect unavailable sign_posn locale elements.
27030 * locale/localeconv.c (__localeconv): For grouping and
27031 mon_grouping handle "\177" and "\377" like no grouping.
27032 (INT_ELEM): New macro. Use it to set all numeric members.
27033 * locale/programs/ld-monetary.c (monetary_read)
27034 <tok_mon_grouping>: Normalize single -1 to the empty string.
27035 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27038 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
27041 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27042 when we match (nil).
27043 * stdio-common/tst-sscanf.c (struct test): Add testcase.
27045 2013-11-16 Joseph Myers <joseph@codesourcery.com>
27047 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27048 (NO_TEST_INLINE): Update value.
27049 (ERRNO_UNCHANGED): Likewise.
27050 (ERRNO_EDOM): Likewise.
27051 (ERRNO_ERANGE): Likewise.
27052 (IGNORE_RESULT): Likewise.
27053 (check_float_internal): Check signs of NaN results if
27054 TEST_NAN_SIGN used.
27055 (check_complex): Pass TEST_NAN_SIGN flag through to second
27056 check_float_internal call.
27057 (copysign_test_data): Add tests with quiet NaNs as second
27058 argument. Use TEST_NAN_SIGN.
27059 (fabs_test_data): Add test of negative quiet NaN argument. Use
27061 (signbit_test_data): Add tests of quiet NaN argument.
27062 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27064 * math/gen-libm-test.pl (show_exceptions): Take extra argument
27066 (parse_args): Handle function results specified as IGNORE.
27067 * math/libm-test.inc (IGNORE_RESULT): New macro.
27068 (check_float_internal): Do not check numerical result if flag
27070 (check_complex): Pass through IGNORE_RESULT to second
27071 check_float_internal call.
27072 (check_int): Do not check numerical result if flag IGNORE_RESULT
27074 (check_long): Likewise.
27075 (check_bool): Likewise.
27076 (check_longlong): Likewise.
27077 (lrint_test_data): Add tests of infinite and NaN arguments.
27078 (lrint_tonearest_test_data): Likewise.
27079 (lrint_towardzero_test_data): Likewise.
27080 (lrint_downward_test_data): Likewise.
27081 (lrint_upward_test_data): Likewise.
27082 (llrint_test_data): Likewise.
27083 (llrint_tonearest_test_data): Likewise.
27084 (llrint_towardzero_test_data): Likewise.
27085 (llrint_downward_test_data): Likewise.
27086 (llrint_upward_test_data): Likewise.
27087 (lround_test_data): Likewise.
27088 (llround_test_data): Likewise.
27090 * math/libm-test.inc (NO_TEST_INLINE): New macro.
27091 (ERRNO_UNCHANGED): Update value.
27092 (ERRNO_EDOM): Likewise.
27093 (ERRNO_ERANGE): Likewise.
27094 (NO_TEST_INLINE_FLOAT): New macro.
27095 (NO_TEST_INLINE_DOUBLE): Likewise.
27096 (enable_test): New function.
27097 (RUN_TEST_f_f): Check enable_test before running test.
27098 (RUN_TEST_2_f): Likewise.
27099 (RUN_TEST_fff_f): Likewise.
27100 (RUN_TEST_c_f): Likewise.
27101 (RUN_TEST_f_f1): Likewise.
27102 (RUN_TEST_fF_f1): Likewise.
27103 (RUN_TEST_fI_f1): Likewise.
27104 (RUN_TEST_ffI_f1): Likewise.
27105 (RUN_TEST_c_c): Likewise.
27106 (RUN_TEST_cc_c): Likewise.
27107 (RUN_TEST_f_i): Likewise.
27108 (RUN_TEST_f_i_tg): Likewise.
27109 (RUN_TEST_ff_i_tg): Likewise.
27110 (RUN_TEST_f_b): Likewise.
27111 (RUN_TEST_f_b_tg): Likewise.
27112 (RUN_TEST_f_l): Likewise.
27113 (RUN_TEST_f_L): Likewise.
27114 (RUN_TEST_fFF_11): Likewise.
27115 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27117 (cosh_test_data): Likewise.
27118 (exp_test_data): Likewise.
27119 (expm1_test_data): Likewise.
27120 (hypot_test_data): Likewise.
27121 (pow_test_data): Likewise.
27122 (sinh_test_data): Likewise.
27123 (tanh_test_data): Likewise.
27124 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27127 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27128 tests with quiet NaN input and output.
27129 (acosh_test_data): Likewise.
27130 (asin_test_data): Likewise.
27131 (asinh_test_data): Likewise.
27132 (atan_test_data): Likewise.
27133 (atanh_test_data): Likewise.
27134 (atan2_test_data): Likewise.
27135 (cbrt_test_data): Likewise.
27136 (cos_test_data): Likewise.
27137 (cosh_test_data): Likewise.
27138 (erf_test_data): Likewise.
27139 (erfc_test_data): Likewise.
27140 (exp_test_data): Likewise.
27141 (exp10_test_data): Likewise.
27142 (exp2_test_data): Likewise.
27143 (expm1_test_data): Likewise.
27144 (hypot_test_data): Likewise.
27145 (j0_test_data): Likewise.
27146 (j1_test_data): Likewise.
27147 (jn_test_data): Likewise.
27148 (lgamma_test_data): Likewise.
27149 (log_test_data): Likewise.
27150 (log10_test_data): Likewise.
27151 (log1p_test_data): Likewise.
27152 (log2_test_data): Likewise.
27153 (pow_test_data): Likewise.
27154 (scalb_test_data): Likewise.
27155 (sin_test_data): Likewise.
27156 (sincos_test_data): Likewise.
27157 (sinh_test_data): Likewise.
27158 (tan_test_data): Likewise.
27159 (tanh_test_data): Likewise.
27160 (tgamma_test_data): Likewise.
27161 (y0_test_data): Likewise.
27162 (y1_test_data): Likewise.
27163 (yn_test_data): Likewise.
27166 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27167 argument being NaN and avoid computations with second argument in
27169 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27170 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27171 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27173 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
27175 * locale/iso-639.def: Add Chitwani Tharu (the).
27177 2013-11-14 Andreas Schwab <schwab@suse.de>
27179 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27180 word instead of empty string.
27182 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27185 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27187 (__fe_nomask_env): Likewise.
27189 2013-11-13 Steve Ellcey <sellcey@mips.com>
27191 * benchtests/bench-timing.h: Include time.h.
27193 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
27196 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27198 * sysdeps/unix/sysv/linux/configure: Regenerated.
27200 2013-11-13 Joseph Myers <joseph@codesourcery.com>
27203 * stdlib/strtod_l.c (round_and_return): Do not consider
27204 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27205 exponent one less than half the least subnormal exponent.
27206 * stdlib/test-strtod-round-data: Add more tests.
27207 * stdlib/tst-strtod-round.c (tests): Regenerated.
27209 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27212 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27213 (__fe_mask_env): Likewise.
27214 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27215 libm_hidden_proto and add function prototype.
27216 (__fe_mask_env): Add function prototype.
27217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27218 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27220 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27222 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27224 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27226 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27227 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27229 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27231 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27232 of htab_find_slot().
27234 2013-11-11 David S. Miller <davem@davemloft.net>
27237 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27238 symbol in the non-vis3 case in static builds.
27239 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27240 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27241 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27242 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27244 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
27247 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27250 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27252 * benchtests/Makefile: Add bench-strtod.
27253 * benchtests/bench-strtod.c: New file: strtod benchtest
27255 2013-11-11 Andreas Schwab <schwab@suse.de>
27258 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27259 terminating NUL in key length.
27261 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27263 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27264 Add artificial ODP entry for vDSO symbol for PPC64.
27265 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27266 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27268 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
27271 * nss/getent.c (services_keys): Recognize services starting with digit.
27273 2013-11-06 David S. Miller <davem@davemloft.net>
27276 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27277 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27279 2013-11-06 Will Newton <will.newton@linaro.org>
27281 * manual/memory.texi (Malloc Examples): Remove register
27282 keyword from examples.
27284 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
27286 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27288 2013-11-04 Joseph Myers <joseph@codesourcery.com>
27291 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27292 depending on [__GCC_IEC_559 > 0].
27293 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27294 depending on [__GCC_IEC_559_COMPLEX > 0].
27296 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
27298 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27301 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
27303 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27305 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
27308 * malloc/malloc (malloc_info): Do not handle first bin as
27311 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
27313 * locale/iso-639.def: Add Central Nahuatl (nhn).
27315 2013-11-01 Bruno Haible <bruno@clisp.org>
27318 * manual/math.texi (BSD Random): Specify range upper bound as
27321 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
27323 * locale/iso-639.def: Add Meadow Mari (mhr).
27325 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
27327 [BZ #14752], [BZ #15763]
27328 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27330 * rt/tst_shm.c: Add test for escaping directory.
27332 2013-10-31 Andreas Schwab <schwab@suse.de>
27335 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27336 followed by 'x' as part of digit sequence.
27337 * stdio-common/tst-sscanf.c (double_tests2): New tests.
27339 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27342 * configure.ac: allow GNU Make 4.0 and greater.
27343 * configure: Regenerated.
27345 2013-10-30 Will Newton <will.newton@linaro.org>
27348 * malloc/hooks.c (memalign_check): Limit alignment to the
27349 maximum representable power of two.
27350 * malloc/malloc.c (__libc_memalign): Likewise.
27351 * malloc/tst-memalign.c (do_test): Add test for very
27352 large alignment values.
27353 * malloc/tst-posix_memalign.c (do_test): Likewise.
27355 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27358 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27359 (munmap_chunk): Likewise.
27360 (mremap_chunk): Likewise.
27362 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27365 * stdlib/div.c (div): Remove obsolete code.
27366 * stdlib/ldiv.c (ldiv): Likewise.
27367 * stdlib/lldiv.c (lldiv): Likewise.
27369 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27372 * nss/nss_files/files-XXX.c (get_contents_ret): New
27374 (get_contents): New function.
27375 (internal_getent): Use it. Expand size of LINEBUFLEN.
27377 2013-10-30 Mike Frysinger <vapier@gentoo.org>
27379 * configure.in: Moved to ...
27380 * configure.ac: ... here. Change reference to configure.in
27382 * sysdeps/arm/preconfigure.ac: ... here.
27383 configure.in to configure.ac.
27384 * sysdeps/gnu/configure.in: Moved to ...
27385 * sysdeps/gnu/configure.ac: ... here.
27386 * sysdeps/i386/configure.in: Moved to ...
27387 * sysdeps/i386/configure.ac: ... here.
27388 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27389 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27390 * sysdeps/mach/configure.in: Moved to ...
27391 * sysdeps/mach/configure.ac: ... here.
27392 * sysdeps/mach/hurd/configure.in: Moved to ...
27393 * sysdeps/mach/hurd/configure.ac: ... here.
27394 * sysdeps/powerpc/configure.in: Moved to ...
27395 * sysdeps/powerpc/configure.ac: ... here.
27396 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27397 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27398 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27399 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27400 * sysdeps/s390/s390-32/configure.in: Moved to ...
27401 * sysdeps/s390/s390-32/configure.ac: ... here.
27402 * sysdeps/s390/s390-64/configure.in: Moved to ...
27403 * sysdeps/s390/s390-64/configure.ac: ... here.
27404 * sysdeps/sh/configure.in: Moved to ...
27405 * sysdeps/sh/configure.ac: ... here.
27406 * sysdeps/sparc/configure.in: Moved to ...
27407 * sysdeps/sparc/configure.ac: ... here.
27408 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27409 * sysdeps/unix/sysv/linux/configure.ac: ... here.
27410 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27411 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27412 * sysdeps/x86_64/configure.in: Moved to ...
27413 * sysdeps/x86_64/configure.ac: ... here.
27414 * sysdeps/x86_64/preconfigure.in: Moved to ...
27415 * sysdeps/x86_64/preconfigure.ac: ... here.
27416 * aclocal.m4: Change reference to configure.in to configure.ac.
27417 * config.h.in: Likewise.
27418 * manual/install.texi: Likewise.
27419 * manual/maint.texi: Likewise.
27420 * Makefile: Likewise.
27421 * malloc/Makefile: Likewise.
27422 * nscd/Makefile: Likewise.
27423 * Makeconfig: Change reference to configure.in and
27424 preconfigure.in to configure.ac and preconfigure.ac
27426 * INSTALL: Regenerated.
27427 * configure: Likewise.
27428 * sysdeps/gnu/configure: Likewise.
27429 * sysdeps/i386/configure: Likewise.
27430 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27431 * sysdeps/mach/configure: Likewise.
27432 * sysdeps/mach/hurd/configure: Likewise.
27433 * sysdeps/powerpc/configure: Likewise.
27434 * sysdeps/powerpc/powerpc32/configure: Likewise.
27435 * sysdeps/powerpc/powerpc64/configure: Likewise.
27436 * sysdeps/s390/s390-32/configure: Likewise.
27437 * sysdeps/s390/s390-64/configure: Likewise.
27438 * sysdeps/sh/configure: Likewise.
27439 * sysdeps/sparc/configure: Likewise.
27440 * sysdeps/unix/sysv/linux/configure: Likewise.
27441 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27442 * sysdeps/x86_64/configure: Likewise.
27443 * sysdeps/x86_64/preconfigure: Likewise.
27445 2013-10-29 Andreas Schwab <schwab@suse.de>
27447 * stdio-common/Makefile (tst-swscanf-ENV): Define.
27449 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27451 * benchtests/pow-inputs: Add new inputs.
27453 * benchtests/exp-inputs: Add new inputs.
27455 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27456 conditional check for return value.
27457 (__cos32): Likewise.
27459 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27461 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27462 to provide a boost for large inputs with word alignment.
27463 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27464 implementation based on optimized PPC64 strcpy.
27465 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27466 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27467 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27468 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27470 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27473 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27475 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27478 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27479 * time/tst-strptime.c (day_tests): Add testcase.
27481 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27484 * manual/pattern.texi: Acknowledge that fnmatch can fail.
27486 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
27489 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27490 MAP_FAILED on error.
27492 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27495 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27496 heap for large requests.
27498 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
27501 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27502 result if the result has no associated interface.
27503 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27504 interface for all 127.X.Y.Z addresses.
27506 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
27508 * locale/iso-639.def: Add Ligurian (lij)
27510 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
27513 * sunrpc/rpc_main.c: Document rpcgen -5.
27515 2013-10-19 Michael Stahl <mstahl@redhat.com>
27517 * elf/rtld.c (do_preload): Print the reason why preloading failed.
27519 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27522 * posix/glob.c: Match only directories when trailing slash is present.
27523 * posix/tst-gnuglob.c (my_opendir): Do not open files.
27524 (main): Add testcase.
27526 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27529 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27531 2013-10-18 Carlos O'Donell <carlos@redhat.com>
27533 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27534 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27535 AUTH_DES and cindex for FIPS 140-2.
27536 (DES Encryption): Add cindex FIPS 46-3.
27538 * locale/locarchive.h (struct locarhandle): Add fname.
27539 * locale/programs/localedef.c (main): Pass ARGV[remaining]
27540 if an optional argument was specified to --list-archive,
27542 * locale/programs/locarchive.c (show_archive_content): Take new
27543 argument fname and pass it via ah.fname to open_archive.
27544 * locale/programs/localedef.h: Update decl.
27545 (open_archive): If AH->fname is non-null, open that file
27546 rather than the default file name, and don't ignore ENOENT.
27547 (create_archive): Set AH.fname to NULL.
27548 (delete_locales_from_archive): Likewise.
27549 (add_locales_to_archive): Likewise.
27550 * locale/programs/locfile.c (write_all_categories): Likewise.
27552 2013-10-18 Joseph Myers <joseph@codesourcery.com>
27553 Aldy Hernandez <aldyh@redhat.com>
27555 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27556 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27557 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27558 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27559 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27560 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27561 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27562 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27563 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27564 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27565 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27566 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27567 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27568 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27569 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27571 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27573 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27575 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27577 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27578 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27580 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27581 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27582 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27583 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27585 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27586 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27587 * sysdeps/powerpc/preconfigure: Likewise.
27588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27590 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27591 Replace contents of file by #include of <fenv_libc.h>.
27592 * sysdeps/powerpc/soft-fp/sfp-machine.h
27593 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27595 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27596 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27597 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27598 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27599 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27600 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27601 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27602 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27603 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27604 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27605 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27606 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27608 Allow copysignl PLT reference to be missing.
27610 2013-10-18 Richard Sandiford <richard@codesourcery.com>
27611 Joseph Myers <joseph@codesourcery.com
27614 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27616 (add_to_tablewc): Assert sequence of wide characters is nonempty.
27618 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27620 * elf/tst-tls-dlinfo.c: Don't include tls.h.
27621 * elf/tst-tls1.c: Likewise.
27622 * elf/tst-tls10.h: Likewise.
27623 * elf/tst-tls14.c: Likewise.
27624 * elf/tst-tls2.c: Likewise.
27625 * elf/tst-tls3.c: Likewise.
27626 * elf/tst-tls4.c: Likewise.
27627 * elf/tst-tls5.c: Likewise.
27628 * elf/tst-tls6.c: Likewise.
27629 * elf/tst-tls7.c: Likewise.
27630 * elf/tst-tls8.c: Likewise.
27631 * elf/tst-tls9.c: Likewise.
27632 * elf/tst-tlsmod1.c: Likewise.
27633 * elf/tst-tlsmod13.c: Likewise.
27634 * elf/tst-tlsmod13a.c: Likewise.
27635 * elf/tst-tlsmod14a.c: Likewise.
27636 * elf/tst-tlsmod16a.c: Likewise.
27637 * elf/tst-tlsmod16b.c: Likewise.
27638 * elf/tst-tlsmod2.c: Likewise.
27639 * elf/tst-tlsmod3.c: Likewise.
27640 * elf/tst-tlsmod4.c: Likewise.
27641 * elf/tst-tlsmod5.c: Likewise.
27642 * elf/tst-tlsmod6.c: Likewise.
27644 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
27647 * malloc/malloc.c: remove checks for statistics.
27649 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27652 * inet/inet_net.c (inet_network): Detect additional invalid strings.
27653 * inet/tst-network.c: Add testcase.
27655 2013-10-17 Andreas Schwab <schwab@suse.de>
27658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27659 to determine canonical name.
27661 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27663 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27664 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27665 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27666 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27667 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27668 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27669 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27670 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27671 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27672 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27673 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27674 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27675 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27676 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27677 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27678 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27679 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27680 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27681 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27682 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27683 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27684 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27685 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27686 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27687 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27688 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27689 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27690 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27691 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27692 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27693 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27694 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27695 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27696 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27697 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27698 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27699 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27700 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27701 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27702 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27703 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27704 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27705 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27706 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27707 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27708 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27709 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27710 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27711 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27712 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27713 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27714 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27715 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27716 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27717 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27718 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27719 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27720 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27722 2013-10-17 Joseph Myers <joseph@codesourcery.com>
27725 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27726 make result into a quiet NaN.
27728 2013-10-16 Joseph Myers <joseph@codesourcery.com>
27730 * soft-fp/adddf3.c: Fix horizontal whitespace.
27731 * soft-fp/addsf3.c: Likewise.
27732 * soft-fp/addtf3.c: Likewise.
27733 * soft-fp/divdf3.c: Likewise.
27734 * soft-fp/divsf3.c: Likewise.
27735 * soft-fp/divtf3.c: Likewise.
27736 * soft-fp/double.h: Likewise.
27737 * soft-fp/eqdf2.c: Likewise.
27738 * soft-fp/eqsf2.c: Likewise.
27739 * soft-fp/eqtf2.c: Likewise.
27740 * soft-fp/extenddftf2.c: Likewise.
27741 * soft-fp/extended.h: Likewise.
27742 * soft-fp/extendsfdf2.c: Likewise.
27743 * soft-fp/extendsftf2.c: Likewise.
27744 * soft-fp/extendxftf2.c: Likewise.
27745 * soft-fp/fixdfdi.c: Likewise.
27746 * soft-fp/fixdfsi.c: Likewise.
27747 * soft-fp/fixdfti.c: Likewise.
27748 * soft-fp/fixsfdi.c: Likewise.
27749 * soft-fp/fixsfsi.c: Likewise.
27750 * soft-fp/fixsfti.c: Likewise.
27751 * soft-fp/fixtfdi.c: Likewise.
27752 * soft-fp/fixtfsi.c: Likewise.
27753 * soft-fp/fixtfti.c: Likewise.
27754 * soft-fp/fixunsdfdi.c: Likewise.
27755 * soft-fp/fixunsdfsi.c: Likewise.
27756 * soft-fp/fixunsdfti.c: Likewise.
27757 * soft-fp/fixunssfdi.c: Likewise.
27758 * soft-fp/fixunssfsi.c: Likewise.
27759 * soft-fp/fixunssfti.c: Likewise.
27760 * soft-fp/fixunstfdi.c: Likewise.
27761 * soft-fp/fixunstfsi.c: Likewise.
27762 * soft-fp/fixunstfti.c: Likewise.
27763 * soft-fp/floatdidf.c: Likewise.
27764 * soft-fp/floatdisf.c: Likewise.
27765 * soft-fp/floatditf.c: Likewise.
27766 * soft-fp/floatsidf.c: Likewise.
27767 * soft-fp/floatsisf.c: Likewise.
27768 * soft-fp/floatsitf.c: Likewise.
27769 * soft-fp/floattidf.c: Likewise.
27770 * soft-fp/floattisf.c: Likewise.
27771 * soft-fp/floattitf.c: Likewise.
27772 * soft-fp/floatundidf.c: Likewise.
27773 * soft-fp/floatundisf.c: Likewise.
27774 * soft-fp/floatunditf.c: Likewise.
27775 * soft-fp/floatunsidf.c: Likewise.
27776 * soft-fp/floatunsisf.c: Likewise.
27777 * soft-fp/floatunsitf.c: Likewise.
27778 * soft-fp/floatuntidf.c: Likewise.
27779 * soft-fp/floatuntisf.c: Likewise.
27780 * soft-fp/floatuntitf.c: Likewise.
27781 * soft-fp/fmadf4.c: Likewise.
27782 * soft-fp/fmasf4.c: Likewise.
27783 * soft-fp/fmatf4.c: Likewise.
27784 * soft-fp/gedf2.c: Likewise.
27785 * soft-fp/gesf2.c: Likewise.
27786 * soft-fp/getf2.c: Likewise.
27787 * soft-fp/ledf2.c: Likewise.
27788 * soft-fp/lesf2.c: Likewise.
27789 * soft-fp/letf2.c: Likewise.
27790 * soft-fp/muldf3.c: Likewise.
27791 * soft-fp/mulsf3.c: Likewise.
27792 * soft-fp/multf3.c: Likewise.
27793 * soft-fp/negdf2.c: Likewise.
27794 * soft-fp/negsf2.c: Likewise.
27795 * soft-fp/negtf2.c: Likewise.
27796 * soft-fp/op-1.h: Likewise.
27797 * soft-fp/op-2.h: Likewise.
27798 * soft-fp/op-4.h: Likewise.
27799 * soft-fp/op-8.h: Likewise.
27800 * soft-fp/op-common.h: Likewise.
27801 * soft-fp/quad.h: Likewise.
27802 * soft-fp/single.h: Likewise.
27803 * soft-fp/soft-fp.h: Likewise.
27804 * soft-fp/sqrtdf2.c: Likewise.
27805 * soft-fp/sqrtsf2.c: Likewise.
27806 * soft-fp/sqrttf2.c: Likewise.
27807 * soft-fp/subdf3.c: Likewise.
27808 * soft-fp/subsf3.c: Likewise.
27809 * soft-fp/subtf3.c: Likewise.
27810 * soft-fp/truncdfsf2.c: Likewise.
27811 * soft-fp/trunctfdf2.c: Likewise.
27812 * soft-fp/trunctfsf2.c: Likewise.
27813 * soft-fp/trunctfxf2.c: Likewise.
27814 * soft-fp/unorddf2.c: Likewise.
27815 * soft-fp/unordsf2.c: Likewise.
27816 * soft-fp/unordtf2.c: Likewise.
27818 2013-10-15 Joseph Myers <joseph@codesourcery.com>
27820 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27821 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27823 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
27825 * elf/dl-libc.c: Clear initfini list after freeing.
27827 2013-10-14 Joseph Myers <joseph@codesourcery.com>
27829 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27830 * soft-fp/addsf3.c: Likewise.
27831 * soft-fp/addtf3.c: Likewise.
27832 * soft-fp/divdf3.c: Likewise.
27833 * soft-fp/divsf3.c: Likewise.
27834 * soft-fp/divtf3.c: Likewise.
27835 * soft-fp/double.h: Likewise.
27836 * soft-fp/eqdf2.c: Likewise.
27837 * soft-fp/eqsf2.c: Likewise.
27838 * soft-fp/eqtf2.c: Likewise.
27839 * soft-fp/extenddftf2.c: Likewise.
27840 * soft-fp/extended.h: Likewise.
27841 * soft-fp/extendsfdf2.c: Likewise.
27842 * soft-fp/extendsftf2.c: Likewise.
27843 * soft-fp/extendxftf2.c: Likewise.
27844 * soft-fp/fixdfdi.c: Likewise.
27845 * soft-fp/fixdfsi.c: Likewise.
27846 * soft-fp/fixdfti.c: Likewise.
27847 * soft-fp/fixsfdi.c: Likewise.
27848 * soft-fp/fixsfsi.c: Likewise.
27849 * soft-fp/fixsfti.c: Likewise.
27850 * soft-fp/fixtfdi.c: Likewise.
27851 * soft-fp/fixtfsi.c: Likewise.
27852 * soft-fp/fixtfti.c: Likewise.
27853 * soft-fp/fixunsdfdi.c: Likewise.
27854 * soft-fp/fixunsdfsi.c: Likewise.
27855 * soft-fp/fixunsdfti.c: Likewise.
27856 * soft-fp/fixunssfdi.c: Likewise.
27857 * soft-fp/fixunssfsi.c: Likewise.
27858 * soft-fp/fixunssfti.c: Likewise.
27859 * soft-fp/fixunstfdi.c: Likewise.
27860 * soft-fp/fixunstfsi.c: Likewise.
27861 * soft-fp/fixunstfti.c: Likewise.
27862 * soft-fp/floatdidf.c: Likewise.
27863 * soft-fp/floatdisf.c: Likewise.
27864 * soft-fp/floatditf.c: Likewise.
27865 * soft-fp/floatsidf.c: Likewise.
27866 * soft-fp/floatsisf.c: Likewise.
27867 * soft-fp/floatsitf.c: Likewise.
27868 * soft-fp/floattidf.c: Likewise.
27869 * soft-fp/floattisf.c: Likewise.
27870 * soft-fp/floattitf.c: Likewise.
27871 * soft-fp/floatundidf.c: Likewise.
27872 * soft-fp/floatundisf.c: Likewise.
27873 * soft-fp/floatunsidf.c: Likewise.
27874 * soft-fp/floatunsisf.c: Likewise.
27875 * soft-fp/floatuntidf.c: Likewise.
27876 * soft-fp/floatuntisf.c: Likewise.
27877 * soft-fp/floatuntitf.c: Likewise.
27878 * soft-fp/fmadf4.c: Likewise.
27879 * soft-fp/fmasf4.c: Likewise.
27880 * soft-fp/fmatf4.c: Likewise.
27881 * soft-fp/gedf2.c: Likewise.
27882 * soft-fp/gesf2.c: Likewise.
27883 * soft-fp/getf2.c: Likewise.
27884 * soft-fp/ledf2.c: Likewise.
27885 * soft-fp/lesf2.c: Likewise.
27886 * soft-fp/letf2.c: Likewise.
27887 * soft-fp/muldf3.c: Likewise.
27888 * soft-fp/mulsf3.c: Likewise.
27889 * soft-fp/multf3.c: Likewise.
27890 * soft-fp/negdf2.c: Likewise.
27891 * soft-fp/negsf2.c: Likewise.
27892 * soft-fp/negtf2.c: Likewise.
27893 * soft-fp/op-1.h: Likewise.
27894 * soft-fp/op-2.h: Likewise.
27895 * soft-fp/op-4.h: Likewise.
27896 * soft-fp/op-8.h: Likewise.
27897 * soft-fp/op-common.h: Likewise.
27898 * soft-fp/quad.h: Likewise.
27899 * soft-fp/single.h: Likewise.
27900 * soft-fp/soft-fp.h: Likewise.
27901 * soft-fp/sqrtdf2.c: Likewise.
27902 * soft-fp/sqrtsf2.c: Likewise.
27903 * soft-fp/sqrttf2.c: Likewise.
27904 * soft-fp/subdf3.c: Likewise.
27905 * soft-fp/subsf3.c: Likewise.
27906 * soft-fp/subtf3.c: Likewise.
27907 * soft-fp/truncdfsf2.c: Likewise.
27908 * soft-fp/trunctfdf2.c: Likewise.
27909 * soft-fp/trunctfsf2.c: Likewise.
27910 * soft-fp/trunctfxf2.c: Likewise.
27911 * soft-fp/unorddf2.c: Likewise.
27912 * soft-fp/unordsf2.c: Likewise.
27913 * soft-fp/unordtf2.c: Likewise.
27915 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
27918 * misc/error.c (error_tail): Fix possible buffer overflow.
27920 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
27923 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27926 2013-10-14 P. J. McDermott <pj@pehjota.net>
27929 * elf/ldd.bash.in (try_trace): New function. Delete previous code
27930 testing pipefail option.
27932 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27934 * soft-fp/double.h: Indent preprocessor directives inside #if.
27935 * soft-fp/extended.h: Likewise.
27936 * soft-fp/op-2.h: Likewise.
27937 * soft-fp/op-4.h: Likewise.
27938 * soft-fp/op-common.h: Likewise.
27939 * soft-fp/quad.h: Likewise.
27940 * soft-fp/single.h: Likewise.
27941 * soft-fp/soft-fp.h: Likewise.
27943 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
27945 * iconv/iconv_prog.c: Fix typos.
27946 * stdio-common/psiginfo-data.h: Likewise.
27948 2013-10-12 Reuben Thomas <rrt@sc3d.org>
27951 * locale/setlocale.c: Fix typo.
27953 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27956 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27957 signaling NaN arguments.
27958 * soft-fp/unordsf2.c (__unordsf2): Likewise.
27959 * soft-fp/unordtf2.c (__unordtf2): Likewise.
27962 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27963 unordered operands.
27964 * soft-fp/gesf2.c (__gesf2): Likewise.
27965 * soft-fp/getf2.c (__getf2): Likewise.
27966 * soft-fp/ledf2.c (__ledf2): Likewise.
27967 * soft-fp/lesf2.c (__lesf2): Likewise.
27968 * soft-fp/letf2.c (__letf2): Likewise.
27970 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27971 * soft-fp/eqsf2.c (__eqsf2): Likewise.
27972 * soft-fp/eqtf2.c (__eqtf2): Likewise.
27973 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27974 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27975 * soft-fp/fixdfti.c (__fixdfti): Likewise.
27976 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27977 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27978 * soft-fp/fixsfti.c (__fixsfti): Likewise.
27979 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27980 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27981 * soft-fp/fixtfti.c (__fixtfti): Likewise.
27982 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27983 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27984 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27985 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27986 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27987 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27988 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27989 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27990 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27991 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27992 * soft-fp/floatdisf.c (__floatdisf): Likewise.
27993 * soft-fp/floatsisf.c (__floatsisf): Likewise.
27994 * soft-fp/floattidf.c (__floattidf): Likewise.
27995 * soft-fp/floattisf.c (__floattisf): Likewise.
27996 * soft-fp/floattitf.c (__floattitf): Likewise.
27997 * soft-fp/floatundidf.c (__floatundidf): Likewise.
27998 * soft-fp/floatundisf.c (__floatundisf): Likewise.
27999 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28000 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28001 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28002 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28003 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28004 * soft-fp/gesf2.c (__gesf2): Likewise.
28005 * soft-fp/getf2.c (__getf2): Likewise.
28006 * soft-fp/ledf2.c (__ledf2): Likewise.
28007 * soft-fp/lesf2.c (__lesf2): Likewise.
28008 * soft-fp/letf2.c (__letf2): Likewise.
28010 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28011 Undefine and redefine.
28012 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28013 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28014 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28015 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28016 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28017 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28018 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28019 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28020 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28021 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28022 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28023 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28024 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28025 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28026 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28029 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28030 without decrementing exponent if mantissa >= that for the
28031 denominator, not >.
28032 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28033 denominator, not >. Decrement exponent in < case instead of
28034 incrementing in >= case.
28035 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28036 without decrementing exponent if mantissa >= that for the
28037 denominator, not >.
28039 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28040 computing saturated result for unsigned overflow.
28042 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28043 Jeff Law <law@redhat.com>
28045 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28046 (atan2Mp): Add systemtap probe marker.
28047 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28048 (__ieee754_log): Add systemtap probe marker.
28049 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28050 (atanMp): Add systemtap probe marker.
28051 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28052 (tanMp): Add systemtap probe marker.
28053 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28054 (__slowexp): Add systemtap probe marker.
28055 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28056 (__slowpow): Add systemtap probe marker.
28057 * manual/probes.texi: Document probes.
28059 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
28062 * libio/fileops.c (_IO_new_file_write): Return count of bytes
28064 (_IO_new_file_xsputn): Don't return EOF if nothing has been
28066 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28067 written to buffer but not flushed.
28068 * libio/iofwrite_u.c: Likewise.
28069 * libio/iopadn.c: Return bytes returned even if EOF was
28071 * libio/iowpadn.c: Likewise.
28072 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28073 if _IO_padn does not write the whole buffer.
28074 [!COMPILE_WPRINTF] (PAD): Likewise.
28076 2013-10-10 David S. Miller <davem@davemloft.net>
28078 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28081 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28083 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
28084 instead of FSF address.
28085 * soft-fp/fixdfti.c: Likewise.
28086 * soft-fp/fixsfti.c: Likewise.
28087 * soft-fp/fixtfti.c: Likewise.
28088 * soft-fp/fixunsdfti.c: Likewise.
28089 * soft-fp/fixunssfti.c: Likewise.
28090 * soft-fp/fixunstfti.c: Likewise.
28091 * soft-fp/floattidf.c: Likewise.
28092 * soft-fp/floattisf.c: Likewise.
28093 * soft-fp/floattitf.c: Likewise.
28094 * soft-fp/floatuntidf.c: Likewise.
28095 * soft-fp/floatuntisf.c: Likewise.
28096 * soft-fp/floatuntitf.c: Likewise.
28097 * soft-fp/trunctfxf2.c: Likewise.
28099 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
28100 * soft-fp/fixdfti.c: Likewise.
28101 * soft-fp/fixsfti.c: Likewise.
28102 * soft-fp/fixtfti.c: Likewise.
28103 * soft-fp/fixunsdfti.c: Likewise.
28104 * soft-fp/fixunssfti.c: Likewise.
28105 * soft-fp/fixunstfti.c: Likewise.
28106 * soft-fp/floattidf.c: Likewise.
28107 * soft-fp/floattisf.c: Likewise.
28108 * soft-fp/floattitf.c: Likewise.
28109 * soft-fp/floatuntidf.c: Likewise.
28110 * soft-fp/floatuntisf.c: Likewise.
28111 * soft-fp/floatuntitf.c: Likewise.
28112 * soft-fp/trunctfxf2.c: Likewise.
28114 2013-10-10 David S. Miller <davem@davemloft.net>
28116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28118 2013-10-10 Joseph Myers <joseph@codsourcery.com>
28120 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28121 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28122 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28123 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28124 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28125 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28126 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28128 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28129 for NaNs before doing comparisons on argument.
28130 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28133 2013-10-10 Will Newton <will.newton@linaro.org>
28135 * malloc/hooks.c (memalign_check): Ensure the value of bytes
28136 passed to _int_memalign does not overflow.
28138 2013-10-10 Torvald Riegel <triegel@redhat.com>
28140 * scripts/bench.pl: Add include-sources directive.
28141 * benchtests/README: Update documentation.
28143 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28145 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28146 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28147 instead of FP_INIT_ROUNDMODE.
28148 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28149 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28152 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
28153 copy class of input value.
28154 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
28155 not handle exceptions.
28156 * soft-fp/negsf2.c (__negsf2): Likewise.
28157 * soft-fp/negtf2.c (__negtf2): Likewise.
28158 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28160 2013-10-09 Joseph Myers <joseph@codesourcery.com>
28162 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28163 semicolon. From Linux kernel.
28165 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
28167 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28169 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
28172 * manual/socket.texi: Added statement about buffer
28173 for gethostbyname2_r.
28175 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
28177 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28178 Use .p2align directive instead, throughout.
28179 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28180 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28181 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28182 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28183 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28184 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28185 * sysdeps/x86_64/strchr.S: Likewise.
28186 * sysdeps/x86_64/strrchr.S: Likewise.
28188 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28190 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28192 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28194 * sysdeps/generic/math_private.h (__mpsin1): Remove
28196 (__mpcos1): Likewise.
28197 (__mpsin): New argument __range_reduce.
28198 (__mpcos): Likewise.
28199 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28200 (slow): Use __mpsin and __mpcos.
28204 (sloww1): Likewise.
28205 (sloww2): Likewise.
28206 (bsloww): Likewise.
28207 (bsloww1): Likewise.
28208 (bsloww2): Likewise.
28209 (cslow2): Likewise.
28210 (csloww): Likewise.
28211 (csloww1): Likewise.
28212 (csloww2): Likewise.
28213 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28214 range_reduce. Merge in __mpsin1.
28215 (__mpcos): Likewise.
28216 (__mpsin1): Remove.
28217 (__mpcos1): Likewise.
28219 2013-10-07 Joseph Myers <joseph@codesourcery.com>
28221 * locale/loadlocale.c (_nl_intern_locale_data): Use
28223 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28224 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28225 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28226 obstack data is appropriately aligned.
28227 (obstack_int32_grow_fast): Likewise.
28228 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28229 * locale/programs/locfile.c (add_locale_uint32): Likewise.
28230 (add_locale_uint32_array): Likewise.
28232 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28234 * benchtests/Makefile: Remove ARGLIST and RET variables.
28235 ($(objpfx)bench-%.c): Pass only function name to the script.
28236 * benchtests/README: Update documentation.
28237 * benchtests/acos-inputs: Add new directives.
28238 * benchtests/acosh-inputs: Likewise.
28239 * benchtests/asin-inputs: Likewise.
28240 * benchtests/asinh-inputs: Likewise.
28241 * benchtests/atan-inputs: Likewise.
28242 * benchtests/atanh-inputs: Likewise.
28243 * benchtests/cos-inputs: Likewise.
28244 * benchtests/cosh-inputs: Likewise.
28245 * benchtests/exp-inputs: Likewise.
28246 * benchtests/log-inputs: Likewise.
28247 * benchtests/pow-inputs: Likewise.
28248 * benchtests/rint-inputs: Likewise.
28249 * benchtests/sin-inputs: Likewise.
28250 * benchtests/sinh-inputs: Likewise.
28251 * benchtests/tan-inputs: Likewise.
28252 * benchtests/tanh-inputs: Likewise.
28253 * scripts/bench.pl: Add support for new directives.
28255 2013-10-07 Alan Modra <amodra@gmail.com>
28257 * README: Fix careless merge.
28259 2013-10-05 Alan Modra <amodra@gmail.com>
28261 * NEWS: Mention powerpc64le support and bugs fixed.
28262 * README: Both big-endian and little-endian powerpc64 supported.
28264 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28266 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28267 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28268 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28269 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28271 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
28273 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28276 2013-10-04 Joseph Myers <joseph@codesourcery.com>
28278 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28279 Move -mhard-float appending from
28280 ports/sysdeps/powerpc/powerpc32/Makefile.
28281 [$(with-fp) = yes] (ASFLAGS): Likewise.
28282 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28283 * sysdeps/powerpc/nofpu: Move directory from
28284 ports/sysdeps/powerpc/nofpu.
28285 * sysdeps/powerpc/soft-fp: Move directory from
28286 ports/sysdeps/powerpc/soft-fp.
28287 * sysdeps/powerpc/powerpc32/405: Move directory from
28288 ports/sysdeps/powerpc/powerpc32/405.
28289 * sysdeps/powerpc/powerpc32/440: Move directory from
28290 ports/sysdeps/powerpc/powerpc32/440.
28291 * sysdeps/powerpc/powerpc32/464: Move directory from
28292 ports/sysdeps/powerpc/powerpc32/464.
28293 * sysdeps/powerpc/powerpc32/476: Move directory from
28294 ports/sysdeps/powerpc/powerpc32/476.
28295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28296 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28298 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28300 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28302 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28304 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28305 * README: Update for powerpc-*-linux-gnu software floating point
28308 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28309 case to powerpc/powerpc32*.
28310 * sysdeps/unix/sysv/linux/configure: Regenerated.
28312 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28313 (_FPU_MASK_OM): Define as 0x04.
28314 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28315 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28319 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28322 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28325 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28328 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28329 and setcontext_e500.
28331 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
28333 * locale/iso-3166.def: Update iso-1366.def and related occurrences
28335 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28337 * manual/threads.texi (Default Thread Attributes): Fix typo.
28339 2013-10-04 Will Newton <will.newton@linaro.org>
28341 * malloc/Makefile: Add tst-memalign.
28342 * malloc/tst-memalign.c: New file.
28344 * malloc/tst-posix_memalign.c: Add comments.
28345 (do_test): Add comments and call free on all potentially
28346 allocated pointers. Add space after cast.
28348 * malloc/tst-pvalloc.c: Add comments.
28349 (do_test): Add comments and call free on all potentially
28350 allocated pointers. Remove duplicate check for NULL pointer.
28351 Add space after cast.
28353 * malloc/tst-valloc.c: Add comments.
28354 (do_test): Add comments and call free on all potentially
28355 allocated pointers. Remove duplicate check for NULL pointer.
28356 Add space after cast.
28358 2013-10-04 Alan Modra <amodra@gmail.com>
28360 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28361 Use stdint types in rather than __attribute__((mode())).
28362 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28364 2013-10-04 Alan Modra <amodra@gmail.com>
28366 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28367 Correct handling of unaligned relocs for little-endian.
28368 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28370 2013-10-04 Alan Modra <amodra@gmail.com>
28372 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28373 * configure: Regenerate.
28374 * nptl/shlib-versions: Powerpc*le starts at 2.18.
28375 * shlib-versions: Likewise.
28377 2013-10-04 Alan Modra <amodra@gmail.com>
28379 * string/tester.c (test_memrchr): Increment reported test cycle.
28381 2013-10-04 Alan Modra <amodra@gmail.com>
28383 * string/test-memcpy.c (do_one_test): When reporting errors, print
28384 string address and don't overrun end of string.
28386 2013-10-04 Alan Modra <amodra@gmail.com>
28388 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28389 insrdi. Make better use of reg selection to speed exit slightly.
28390 Schedule entry path a little better. Remove useless "are we done"
28391 checks on entry to main loop. Handle wrapping around zero address.
28392 Correct main loop count. Handle single left-over word from main
28393 loop inline rather than by using loop_small. Remove extra word
28394 case in loop_small caused by wrong loop count. Add little-endian
28396 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28397 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
28399 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28400 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28401 support. Avoid rlwimi.
28402 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28404 2013-10-04 Alan Modra <amodra@gmail.com>
28406 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28407 insrdi. Formatting.
28408 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28409 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28410 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28411 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28412 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28413 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28415 2013-10-04 Alan Modra <amodra@gmail.com>
28417 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28418 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28419 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28420 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28421 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28422 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28423 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28424 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28425 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
28426 use of regs. Use power7 mtocrf. Tidy function tails.
28428 2013-10-04 Alan Modra <amodra@gmail.com>
28430 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28431 Formatting. Consistently use rXXX register defines or rN defines.
28432 Use early exit labels that avoid restoring unused non-volatile regs.
28433 Make cr field use more consistent with rWORDn compares. Rename
28434 regs used as shift registers for unaligned loop, using rN defines
28435 for short lifetime/multiple use regs.
28436 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28437 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
28438 addi 1,1,64 to pop stack frame. Simplify return value code.
28439 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28441 2013-10-04 Alan Modra <amodra@gmail.com>
28443 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28444 support. Correct typos, formatting. Optimize tail. Use insrdi
28445 rather than rlwimi.
28446 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28447 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28448 little-endian support. Correct typos.
28449 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
28450 rather than rlwimi.
28451 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
28452 in loop and entry code to keep "and." results.
28453 (strchr): Add little-endian support. Comment. Move cntlzd
28455 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28457 2013-10-04 Alan Modra <amodra@gmail.com>
28459 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28460 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28461 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28462 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28464 2013-10-04 Alan Modra <amodra@gmail.com>
28466 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28467 (rTMP): Define as r11.
28468 (strcmp): Add little-endian support. Optimise tail.
28469 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28470 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28471 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28472 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28473 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28474 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28475 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28477 2013-10-04 Alan Modra <amodra@gmail.com>
28479 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28480 little-endian support. Remove unnecessary "are we done" tests.
28481 Handle "s" wrapping around zero and extremely large "size".
28482 Correct main loop count. Handle single left-over word from main
28483 loop inline rather than by using small_loop. Correct comments.
28484 Delete "zero" tail, use "end_max" instead.
28485 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28487 2013-10-04 Alan Modra <amodra@gmail.com>
28489 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28490 support. Don't branch over align.
28491 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28492 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28493 support. Rearrange tmp reg use to suit. Comment.
28494 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28496 2013-10-04 Alan Modra <amodra@gmail.com>
28498 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28500 2013-10-04 Alan Modra <amodra@gmail.com>
28502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28503 conditional form of branch and link when obtaining pc.
28504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28506 2013-10-04 Alan Modra <amodra@gmail.com>
28508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28513 2013-10-04 Alan Modra <amodra@gmail.com>
28515 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28516 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28517 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28518 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28519 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28520 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28521 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28522 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28523 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28524 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28526 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28527 Alistair Popple <alistair@ozlabs.au.ibm.com>
28528 Alan Modra <amodra@gmail.com>
28531 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28532 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28533 _dl_hwcap access for little-endian.
28534 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
28535 destroy vmx regs when saving unaligned.
28536 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28537 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
28538 destroy vmx regs when saving unaligned.
28540 2013-10-04 Alan Modra <amodra@gmail.com>
28542 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28543 Don't use a union to pack hi/low value.
28545 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28547 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28549 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28550 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28551 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28552 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28553 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28555 2013-10-04 Alan Modra <amodra@gmail.com>
28557 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28558 constants to usual value for .cst8 section, and remove redundant
28560 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28561 constant for 0x1p52. Load little-endian words of double from
28562 correct stack offsets.
28564 2013-10-04 Alan Modra <amodra@gmail.com>
28566 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28567 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28568 words of double from correct stack offsets.
28569 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28570 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28571 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28572 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28573 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28574 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28575 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28576 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28577 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28578 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28579 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28580 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28581 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28582 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28583 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28584 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28585 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28587 2013-10-04 Alan Modra <amodra@gmail.com>
28589 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28590 64-bit int/double union.
28591 (_FPU_SETCW): Likewise.
28592 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28593 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28595 2013-10-04 Alan Modra <amodra@gmail.com>
28597 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28598 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28600 2013-10-04 Alan Modra <amodra@gmail.com>
28602 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28603 use vector int constants.
28604 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28606 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28608 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28609 array with long long.
28610 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28611 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28612 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28613 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28614 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28615 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28616 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28617 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28618 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28619 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28620 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28621 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28622 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28624 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28626 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28627 (__signbit): Likewise. Correct for little-endian.
28628 (__signbitl): Call __signbit.
28629 (lrint): Correct for little-endian.
28630 (lrintf): Call lrint.
28632 2013-10-04 Alan Modra <amodra@gmail.com>
28634 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28635 union 32-bit int array member with 64-bit int array.
28636 (t515, tm256): Double rather than long double.
28637 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28639 2013-10-04 Alan Modra <amodra@gmail.com>
28641 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28643 (IEEE854_LONG_DOUBLE_BIAS): Delete.
28644 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28645 version of math_ldbl.h.
28647 2013-10-04 Alan Modra <amodra@gmail.com>
28649 [BZ #15734], [BZ #15735]
28650 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28651 all uses of ieee875 long double macros and unions. Simplify test
28652 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
28653 ldbl_extract_mantissa value for ix,iy exponents. Properly
28654 normalize after ldbl_extract_mantissa, and don't add hidden bit
28655 already handled. Don't treat low word of ieee854 mantissa like
28656 low word of IBM long double and mask off bit when testing for
28658 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28659 all uses of ieee875 long double macros and unions. Simplify tests
28660 for 0.0L and inf. Correct double adjustment of k. Delete dead code
28661 adjusting ha,hb. Simplify code setting kld. Delete two600 and
28662 two1022, instead use their values. Recognise that tests for large
28663 "a" and small "b" are mutually exclusive. Rename vars. Comment.
28664 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28665 Rewrite all uses of ieee875 long double macros and unions. Simplify
28666 test for 0.0L and nan. Correct negation.
28667 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28668 ieee875 long double macros and unions. Correct output for large
28669 magnitude x. Correct absolute value calculation.
28670 (__erfcl): Likewise.
28671 * math/libm-test.inc: Add tests for errors discovered in IBM long
28672 double versions of fmodl, remainderl, erfl and erfcl.
28674 2013-10-04 Alan Modra <amodra@gmail.com>
28676 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28677 all uses of ieee854 long double macros and unions. Simplify tests
28678 for long doubles that are fully specified by the high double.
28679 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28681 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28682 Remove dead code too.
28683 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28684 (__ieee754_ynl): Likewise.
28685 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28686 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28687 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28688 Remove dead code too.
28689 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28690 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28691 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28692 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28694 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28696 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28697 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28698 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28699 Comment on variable precision.
28700 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28701 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28703 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28704 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28705 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28706 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28707 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28709 2013-10-04 Alan Modra <amodra@gmail.com>
28711 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28712 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28713 all uses of ieee854 long double macros and unions.
28714 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28715 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28716 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28717 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28718 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28719 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28721 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28722 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28723 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28724 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28725 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28726 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28727 Simplify sign and nan test too.
28728 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28729 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28730 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28731 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28733 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28734 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28736 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28737 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28738 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28739 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28740 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28741 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28743 2013-10-04 Alan Modra <amodra@gmail.com>
28745 * stdio-common/printf_size.c (__printf_size): Don't use
28746 union ieee854_long_double in fpnum union.
28747 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
28748 signbit macro to retrieve sign from long double.
28749 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28750 retrieve sign from long double.
28751 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28752 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28753 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28754 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28755 * math/test-misc.c (main): Don't use union ieee854_long_double.
28757 2013-10-04 Alan Modra <amodra@gmail.com>
28760 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28761 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28762 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28763 calculation. Remove unnecessary test for denormal exponent.
28764 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28765 Correct handling of denormals. Avoid undefined shift behaviour.
28766 Correct normalisation of low mantissa when low double is denormal.
28767 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28768 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
28769 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28770 Correct normalisation of low mantissa. Test for overflow of high
28771 mantissa and normalise.
28772 (ldbl_nearbyint): Use more readable constant for two52.
28773 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28774 (__mpn_construct_long_double): Fix test for overflow of high
28775 mantissa and correct normalisation. Avoid undefined shift.
28777 2013-10-04 Alan Modra <amodra@gmail.com>
28779 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28780 (union ibm_extended_long_double): Define as an array of ieee754_double.
28781 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28782 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28783 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28784 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28785 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28786 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28787 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28788 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28789 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28790 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28791 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28793 2013-10-03 Joseph Myers <joseph@codesourcery.com>
28795 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28796 page size instead of calling getpagesize.
28798 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28799 (LOCFILE_ALIGN_MASK): Likewise.
28800 (LOCFILE_ALIGN_UP): Likewise.
28801 (LOCFILE_ALIGNED_P): Likewise.
28802 * locale/programs/ld-collate.c (collate_output): Use the new
28803 macros instead of __alignof__ (int32_t).
28804 * locale/weight.h (findidx): Likewise.
28806 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
28809 * manual/string.texi: Fix strncat and wcsncat.
28811 2013-10-03 Brooks Moses <bmoses@google.com>
28814 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28815 * Makerules: ...here, and adjust associated comments.
28817 2013-10-02 Will Newton <will.newton@linaro.org>
28819 * malloc/Makefile: Add tst-pvalloc.
28820 * malloc/tst-pvalloc.c: New file.
28822 2013-10-02 Will Newton <will.newton@linaro.org>
28824 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28825 improve test coverage.
28827 2013-10-02 Will Newton <will.newton@linaro.org>
28829 * malloc/Makefile: Add tst-posix_memalign.
28830 * malloc/tst-posix_memalign.c: New file.
28832 2013-10-01 Eric Blake <eblake@redhat.com>
28834 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28835 Use __THROWNL rather than __THROW on static functions.
28837 2013-09-30 Petr Machata <pmachata@redhat.com>
28839 * elf/elf.h (R_AARCH64_ABS16): New macro.
28840 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28841 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28842 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28843 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28844 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28845 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28846 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28847 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28848 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28849 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28850 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28851 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28852 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28853 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28854 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28855 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28856 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28857 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28858 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28859 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28860 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28861 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28862 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28863 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28864 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28865 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28866 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28867 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28868 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28869 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28870 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28871 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28872 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28873 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28874 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28875 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28876 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28877 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28878 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28879 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28880 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28881 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28882 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28883 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28884 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28885 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28886 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28887 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28888 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28889 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28890 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28891 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28892 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28893 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28894 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28895 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28896 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28897 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28898 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28899 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28900 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28901 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28902 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28903 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28904 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28905 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28906 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28907 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28908 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28909 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28910 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28911 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28912 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28913 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28914 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28915 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28916 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28917 (R_AARCH64_TLSDESC_LDR): Likewise.
28918 (R_AARCH64_TLSDESC_ADD): Likewise.
28919 (R_AARCH64_TLSDESC_CALL): Likewise.
28921 2013-09-30 Andreas Schwab <schwab@suse.de>
28924 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28925 the nss database lookup.
28926 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28929 2013-09-28 Mike Frysinger <vapier@gentoo.org>
28931 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28933 2013-09-28 P. J. McDermott <pj@pehjota.net>
28935 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28936 ${Bash-specific parameter/pattern/string} parameter expansion.
28937 * sysdeps/unix/make-syscalls.sh: Likewise.
28939 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28941 * sysdeps/sh/stackguard-macros.h: New file.
28943 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
28945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28946 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28947 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28948 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28949 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28950 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28952 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28954 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28955 Fix thread ID register.
28957 2013-09-25 Joseph Myers <joseph@codesourcery.com>
28959 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28960 [POSIX || UNIX98]: Require rather than permitting all symbols from
28962 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28963 element of struct sched_param.
28964 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28965 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28966 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28967 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28970 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
28972 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28973 argument calculation.
28975 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28977 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28979 [POSIX] (pthread_attr_t): Do not require type.
28980 [POSIX] (pthread_cond_t): Likewise.
28981 [POSIX] (pthread_condattr_t): Likewise.
28982 [POSIX] (pthread_key_t): Likewise.
28983 [POSIX] (pthread_mutex_t): Likewise.
28984 [POSIX] (pthread_mutexattr_t): Likewise.
28985 [POSIX] (pthread_once_t): Likewise.
28986 [POSIX] (pthread_t): Likewise.
28987 [POSIX-based standards] (pthread_atfork): Expect function.
28989 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28990 Richard Sandiford <richard@codesourcery.com>
28992 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28993 (swap_endianness_p): New extern variable.
28994 (set_big_endian): New inline function.
28995 (maybe_swap_uint32): Likewise.
28996 (maybe_swap_uint32_array): Likewise.
28997 (maybe_swap_uint32_obstack): Likewise.
28998 * locale/programs/locfile.c: Include <stdbool.h>.
28999 (swap_endianness_p): New variable.
29000 (add_locale_uint32): Call maybe_swap_uint32.
29001 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29002 (write_locale_data): Call maybe_swap_uint32_array.
29003 * locale/programs/ld-collate.c (obstack_int32_grow): Call
29005 (obstack_int32_grow_fast): Likewise.
29006 (output_weightwc): Call maybe_swap_uint32_obstack.
29007 (collate_output): Likewise.
29008 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29009 (OPT_LITTLE_ENDIAN): Likewise.
29010 (options): Add --little-endian and --big-endian options.
29011 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29012 * locale/programs/locarchive.c: Include "locfile.h".
29016 (create_archive): Use the new macros to access fields of
29017 structures directly mapped from or written to locale archives.
29018 (oldlocrecentcmp): Likewise.
29019 (enlarge_archive): Likewise.
29020 (insert_name): Likewise.
29021 (add_alias): Likewise.
29022 (add_locale): Likewise.
29023 (delete_locales_from_archive): Likewise.
29024 (show_archive_content): Likewise.
29025 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
29028 2013-09-24 Roland McGrath <roland@hack.frob.com>
29030 * manual/freemanuals.texi: Updated from (newly) canonical copy at
29031 http://www.gnu.org/doc/freemanuals.texi.
29032 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29034 2013-09-24 Will Newton <will.newton@linaro.org>
29036 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29039 2013-09-23 Joseph Myers <joseph@codesourcery.com>
29041 * locale/hashval.h (compute_hashval): Interpret bytes of key as
29044 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
29046 * manual/threads.texi (POSIX Threads): Fix a typo.
29048 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29051 * string/tst-strcoll-overflow.c: New test case.
29052 * string/Makefile (xtests): Add tst-strcoll-overflow.
29053 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29054 cache if string sizes may cause integer overflow.
29057 * string/strcoll_l.c (coll_seq): New members rule, idx,
29058 save_idx and back_us.
29059 (get_next_seq_nocache): New function.
29060 (do_compare_nocache): New function.
29061 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29064 2013-09-23 Carlos O'Donell <carlos@redhat.com>
29067 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29068 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29069 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29072 * elf/Makefile (tests): Add tst-ptrguard1.
29073 (tests-static): Add tst-ptrguard1-static.
29074 (tst-ptrguard1-ARGS): Define.
29075 (tst-ptrguard1-static-ARGS): Define.
29076 * elf/tst-ptrguard1.c: New file.
29077 * elf/tst-ptrguard1-static.c: New file.
29078 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29079 * sysdeps/i386/stackguard-macros.h: Likewise.
29080 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29081 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29082 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29083 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29084 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29085 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29087 2013-09-23 Hector Marco <hecmargi@upv.es>
29088 Ismael Ripoll <iripoll@disca.upv.es>
29089 Carlos O'Donell <carlos@redhat.com>
29092 * sysdeps/generic/stackguard-macros.h: Define
29093 __pointer_chk_guard_local and POINTER_CHK_GUARD.
29094 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29095 Define __pointer_chk_guard_local.
29096 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29097 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29099 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
29102 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29104 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
29106 * include/string.h (__ffs): Declare as hidden.
29107 * string/ffs.c (__ffs): Define as hidden.
29108 * sysdeps/i386/ffs.c (__ffs): Likewise.
29109 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29110 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29111 * sysdeps/s390/ffs.c (__ffs): Likewise.
29112 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29114 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
29116 * NEWS: Mention malloc probes.
29118 * malloc/arena.c (new_heap): New memory_heap_new probe.
29119 (grow_heap): New memory_heap_more probe.
29120 (shrink_heap): New memory_heap_less probe.
29121 (heap_trim): New memory_heap_free probe.
29122 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29123 (systrim): New memory_sbrk_less probe.
29124 * manual/probes.texi: Document them.
29126 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29127 * manual/probes.texi: Document it.
29129 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29130 (__libc_realloc): Add memory_realloc_retry probe.
29131 (__libc_memalign): Add memory_memalign_retry probe.
29132 (__libc_valloc): Add memory_valloc_retry probe.
29133 (__libc_pvalloc): Add memory_pvalloc_retry probe.
29134 (__libc_calloc): Add memory_calloc_retry probe.
29135 * manual/probes.texi: Document them.
29137 * malloc/arena.c (get_free_list): Add probe
29138 memory_arena_reuse_free_list.
29139 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29140 and memory_arena_reuse.
29141 (arena_get2) [!PER_THREAD]: Likewise.
29142 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29143 memory_arena_reuse_realloc.
29144 * manual/probes.texi: Document them.
29146 * malloc/malloc.c (__libc_free): Add
29147 memory_mallopt_free_dyn_thresholds probe.
29148 (__libc_mallopt): Add multiple memory_mallopt probes.
29149 * manual/probes.texi: Document them.
29151 * malloc/malloc.c: Include stap-probe.h.
29152 (__libc_mallopt): Add memory_mallopt probe.
29153 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29154 * manual/probes.texi: New.
29155 * manual/Makefile (chapters): Add probes.
29156 * manual/threads.texi: Set next node.
29158 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
29160 [BZ #15963, #13985]
29161 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29162 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29163 Add `Chinese' to `nan' entry name.
29165 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29167 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29168 (POLYNOMIAL): Likewise.
29169 (TAYLOR_SINCOS): Likewise.
29170 (TAYLOR_SLOW): Likewise.
29171 (__sin): Use TAYLOR_SINCOS.
29173 (slow): Use TAYLOR_SLOW.
29175 (bsloww): Likewise.
29176 (csloww): Likewise.
29178 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29180 * stdlib/strtod_l.c: Fix buffer overrun.
29182 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29184 * benchtests/Makefile (bench): Add sincos.
29185 * benchtests/bench-sincos.c: New file.
29187 * math/libm-test.inc (cos_test_data): New test inputs.
29188 (sin_test_data): Likewise.
29190 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29196 (sloww1): Likewise.
29197 (sloww2): Likewise.
29198 (bsloww1): Likewise.
29199 (bsloww2): Likewise.
29200 (cslow2): Likewise.
29201 (csloww1): Likewise.
29202 (csloww2): Likewise.
29204 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29209 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29213 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
29215 * config.h.in (HAVE_MIPS_NAN2008): New macro.
29216 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29217 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29218 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29219 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29220 * elf/cache.c (print_entry): Handle the new cache flags.
29222 2013-09-18 Joseph Myers <joseph@codesourcery.com>
29223 Aldy Hernandez <aldyh@redhat.com>
29225 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29226 Change condition to [_SOFT_FLOAT].
29227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29228 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29230 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29232 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29233 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29234 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29235 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29236 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29237 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29238 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29239 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29240 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29241 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29242 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29245 2013-09-18 Joseph Myers <joseph@codesourcery.com>
29247 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29248 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29249 (__longjmp): Use LOAD_GP to load saved GPRs.
29250 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29251 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29252 (__sigsetjmp): Use SAVE_GP to save GPRs.
29254 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29255 Do not append -msoft-float.
29256 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29258 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29260 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29262 2013-09-17 Joseph Myers <joseph@codesourcery.com>
29265 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29266 (_FPU_GETCW): Use initial "__" on variable and field names but not
29267 on macro parameter name.
29268 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
29269 parentheses around reference to macro parameter.
29271 2013-09-13 Richard Sandiford <richard@codesourcery.com>
29273 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29275 (ctype_startup): Use uint32_t in cast and sizeof for
29278 2013-09-11 Jia Liu <proljc@gmail.com>
29280 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29282 [__FreeBSD__]: Likewise.
29284 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
29286 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29287 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29288 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29289 (strchr): Remove __strchr_sse42 ifunc selection.
29290 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29291 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29293 2013-09-11 Will Newton <will.newton@linaro.org>
29295 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29296 parameter to RES. Remove hardcoded 1000 value.
29297 * benchtests/bench-skeleton.c (main): Pass RES parameter
29298 to TIMING_INIT and multiply result by 1000.
29300 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29304 2013-09-11 Andreas Schwab <schwab@suse.de>
29306 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29308 (O_TMPFILE) [__USE_GNU]: Define.
29309 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29312 2013-09-11 Will Newton <will.newton@linaro.org>
29315 * malloc/malloc.c (__libc_memalign): Check the value of bytes
29318 2013-09-11 Will Newton <will.newton@linaro.org>
29321 * malloc/malloc.c (__libc_valloc): Check the value of bytes
29324 2013-09-11 Will Newton <will.newton@linaro.org>
29327 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29330 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
29332 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29333 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29334 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29335 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29336 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29338 2013-09-10 Allan McRae <allan@archlinux.org>
29341 * manual/arith.texi (Parsing of Floats): Clarify
29345 * manual/install.texi (Running make install): Mention
29347 * INSTALL: Regenerated.
29349 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
29351 * csu/init-first.c (_init): Remove the !SHARED condition around
29352 FPU control word initialization.
29353 * elf/dl-support.c (_dl_fpu_control): New variable.
29354 (_dl_aux_init) <AT_FPUCW>: Initialize it.
29355 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29356 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29357 * math/test-fpucw-static.c: New file.
29358 * math/test-fpucw-ieee.c: New file.
29359 * math/test-fpucw-ieee-static.c: New file.
29360 * math/Makefile (tests): Add `test-fpucw-ieee' and
29362 (tests-static): New variable.
29363 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29365 [($(build-shared),yes)]
29366 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29368 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29371 2013-09-09 Allan McRae <allan@archlinux.org>
29374 * manual/string.texi (Collation Functions): Fix typo in
29376 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29379 * stdlib/isomac.c (get_null_defines): Fix memory leak.
29382 * libio/memstream.c (open_memstream): Fix memory leak.
29383 * libio/wmemstream.c (open_wmemstream): Likewise.
29386 * nscd/netgroupcache.c: Fix nesting of ifdefs.
29388 2013-09-09 Will Newton <will.newton@linaro.org>
29390 * malloc/Makefile: Add tst-realloc to tests.
29391 * malloc/tst-realloc.c: New file.
29393 2013-09-09 Allan McRae <allan@archlinux.org>
29396 * COPYING: Update from GNU website to fix FSF address.
29397 * COPYING.LIB: Likewise.
29399 2013-09-06 David S. Miller <davem@davemloft.net>
29401 * po/zh_TW.po: Update Chinese (traditional) translation from
29402 translation project.
29404 2013-09-06 Richard Sandiford <richard@codesourcery.com>
29405 Joseph Myers <joseph@codesourcery.com>
29407 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29409 (obstack_chunk_alloc): New macro.
29410 (obstack_chunk_free): Likewise.
29411 (record_offset): New function.
29412 (init_locale_data): Likewise.
29413 (align_locale_data): Likewise.
29414 (add_locale_empty): Likewise.
29415 (add_locale_raw_data): Likewise.
29416 (add_locale_raw_obstack): Likewise.
29417 (add_locale_string): Likewise.
29418 (add_locale_wstring): Likewise.
29419 (add_locale_uint32): Likewise.
29420 (add_locale_uint32_array): Likewise.
29421 (add_locale_char): Likewise.
29422 (start_locale_structure): Likewise.
29423 (end_locale_structure): Likewise.
29424 (start_locale_prelude): Likewise.
29425 (end_locale_prelude): Likewise.
29426 (write_locale_data): Take locale_file structure rather than an
29428 * locale/programs/locfile.h: Include "obstack.h".
29429 (struct locale_file): Change to store locale file contents instead
29431 (init_locale_data): New prototype.
29432 (align_locale_data): Likewise.
29433 (add_locale_empty): Likewise.
29434 (add_locale_raw_data): Likewise.
29435 (add_locale_raw_obstack): Likewise.
29436 (add_locale_string): Likewise.
29437 (add_locale_wstring): Likewise.
29438 (add_locale_uint32): Likewise.
29439 (add_locale_uint32_array): Likewise.
29440 (add_locale_char): Likewise.
29441 (start_locale_structure): Likewise.
29442 (end_locale_structure): Likewise.
29443 (start_locale_prelude): Likewise.
29444 (end_locale_prelude): Likewise.
29445 (write_locale_data): Update prototype.
29446 * locale/programs/3level.h (struct TABLE): Remove result field.
29447 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29448 Use new locale_file interface.
29449 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29450 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29451 * locale/programs/ld-address.c (address_output): Use new
29452 locale_file interface.
29453 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29455 (collate_finish): Don't call collseq_table_finalize.
29456 (collate_output): Use new locale_file interface.
29457 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29459 (NO_FINALIZE): Change to NO_ADD_LOCALE.
29460 (TABLE): Move defines earlier in file.
29461 (ELEMENT): Likewise.
29462 (DEFAULT): Likewise.
29463 (wctrans_table_add): Move macro and inline function earlier in
29465 (struct wctype_table): Move type earlier in file.
29466 (add_locale_wctype_table): New static prototype.
29467 (struct locale_ctype_t): Use logical types instead of struct iovec
29468 pointers for members.
29469 (ctype_output): Use new locale_file interface.
29470 (wctype_table_finalize): Change to add_locale_wctype_table. Use
29471 new locale_file interface.
29472 (allocate_arrays): Update for use of new locale_file interface.
29473 * locale/programs/ld-identification.c (identification_output): Use
29474 new locale_file interface.
29475 * locale/programs/ld-measurement.c (measurement_output): Likewise.
29476 * locale/programs/ld-messages.c (messages_output): Likewise.
29477 * locale/programs/ld-monetary.c (monetary_output): Likewise.
29478 * locale/programs/ld-name.c (name_output): Likewise.
29479 * locale/programs/ld-numeric.c (numeric_output): Likewise.
29480 * locale/programs/ld-paper.c (paper_output): Likewise.
29481 * locale/programs/ld-telephone.c (telephone_output): Likewise.
29482 * locale/programs/ld-time.c (time_output): Likewise.
29484 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29486 * benchtests/Makefile: Add memrchr benchmark.
29487 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29488 benchmark as memrchr.
29489 * benchtests/bench-memrchr-ifunc.c: New file.
29490 * benchtests/bench-memrchr.c: New file.
29492 2013-09-06 Will Newton <will.newton@linaro.org>
29494 * benchtests/Makefile (string-bench): Add memcpy.
29496 2013-09-05 Carlos O'Donell <carlos@redhat.com>
29497 Cong Wang <amwang@redhat.com>
29500 * sysdeps/unix/sysv/linux/bits/in.h
29501 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29502 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29503 before __USE_KERNEL_IPV6_DEFS uses.
29504 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29506 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29507 sockaddr_in6, or ipv6_mreq.
29509 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29511 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29512 memory access for final bytes in some large inputs.
29513 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29515 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29517 * string/test-memrchr.c: New file.
29518 * string/test-memrchr-ifunc.c: New file.
29519 * string/Makefile: Add new memrchr testcase.
29521 2013-09-05 Mike Frysinger <vapier@gentoo.org>
29523 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29524 fanotify_init returns EPERM.
29526 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29528 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29530 (top level): Treat second token from macro or constant entries for
29531 allowed headers as allowed.
29532 * include/complex.h: Condition internal declarations on
29534 * include/fenv.h: Condition include of <stdbool.h> and internal
29535 declarations on [!_ISOMAC].
29537 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
29540 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29542 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29544 * configure.in (--enable-versioning): Remove configure option.
29545 (libc_cv_asm_symver_directive): Remove configure test.
29546 (libc_cv_ld_version_script_option): Likewise.
29547 (VERSIONING): Remove variable and AC_SUBST.
29548 (DO_VERSIONING): Remove AC_DEFINE.
29549 * configure: Regenerated.
29550 * config.h.in (DO_VERSIONING): Remove macro.
29551 * Makerules [$(versioning) = yes]: Change conditionals to
29552 [$(build-shared) = yes].
29553 * config.make.in (versioning): Remove variable.
29554 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29555 [$(build-shared) = yes].
29556 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29557 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29558 * elf/Makefile [$(versioning) = yes]: Change conditionals to
29559 [$(build-shared) = yes].
29560 * extra-lib.mk [$(versioning) = yes]: Likewise.
29561 * hurd/Makefile [$(versioning) = yes]: Likewise.
29562 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29564 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29566 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29567 [SHARED && !NO_HIDDEN].
29568 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29570 [SHARED && DO_VERSIONING]: Likewise..
29571 * libio/Makefile [$(versioning) = yes]: Change conditionals to
29572 [$(build-shared) = yes].
29573 * manual/install.texi (--disable-versioning): Remove
29575 * INSTALL: Regenerated.
29576 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29578 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29579 [$(build-shared) = yes].
29580 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29581 * sysdeps/i386/i686/multiarch/strstr-c.c
29582 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29583 [SHARED && !NO_HIDDEN].
29584 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29585 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29586 * sysdeps/powerpc/powerpc32/dl-machine.c
29587 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29588 * sysdeps/powerpc/powerpc32/sysdep.h
29589 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29590 to [SHARED && PIC && !NO_HIDDEN].
29591 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29592 conditional to [SHARED].
29594 2013-09-04 Will Newton <will.newton@linaro.org>
29596 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29597 * benchtests/bench-string.h: Include bench-timing.h instead
29598 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29599 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29600 call to HP_TIMING_DIFF_INIT.
29601 * benchtests/bench-memccpy.c: Use bench-timing.h macros
29602 instead of hp-timing.h macros.
29603 * benchtests/bench-memchr.c: Likewise.
29604 * benchtests/bench-memcmp.c: Likewise.
29605 * benchtests/bench-memcpy.c: Likewise.
29606 * benchtests/bench-memmem.c: Likewise.
29607 * benchtests/bench-memmove.c: Likewise.
29608 * benchtests/bench-memset.c: Likewise.
29609 * benchtests/bench-rawmemchr.c: Likewise.
29610 * benchtests/bench-strcasecmp.c: Likewise.
29611 * benchtests/bench-strcasestr.c: Likewise.
29612 * benchtests/bench-strcat.c: Likewise.
29613 * benchtests/bench-strchr.c: Likewise.
29614 * benchtests/bench-strcmp.c: Likewise.
29615 * benchtests/bench-strcpy.c: Likewise.
29616 * benchtests/bench-strcpy_chk.c: Likewise.
29617 * benchtests/bench-strlen.c: Likewise.
29618 * benchtests/bench-strncasecmp.c: Likewise.
29619 * benchtests/bench-strncat.c: Likewise.
29620 * benchtests/bench-strncmp.c: Likewise.
29621 * benchtests/bench-strncpy.c: Likewise.
29622 * benchtests/bench-strnlen.c: Likewise.
29623 * benchtests/bench-strpbrk.c: Likewise.
29624 * benchtests/bench-strrchr.c: Likewise.
29625 * benchtests/bench-strspn.c: Likewise.
29626 * benchtests/bench-strstr.c: Likewise.
29628 2013-09-04 Will Newton <will.newton@linaro.org>
29630 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29632 2013-09-03 Joseph Myers <joseph@codesourcery.com>
29635 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29636 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29637 * math/libm-test.inc (lgamma_test_data): Add more tests.
29638 * sysdeps/i386/fpu/libm-test-ulps: Update.
29639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29641 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
29643 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29644 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29647 Add strcmp-sse2-unaligned
29648 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29650 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29652 * Versions.def (libc): Add GLIBC_2.19.
29654 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29656 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29657 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29659 2013-09-02 Joseph Myers <joseph@codesourcery.com>
29662 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29663 intermediate calculations in recurrence.
29664 (__ieee754_ynf): Likewise.
29665 * math/libm-test.inc (jn_test_data): Do not allow spurious
29666 underflow exception. Add more tests.
29667 (yn_test_data): Add more tests.
29668 * sysdeps/i386/fpu/libm-test-ulps: Update.
29669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29671 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
29673 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29675 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29677 * csu/init-first.c: Fix then/than typos.
29678 * locale/programs/ld-collate.c: Likewise.
29679 * locale/programs/linereader.h: Likewise.
29680 * manual/charset.texi: Likewise.
29681 * manual/filesys.texi: Likewise.
29682 * manual/stdio.texi: Likewise.
29683 * manual/string.texi: Likewise.
29684 * stdlib/fmtmsg.c: Likewise.
29685 * sysdeps/i386/stpncpy.S: Likewise.
29686 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29687 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29688 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29689 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29691 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29693 * elf/dl-open.c: Fix typos.
29694 * iconvdata/gbbig5.c: Likewise.
29695 * iconvdata/iso-2022-jp.c: Likewise.
29696 * iconv/gconv_int.h: Likewise.
29697 * iconv/loop.c: Likewise.
29698 * nis/rpcsvc/nis.h: Likewise.
29699 * resolv/ns_name.c: Likewise.
29700 * stdio-common/vfscanf.c: Likewise.
29701 * streams/stropts.h: Likewise.
29702 * sunrpc/rpc_thread.c: Likewise.
29703 * sysdeps/i386/strpbrk.S: Likewise.
29704 * sysdeps/ieee754/k_standard.c: Likewise.
29705 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29706 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29707 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29708 * sysdeps/mach/hurd/profil.c: Likewise.
29709 * sysdeps/s390/dl-procinfo.h: Likewise.
29710 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29711 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29712 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29713 * sysdeps/x86_64/dl-trampoline.S: Likewise.
29714 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29716 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29718 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29719 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29721 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29723 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29724 aix specific files.
29725 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29726 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29727 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29728 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29729 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29730 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29731 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29732 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29734 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29735 Roland McGrath <roland@hack.frob.com>
29737 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29738 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29740 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
29742 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29743 __executable_start symbol instead of _start.
29745 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29747 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29748 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29750 * sysdeps/gnu/ldsodefs.h: ... this new file.
29752 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29753 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29754 instead of ELFOSABI_LINUX.
29756 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29757 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29758 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29759 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29761 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29762 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29763 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29765 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29766 (ibm_extended_long_double): Add ieee_nan member.
29767 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29768 (do_test): New function.
29770 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29772 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29773 functions, renamed from truncdfsf_test, trunctfsf_test,
29775 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29777 (do_test): Run all these.
29779 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29781 * argp/argp-help.c: Fix typos.
29782 * argp/argp-parse.c: Likewise.
29783 * debug/backtracesyms.c: Likewise.
29784 * elf/elf.h: Likewise.
29785 * malloc/malloc.c: Likewise.
29786 * nis/nis_print.c: Likewise.
29787 * resolv/res_comp.c: Likewise.
29788 * stdlib/stdlib.h: Likewise.
29789 * sunrpc/clnt_tcp.c: Likewise.
29790 * sunrpc/clnt_udp.c: Likewise.
29791 * sunrpc/clnt_unix.c: Likewise.
29792 * sysdeps/unix/bsd/ptsname.c: Likewise.
29793 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29794 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29801 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29803 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29805 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29808 2013-08-27 Mike Frysinger <vapier@gentoo.org>
29811 * dlfcn/Makefile (tests): Add bug-dl-leaf.
29812 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29813 ($(objpfx)bug-dl-leaf): New rule.
29814 ($(objpfx)bug-dl-leaf.so): Likewise.
29815 ($(objpfx)bug-dl-leaf.out): Likewise.
29816 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29817 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29818 * dlfcn/bug-dl-leaf.c: New test.
29819 * dlfcn/bug-dl-leaf-lib.c: Likewise.
29820 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29821 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29822 (dlclose): Likewise.
29823 (dlmopen): Likewise.
29825 2013-08-27 Roland McGrath <roland@hack.frob.com>
29827 * include/netdb.h [!_ISOMAC]:
29828 Don't include <tls.h>.
29829 (h_errno, __libc_h_errno): Move declaration and macros out of
29832 * include/resolv.h [_RESOLV_H_]:
29833 Don't include <tls.h>.
29834 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29835 * resolv/res_libc.c: Don't include <tls.h>.
29836 (_res): Use __attribute__ ((nocommon)) in place of
29837 __attribute__ ((section (".bss"))).
29839 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29840 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29842 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29844 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29845 only under [SIOCGIFCONF && SIOCGIFNETMASK].
29847 * resolv/res_mkquery.c: Include <sys/time.h>.
29849 * inet/ifreq.c: Moved to ...
29850 * sysdeps/unix/ifreq.c: ... here.
29851 * inet/ifreq.c: New file, true stub version.
29853 * socket/sa_len.c: New file.
29854 * socket/Makefile (aux): Add it.
29855 * sysdeps/unix/sysv/linux/Makefile
29856 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29857 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29858 and #include <socket/sa_len.c>.
29859 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29860 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29862 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29863 * bits/socket.h: ... here.
29865 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29866 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29867 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29869 2013-08-27 Andreas Schwab <schwab@suse.de>
29872 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29873 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29874 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29875 * string/test-strcasecmp.c (test_main): Run tests in several
29877 * string/test-strncasecmp.c (test_main): Likewise.
29879 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29880 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29881 to __strcasecmp_nonascii and __strncasecmp_nonascii.
29882 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29883 (__strncasecmp_ssse3) [PIC]: Likewise.
29885 2013-08-26 Roland McGrath <roland@hack.frob.com>
29887 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29889 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29890 instead of explicitly declaring xdecrypt.
29891 * nis/nss_nis/nis-publickey.c: Likewise.
29893 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29896 * nscd/aicache.c: Include res_hconf.h.
29897 (addhstaiX): Initialize res_hconf.
29899 2013-08-26 Andreas Schwab <schwab@suse.de>
29901 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29902 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29904 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29906 * nscd/aicache.c (addhstaiX): Fix indentation.
29908 2013-08-25 Mike Frysinger <vapier@gentoo.org>
29910 * configure.ac: Quote $build_pt_chown test.
29911 * configure: Regenerated.
29913 2013-08-23 Joseph Myers <joseph@codesourcery.com>
29916 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29917 * math/s_cexpf.c (__cexpf): Likewise.
29918 * math/s_cexpl.c (__cexpl): Likewise.
29919 * math/libm-test.inc (cexp_test_data): Correct expected return
29920 value for NaN + i0. Add another test.
29922 2013-08-22 David S. Miller <davem@davemloft.net>
29924 * po/ca.po: Update Catalan translation from translation project.
29925 * po/uk.po: Add Ukrainian translations from translation project.
29927 2013-08-21 Joseph Myers <joseph@codesourcery.com>
29930 * math/s_fdim.c (__fdim): Check for infinite arguments if result
29931 is infinite, not alongside NaN test.
29932 * math/s_fdimf.c (__fdimf): Likewise.
29933 * math/s_fdiml.c (__fdiml): Likewise.
29934 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
29935 errno is unchanged.
29937 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
29939 * argp/argp-help.c: Fix typos.
29940 * crypt/speeds.c: Likewise.
29941 * csu/check_fds.c: Likewise.
29942 * elf/dl-load.c: Likewise.
29943 * elf/dl-open.c: Likewise.
29944 * elf/reldep3.c: Likewise.
29945 * elf/reldep.c: Likewise.
29946 * elf/sprof.c: Likewise.
29947 * iconv/iconv_charmap.c: Likewise.
29948 * iconv/skeleton.c: Likewise.
29949 * iconv/strtab.c: Likewise.
29950 * io/lockf64.c: Likewise.
29951 * libio/libioP.h: Likewise.
29952 * resolv/gai_notify.c: Likewise.
29953 * resolv/ns_name.c: Likewise.
29954 * resolv/ns_samedomain.c: Likewise.
29955 * resolv/res_send.c: Likewise.
29956 * stdlib/random.c: Likewise.
29957 * sunrpc/rpc/xdr.h: Likewise.
29958 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29959 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29960 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29961 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29962 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29963 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29964 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29965 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29966 * sysdeps/mach/hurd/check_fds.c: Likewise.
29967 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29968 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29969 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29970 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29971 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29972 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29973 * sysdeps/pthread/aio_notify.c: Likewise.
29974 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29975 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29976 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29977 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29978 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29980 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29982 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29983 version if bit_Slow_SSE4_2 is set.
29984 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29985 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29987 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29990 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29991 trampoline stack frame information.
29992 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29993 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29994 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29995 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29996 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29997 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29998 (_libc_vdso_platform_setup): Initialize the signal trampolines.
29999 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30001 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30002 interrupting a syscall and set with option SA_SIGINFO.
30004 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30007 * math/s_cproj.c (__cproj): Only return an infinity if one part of
30008 argument is infinite.
30009 * math/s_cprojf.c (__cprojf): Likewise.
30010 * math/s_cprojl.c (__cprojl): Likewise.
30011 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30012 * math/libm-test.inc (cproj_test_data): Add more tests.
30014 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30016 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30017 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30018 size. Use __ffs to determine corresponding shift.
30020 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30021 Roland McGrath <roland@hack.frob.com>
30023 * Makefile (INSTALL): Remove trailing blank lines from output of
30026 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30028 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30029 Align 32 bit compat elf_greg to 8 bytes.
30031 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
30033 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30035 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30037 * string/strcoll_l.c (coll_seq): New structure.
30038 (get_next_seq_cached): New function.
30039 (get_next_seq): New function.
30040 (do_compare): New function.
30041 (STRCOLL): Use GNU style definition. Simplify implementation
30042 by using get_next_seq, get_next_seq_cached and do_compare.
30044 2013-08-16 Florian Weimer <fweimer@redhat.com>
30048 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30050 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30052 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30053 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30054 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
30056 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30057 GETDENTS_64BIT_ALIGNED.
30058 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30059 * manual/filesys.texi (Reading/Closing Directory): Document
30060 ENAMETOOLONG return value of readdir_r. Recommend readdir more
30062 * manual/conf.texi (Limits for Files): Add portability note to
30063 NAME_MAX, PATH_MAX.
30064 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30066 2013-08-13 Andreas Schwab <schwab@suse.de>
30069 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30071 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30072 LDBL_MAX_EXP >= 16384]: Add tests for it.
30074 2013-08-12 David S. Miller <davem@davemloft.net>
30076 * version.h (RELEASE): Set to "development".
30077 (VERSION): Set to "2.18.90".
30078 * NEWS: Add 2.19 section.
30080 2013-08-03 David S. Miller <davem@davemloft.net>
30082 * po/ko.po: Update Korean translation from translation project.
30084 2013-08-01 David S. Miller <davem@davemloft.net>
30086 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
30087 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30090 2013-07-30 David S. Miller <davem@davemloft.net>
30092 * po/fr.po: Update French translation from translation project.
30094 2013-07-28 David S. Miller <davem@davemloft.net>
30096 * po/cs.po: Update Czech translation from translation project.
30098 * po/sv.po: Update Swedish translation from translation project.
30100 2013-07-27 David S. Miller <davem@davemloft.net>
30102 * po/eo.po: Update Esperanto translation from translation project.
30104 * po/vi.po: Update Vietnamese translation from translation project.
30106 * po/de.po: Update German translation from translation project.
30108 2013-07-26 David S. Miller <davem@davemloft.net>
30110 * po/bg.po: Update Bulgarian translation from translation project.
30112 * po/nl.po: Update Dutch translation from translation project.
30113 * po/pl.po: Update Polish translation from translation project.
30114 * po/ru.po: Update Russian translation from translation project.
30116 2013-07-24 David S. Miller <davem@davemloft.net>
30118 * po/libc.pot: Update.
30120 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30122 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30123 variable page size.
30124 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30125 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30126 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30128 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30130 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30132 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30133 Andreas Schwab <schwab@suse.de>
30134 Roland McGrath <roland@hack.frob.com>
30135 Joseph Myers <joseph@codesourcery.com>
30136 Carlos O'Donell <carlos@redhat.com>
30139 * config.h.in: Define HAVE_PT_CHOWN.
30140 * config.make.in (build-pt-chown): New variable.
30141 * configure.in (--enable-pt_chown): New configure option.
30142 * configure: Regenerate.
30143 * login/Makefile: Include Makeconfig. Build pt_chown only if
30144 build-pt-chown is enabled.
30145 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30146 pt_chown to fix pty ownership.
30147 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30149 * manual/install.texi (Configuring and compiling): Mention
30150 --enable-pt_chown. Add @findex for grantpt.
30151 * INSTALL: Regenerate.
30153 2013-07-20 David S. Miller <davem@davemloft.net>
30155 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30156 difference between 32-bit and 64-bit.
30158 2013-07-15 Carlos O'Donell <carlos@redhat.com>
30161 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30162 Avoid system header dependency with -ffreestanding.
30163 ($(objpfx)bits/syscall%d): Likewise.
30165 2013-07-13 David S. Miller <davem@davemloft.net>
30167 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30168 underflows from atanl/atan2l due to bug 15319.
30169 (casinh_test_data): Likewise.
30171 2013-07-07 David S. Miller <davem@davemloft.net>
30173 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30175 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
30177 * sysdeps/i386/fpu/libm-test-ulps: Update.
30178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30180 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30182 * configure.in (--enable-lock-elision): Fix message text.
30183 * INSTALL: Regenerate.
30184 * configure: Regenerate.
30186 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30190 2013-07-03 Andreas Jaeger <aj@suse.de>
30192 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30194 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30195 (ptrace_peeksiginfo_args): Add.
30196 (__ptrace_peeksiginfo_flags): Add.
30197 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30198 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30199 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30201 2013-07-03 Allan McRae <allan@archlinux.org>
30203 * sysdeps/i386/fpu/libm-test-ulps: Update.
30205 2013-07-02 David S. Miller <davem@davemloft.net>
30207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30209 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
30211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30213 2013-07-02 Joseph Myers <joseph@codesourcery.com>
30215 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30218 2013-07-02 Andi Kleen <ak@linux.intel.com>
30220 * config.h.in (ENABLE_LOCK_ELISION): Add.
30221 * configure.in (--enable-lock-elision): Add option.
30222 * manual/install.texi: Document --enable lock elision.
30223 * configure: Regenerate
30224 * INSTALL: Regenerate.
30226 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
30228 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30229 SSE4.2 strcasecmp for libc.a.
30230 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30232 2013-07-02 Joseph Myers <joseph@codesourcery.com>
30235 * soft-fp/op-common.h (_FP_FMA): New macro.
30236 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30237 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
30238 (_FP_MUL_MEAT_1_imm): ... here.
30239 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
30240 (_FP_MUL_MEAT_1_wide): ... here.
30241 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
30242 (_FP_MUL_MEAT_1_hard): ... here.
30243 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30244 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
30245 (_FP_MUL_MEAT_2_wide): ... here.
30246 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
30247 (_FP_MUL_MEAT_2_wide_3mul): ... here.
30248 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
30249 (_FP_MUL_MEAT_2_gmp): ... here.
30250 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30251 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
30252 (_FP_MUL_MEAT_4_wide): ... here.
30253 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
30254 (_FP_MUL_MEAT_4_gmp): ... here.
30255 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30256 (_FP_WFRACBITS_DW_S): Likewise.
30257 (_FP_WFRACXBITS_DW_S): Likewise.
30258 (_FP_HIGHBIT_DW_S): Likewise.
30259 (FP_FMA_S): Likewise.
30260 (_FP_FRAC_HIGH_DW_S): Likewise.
30261 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30262 (_FP_WFRACBITS_DW_D): Likewise.
30263 (_FP_WFRACXBITS_DW_D): Likewise.
30264 (_FP_HIGHBIT_DW_D): Likewise.
30265 (FP_FMA_D): Likewise.
30266 (_FP_FRAC_HIGH_DW_D): Likewise.
30267 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30268 (_FP_WFRACBITS_DW_E): Likewise.
30269 (_FP_WFRACXBITS_DW_E): Likewise.
30270 (_FP_HIGHBIT_DW_E): Likewise.
30271 (FP_FMA_E): Likewise.
30272 (_FP_FRAC_HIGH_DW_E): Likewise.
30273 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30274 (_FP_WFRACBITS_DW_Q): Likewise.
30275 (_FP_WFRACXBITS_DW_Q): Likewise.
30276 (_FP_HIGHBIT_DW_Q): Likewise.
30277 (FP_FMA_Q): Likewise.
30278 (_FP_FRAC_HIGH_DW_Q): Likewise.
30279 * soft-fp/fmasf4.c: New file.
30280 * soft-fp/fmadf4.c: Likewise.
30281 * soft-fp/fmatf4.c: Likewise.
30283 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30286 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30288 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30290 (index_Slow_SSE4_2): Likewise.
30291 (index_Prefer_PMINUB_for_stringop): Likewise.
30292 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30293 bit_Slow_SSE4_2 is set.
30294 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30295 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30297 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30299 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30300 rtld_global._dl_hwcap2.
30301 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30303 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30304 POWER8 feature descriptions defined in _dl_hwcap2.
30305 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30306 string handling for POWER8 feature bits.
30307 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30308 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30309 _dl_powerpc_cap_flags.
30310 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30311 * sysdeps/powerpc/rtld-global-offsets.sym
30312 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30313 _dl_hwcap2 in the rtld_global_ro structure.
30315 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30317 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30318 hardware capabilities in support of AT_HWCAP2.
30319 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30320 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30322 (_dl_show_auxv): Add support for calling _dl_procinfo to display
30323 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
30324 explicitly the unknown a_type display mechanism is used.
30325 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30326 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30328 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30329 to macro prototype for AT_HWCAP2 support.
30330 * sysdeps/i386/dl-procinfo.h: Likewise.
30331 * sysdeps/s390/dl-procinfo.h: Likewise.
30332 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30333 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
30334 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
30335 return -1 for unknown a_type display fallback.
30336 * sysdeps/sparc/dl-procinfo.h: Likewise.
30337 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30338 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30340 2013-06-28 Joseph Myers <joseph@codesourcery.com>
30342 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30343 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30345 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
30348 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30349 mprotect making __stack_prot writable.
30351 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
30352 Joseph Myers <joseph@codesourcery.com>
30354 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30355 as being properly aligned.
30357 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
30359 * dlfcn/modstatic5.c: New file.
30360 * dlfcn/tststatic5.c: New file.
30361 * dlfcn/Makefile (tests): Add tststatic5.
30362 (tests-static): Likewise.
30363 (modules-names): Add modstatic5.
30364 (tststatic5-ENV): New variable.
30365 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30368 * elf/dl-support.c (_dl_main_map): New variable.
30369 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30370 (_dl_nns, _dl_load_adds): Set to 1.
30371 (_dl_initial_searchlist): Refer to _dl_main_map.
30372 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30373 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30374 call to _dl_get_origin.
30375 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30377 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30378 * dlfcn/modstatic3.c: New file.
30379 * dlfcn/tststatic3.c: New file.
30380 * dlfcn/tststatic4.c: New file.
30381 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30382 (tests-static): Likewise.
30383 (modules-names): Add modstatic3.
30384 (tststatic3-ENV, tststatic4-ENV): New variables.
30385 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30386 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30388 2013-06-26 Joseph Myers <joseph@codesourcery.com>
30390 * configure.in (CC): Require GCC version 4.4 or later.
30391 * configure: Regenerated.
30392 * manual/install.texi (Tools for Compilation): Update GCC version
30394 * INSTALL: Regenerated.
30396 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30399 * string/test-memcmp.c (check2): New.
30400 (main): Call check2.
30402 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30404 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
30407 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30409 (dl_open_worker) [!SHARED]: ... here.
30411 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30413 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30415 2013-06-25 Richard Henderson <rth@redhat.com>
30417 * locale/programs/locarchive.c: Include <libc-internal.h>
30419 2013-06-25 Joseph Myers <joseph@codesourcery.com>
30421 * manual/texinfo.tex: Update to version 2013-06-21.17, with
30422 trailing whitespace removed.
30424 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30427 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30428 * locale/programs/locarchive.c: Include libc-mmap.h.
30429 (prepare_address_space): Take two new outputs (the mmap base and len).
30430 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
30432 (create_archive): Declare new mmap base and len values for
30433 prepare_address_space, and store the result in ah.
30434 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30435 (enlarge_archive): If ah->mmap_base is not NULL, use that and
30436 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30437 Declare new mmap base and len values for
30438 prepare_address_space, and store the result in new_ah.
30439 (open_archive): Declare new mmap base and len values for
30440 prepare_address_space, and store the result in ah.
30441 (close_archive): If ah->mmap_base is not NULL, use that and
30442 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30443 * sysdeps/generic/libc-mmap.h: New file.
30445 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30447 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30448 (ALIGN_UP): Likewise.
30449 (PTR_ALIGN_DOWN): Likewise.
30450 (PTR_ALIGN_UP): Likewise.
30452 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30454 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30455 entry mapped to PPC_PLATFORM_POWER8.
30456 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30458 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30459 (_dl_string_platform): Add case for exporting platform position for
30461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30462 search path to sysdeps/powerpc/powerpc32/power8 directory.
30463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30464 search path to sysdeps/powerpc/powerpc64/power8 directory.
30465 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30466 power7 directories.
30467 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30468 power7 directories.
30470 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30472 * INSTALL: Regenerate.
30474 * nscd/connections.c (nscd_init): Fix comment.
30476 2013-06-22 Joseph Myers <joseph@codesourcery.com>
30478 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30481 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30482 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30484 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30486 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30488 (DL_DST_REQ_STATIC): Remove macro.
30490 2013-06-21 Joseph Myers <joseph@codesourcery.com>
30493 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30494 with a shift of 0 bits.
30496 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30498 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30501 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30504 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30506 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30508 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30509 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30510 accepts -fno-tree-loop-distribute-patterns.
30511 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30512 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30514 * string/memset.c (memset): Likewise.
30515 * string/test-memmove.c (simple_memmove): Disable loop transformation
30517 * string/test-memset.c (simple_memset): Likewise.
30518 * benchtests/bench-memmove.c (simple_memmove): Likewise.
30519 * benchtests/bench-memset.c (simple_memset): Likewise.
30520 * configure: Regenerated.
30522 2013-06-20 Joseph Myers <joseph@codesourcery.com>
30524 * math/test-misc.c (main): Ignore fesetround failure when failures
30525 of subsequent rounding tests would be ignored.
30528 * math/fedisblxcpt.c (fedisableexcept): Return 0.
30529 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30530 * math/fegetenv.c (__fegetenv): Return 0.
30531 * math/fegetexcept.c (fegetexcept): Return 0.
30532 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30534 * math/feholdexcpt.c (feholdexcept): Return 0.
30535 * math/fesetenv.c (__fesetenv): Return 0.
30536 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30537 argument FE_TONEAREST.
30538 * math/feupdateenv.c (__feupdateenv): Return 0.
30539 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30541 2013-06-18 Roland McGrath <roland@hack.frob.com>
30543 * elf/rtld-Rules (rtld-compile-command.S): New variable.
30544 (rtld-compile-command.s, rtld-compile-command.c): New variables.
30545 ($(objpfx)rtld-%.os rules): Use them.
30547 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30549 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30552 2013-06-17 Roland McGrath <roland@hack.frob.com>
30554 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30555 length of target pattern, then descending length of dependency pattern.
30556 * configure.in (AWK): Require gawk 3.1.2 or newer.
30557 * manual/install.texi (Tools for Compilation): Say that we do.
30558 * configure: Regenerated.
30560 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30561 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30562 * scripts/sysd-rules.awk: ... this new script.
30563 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30564 than a glob-style pattern.
30566 2013-06-17 Joseph Myers <joseph@codesourcery.com>
30568 * math/test-misc.c (main): Do not treat incorrectly rounded
30569 conversions as failure unless ROUNDING_TESTS passes.
30571 2013-06-15 Joseph Myers <joseph@codesourcery.com>
30574 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30575 restore exception state around main square root computation, then
30576 check for inexactness explicitly.
30578 * math/libm-test.inc (fma_test_data): Add another test.
30580 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30582 * manual/threads.texi (Non-POSIX Extensions): New document
30583 node. Document pthread_getattr_default_np and
30584 pthread_setattr_default_np.
30586 * Versions.def (libpthread): Add GLIBC_2.18.
30587 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30596 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30607 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30610 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30612 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30613 H.J. Lu <hjl.tools@gmail.com>
30616 * sysdeps/x86_64/rtld-memset.c: Remove file.
30617 * sysdeps/x86_64/rtld-memset.S: New file.
30619 2013-06-14 Joseph Myers <joseph@codesourcery.com>
30621 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30622 (test_in_one_mode): Take arguments for whether the rounding mode
30623 is supported for each floating-point type.
30624 (do_test): Pass new arguments to test_in_one_mode using
30627 2013-06-13 Roland McGrath <roland@hack.frob.com>
30629 * posix/tst-waitid.c (do_test): Distinguish different instances of
30630 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
30631 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30632 before entering the kernel for waitpid.
30634 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30636 * NEWS: Fix note on clock function precision. Text by Roland
30639 2013-06-13 Roland McGrath <roland@hack.frob.com>
30641 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30642 it into place only when and if the sanity check passes.
30644 2013-06-13 Joseph Myers <joseph@codesourcery.com>
30646 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30647 output for whether conversion result is exact. Take argument
30648 indicating whether type is IBM long double.
30649 (round_for_all): Change need_exact field to ibm_ld.
30650 * stdlib/tst-strtod-round.c (struct exactness): New type.
30651 (struct test): Change bool ld_ok field to struct exactness exact.
30652 (TEST): Update all definitions for change to field.
30653 (tests): Regenerate array contents.
30654 (test_in_one_mode): Take pointer to new field instead of old ld_ok
30655 field value. Check for IBM long double here.
30656 (do_test): Update calls to test_in_one_mode.
30658 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30661 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30662 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30664 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30667 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30668 generated by the compiler on loop optimizations.
30669 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30670 general definitions.
30672 2013-06-12 Joseph Myers <joseph@codesourcery.com>
30674 * math/bug-nextafter.c: Include <math-tests.h>.
30675 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30677 * math/bug-nexttoward.c: Include <math-tests.h>.
30678 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30680 * math/test-misc.c: Include <math-tests.h>.
30681 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30684 2013-06-12 Andreas Jaeger <aj@suse.de>
30686 * po/ia.po: Update Interlingua translation from translation
30689 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30691 * include/fenv.h: Include stdbool.h.
30692 (struct rm_ctx): New structure.
30693 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30695 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30696 (SET_RESTORE_ROUNDF): Likewise.
30697 (SET_RESTORE_ROUNDL): Likewise.
30698 (SET_RESTORE_ROUND_NOEX): Likewise.
30699 (SET_RESTORE_ROUND_NOEXF): Likewise.
30700 (SET_RESTORE_ROUND_NOEXL): Likewise.
30701 (SET_RESTORE_ROUND_53BIT): Likewise.
30702 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30703 (libc_feresetround_noexf_ctx): Likewise.
30704 (libc_feresetround_noexl_ctx): Likewise.
30705 (libc_feholdsetround_53bit_ctx): Likewise.
30706 (libc_feresetround_53bit_ctx): Likewise.
30707 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30708 (libc_feholdexcept_setround_sse_ctx): New function.
30709 (libc_fesetenv_sse_ctx): Likewise.
30710 (libc_feupdateenv_sse_ctx): Likewise.
30711 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30712 (libc_feholdexcept_setround_387_ctx): Likewise.
30713 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30714 (libc_feholdsetround_387_prec_ctx): Likewise.
30715 (libc_feholdsetround_387_ctx): Likewise.
30716 (libc_feholdsetround_387_53bit_ctx): Likewise.
30717 (libc_feholdsetround_sse_ctx): Likewise.
30718 (libc_feresetround_sse_ctx): Likewise.
30719 (libc_feresetround_387_ctx): Likewise.
30720 (libc_feupdateenv_387_ctx): Likewise.
30721 (libc_feholdexcept_setroundf_ctx): Define macro.
30722 (libc_fesetenvf_ctx): Likewise.
30723 (libc_feupdateenvf_ctx): Likewise.
30724 (libc_feholdsetroundf_ctx): Likewise.
30725 (libc_feresetroundf_ctx): Likewise.
30726 (libc_feholdexcept_setround_ctx): Likewise.
30727 (libc_fesetenv_ctx): Likewise.
30728 (libc_feupdateenv_ctx): Likewise.
30729 (libc_feholdsetround_ctx): Likewise.
30730 (libc_feresetround_ctx): Likewise.
30731 (libc_feholdexcept_setroundl_ctx): Likewise.
30732 (libc_feupdateenvl_ctx): Likewise.
30733 (libc_feholdsetroundl_ctx): Likewise.
30734 (libc_feresetroundl_ctx): Likewise.
30735 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30736 (libc_feresetround_53bit_ctx): Likewise.
30738 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30740 * locale/iso-639.def: Convert to UTF-8.
30742 2013-06-11 Joseph Myers <joseph@codesourcery.com>
30744 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30745 (EXCEPTION_TESTS_double): Likewise.
30746 (EXCEPTION_TESTS_long_double): Likewise.
30747 (EXCEPTION_TESTS): Likewise.
30748 * math/libm-test.inc (test_exceptions): Only test exceptions if
30749 EXCEPTION_TESTS (FLOAT).
30751 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30753 * benchtests/Makefile (string-bench): Add strcpy_chk and
30755 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30756 * benchtests/bench-stpcpy_chk.c: New file.
30757 * benchtests/bench-strcpy_chk-ifunc.c: New file.
30758 * benchtests/bench-strcpy_chk.c: New file.
30759 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30761 (do_test): Likewise.
30763 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30765 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30766 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30767 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30768 with tabs where appropriate.
30769 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30771 [PPC_PLATFORM_PPC440]: Likewise.
30772 [PPC_PLATFORM_PPC464]: Likewise.
30773 [PPC_PLATFORM_PPC476]: Likewise.
30774 (_dl_string_platform): Add support for detecting ppc405, ppc440,
30775 ppc464, and ppc476 platform strings merging from ports/
30778 2013-06-11 Andreas Schwab <schwab@suse.de>
30781 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30782 (from_ucs4_idx): Regenerate.
30783 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30784 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30785 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30786 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30787 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30788 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30789 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30790 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30791 from FROM_LOOP and TO_LOOP specific macros.
30792 (BODY): Handle combining characters.
30793 * iconvdata/BIG5HKSCS.irreversible: Update.
30794 * iconvdata/BIG5HKSCS.precomposed: New file.
30795 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30797 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30799 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30801 * include/sys/time.h: Fix indentation and add copyright header.
30803 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30804 (do_test): Likewise.
30805 * string/test-memchr.c (do_one_test): Likewise.
30806 (do_test): Likewise.
30807 * string/test-memcmp.c (do_one_test): Likewise.
30808 (do_test): Likewise.
30809 * string/test-memcpy.c (do_one_test): Likewise.
30810 (do_test): Likewise.
30811 * string/test-memmem.c (do_one_test): Likewise.
30812 (do_test): Likewise.
30813 (do_random_tests): Likewise.
30814 * string/test-memmove.c (do_one_test): Likewise.
30815 (do_test): Likewise.
30816 * string/test-memset.c (do_one_test): Likewise.
30817 (do_test): Likewise.
30818 * string/test-rawmemchr.c (do_one_test): Likewise.
30819 (do_test): Likewise.
30820 * string/test-strcasecmp.c (do_one_test): Likewise.
30821 (do_test): Likewise.
30822 * string/test-strcasestr.c (do_one_test): Likewise.
30823 (do_test): Likewise.
30824 * string/test-strcat.c (do_one_test): Likewise.
30825 (do_test): Likewise.
30826 * string/test-strchr.c (do_one_test): Likewise.
30827 (do_test): Likewise.
30828 * string/test-strcmp.c (do_one_test): Likewise.
30829 (do_test): Likewise.
30830 * string/test-strcpy.c (do_one_test): Likewise.
30831 (do_test): Likewise.
30832 * string/test-string.h: Likewise.
30833 (test_init): Likewise.
30834 * string/test-strlen.c (do_one_test): Likewise.
30835 (do_test): Likewise.
30836 * string/test-strncasecmp.c (do_one_test): Likewise.
30837 (do_test): Likewise.
30838 * string/test-strncat.c (do_one_test): Likewise.
30839 (do_test): Likewise.
30840 * string/test-strncmp.c (do_one_test): Likewise.
30841 (do_test_limit): Likewise.
30842 (do_test): Likewise.
30843 * string/test-strncpy.c (do_one_test): Likewise.
30844 (do_test): Likewise.
30845 * string/test-strnlen.c (do_one_test): Likewise.
30846 (do_test): Likewise.
30847 * string/test-strpbrk.c (do_one_test): Likewise.
30848 (do_test): Likewise.
30849 * string/test-strrchr.c (do_one_test): Likewise.
30850 (do_test): Likewise.
30851 * string/test-strspn.c (do_one_test): Likewise.
30852 (do_test): Likewise.
30853 * string/test-strstr.c (do_one_test): Likewise.
30854 (do_test): Likewise.
30856 * benchtests/Makefile (string-bench): Add string benchmarks.
30857 * benchtests/bench-bcopy-ifunc.c: New file.
30858 * benchtests/bench-bcopy.c: New file.
30859 * benchtests/bench-bzero-ifunc.c: New file.
30860 * benchtests/bench-bzero.c: New file.
30861 * benchtests/bench-memccpy-ifunc.c: New file.
30862 * benchtests/bench-memccpy.c: New file.
30863 * benchtests/bench-memchr-ifunc.c: New file.
30864 * benchtests/bench-memchr.c: New file.
30865 * benchtests/bench-memcmp-ifunc.c: New file.
30866 * benchtests/bench-memcmp.c: New file.
30867 * benchtests/bench-memmem-ifunc.c: New file.
30868 * benchtests/bench-memmem.c: New file.
30869 * benchtests/bench-memmove-ifunc.c: New file.
30870 * benchtests/bench-memmove.c: New file.
30871 * benchtests/bench-mempcpy-ifunc.c: New file.
30872 * benchtests/bench-mempcpy.c: New file.
30873 * benchtests/bench-memset-ifunc.c: New file.
30874 * benchtests/bench-memset.c: New file.
30875 * benchtests/bench-rawmemchr-ifunc.c: New file.
30876 * benchtests/bench-rawmemchr.c: New file.
30877 * benchtests/bench-stpcpy-ifunc.c: New file.
30878 * benchtests/bench-stpcpy.c: New file.
30879 * benchtests/bench-stpncpy-ifunc.c: New file.
30880 * benchtests/bench-stpncpy.c: New file.
30881 * benchtests/bench-strcasecmp-ifunc.c: New file.
30882 * benchtests/bench-strcasecmp.c: New file.
30883 * benchtests/bench-strcasestr-ifunc.c: New file.
30884 * benchtests/bench-strcasestr.c: New file.
30885 * benchtests/bench-strcat-ifunc.c: New file.
30886 * benchtests/bench-strcat.c: New file.
30887 * benchtests/bench-strchr-ifunc.c: New file.
30888 * benchtests/bench-strchr.c: New file.
30889 * benchtests/bench-strchrnul-ifunc.c: New file.
30890 * benchtests/bench-strchrnul.c: New file.
30891 * benchtests/bench-strcmp-ifunc.c: New file.
30892 * benchtests/bench-strcmp.c: New file.
30893 * benchtests/bench-strcpy-ifunc.c: New file.
30894 * benchtests/bench-strcpy.c: New file.
30895 * benchtests/bench-strcspn-ifunc.c: New file.
30896 * benchtests/bench-strcspn.c: New file.
30897 * benchtests/bench-strlen-ifunc.c: New file.
30898 * benchtests/bench-strlen.c: New file.
30899 * benchtests/bench-strncasecmp-ifunc.c: New file.
30900 * benchtests/bench-strncasecmp.c: New file.
30901 * benchtests/bench-strncat-ifunc.c: New file.
30902 * benchtests/bench-strncat.c: New file.
30903 * benchtests/bench-strncmp-ifunc.c: New file.
30904 * benchtests/bench-strncmp.c: New file.
30905 * benchtests/bench-strncpy-ifunc.c: New file.
30906 * benchtests/bench-strncpy.c: New file.
30907 * benchtests/bench-strnlen-ifunc.c: New file.
30908 * benchtests/bench-strnlen.c: New file.
30909 * benchtests/bench-strpbrk-ifunc.c: New file.
30910 * benchtests/bench-strpbrk.c: New file.
30911 * benchtests/bench-strrchr-ifunc.c: New file.
30912 * benchtests/bench-strrchr.c: New file.
30913 * benchtests/bench-strspn-ifunc.c: New file.
30914 * benchtests/bench-strspn.c: New file.
30915 * benchtests/bench-strstr-ifunc.c: New file.
30916 * benchtests/bench-strstr.c: New file.
30918 * benchtests/Makefile: Disable parallel execution of targets.
30919 (string-bench): Add memcpy.
30920 (benchset): New variable to store a list of benchmark sets.
30921 (bench-func): Renamed from bench.
30922 (bench-set): New target.
30923 (bench): Depend on bench-func and bench-set.
30924 * benchtests/README: Add section on benchmark sets.
30925 * benchtests/bench-memcpy-ifunc.c: New file.
30926 * benchtests/bench-memcpy.c: New file.
30927 * benchtests/bench-string.h: New file.
30929 2013-06-11 Andreas Schwab <schwab@suse.de>
30932 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30933 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30934 values in the triple.
30935 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30936 terminator in the group key.
30938 2013-06-11 Andreas Jaeger <aj@suse.de>
30940 * po/zh_TW.po: Update Chinese (traditional) translation from
30941 translation project.
30943 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30945 * include/time.h (__clock_gettime): Add libc_hidden_proto.
30946 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30947 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
30948 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30949 (clock_getcpuclockid): Likewise.
30950 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30951 Add weak_alias and libc_hidden_def.
30952 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30953 * rt/clock_gettime.c (clock_gettime): Rename to
30954 __clock_gettime. Add weak_alias and libc_hidden_def.
30955 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30956 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30957 __clock_nanosleep. Add weak_alias and libc_hidden_def.
30958 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30959 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30961 * rt/clock_settime.c (clock_settime): Rename to
30962 __clock_settime. Add weak_alias and libc_hidden_def.
30963 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30965 2013-06-10 Joseph Myers <joseph@codesourcery.com>
30967 * mach/err_boot.sub: Remove trailing whitespace.
30968 * mach/err_ipc.sub: Likewise.
30969 * mach/err_mach.sub: Likewise.
30971 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30972 (ROUNDING_TESTS_double): Likewise.
30973 (ROUNDING_TESTS_long_double): Likewise.
30974 (ROUNDING_TESTS): Likewise.
30975 * math/libm-test.inc: Include <math-tests.h>.
30976 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30977 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30978 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30979 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30981 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30983 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30986 2013-06-08 Joseph Myers <joseph@codesourcery.com>
30988 * sysdeps/gnu/errlist.awk: Do not generate space at end of
30989 otherwise empty TRANS lines.
30990 * sysdeps/gnu/errlist.c: Regenerated.
30992 * catgets/gencat.c (error_print): Use (void) in function
30994 * crypt/crypt_util.c (__init_des): Likewise.
30995 * crypt/speeds.c (Stop): Likewise.
30997 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30998 * inet/ruserpass.c (token): Likewise.
30999 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31000 * intl/localealias.c (extend_alias_table): Likewise.
31001 * intl/plural-exp.c (init_germanic_plural): Likewise.
31002 * libio/fcloseall.c (__fcloseall): Likewise.
31003 * libio/genops.c (_IO_flush_all): Likewise.
31004 (_IO_flush_all_linebuffered): Likewise.
31005 (_IO_cleanup): Likewise.
31006 (_IO_iter_begin): Likewise.
31007 (_IO_iter_end): Likewise.
31008 (_IO_list_lock): Likewise.
31009 (_IO_list_unlock): Likewise.
31010 (_IO_list_resetlock): Likewise.
31011 * libio/getchar.c (getchar): Likewise.
31012 * libio/getchar_u.c (getchar_unlocked): Likewise.
31013 * libio/getwchar.c (getwchar): Likewise.
31014 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31015 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31016 * login/getpt.c (__getpt): Likewise.
31017 * login/tst-utmp.c (main): Likewise.
31018 * malloc/hooks.c (__malloc_check_init): Likewise.
31019 * malloc/malloc.c (__malloc_stats): Likewise.
31020 * malloc/mtrace.c (tr_break): Likewise.
31021 (mtrace): Likewise.
31022 (muntrace): Likewise.
31023 * misc/fstab.c (endfsent): Likewise.
31024 * misc/getclktck.c (__getclktck): Likewise.
31025 * misc/getdtsz.c (__getdtablesize): Likewise.
31026 * misc/gethostid.c (gethostid): Likewise.
31027 * misc/getpagesize.c (__getpagesize): Likewise.
31028 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31029 (__get_nprocs): Likewise.
31030 (__get_phys_pages): Likewise.
31031 (__get_avphys_pages): Likewise.
31032 * misc/getttyent.c (getttyent): Likewise.
31033 (setttyent): Likewise.
31034 (endttyent): Likewise.
31035 * misc/getusershell.c (getusershell): Likewise.
31036 (endusershell): Likewise.
31037 (setusershell): Likewise.
31038 (initshells): Likewise.
31039 * misc/hsearch.c (__hdestroy): Likewise.
31040 * misc/sync.c (sync): Likewise.
31041 * misc/syslog.c (closelog_internal): Likewise.
31042 (closelog): Likewise.
31043 * misc/ttyslot.c (ttyslot): Likewise.
31044 * misc/vhangup.c (vhangup): Likewise.
31045 * posix/fork.c (__fork): Likewise.
31046 * posix/getegid.c (__getegid): Likewise.
31047 * posix/geteuid.c (__geteuid): Likewise.
31048 * posix/getgid.c (__getgid): Likewise.
31049 * posix/getpid.c (__getpid): Likewise.
31050 * posix/getppid.c (__getppid): Likewise.
31051 * posix/getuid.c (__getuid): Likewise.
31052 * posix/pause.c (pause): Likewise.
31053 * posix/setpgrp.c (setpgrp): Likewise.
31054 * posix/setsid.c (__setsid): Likewise.
31055 * posix/test-vfork.c (noop): Likewise.
31056 * resolv/gethnamaddr.c (_endhtent): Likewise.
31057 (_gethtent): Likewise.
31058 (ht_endhostent): Likewise.
31059 (gethostent): Likewise.
31060 (dns_service): Likewise.
31061 * stdlib/drand48.c (drand48): Likewise.
31062 * stdlib/lrand48.c (lrand48): Likewise.
31063 * stdlib/mrand48.c (mrand48): Likewise.
31064 * stdlib/rand.c (rand): Likewise.
31065 * stdlib/random.c (__random): Likewise.
31066 * stdlib/setenv.c (clearenv): Likewise.
31067 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31068 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31069 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31070 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31071 (__get_nprocs): Likewise.
31072 (__get_phys_pages): Likewise.
31073 (__get_avphys_pages): Likewise.
31074 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31075 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31076 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31077 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31078 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31079 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31080 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31081 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31082 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31083 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31084 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31085 * sysdeps/mach/hurd/sync.c (sync): Likewise.
31086 * sysdeps/posix/clock.c (clock): Likewise.
31087 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31088 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31089 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31090 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31091 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31092 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31093 (__get_nprocs_conf): Likewise.
31094 (__get_phys_pages): Likewise.
31095 (__get_avphys_pages): Likewise.
31096 * time/clock.c (clock): Likewise.
31097 * time/tzset.c (__tzname_max): Likewise.
31099 2013-06-07 Joseph Myers <joseph@codesourcery.com>
31101 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31102 (__bswap_32): Do not use "register".
31103 * crypt/crypt.c (_ufc_doit_r): Likewise.
31104 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31105 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31106 * gmon/gmon.c (__monstartup): Likewise.
31107 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31108 * hurd/hurdmalloc.c (more_memory): Likewise.
31109 (malloc): Likewise.
31111 (realloc): Likewise.
31112 (malloc_fork_prepare): Likewise.
31113 (malloc_fork_parent): Likewise.
31114 (malloc_fork_child): Likewise.
31115 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31116 (_svcauth_des): Likewise.
31117 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31118 * inet/inet_net.c (inet_network): Likewise.
31119 * inet/inet_netof.c (inet_netof): Likewise.
31120 * inet/rcmd.c (__validuser2_sa): Likewise.
31121 * io/fts.c (fts_open): Likewise.
31122 (fts_load): Likewise.
31123 (fts_close): Likewise.
31124 (fts_read): Likewise.
31125 (fts_children): Likewise.
31126 (fts_build): Likewise.
31127 (fts_stat): Likewise.
31128 (fts_sort): Likewise.
31129 (fts_alloc): Likewise.
31130 (fts_lfree): Likewise.
31131 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31132 (_IO_file_xsgetn): Likewise.
31133 (_IO_file_xsgetn_mmap): Likewise.
31134 * libio/iofopncook.c (_IO_cookie_read): Likewise.
31135 (_IO_cookie_write): Likewise.
31136 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31137 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31138 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31139 * malloc/obstack.c (_obstack_begin): Likewise.
31140 (_obstack_begin_1): Likewise.
31141 (_obstack_newchunk): Likewise.
31142 (_obstack_allocated_p): Likewise.
31143 (obstack_free): Likewise.
31144 (_obstack_memory_used): Likewise.
31145 * misc/getttyent.c (getttynam): Likewise.
31146 (getttyent): Likewise.
31149 * misc/getusershell.c (initshells): Likewise.
31150 * misc/syslog.c (__vsyslog_chk): Likewise.
31151 * misc/ttyslot.c (ttyslot): Likewise.
31152 * nis/nis_hash.c (__nis_hash): Likewise.
31153 * posix/fnmatch_loop.c (FCT): Likewise.
31154 * posix/getconf.c (print_all): Likewise.
31156 * posix/getopt.c (exchange): Likewise.
31157 * posix/glob.c (globfree): Likewise.
31158 (prefix_array): Likewise.
31159 (__glob_pattern_type): Likewise.
31160 * resolv/arpa/nameser.h (NS_GET16): Likewise.
31161 (NS_GET32): Likewise.
31162 (NS_PUT16): Likewise.
31163 (NS_PUT32): Likewise.
31164 * resolv/gethnamaddr.c (getanswer): Likewise.
31165 (gethostbyname2): Likewise.
31166 (gethostbyaddr): Likewise.
31167 (_gethtent): Likewise.
31168 (_gethtbyname2): Likewise.
31169 (_gethtbyaddr): Likewise.
31170 * resolv/ns_print.c (dst_s_get_int16): Likewise.
31171 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31172 * resolv/res_init.c (__res_vinit): Likewise.
31173 (net_mask): Likewise.
31174 * resolv/res_mkquery.c (outchar): Likewise.
31176 * stdio-common/printf_fp.c (outchar): Likewise.
31178 * stdio-common/printf_fphex.c (outchar): Likewise.
31180 * stdio-common/printf_size.c (outchar): Likewise.
31182 * stdio-common/test_rdwr.c (main): Likewise.
31183 * stdio-common/tfformat.c (matches): Likewise.
31184 * stdio-common/vfprintf.c (outchar): Likewise.
31185 (printf_unknown): Likewise.
31186 (buffered_vfprintf): Likewise.
31187 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31188 * stdio-common/xbug.c (AppendToBuffer): Likewise.
31189 (ReadFile): Likewise.
31190 * stdlib/qsort.c (SWAP): Likewise.
31191 (_quicksort): Likewise.
31192 * stdlib/setenv.c (__add_to_environ): Likewise.
31193 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31194 * stdlib/strtol_l.c (__strtol_l): Likewise.
31195 * stdlib/tst-strtod.c (main): Likewise.
31196 * stdlib/tst-strtol.c (main): Likewise.
31197 * stdlib/tst-strtoll.c (main): Likewise.
31198 * string/bits/string2.h (__strcmp_cc): Likewise.
31199 (__strcmp_cg): Likewise.
31200 (__strcspn_c1): Likewise.
31201 (__strcspn_c2): Likewise.
31202 (__strcspn_c3): Likewise.
31203 (__strspn_c1): Likewise.
31204 (__strspn_c2): Likewise.
31205 (__strspn_c3): Likewise.
31206 (__strsep_1c): Likewise.
31207 (__strsep_2c): Likewise.
31208 (__strsep_3c): Likewise.
31209 * string/memccpy.c (__memccpy): Likewise.
31210 * string/stpcpy.c (__stpcpy): Likewise.
31211 * string/strcmp.c (strcmp): Likewise.
31212 * string/strrchr.c (strrchr): Likewise.
31213 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31215 * sysdeps/mach/hurd/getcwd.c
31216 (_hurd_canonicalize_directory_name_internal): Likewise.
31217 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31218 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31219 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31220 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31221 Likewise, in both definitions.
31222 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31224 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31225 64] (__bswap_64): Likewise.
31226 * time/test_time.c (main): Likewise.
31227 * time/tzfile.c (__tzfile_read): Likewise.
31228 (__tzfile_compute): Likewise.
31229 * time/tzset.c (__tzset_parse_tz): Likewise.
31230 (tzset_internal): Likewise.
31231 (compute_change): Likewise.
31232 * wcsmbs/wcscat.c (__wcscat): Likewise.
31233 * wcsmbs/wcschr.c (wcschr): Likewise.
31234 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31235 * wcsmbs/wcscspn.c (wcscspn): Likewise.
31236 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31237 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31238 * wcsmbs/wcsspn.c (wcsspn): Likewise.
31239 * wcsmbs/wcsstr.c (wcsstr): Likewise.
31240 * wcsmbs/wmemchr.c (wmemchr): Likewise.
31241 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31242 * wcsmbs/wmemset.c (wmemset): Likewise.
31244 2013-06-06 Joseph Myers <joseph@codesourcery.com>
31246 * scripts/config.guess: Update to version 2013-05-16.
31247 * scripts/config.sub: Update to version 2013-04-24.
31248 * scripts/install-sh: Update to version 2011-11-20.07.
31249 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31250 * scripts/move-if-change: Update to version 2012-01-06 07:23.
31252 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
31254 * debug/fgetws_u_chk.c: Fix leading whitespaces.
31255 * elf/sln.c: Likewise.
31256 * hurd/hurd/ioctl.h: Likewise.
31257 * hurd/hurdmalloc.c: Likewise.
31258 * hurd/xattr.c: Likewise.
31259 * include/shlib-compat.h: Likewise.
31260 * inet/ruserpass.c: Likewise.
31261 * libio/iofgets_u.c: Likewise.
31262 * libio/iofgetws_u.c: Likewise.
31263 * locale/programs/ld-identification.c: Likewise.
31264 * locale/programs/ld-time.c: Likewise.
31265 * mach/msg-destroy.c: Likewise.
31266 * nss/nss_files/files-netgrp.c: Likewise.
31267 * resolv/res_data.c: Likewise.
31268 * soft-fp/op-1.h: Likewise.
31269 * soft-fp/op-2.h: Likewise.
31270 * soft-fp/op-4.h: Likewise.
31271 * soft-fp/op-common.h: Likewise.
31272 * stdio-common/printf_fphex.c: Likewise.
31273 * stdlib/strtod_l.c: Likewise.
31274 * sunrpc/rpc/clnt.h: Likewise.
31275 * sysdeps/generic/framestate.c: Likewise.
31276 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31277 * sysdeps/i386/bsd-setjmp.S: Likewise.
31278 * sysdeps/i386/__longjmp.S: Likewise.
31279 * sysdeps/i386/setjmp.S: Likewise.
31280 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31281 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31282 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31283 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31284 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31285 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31286 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31287 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31288 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31289 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31290 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31291 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31292 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31293 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31294 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31295 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31296 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31297 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31298 * sysdeps/ieee754/support.c: Likewise.
31299 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31300 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31301 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31302 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31303 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31304 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31305 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31306 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31307 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31308 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31309 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31310 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31311 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31312 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31313 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31314 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31315 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31318 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
31320 * posix/transbug.c: Remove executable mode.
31322 2013-06-05 Joseph Myers <joseph@codesourcery.com>
31324 * crypt/speeds.c: Remove trailing whitespace.
31325 * dlfcn/default.c: Likewise.
31326 * elf/ifuncdep2.c: Likewise.
31327 * elf/ifuncmain1.c: Likewise.
31328 * elf/ifuncmain1vis.c: Likewise.
31329 * elf/testobj.h: Likewise.
31330 * elf/tst-stackguard1.c: Likewise.
31331 * gmon/sys/gmon.h: Likewise.
31332 * hurd/hurdmsg.c: Likewise.
31333 * hurd/new-fd.c: Likewise.
31334 * hurd/ports-get.c: Likewise.
31335 * iconvdata/ibm1008_420.c: Likewise.
31336 * inet/tst-getni1.c: Likewise.
31337 * inet/tst-getni2.c: Likewise.
31338 * libio/ioungetc.c: Likewise.
31339 * libio/wfiledoalloc.c: Likewise.
31340 * manual/libm-err-tab.pl: Likewise.
31341 * math/w_dremf.c: Likewise.
31342 * misc/ftruncate.c: Likewise.
31343 * posix/bug-glob2.c: Likewise.
31344 * posix/tst-pcre.c: Likewise.
31345 * posix/wait4.c: Likewise.
31346 * resolv/README: Likewise.
31347 * resolv/res_debug.h: Likewise.
31348 * resolv/tst-inet_ntop.c: Likewise.
31349 * setjmp/bug269-setjmp.c: Likewise.
31350 * soft-fp/extended.h: Likewise.
31351 * soft-fp/op-1.h: Likewise.
31352 * soft-fp/op-2.h: Likewise.
31353 * soft-fp/op-4.h: Likewise.
31354 * soft-fp/op-8.h: Likewise.
31355 * soft-fp/testit.c: Likewise.
31356 * stdio-common/bug16.c: Likewise.
31357 * stdlib/random.c: Likewise.
31358 * sunrpc/rpcsvc/rquota.x: Likewise.
31359 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31360 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31361 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31362 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31363 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31364 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31365 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31366 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31367 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31368 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31369 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31370 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31371 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31372 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31373 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31374 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31375 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31376 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31377 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31378 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31379 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31380 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31381 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31382 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31383 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31384 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31385 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31386 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31387 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31388 * sysdeps/ieee754/s_lib_version.c: Likewise.
31389 * sysdeps/mach/hurd/check_fds.c: Likewise.
31390 * sysdeps/mach/hurd/getsockname.c: Likewise.
31391 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31392 * sysdeps/mach/hurd/recvfrom.c: Likewise.
31393 * sysdeps/powerpc/bits/link.h: Likewise.
31394 * sysdeps/powerpc/dl-procinfo.c: Likewise.
31395 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31396 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31397 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31398 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31399 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31400 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31401 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31402 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31403 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31404 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31405 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31406 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31407 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31408 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31409 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31410 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31411 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31412 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31413 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31414 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31415 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31416 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31417 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31418 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31419 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31420 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31421 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31422 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31423 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31424 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31425 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31426 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31427 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31428 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31429 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31430 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31431 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31432 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31433 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31434 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31435 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31436 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31437 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31438 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31439 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31440 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31441 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31442 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31443 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31444 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31445 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31446 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31447 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31448 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31449 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31450 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31451 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31452 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31453 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31454 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31455 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31456 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31457 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31458 * sysdeps/powerpc/sysdep.h: Likewise.
31459 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31460 * sysdeps/s390/s390-64/sub_n.S: Likewise.
31461 * sysdeps/sh/dl-trampoline.S: Likewise.
31462 * sysdeps/sh/memset.S: Likewise.
31463 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31464 * sysdeps/sh/strlen.S: Likewise.
31465 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31466 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31467 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31468 * sysdeps/sparc/sparc32/rem.S: Likewise.
31469 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31470 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31471 * sysdeps/sparc/sparc32/strchr.S: Likewise.
31472 * sysdeps/sparc/sparc32/udiv.S: Likewise.
31473 * sysdeps/sparc/sparc32/urem.S: Likewise.
31474 * sysdeps/sparc/sparc64/add_n.S: Likewise.
31475 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31476 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31477 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31478 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31479 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31480 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31481 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31482 * sysdeps/unix/bsd/times.c: Likewise.
31483 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31484 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31488 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31489 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31490 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31491 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31492 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31493 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31494 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31495 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31496 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31497 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31498 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31499 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31500 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31501 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31502 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31503 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31504 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31505 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31506 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31507 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31508 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31509 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31510 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31511 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31512 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31513 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31514 * sysdeps/x86_64/strcspn.S: Likewise.
31516 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31518 * locale/C-translit.h: Revert #include <stdint.h> because this is a
31519 generated file. Regenerate properly from gen-translit.pl.
31520 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
31521 locale/C-translit.h.
31523 2013-06-05 Andreas Schwab <schwab@suse.de>
31526 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31527 week as 6 instead of -1.
31528 * time/tst-strptime.c (day_tests): Add test case.
31530 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31532 * sysdeps/generic/math_private.h
31533 (libc_feholdexcept_setround_53bit): Replace with
31534 libc_feholdsetround_53bit.
31535 (libc_feupdateenv_53bit): Replace with
31536 libc_feresetround_53bit.
31537 (SET_RESTORE_ROUND_53BIT): Adjust.
31539 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31541 * string/test-strchrnul.c: Add copyright header.
31543 * posix/tst-getaddrinfo4.c: Increase test timeout.
31545 2013-06-03 Carlos O'Donell <carlos@redhat.com>
31548 * math/libm-test.inc (MAX_EXP): Remove
31550 (ulp): Use MIN_EXP - MANT_DIG.
31551 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31553 2013-05-31 Carlos O'Donell <carlos@redhat.com>
31555 * po/be.po: Revert last change.
31556 * po/zh_CN.po: Likewise.
31557 * po/header.pot: Likewise.
31559 2013-05-31 Joseph Myers <joseph@codesourcery.com>
31561 * Makefile ($(common-objpfx)linkobj/libc.so): Define
31562 link-libc-deps to empty as target-specific variable.
31563 * Makerules (link-libc-args): New variable.
31564 (libc-for-link): Likewise.
31565 (link-libc-deps): Likewise.
31566 (lib%.so): Depend on $(link-libc-deps). Link with
31568 (build-module): Link with $(link-libc-args).
31569 (build-module-asneeded): Likewise.
31570 (build-module-helper-objlist): Filter out $(link-libc-deps) from
31572 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31573 target-specific variable.
31574 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31575 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31576 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31578 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31580 ($(objpfx)libpcprofile.so): Likewise.
31581 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31583 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31584 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31585 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31587 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31588 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31589 * login/Makefile ($(objpfx)libutil.so): Likewise.
31590 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31591 * math/Makefile ($(objpfx)libm.so): Likewise.
31592 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31593 $(objpfx)libnsl.so): Define libc-for-link as target-specific
31594 variable instead of depending directly on libc.
31595 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31596 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31598 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31600 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31601 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31602 ($(objpfx)libanl.so): Likewise.
31603 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31605 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31607 * sysdeps/i386/fpu/Makefile: Remove file.
31608 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31609 ($(objpfx)libm.so): Remove dependency on ld.so.
31611 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
31614 * nis/yp_xdr.c (XDRMAXNAME): Define.
31615 (XDRMAXRECORD): Define.
31616 (xdr_domainname): Use XDRMAXNAME.
31617 (xdr_mapname): Likewise.
31618 (xdr_peername): Likewise.
31619 (xdr_keydat): Use XDRMAXRECORD.
31620 (xdr_valdat): Likewise.
31622 2013-05-30 Jeff Law <law@redhat.com>
31625 * manual/errno.texi (ESTALE): Update to account for more than
31626 just NFS file systems.
31627 * sysdeps/gnu/errlist.c: Regenerated.
31629 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31632 * elf/Makefile (tests): Add tst-null-argv.
31633 (modules-names): Add tst-null-argv-lib.
31634 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31635 (tst-null-argv-ENV): Set environment for tst-null-argv.
31636 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31637 (RTLD_PROGNAME): New macro.
31638 * elf/tst-null-argv.c: New test case.
31639 * elf/tst-null-argv-lib.c: Library for test case.
31640 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31641 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31642 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31643 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31644 * elf/dl-init.c (call_init): Likewise.
31645 (_dl_init): Likewise.
31646 * elf/dl-load.c (print_search_path): Likewise.
31647 (_dl_map_object): Likewise.
31648 * elf/dl-lookup.c (do_lookup_x): Likewise.
31649 (add_dependency): Likewise.
31650 (_dl_lookup_symbol_x): Likewise.
31651 (_dl_debug_bindings): Likewise.
31652 * elf/dl-open.c (_dl_show_scope): Likewise.
31653 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31654 * elf/dl-version.c (match_symbol): Likewise.
31655 (_dl_check_map_versions): Likewise.
31656 * elf/rtld.c (dl_main): Likewise.
31657 (print_unresolved): Use RTLD_PROGNAME.
31658 (print_missing_version): Likewise.
31659 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31660 (elf_machine_rela): Likewise.
31661 * sysdeps/powerpc/powerpc32/dl-machine.c
31662 (__process_machine_rela): Likewise.
31663 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31665 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31667 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31669 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31670 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31672 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31674 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31676 2013-05-28 Carlos O'Donell <carlos@redhat.com>
31678 * po/be.po: Add descriptive title.
31679 * po/zh_CN.po: Likewise.
31680 * po/header.pot: Likewise.
31682 2013-05-28 Mike Frysinger <vapier@gentoo.org>
31684 * locale/programs/locarchive.c (create_archive): Inlucde fname in
31686 (enlarge_archive): Likewise.
31688 2013-05-28 Ben North <ben@redfrontdoor.org>
31690 * manual/arith.texi (frexp): It is the magnitude of the return
31691 value which lies in [0.5, 1), not the return value itself.
31693 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31697 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
31699 * stdio-common/bug26.c (main): Correct fscanf template.
31701 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31702 declare _dl_skip_args.
31704 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31707 * manual/platform.texi: Add missing @end deftypefun.
31709 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31712 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31713 bit of mantissa of 2^16382.
31714 * math/libm-test.inc (hypot_test_data): Add more tests.
31716 * math/libm-test.inc: Add drem and pow10 to list of tested
31718 (pow10_test): New function.
31719 (drem_test): Likewise.
31720 (drem_test_tonearest): Likewise.
31721 (drem_test_towardzero): Likewise.
31722 (drem_test_downward): Likewise.
31723 (drem_test_upward): Likewise.
31724 (main): Call the new functions.
31726 * math/libm-test.inc (finite_test_data): Remove.
31727 (finite_test): Run tests from isfinite_test_data.
31728 (gamma_test_data): Remove.
31729 (gamma_test): Run tests from lgamma_test_data.
31730 * sysdeps/i386/fpu/libm-test-ulps: Update.
31731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31733 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31735 * manual/platform.texi: Add PowerPC PPR function set documentation.
31736 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31739 2013-05-24 Carlos O'Donell <carlos@redhat.com>
31741 * math/libm-test.inc (MAX_EXP): Define.
31743 (ulp): New function.
31744 (check_float_internal): Use ULPDIFF.
31745 (cpow_test): Disable failing test.
31746 (check_ulp): Test ulp() implemetnation.
31747 (main): Call check_ulp before starting tests.
31749 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31751 * math/gen-libm-test.pl (generate_testfile): Do not handle
31752 START_DATA and END_DATA.
31753 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31755 (acos_tonearest_test_data): Likewise.
31756 (acos_towardzero_test_data): Likewise.
31757 (acos_downward_test_data): Likewise.
31758 (acos_upward_test_data): Likewise.
31759 (acosh_test_data): Likewise.
31760 (asin_test_data): Likewise.
31761 (asin_tonearest_test_data): Likewise.
31762 (asin_towardzero_test_data): Likewise.
31763 (asin_downward_test_data): Likewise.
31764 (asin_upward_test_data): Likewise.
31765 (asinh_test_data): Likewise.
31766 (atan_test_data): Likewise.
31767 (atanh_test_data): Likewise.
31768 (atan2_test_data): Likewise.
31769 (cabs_test_data): Likewise.
31770 (cacos_test_data): Likewise.
31771 (cacosh_test_data): Likewise.
31772 (carg_test_data): Likewise.
31773 (casin_test_data): Likewise.
31774 (casinh_test_data): Likewise.
31775 (catan_test_data): Likewise.
31776 (catanh_test_data): Likewise.
31777 (cbrt_test_data): Likewise.
31778 (ccos_test_data): Likewise.
31779 (ccosh_test_data): Likewise.
31780 (ceil_test_data): Likewise.
31781 (cexp_test_data): Likewise.
31782 (cimag_test_data): Likewise.
31783 (clog_test_data): Likewise.
31784 (clog10_test_data): Likewise.
31785 (conj_test_data): Likewise.
31786 (copysign_test_data): Likewise.
31787 (cos_test_data): Likewise.
31788 (cos_tonearest_test_data): Likewise.
31789 (cos_towardzero_test_data): Likewise.
31790 (cos_downward_test_data): Likewise.
31791 (cos_upward_test_data): Likewise.
31792 (cosh_test_data): Likewise.
31793 (cosh_tonearest_test_data): Likewise.
31794 (cosh_towardzero_test_data): Likewise.
31795 (cosh_downward_test_data): Likewise.
31796 (cosh_upward_test_data): Likewise.
31797 (cpow_test_data): Likewise.
31798 (cproj_test_data): Likewise.
31799 (creal_test_data): Likewise.
31800 (csin_test_data): Likewise.
31801 (csinh_test_data): Likewise.
31802 (csqrt_test_data): Likewise.
31803 (ctan_test_data): Likewise.
31804 (ctan_tonearest_test_data): Likewise.
31805 (ctan_towardzero_test_data): Likewise.
31806 (ctan_downward_test_data): Likewise.
31807 (ctan_upward_test_data): Likewise.
31808 (ctanh_test_data): Likewise.
31809 (ctanh_tonearest_test_data): Likewise.
31810 (ctanh_towardzero_test_data): Likewise.
31811 (ctanh_downward_test_data): Likewise.
31812 (ctanh_upward_test_data): Likewise.
31813 (erf_test_data): Likewise.
31814 (erfc_test_data): Likewise.
31815 (exp_test_data): Likewise.
31816 (exp_tonearest_test_data): Likewise.
31817 (exp_towardzero_test_data): Likewise.
31818 (exp_downward_test_data): Likewise.
31819 (exp_upward_test_data): Likewise.
31820 (exp10_test_data): Likewise.
31821 (exp2_test_data): Likewise.
31822 (expm1_test_data): Likewise.
31823 (fabs_test_data): Likewise.
31824 (fdim_test_data): Likewise.
31825 (finite_test_data): Likewise.
31826 (floor_test_data): Likewise.
31827 (fma_test_data): Likewise.
31828 (fma_towardzero_test_data): Likewise.
31829 (fma_downward_test_data): Likewise.
31830 (fma_upward_test_data): Likewise.
31831 (fmax_test_data): Likewise.
31832 (fmin_test_data): Likewise.
31833 (fmod_test_data): Likewise.
31834 (fpclassify_test_data): Likewise.
31835 (frexp_test_data): Likewise.
31836 (gamma_test_data): Likewise.
31837 (hypot_test_data): Likewise.
31838 (ilogb_test_data): Likewise.
31839 (isfinite_test_data): Likewise.
31840 (isgreater_test_data): Likewise.
31841 (isgreaterequal_test_data): Likewise.
31842 (isinf_test_data): Likewise.
31843 (isless_test_data): Likewise.
31844 (islessequal_test_data): Likewise.
31845 (islessgreater_test_data): Likewise.
31846 (isnan_test_data): Likewise.
31847 (isnormal_test_data): Likewise.
31848 (issignaling_test_data): Likewise.
31849 (isunordered_test_data): Likewise.
31850 (j0_test_data): Likewise.
31851 (j1_test_data): Likewise.
31852 (jn_test_data): Likewise.
31853 (ldexp_test_data): Likewise.
31854 (lgamma_test_data): Likewise.
31855 (lrint_test_data): Likewise.
31856 (lrint_tonearest_test_data): Likewise.
31857 (lrint_towardzero_test_data): Likewise.
31858 (lrint_downward_test_data): Likewise.
31859 (lrint_upward_test_data): Likewise.
31860 (llrint_test_data): Likewise.
31861 (llrint_tonearest_test_data): Likewise.
31862 (llrint_towardzero_test_data): Likewise.
31863 (llrint_downward_test_data): Likewise.
31864 (llrint_upward_test_data): Likewise.
31865 (log_test_data): Likewise.
31866 (log10_test_data): Likewise.
31867 (log1p_test_data): Likewise.
31868 (log2_test_data): Likewise.
31869 (logb_test_data): Likewise.
31870 (logb_downward_test_data): Likewise.
31871 (lround_test_data): Likewise.
31872 (llround_test_data): Likewise.
31873 (modf_test_data): Likewise.
31874 (nearbyint_test_data): Likewise.
31875 (nextafter_test_data): Likewise.
31876 (nexttoward_test_data): Likewise.
31877 (pow_test_data): Likewise.
31878 (pow_tonearest_test_data): Likewise.
31879 (pow_towardzero_test_data): Likewise.
31880 (pow_downward_test_data): Likewise.
31881 (pow_upward_test_data): Likewise.
31882 (remainder_test_data): Likewise.
31883 (remainder_tonearest_test_data): Likewise.
31884 (remainder_towardzero_test_data): Likewise.
31885 (remainder_downward_test_data): Likewise.
31886 (remainder_upward_test_data): Likewise.
31887 (remquo_test_data): Likewise.
31888 (rint_test_data): Likewise.
31889 (rint_tonearest_test_data): Likewise.
31890 (rint_towardzero_test_data): Likewise.
31891 (rint_downward_test_data): Likewise.
31892 (rint_upward_test_data): Likewise.
31893 (round_test_data): Likewise.
31894 (scalb_test_data): Likewise.
31895 (scalbn_test_data): Likewise.
31896 (scalbln_test_data): Likewise.
31897 (signbit_test_data): Likewise.
31898 (sin_test_data): Likewise.
31899 (sin_tonearest_test_data): Likewise.
31900 (sin_towardzero_test_data): Likewise.
31901 (sin_downward_test_data): Likewise.
31902 (sin_upward_test_data): Likewise.
31903 (sincos_test_data): Likewise.
31904 (sinh_test_data): Likewise.
31905 (sinh_tonearest_test_data): Likewise.
31906 (sinh_towardzero_test_data): Likewise.
31907 (sinh_downward_test_data): Likewise.
31908 (sinh_upward_test_data): Likewise.
31909 (sqrt_test_data): Likewise.
31910 (tan_test_data): Likewise.
31911 (tan_tonearest_test_data): Likewise.
31912 (tan_towardzero_test_data): Likewise.
31913 (tan_downward_test_data): Likewise.
31914 (tan_upward_test_data): Likewise.
31915 (tanh_test_data): Likewise.
31916 (tgamma_test_data): Likewise.
31917 (trunc_test_data): Likewise.
31918 (y0_test_data): Likewise.
31919 (y1_test_data): Likewise.
31920 (yn_test_data): Likewise.
31921 (significand_test_data): Likewise.
31923 * math/gen-libm-test.pl (@functions): Remove variable.
31924 (generate_testfile): Don't handle START and END lines.
31925 * math/libm-test.inc (START): New macro.
31927 (END_COMPLEX): Likewise.
31928 (acos_test): Use END macro without arguments.
31929 (acos_test_tonearest): Likewise.
31930 (acos_test_towardzero): Likewise.
31931 (acos_test_downward): Likewise.
31932 (acos_test_upward): Likewise.
31933 (acosh_test): Likewise.
31934 (asin_test): Likewise.
31935 (asin_test_tonearest): Likewise.
31936 (asin_test_towardzero): Likewise.
31937 (asin_test_downward): Likewise.
31938 (asin_test_upward): Likewise.
31939 (asinh_test): Likewise.
31940 (atan_test): Likewise.
31941 (atanh_test): Likewise.
31942 (atan2_test): Likewise.
31943 (cabs_test): Likewise.
31944 (cacos_test): Use END_COMPLEX macro without arguments.
31945 (cacosh_test): Likewise.
31946 (carg_test): Use END macro without arguments.
31947 (casin_test): Use END_COMPLEX macro without arguments.
31948 (casinh_test): Likewise.
31949 (catan_test): Likewise.
31950 (catanh_test): Likewise.
31951 (cbrt_test): Use END macro without arguments.
31952 (ccos_test): Use END_COMPLEX macro without arguments.
31953 (ccosh_test): Likewise.
31954 (ceil_test): Use END macro without arguments.
31955 (cexp_test): Use END_COMPLEX macro without arguments.
31956 (cimag_test): Use END macro without arguments.
31957 (clog_test): Use END_COMPLEX macro without arguments.
31958 (clog10_test): Likewise.
31959 (conj_test): Likewise.
31960 (copysign_test): Use END macro without arguments.
31961 (cos_test): Likewise.
31962 (cos_test_tonearest): Likewise.
31963 (cos_test_towardzero): Likewise.
31964 (cos_test_downward): Likewise.
31965 (cos_test_upward): Likewise.
31966 (cosh_test): Likewise.
31967 (cosh_test_tonearest): Likewise.
31968 (cosh_test_towardzero): Likewise.
31969 (cosh_test_downward): Likewise.
31970 (cosh_test_upward): Likewise.
31971 (cpow_test): Use END_COMPLEX macro without arguments.
31972 (cproj_test): Likewise.
31973 (creal_test): Use END macro without arguments.
31974 (csin_test): Use END_COMPLEX macro without arguments.
31975 (csinh_test): Likewise.
31976 (csqrt_test): Likewise.
31977 (ctan_test): Likewise.
31978 (ctan_test_tonearest): Likewise.
31979 (ctan_test_towardzero): Likewise.
31980 (ctan_test_downward): Likewise.
31981 (ctan_test_upward): Likewise.
31982 (ctanh_test): Likewise.
31983 (ctanh_test_tonearest): Likewise.
31984 (ctanh_test_towardzero): Likewise.
31985 (ctanh_test_downward): Likewise.
31986 (ctanh_test_upward): Likewise.
31987 (erf_test): Use END macro without arguments.
31988 (erfc_test): Likewise.
31989 (exp_test): Likewise.
31990 (exp_test_tonearest): Likewise.
31991 (exp_test_towardzero): Likewise.
31992 (exp_test_downward): Likewise.
31993 (exp_test_upward): Likewise.
31994 (exp10_test): Likewise.
31995 (exp2_test): Likewise.
31996 (expm1_test): Likewise.
31997 (fabs_test): Likewise.
31998 (fdim_test): Likewise.
31999 (finite_test): Likewise.
32000 (floor_test): Likewise.
32001 (fma_test): Likewise.
32002 (fma_test_towardzero): Likewise.
32003 (fma_test_downward): Likewise.
32004 (fma_test_upward): Likewise.
32005 (fmax_test): Likewise.
32006 (fmin_test): Likewise.
32007 (fmod_test): Likewise.
32008 (fpclassify_test): Likewise.
32009 (frexp_test): Likewise.
32010 (gamma_test): Likewise.
32011 (hypot_test): Likewise.
32012 (ilogb_test): Likewise.
32013 (isfinite_test): Likewise.
32014 (isgreater_test): Likewise.
32015 (isgreaterequal_test): Likewise.
32016 (isinf_test): Likewise.
32017 (isless_test): Likewise.
32018 (islessequal_test): Likewise.
32019 (islessgreater_test): Likewise.
32020 (isnan_test): Likewise.
32021 (isnormal_test): Likewise.
32022 (issignaling_test): Likewise.
32023 (isunordered_test): Likewise.
32024 (j0_test): Likewise.
32025 (j1_test): Likewise.
32026 (jn_test): Likewise.
32027 (ldexp_test): Likewise.
32028 (lgamma_test): Likewise.
32029 (lrint_test): Likewise.
32030 (lrint_test_tonearest): Likewise.
32031 (lrint_test_towardzero): Likewise.
32032 (lrint_test_downward): Likewise.
32033 (lrint_test_upward): Likewise.
32034 (llrint_test): Likewise.
32035 (llrint_test_tonearest): Likewise.
32036 (llrint_test_towardzero): Likewise.
32037 (llrint_test_downward): Likewise.
32038 (llrint_test_upward): Likewise.
32039 (log_test): Likewise.
32040 (log10_test): Likewise.
32041 (log1p_test): Likewise.
32042 (log2_test): Likewise.
32043 (logb_test): Likewise.
32044 (logb_test_downward): Likewise.
32045 (lround_test): Likewise.
32046 (llround_test): Likewise.
32047 (modf_test): Likewise.
32048 (nearbyint_test): Likewise.
32049 (nextafter_test): Likewise.
32050 (nexttoward_test): Likewise.
32051 (pow_test): Likewise.
32052 (pow_test_tonearest): Likewise.
32053 (pow_test_towardzero): Likewise.
32054 (pow_test_downward): Likewise.
32055 (pow_test_upward): Likewise.
32056 (remainder_test): Likewise.
32057 (remainder_test_tonearest): Likewise.
32058 (remainder_test_towardzero): Likewise.
32059 (remainder_test_downward): Likewise.
32060 (remainder_test_upward): Likewise.
32061 (remquo_test): Likewise.
32062 (rint_test): Likewise.
32063 (rint_test_tonearest): Likewise.
32064 (rint_test_towardzero): Likewise.
32065 (rint_test_downward): Likewise.
32066 (rint_test_upward): Likewise.
32067 (round_test): Likewise.
32068 (scalb_test): Likewise.
32069 (scalbn_test): Likewise.
32070 (scalbln_test): Likewise.
32071 (signbit_test): Likewise.
32072 (sin_test): Likewise.
32073 (sin_test_tonearest): Likewise.
32074 (sin_test_towardzero): Likewise.
32075 (sin_test_downward): Likewise.
32076 (sin_test_upward): Likewise.
32077 (sincos_test): Likewise.
32078 (sinh_test): Likewise.
32079 (sinh_test_tonearest): Likewise.
32080 (sinh_test_towardzero): Likewise.
32081 (sinh_test_downward): Likewise.
32082 (sinh_test_upward): Likewise.
32083 (sqrt_test): Likewise.
32084 (tan_test): Likewise.
32085 (tan_test_tonearest): Likewise.
32086 (tan_test_towardzero): Likewise.
32087 (tan_test_downward): Likewise.
32088 (tan_test_upward): Likewise.
32089 (tanh_test): Likewise.
32090 (tgamma_test): Likewise.
32091 (trunc_test): Likewise.
32092 (y0_test): Likewise.
32093 (y1_test): Likewise.
32094 (yn_test): Likewise.
32095 (significand_test): Likewise.
32097 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
32100 * libio/genops.c (_IO_no_init): Initialize wide struct info.
32102 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
32105 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32106 __ppc_mdoio and __ppc_mdoom.
32107 * manual/platform.texi: Document new functions __ppc_yield,
32108 __ppc_mdoio and __ppc_mdoom.
32110 2013-05-22 Carlos O'Donell <carlos@redhat.com>
32112 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32113 (main): Mention "tls" pseudo-hwcap is legacy.
32114 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32116 2013-05-22 Joseph Myers <joseph@codesourcery.com>
32118 * math/gen-libm-test.pl (parse_args): Output only string of
32119 arguments as text for test name, not full call or descriptions of
32120 tests for extra outputs.
32121 (generate_testfile): Do not pass function name to parse_args.
32122 Generate this_func variable from START.
32123 * math/libm-test.inc (struct test_f_f_data): Rename test_name
32125 (struct test_ff_f_data): Likewise.
32126 (test_ff_f_data_nexttoward): Likewise.
32127 (struct test_fi_f_data): Likewise.
32128 (struct test_fl_f_data): Likewise.
32129 (struct test_if_f_data): Likewise.
32130 (struct test_fff_f_data): Likewise.
32131 (struct test_c_f_data): Likewise.
32132 (struct test_f_f1_data): Likewise. Remove field extra_name.
32133 (struct test_fF_f1_data): Likewise.
32134 (struct test_ffI_f1_data): Likewise.
32135 (struct test_c_c_data): Rename test_name field to arg_str.
32136 (struct test_cc_c_data): Likewise.
32137 (struct test_f_i_data): Likewise.
32138 (struct test_ff_i_data): Likewise.
32139 (struct test_f_l_data): Likewise.
32140 (struct test_f_L_data): Likewise.
32141 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
32143 (COMMON_TEST_SETUP): New macro.
32144 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32145 (COMMON_TEST_CLEANUP): Likewise.
32146 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32147 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
32149 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32150 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
32152 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32153 (RUN_TEST_fff_f): Take argument string. Call new setup and
32155 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32156 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
32158 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32159 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
32161 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32162 (RUN_TEST_fF_f1): Take argument string. Call new setup and
32164 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32165 (RUN_TEST_fI_f1): Take argument string. Call new setup and
32167 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32168 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
32170 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32171 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
32173 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32174 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
32176 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32177 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
32179 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32180 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
32182 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32183 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
32185 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32186 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
32188 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32189 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
32191 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32192 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
32194 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32195 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
32197 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32198 (RUN_TEST_fFF_11): Take argument string. Call new setup and
32200 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32202 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
32204 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32205 to _sifields.sigfault.
32206 (si_addr_lsb): Define new macro.
32207 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32208 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32209 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32211 2013-05-03 Carlos O'Donell <carlos at redhat.com>
32214 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32216 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32218 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32219 loading the domain.
32221 2013-05-22 Joseph Myers <joseph@codesourcery.com>
32223 * math/gen-libm-test.pl (parse_args): Do not include expected
32224 result in test name.
32225 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32226 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32227 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32228 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32229 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32232 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32234 * benchtests/Makefile: Sort function entries.
32236 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32237 tanh, asinh, acosh, atanh.
32238 * benchtests/acos-inputs: New file.
32239 * benchtests/acosh-inputs: New file.
32240 * benchtests/asin-inputs: New file.
32241 * benchtests/asinh-inputs: New file.
32242 * benchtests/atanh-inputs: New file.
32243 * benchtests/cosh-inputs: New file.
32244 * benchtests/log-inputs: New file.
32245 * benchtests/sinh-inputs: New file.
32246 * benchtests/tanh-inputs: New file.
32248 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
32251 * posix/tst-getaddrinfo4.c: New test.
32252 * posix/Makefile (tests): Add it.
32254 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32257 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32258 when no services were used.
32259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32260 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32262 2013-05-21 Andreas Schwab <schwab@suse.de>
32265 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32266 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32268 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32269 redundant variable declarations and reallocation of buffer when
32270 parsing as IPv6 address. Always set NSS status when called from
32271 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
32272 buffer too small. Correct computation of needed size.
32273 * nss/Makefile (tests): Add test-digits-dots.
32274 * nss/test-digits-dots.c: New test.
32276 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32278 * benchtests/Makefile: Remove instructions for adding
32280 * benchtests/README: New file to explain how to execute and
32281 enhance the benchmark tests.
32283 2013-05-21 Andreas Schwab <schwab@suse.de>
32286 * setjmp/Makefile (tests): Add tst-sigsetjmp.
32287 * setjmp/tst-sigsetjmp.c: New test.
32289 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
32291 * sysdeps/x86_64/memset.S (memset): New implementation.
32292 (__bzero): Likewise.
32293 (__memset_tail): New function.
32295 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
32297 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32298 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32299 __memcpy_sse2_unaligned ifunc selection.
32300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32301 Add memcpy-sse2-unaligned.S.
32302 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32303 Add: __memcpy_sse2_unaligned.
32305 2013-05-19 Joseph Myers <joseph@codesourcery.com>
32308 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32309 math_force_eval before restoring floating-point envrionment.
32310 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32311 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32313 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32315 (__nearbyintl): Use math_force_eval before restoring
32316 floating-point environment.
32317 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32319 * math/gen-libm-test.pl (special_functions): Remove.
32320 (parse_args): Don't handle TEST_extra. Handle functions with no
32322 * math/libm-test.inc (struct test_sincos_data): Replace with
32323 struct test_fFF_11_data.
32324 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32325 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32326 (sincos_test_data): Change element type to struct
32327 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
32328 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32329 RUN_TEST_LOOP_sincos.
32330 * math/README.libm-test: Don't mention special handling of
32331 individual functions.
32332 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32333 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32334 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32335 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32336 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32339 * math/gen-libm-test.pl (get_variable): Remove function.
32340 (parse_args): Don't show pointer parameters to call in test
32341 names. Use "extra output N" in test names for extra outputs
32342 rather than naming variables.
32344 2013-05-18 Joseph Myers <joseph@codesourcery.com>
32347 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32348 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32349 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32351 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32353 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32356 * math/gen-libm-test.pl (@tests): Remove variable.
32357 ($count): Likewise.
32358 (new_test): Remove function.
32359 (show_exceptions): New function.
32360 (special_functions): Use show_exceptions instead of new_test.
32361 (parse_args): Likewise.
32362 (generate_testfile): Pass only function name in generated call to
32363 print_max_error or print_complex_max_error.
32364 (get_ulps): Do not handle complex tests specially.
32365 (output_test): Rename to ...
32366 (get_all_ulps_for_test): ... this. Return a string rather than
32367 printing to a file. Require ulps to be present.
32368 (output_ulps): Generate arrays rather than #defines.
32369 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32370 (struct ulp_data): New type.
32371 (BUILD_COMPLEX_ULP): Remove macro.
32372 (compare_ulp_data): New function.
32373 (find_ulps): Likewise.
32374 (find_test_ulps): Likewise.
32375 (find_function_ulps): Likewise.
32376 (find_complex_function_ulps): Likewise.
32377 (print_max_error): Determine allowed ulps using
32378 find_function_ulps.
32379 (print_complex_max_error): Determine allowed ulps using
32380 find_complex_function_ulps.
32381 (check_float_internal): Determine max ulps using find_test_ulps.
32382 (check_float): Do not take max_ulp parameter. Update call to
32383 check_float_internal.
32384 (check_complex): Likewise.
32385 (check_int): Do not take max_ulp parameter.
32386 (check_long): Likewise.
32387 (check_bool): Likewise.
32388 (check_longlong): Likewise.
32389 (struct test_f_f_data): Remove max_ulp field.
32390 (struct test_ff_f_data): Likewise.
32391 (struct test_ff_f_data_nexttoward): Likewise.
32392 (struct test_fi_f_data): Likewise.
32393 (struct test_fl_f_data): Likewise.
32394 (struct test_if_f_data): Likewise.
32395 (struct test_fff_f_data): Likewise.
32396 (struct test_c_f_data): Likewise.
32397 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32398 (struct test_fF_f1_data): Likewise.
32399 (struct test_ffI_f1_data): Likewise.
32400 (struct test_c_c_data): Remove max_ulp field.
32401 (struct test_cc_c_data): Likewise.
32402 (struct test_f_i_data): Likewise.
32403 (struct test_ff_i_data): Likewise.
32404 (struct test_f_l_data): Likewise.
32405 (struct test_f_L_data): Likewise.
32406 (struct test_sincos_data): Likewise.
32407 (RUN_TEST_f_f): Do not handle ulps.
32408 (RUN_TEST_LOOP_f_f): Likewise.
32409 (RUN_TEST_2_f): Likewise.
32410 (RUN_TEST_LOOP_2_f): Likewise.
32411 (RUN_TEST_fff_f): Likewise.
32412 (RUN_TEST_LOOP_fff_f): Likewise.
32413 (RUN_TEST_c_f): Likewise.
32414 (RUN_TEST_LOOP_c_f): Likewise.
32415 (RUN_TEST_f_f1): Likewise.
32416 (RUN_TEST_LOOP_f_f1): Likewise.
32417 (RUN_TEST_fF_f1): Likewise.
32418 (RUN_TEST_LOOP_fF_f1): Likewise.
32419 (RUN_TEST_fI_f1): Likewise.
32420 (RUN_TEST_LOOP_fI_f1): Likewise.
32421 (RUN_TEST_ffI_f1): Likewise.
32422 (RUN_TEST_LOOP_ffI_f1): Likewise.
32423 (RUN_TEST_c_c): Likewise.
32424 (RUN_TEST_LOOP_c_c): Likewise.
32425 (RUN_TEST_cc_c): Likewise.
32426 (RUN_TEST_LOOP_cc_c): Likewise.
32427 (RUN_TEST_f_i): Likewise.
32428 (RUN_TEST_LOOP_f_i): Likewise.
32429 (RUN_TEST_f_i_tg): Likewise.
32430 (RUN_TEST_LOOP_f_i_tg): Likewise.
32431 (RUN_TEST_ff_i_tg): Likewise.
32432 (RUN_TEST_LOOP_ff_i_tg): Likewise.
32433 (RUN_TEST_f_b): Likewise.
32434 (RUN_TEST_LOOP_f_b): Likewise.
32435 (RUN_TEST_f_b_tg): Likewise.
32436 (RUN_TEST_LOOP_f_b_tg): Likewise.
32437 (RUN_TEST_f_l): Likewise.
32438 (RUN_TEST_LOOP_f_l): Likewise.
32439 (RUN_TEST_f_L): Likewise.
32440 (RUN_TEST_LOOP_f_L): Likewise.
32441 (RUN_TEST_sincos): Likewise.
32442 (RUN_TEST_LOOP_sincos): Likewise.
32444 2013-05-17 Joseph Myers <joseph@codesourcery.com>
32448 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32449 main case of finite arguments, set rounding mode to FE_TONEAREST
32450 and discard exceptions.
32451 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32453 (remainder_tonearest_test_data): New variable.
32454 (remainder_test_tonearest): New function.
32455 (remainder_towardzero_test_data): New variable.
32456 (remainder_test_towardzero): New function.
32457 (remainder_downward_test_data): New variable.
32458 (remainder_test_downward): New function.
32459 (remainder_upward_test_data): New variable.
32460 (remainder_test_upward): New function.
32461 (main): Call the new test functions.
32463 * math/libm-test.inc (struct test_f_f1_data): Remove field
32465 (struct test_fF_f1_data): Likewise.
32466 (struct test_ffI_f1_data): Likewise.
32467 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
32468 based on value of EXTRA_EXPECTED.
32469 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32470 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
32471 EXTRA_VAR based on value of EXTRA_EXPECTED.
32472 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32473 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
32474 EXTRA_VAR based on value of EXTRA_EXPECTED.
32475 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32476 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
32477 EXTRA_VAR based on value of EXTRA_EXPECTED.
32478 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32479 * math/gen-libm-test.pl (parse_args): Don't output initializers
32480 for extra output values.
32482 * math/libm-test.inc (check_int): Expect result to be exactly
32483 equal to expected value and do not handle ulps.
32484 (check_long): Likewise.
32485 (check_longlong): Likewise.
32487 * math/libm-test.inc (ceil_test_data): Test for "inexact"
32489 (cimag_test_data): Likewise.
32490 (conj_test_data): Likewise.
32491 (copysign_test_data): Likewise.
32492 (cproj_test_data): Likewise.
32493 (creal_test_data): Likewise.
32494 (fabs_test_data): Likewise.
32495 (fdim_test_data): Likewise.
32496 (finite_test_data): Likewise.
32497 (floor_test_data): Likewise.
32498 (fmax_test_data): Likewise.
32499 (fmin_test_data): Likewise.
32500 (fmod_test_data): Likewise.
32501 (fpclassify_test_data): Likewise.
32502 (frexp_test_data): Likewise.
32503 (ilogb_test_data): Likewise.
32504 (isfinite_test_data): Likewise.
32505 (isgreater_test_data): Likewise.
32506 (isgreaterequal_test_data): Likewise.
32507 (isinf_test_data): Likewise.
32508 (isless_test_data): Likewise.
32509 (islessequal_test_data): Likewise.
32510 (islessgreater_test_data): Likewise.
32511 (isnan_test_data): Likewise.
32512 (isnormal_test_data): Likewise.
32513 (issignaling_test_data): Likewise.
32514 (isunordered_test_data): Likewise.
32515 (ldexp_test_data): Likewise.
32516 (lrint_test_data): Likewise.
32517 (lrint_test_data) [TEST_FLOAT]: Disable one test.
32518 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32519 (lrint_tonearest_test_data): Test for "inexact" exceptions.
32520 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32521 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32522 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32524 (lrint_towardzero_test_data): Test for "inexact" exceptions.
32525 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32526 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32527 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32529 (lrint_downward_test_data): Test for "inexact" exceptions.
32530 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32531 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32532 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32534 (lrint_upward_test_data): Test for "inexact" exceptions.
32535 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32537 (llrint_test_data): Test for "inexact" exceptions.
32538 (llrint_test_data) [TEST_FLOAT]: Disable one test.
32539 (llrint_tonearest_test_data): Test for "inexact" exceptions.
32540 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32541 (llrint_towardzero_test_data): Test for "inexact" exceptions.
32542 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32543 (llrint_downward_test_data): Test for "inexact" exceptions.
32544 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32545 (llrint_upward_test_data): Test for "inexact" exceptions.
32546 (logb_test_data): Likewise.
32547 (logb_downward_test_data): Likewise.
32548 (nextafter_test_data): Likewise.
32549 (nexttoward_test_data): Likewise.
32550 (remainder_test_data): Likewise.
32551 (remquo_test_data): Likewise.
32552 (scalbn_test_data): Likewise.
32553 (scalbln_test_data): Likewise.
32554 (signbit_test_data): Likewise.
32555 (sqrt_test_data): Likewise.
32556 (significand_test_data): Likewise.
32558 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32561 * benchtests/bench-modf.c (struct args): Mark arg0 as
32563 * scripts/bench.pl: Mark members of struct args as volatile.
32565 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32568 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32569 negative infinity on POWER6 or lower.
32570 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32572 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
32575 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32576 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32577 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32578 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32579 (_FP_SETQNAN): New macro.
32580 (_FP_SETQNAN_SEMIRAW): Likewise.
32581 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32582 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32583 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32584 (FP_EXTEND): Use _FP_FRAC_SNANP.
32585 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32586 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32588 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32590 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32593 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32595 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32596 with DIVIDE_BY_ZERO_EXCEPTION.
32597 (gamma_test_data): Likewise.
32598 (lgamma_test_data): Likewise.
32599 (log_test_data): Likewise.
32600 (log10_test_data): Likewise.
32601 (log2_test_data): Likewise.
32602 (tgamma_test_data): Likewise.
32604 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32605 (acos_test_tonearest): Likewise.
32606 (acos_test_towardzero): Likewise.
32607 (acos_test_downward): Likewise.
32608 (acos_test_upward): Likewise.
32609 (acosh_test): Likewise.
32610 (asin_test): Likewise.
32611 (asin_test_tonearest): Likewise.
32612 (asin_test_towardzero): Likewise.
32613 (asin_test_downward): Likewise.
32614 (asin_test_upward): Likewise.
32615 (asinh_test): Likewise.
32616 (atan_test): Likewise.
32617 (atanh_test): Likewise.
32618 (atan2_test): Likewise.
32619 (cabs_test): Likewise.
32620 (cacos_test): Likewise.
32621 (cacosh_test): Likewise.
32622 (casin_test): Likewise.
32623 (casinh_test): Likewise.
32624 (catan_test): Likewise.
32625 (catanh_test): Likewise.
32626 (cbrt_test): Likewise.
32627 (ccos_test): Likewise.
32628 (ccosh_test): Likewise.
32629 (cexp_test): Likewise.
32630 (clog_test): Likewise.
32631 (clog10_test): Likewise.
32632 (cos_test): Likewise.
32633 (cos_test_tonearest): Likewise.
32634 (cos_test_towardzero): Likewise.
32635 (cos_test_downward): Likewise.
32636 (cos_test_upward): Likewise.
32637 (cosh_test): Likewise.
32638 (cosh_test_tonearest): Likewise.
32639 (cosh_test_towardzero): Likewise.
32640 (cosh_test_downward): Likewise.
32641 (cosh_test_upward): Likewise.
32642 (cpow_test): Likewise.
32643 (csin_test): Likewise.
32644 (csinh_test): Likewise.
32645 (csqrt_test): Likewise.
32646 (ctan_test): Likewise.
32647 (ctan_test_tonearest): Likewise.
32648 (ctan_test_towardzero): Likewise.
32649 (ctan_test_downward): Likewise.
32650 (ctan_test_upward): Likewise.
32651 (ctanh_test): Likewise.
32652 (ctanh_test_tonearest): Likewise.
32653 (ctanh_test_towardzero): Likewise.
32654 (ctanh_test_downward): Likewise.
32655 (ctanh_test_upward): Likewise.
32656 (erf_test): Likewise.
32657 (erfc_test): Likewise.
32658 (exp_test): Likewise.
32659 (exp_test_tonearest): Likewise.
32660 (exp_test_towardzero): Likewise.
32661 (exp_test_downward): Likewise.
32662 (exp_test_upward): Likewise.
32663 (exp10_test): Likewise.
32664 (exp2_test): Likewise.
32665 (expm1_test): Likewise.
32666 (fmod_test): Likewise.
32667 (gamma_test): Likewise.
32668 (hypot_test): Likewise.
32669 (j0_test): Likewise.
32670 (j1_test): Likewise.
32671 (jn_test): Likewise.
32672 (lgamma_test): Likewise.
32673 (log_test): Likewise.
32674 (log10_test): Likewise.
32675 (log1p_test): Likewise.
32676 (log2_test): Likewise.
32677 (logb_test_downward): Likewise.
32678 (pow_test): Likewise.
32679 (pow_test_tonearest): Likewise.
32680 (pow_test_towardzero): Likewise.
32681 (pow_test_downward): Likewise.
32682 (pow_test_upward): Likewise.
32683 (remainder_test): Likewise.
32684 (remquo_test): Likewise.
32685 (sin_test): Likewise.
32686 (sin_test_tonearest): Likewise.
32687 (sin_test_towardzero): Likewise.
32688 (sin_test_downward): Likewise.
32689 (sin_test_upward): Likewise.
32690 (sincos_test): Likewise.
32691 (sinh_test): Likewise.
32692 (sinh_test_tonearest): Likewise.
32693 (sinh_test_towardzero): Likewise.
32694 (sinh_test_downward): Likewise.
32695 (sinh_test_upward): Likewise.
32696 (sqrt_test): Likewise.
32697 (tan_test): Likewise.
32698 (tan_test_tonearest): Likewise.
32699 (tan_test_towardzero): Likewise.
32700 (tan_test_downward): Likewise.
32701 (tan_test_upward): Likewise.
32702 (tanh_test): Likewise.
32703 (tgamma_test): Likewise.
32704 (y0_test): Likewise.
32705 (y1_test): Likewise.
32706 (yn_test): Likewise.
32708 * math/gen-libm-test.pl (adjust_arg): Remove function.
32709 (special_function): Remove argument $in_func. Only handle
32710 generating output for tables of tests, not inside functions.
32711 (parse_args): Likewise.
32712 (generate_testfile): Remove variable $in_func. Update call to
32714 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32715 (MINUS_ZERO_INIT): Rename macro to minus_zero.
32716 (PLUS_INFTY_INIT): Rename macro to plus_infty.
32717 (MINUS_INFTY_INIT): Rename macro to minus_infty.
32718 (QNAN_VALUE_INIT): Rename macro to qnan_value.
32719 (MAX_VALUE_INIT): Rename macro to max_value.
32720 (MIN_VALUE_INIT): Rename macro to min_value.
32721 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32722 (plus_zero): Remove variable.
32723 (minus_zero): Likewise.
32724 (plus_infty): Likewise.
32725 (minus_infty): Likewise.
32726 (qnan_value): Likewise.
32727 (max_value): Likewise.
32728 (min_value): Likewise.
32729 (min_subnorm_value): Likewise.
32731 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32733 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32734 uint64_t or uint32_t usage.
32735 * crypt/sha256-block.c: Likewise.
32736 * crypt/sha256-crypt.c: Likewise.
32737 * crypt/sha256.c: Likewise.
32738 * crypt/sha512-block.c: Likewise.
32739 * crypt/sha512-crypt.c: Likewise.
32740 * crypt/sha512.c: Likewise.
32741 * debug/backtrace-tst.c: Likewise.
32742 * debug/pcprofiledump.c: Likewise.
32743 * elf/cache.c: Likewise.
32744 * elf/dl-cache.c: Likewise.
32745 * elf/dl-misc.c: Likewise.
32746 * elf/dl-profile.c: Likewise.
32747 * elf/dl-support.c: Likewise.
32748 * elf/ldconfig.c: Likewise.
32749 * elf/sprof.c: Likewise.
32750 * iconv/dummy-repertoire.c: Likewise.
32751 * iconv/iconv_charmap.c: Likewise.
32752 * iconv/skeleton.c: Likewise.
32753 * iconvdata/8bit-generic.c: Likewise.
32754 * iconvdata/cp737.h: Likewise.
32755 * iconvdata/cp775.h: Likewise.
32756 * iconvdata/ibm1008.h: Likewise.
32757 * iconvdata/ibm1025.h: Likewise.
32758 * iconvdata/ibm1046.h: Likewise.
32759 * iconvdata/ibm1097.h: Likewise.
32760 * iconvdata/ibm1112.h: Likewise.
32761 * iconvdata/ibm1122.h: Likewise.
32762 * iconvdata/ibm1123.h: Likewise.
32763 * iconvdata/ibm1124.h: Likewise.
32764 * iconvdata/ibm1129.h: Likewise.
32765 * iconvdata/ibm1130.h: Likewise.
32766 * iconvdata/ibm1132.h: Likewise.
32767 * iconvdata/ibm1133.h: Likewise.
32768 * iconvdata/ibm1137.h: Likewise.
32769 * iconvdata/ibm1140.h: Likewise.
32770 * iconvdata/ibm1141.h: Likewise.
32771 * iconvdata/ibm1142.h: Likewise.
32772 * iconvdata/ibm1143.h: Likewise.
32773 * iconvdata/ibm1144.h: Likewise.
32774 * iconvdata/ibm1145.h: Likewise.
32775 * iconvdata/ibm1146.h: Likewise.
32776 * iconvdata/ibm1147.h: Likewise.
32777 * iconvdata/ibm1148.h: Likewise.
32778 * iconvdata/ibm1149.h: Likewise.
32779 * iconvdata/ibm1153.h: Likewise.
32780 * iconvdata/ibm1154.h: Likewise.
32781 * iconvdata/ibm1155.h: Likewise.
32782 * iconvdata/ibm1156.h: Likewise.
32783 * iconvdata/ibm1157.h: Likewise.
32784 * iconvdata/ibm1158.h: Likewise.
32785 * iconvdata/ibm1160.h: Likewise.
32786 * iconvdata/ibm1161.h: Likewise.
32787 * iconvdata/ibm1162.h: Likewise.
32788 * iconvdata/ibm1163.h: Likewise.
32789 * iconvdata/ibm1164.h: Likewise.
32790 * iconvdata/ibm1166.h: Likewise.
32791 * iconvdata/ibm1167.h: Likewise.
32792 * iconvdata/ibm12712.h: Likewise.
32793 * iconvdata/ibm1390.h: Likewise.
32794 * iconvdata/ibm1399.h: Likewise.
32795 * iconvdata/ibm16804.h: Likewise.
32796 * iconvdata/ibm4517.h: Likewise.
32797 * iconvdata/ibm4899.h: Likewise.
32798 * iconvdata/ibm4909.h: Likewise.
32799 * iconvdata/ibm4971.h: Likewise.
32800 * iconvdata/ibm5347.h: Likewise.
32801 * iconvdata/ibm803.h: Likewise.
32802 * iconvdata/ibm856.h: Likewise.
32803 * iconvdata/ibm901.h: Likewise.
32804 * iconvdata/ibm902.h: Likewise.
32805 * iconvdata/ibm9030.h: Likewise.
32806 * iconvdata/ibm9066.h: Likewise.
32807 * iconvdata/ibm921.h: Likewise.
32808 * iconvdata/ibm922.h: Likewise.
32809 * iconvdata/ibm9448.h: Likewise.
32810 * iconvdata/isiri-3342.h: Likewise.
32811 * iconvdata/jis0201.h: Likewise.
32812 * include/link.h: Likewise.
32813 * include/netdb.h: Likewise.
32814 * inet/check_native.c: Likewise.
32815 * inet/check_pf.c: Likewise.
32816 * inet/getipv4sourcefilter.c: Likewise.
32817 * inet/getnameinfo.c: Likewise.
32818 * inet/getsourcefilter.c: Likewise.
32819 * inet/htonl.c: Likewise.
32820 * inet/setipv4sourcefilter.c: Likewise.
32821 * inet/setsourcefilter.c: Likewise.
32822 * inet/test-inet6_opt.c: Likewise.
32823 * inet/tst-network.c: Likewise.
32824 * locale/C-collate.c: Likewise.
32825 * locale/C-ctype.c: Likewise.
32826 * locale/C-time.c: Likewise.
32827 * locale/C-translit.h: Likewise.
32828 * locale/loadarchive.c: Likewise.
32829 * locale/programs/3level.h: Likewise.
32830 * locale/programs/charmap.c: Likewise.
32831 * locale/programs/charmap.h: Likewise.
32832 * locale/programs/ld-address.c: Likewise.
32833 * locale/programs/ld-collate.c: Likewise.
32834 * locale/programs/ld-ctype.c: Likewise.
32835 * locale/programs/ld-identification.c: Likewise.
32836 * locale/programs/ld-measurement.c: Likewise.
32837 * locale/programs/ld-messages.c: Likewise.
32838 * locale/programs/ld-monetary.c: Likewise.
32839 * locale/programs/ld-name.c: Likewise.
32840 * locale/programs/ld-numeric.c: Likewise.
32841 * locale/programs/ld-paper.c: Likewise.
32842 * locale/programs/ld-telephone.c: Likewise.
32843 * locale/programs/ld-time.c: Likewise.
32844 * locale/programs/linereader.c: Likewise.
32845 * locale/programs/locale.c: Likewise.
32846 * locale/programs/locarchive.c: Likewise.
32847 * locale/programs/locfile.h: Likewise.
32848 * locale/programs/repertoire.c: Likewise.
32849 * locale/programs/simple-hash.c: Likewise.
32850 * locale/programs/simple-hash.h: Likewise.
32851 * malloc/memusage.c: Likewise.
32852 * malloc/memusagestat.c: Likewise.
32853 * nis/nis_defaults.c: Likewise.
32854 * nis/nis_hash.c: Likewise.
32855 * nis/nis_print.c: Likewise.
32856 * nis/nis_xdr.c: Likewise.
32857 * nscd/connections.c: Likewise.
32858 * nscd/hstcache.c: Likewise.
32859 * nscd/nscd_gethst_r.c: Likewise.
32860 * nscd/nscd_getserv_r.c: Likewise.
32861 * nscd/nscd_helper.c: Likewise.
32862 * nscd/servicescache.c: Likewise.
32863 * nss/makedb.c: Likewise.
32864 * nss/nss_db/db-XXX.c: Likewise.
32865 * nss/nss_db/db-initgroups.c: Likewise.
32866 * nss/nss_db/db-netgrp.c: Likewise.
32867 * nss/nss_files/files-network.c: Likewise.
32868 * nss/nss_files/files-parse.c: Likewise.
32869 * posix/bug-regex5.c: Likewise.
32870 * posix/fnmatch_loop.c: Likewise.
32871 * posix/regcomp.c: Likewise.
32872 * posix/regexec.c: Likewise.
32873 * posix/tst-rfc3484-2.c: Likewise.
32874 * posix/tst-rfc3484-3.c: Likewise.
32875 * posix/tst-rfc3484.c: Likewise.
32876 * resolv/nss_dns/dns-canon.c: Likewise.
32877 * resolv/nss_dns/dns-network.c: Likewise.
32878 * resolv/res_init.c: Likewise.
32879 * resolv/res_mkquery.c: Likewise.
32880 * resolv/tst-aton.c: Likewise.
32881 * stdlib/cxa_atexit.c: Likewise.
32882 * stdlib/cxa_finalize.c: Likewise.
32883 * stdlib/gen-fpioconst.c: Likewise.
32884 * stdlib/strtol_l.c: Likewise.
32885 * string/tst-endian.c: Likewise.
32886 * sunrpc/auth_des.c: Likewise.
32887 * sunrpc/clnt_udp.c: Likewise.
32888 * sunrpc/rtime.c: Likewise.
32889 * sunrpc/svcauth_des.c: Likewise.
32890 * sunrpc/xdr.c: Likewise.
32891 * sunrpc/xdr_intXX_t.c: Likewise.
32892 * sunrpc/xdr_rec.c: Likewise.
32893 * sysdeps/generic/ldconfig.h: Likewise.
32894 * sysdeps/generic/ldsodefs.h: Likewise.
32895 * sysdeps/generic/memusage.h: Likewise.
32896 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32897 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32898 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32899 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32900 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32901 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32902 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32903 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32904 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32905 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32906 * sysdeps/posix/getaddrinfo.c: Likewise.
32907 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32908 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32909 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32910 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32911 * sysdeps/powerpc/test-gettimebase.c: Likewise.
32912 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32913 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32914 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32915 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32916 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32917 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32918 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32919 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32920 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32921 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32922 * sysdeps/x86_64/dl-tls.h: Likewise.
32923 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32924 * time/alt_digit.c: Likewise.
32925 * time/era.c: Likewise.
32926 * wcsmbs/tst-c16c32-1.c: Likewise.
32928 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32930 * math/libm-test.inc (struct test_sincos_data): New type.
32931 (RUN_TEST_LOOP_sincos): New macro.
32932 (sincos_test_data): New variable.
32933 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32935 2013-05-16 Richard Henderson <rth@redhat.com>
32937 * math/atest-exp2.c (LIMB64): New macro.
32938 (CONSTSZ): New macro.
32939 (mp_exp1, mp_exp_m1, mp_log2): New variables.
32941 (print_mpn_fp): ... to function scope.
32942 (read_mpn_hex): Remove.
32943 (get_log2): Remove.
32944 (exp2_mpn): Use mp_log2.
32945 (main): Use mp_exp1.
32947 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32949 * math/libm-test.inc: Remove comment about not testing "inexact"
32951 (INEXACT_EXCEPTION): New macro.
32952 (NO_INEXACT_EXCEPTION): Likewise.
32953 (INVALID_EXCEPTION_OK): Update value.
32954 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32955 (OVERFLOW_EXCEPTION_OK): Likewise.
32956 (UNDERFLOW_EXCEPTION_OK): Likewise.
32957 (IGNORE_ZERO_INF_SIGN): Likewise.
32958 (ERRNO_UNCHANGED): Likewise.
32959 (ERRNO_EDOM): Likewise.
32960 (ERRNO_ERANGE): Likewise.
32961 (test_exceptions): Handle testing "inexact" exceptions.
32962 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32963 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32964 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32965 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32967 (rint_towardzero_test_data): Likewise.
32968 (rint_downward_test_data): Likewise.
32969 (rint_upward_test_data): Likewise.
32971 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32972 with OVERFLOW_EXCEPTION.
32973 (exp10_test_data): Likewise.
32974 (exp2_test_data): Likewise.
32975 (expm1_test_data): Likewise.
32976 (lgamma_test_data): Likewise.
32977 (pow_test_data): Likewise.
32978 (tgamma_test_data): Likewise.
32979 (yn_test_data): Remove duplicate test of overflow.
32981 * math/libm-test.inc (struct test_cc_c_data): New type.
32982 (RUN_TEST_LOOP_cc_c): New macro.
32983 (cpow_test_data): New variable.
32984 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32986 * math/libm-test.inc (struct test_f_L_data): New type.
32987 (RUN_TEST_LOOP_f_L): New macro.
32988 (llrint_test_data): New variable.
32989 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32990 (llrint_tonearest_test_data): New variable.
32991 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32992 (llrint_towardzero_test_data): New variable.
32993 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32994 (llrint_downward_test_data): New variable.
32995 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32996 (llrint_upward_test_data): New variable.
32997 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32998 (llround_test_data): New variable.
32999 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33001 2013-05-13 Peter Collingbourne <pcc@google.com>
33003 * math/atest-exp2.c (get_log2): Remove const attribute.
33005 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33007 * math/libm-test.inc (struct test_f_l_data): New type.
33008 (RUN_TEST_LOOP_f_l): New macro.
33009 (lrint_test_data): New variable.
33010 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33011 (lrint_tonearest_test_data): New variable.
33012 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33013 (lrint_towardzero_test_data): New variable.
33014 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33015 (lrint_downward_test_data): New variable.
33016 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33017 (lrint_upward_test_data): New variable.
33018 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33019 (lround_test_data): New variable.
33020 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33022 2013-05-15 Peter Collingbourne <pcc@google.com>
33024 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33025 (EXTRACT_WORDS64) Use where appropriate.
33026 (INSERT_WORDS64) Likewise.
33028 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33029 constraints with x constraints.
33030 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33032 * malloc/obstack.c (_obstack_compat): Add initializer.
33034 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
33036 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33037 si_trapno and add si_addr_lsb to _sifields.sigfault.
33038 (si_trapno): Remove macro.
33039 (si_addr_lsb): Define new macro.
33040 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33042 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33044 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33045 instead of TEST_f_l.
33046 (llrint_test_tonearest): Likewise.
33047 (llrint_test_towardzero): Likewise.
33048 (llrint_test_downward): Likewise.
33049 (llrint_test_upward): Likewise.
33050 (llround_test): Likewise.
33052 * math/libm-test.inc (struct test_f_i_data): Add comment.
33053 (RUN_TEST_LOOP_f_b): New macro.
33054 (RUN_TEST_LOOP_f_b_tg): Likewise.
33055 (finite_test_data): New variable.
33056 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33057 (isfinite_test_data): New variable.
33058 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33059 (isinf_test_data): New variable.
33060 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33061 (isnan_test_data): New variable.
33062 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33063 (isnormal_test_data): New variable.
33064 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33065 (issignaling_test_data): New variable.
33066 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33067 (signbit_test_data): New variable.
33068 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33070 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33071 with INVALID_EXCEPTION.
33072 (acosh_test_data): Likewise.
33073 (asin_test_data): Likewise.
33074 (atanh_test_data): Likewise.
33075 (fmod_test_data): Likewise.
33076 (log_test_data): Likewise.
33077 (log10_test_data): Likewise.
33078 (log2_test_data): Likewise.
33079 (pow_test_data): Likewise.
33080 (sqrt_test_data): Likewise.
33081 (y0_test_data): Likewise.
33082 (y1_test_data): Likewise.
33083 (yn_test_data): Likewise.
33085 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33088 * math/libm-test.inc (struct test_ff_i_data): New type.
33089 (RUN_TEST_LOOP_ff_i_tg): New macro.
33090 (isgreater_test_data): New variable.
33091 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33092 (isgreaterequal_test_data): New variable.
33093 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33094 (isless_test_data): New variable.
33095 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33096 (islessequal_test_data): New variable.
33097 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33098 (islessgreater_test_data): New variable.
33099 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33100 (isunordered_test_data): New variable.
33101 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33103 2013-05-14 David S. Miller <davem@davemloft.net>
33105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33107 2013-05-14 Joseph Myers <joseph@codesourcery.com>
33109 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33111 * math/libm-test.inc (struct test_fF_f1_data): Change type of
33113 (struct test_f_i_data): Change type of max_ulp to int.
33115 * math/libm-test.inc (test_ffI_f1_data): New type.
33116 (RUN_TEST_LOOP_ffI_f1): New macro.
33117 (remquo_test_data): New variable.
33118 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33120 * setjmp/tst-setjmp-fp.c: New file.
33121 * setjmp/Makefile (tests): Add tst-setjmp-fp.
33122 (link-libm): New variable.
33123 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33125 * math/libm-test.inc (struct test_f_i_data): New type.
33126 (RUN_TEST_LOOP_f_i): New macro.
33127 (RUN_TEST_LOOP_f_i_tg): Likewise.
33128 (fpclassify_test_data): New variable.
33129 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33130 (ilogb_test_data): New variable.
33131 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33133 * math/libm-test.inc (scalbln_test): Correct function name in END
33136 * math/libm-test.inc (struct test_f_f1_data): Add comment.
33137 (RUN_TEST_LOOP_fI_f1): New macro.
33138 (frexp_test_data): New variable.
33139 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33141 * math/libm-test.inc (struct test_fF_f1_data): New type.
33142 (RUN_TEST_LOOP_fF_f1): New macro.
33143 (modf_test_data): New variable.
33144 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33146 * math/libm-test.inc (struct test_f_f1_data): New type.
33147 (RUN_TEST_LOOP_f_f1): New macro.
33148 (gamma_test_data): New variable.
33149 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33150 (lgamma_test_data): New variable.
33151 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33153 2013-05-13 Carlos O'Donell <carlos@redhat.com>
33155 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33156 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33157 (main): Comment "tls" pseudo-hwcap.
33159 2013-05-13 Joseph Myers <joseph@codesourcery.com>
33161 * math/libm-test.inc (struct test_fl_f_data): New type.
33162 (RUN_TEST_LOOP_fl_f): New variable.
33163 (scalbln_test_data): New variable.
33164 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33166 * math/libm-test.inc (struct test_fi_f_data): New type.
33167 (RUN_TEST_LOOP_fi_f): New macro.
33168 (ldexp_test_data): New variable.
33169 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33170 (scalbn_test_data): New variable.
33171 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33173 * math/libm-test.inc (struct test_c_f_data): New type.
33174 (RUN_TEST_LOOP_c_f): New macro.
33175 (cabs_test_data): New variable.
33176 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33177 (carg_test_data): New variable.
33178 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33179 (cimag_test_data): New variable.
33180 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33181 (creal_test_data): New variable.
33182 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33184 * math/libm-test.inc (struct test_if_f_data): New type.
33185 (RUN_TEST_LOOP_if_f): New macro.
33186 (jn_test_data): New variable.
33187 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33188 (yn_test_data): New variable.
33189 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33191 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33193 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33195 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33196 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33198 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33200 * benchtests/Makefile (CPPFLAGS-nonlib): Add
33201 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33202 (bench-deps): Add bench-timing.h.
33203 * benchtests-bench-skeleton.c: Include bench-timing.h.
33204 (main): Use TIMING_* macros instead of clock_gettime.
33205 * benchtests/bench-timing.h: New file.
33208 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33209 Renamed from _LIB_VERSION.
33210 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33212 2013-05-12 Joseph Myers <joseph@codesourcery.com>
33214 * math/libm-test.inc (struct test_fff_f_data): New type.
33215 (RUN_TEST_LOOP_fff_f): New macro.
33216 (fma_test_data): New variable.
33217 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33218 (fma_towardzero_test_data): New variable.
33219 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33220 (fma_downward_test_data): New variable.
33221 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33222 (fma_upward_test_data): New variable.
33223 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33225 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33226 (struct test_c_c_data): New type.
33227 (RUN_TEST_LOOP_c_c): New macro.
33228 (cacos_test_data): New variable.
33229 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33230 (cacosh_test_data): New variable.
33231 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33232 (casin_test_data): New variable.
33233 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33234 (casinh_test_data): New variable.
33235 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33236 (catan_test_data): New variable.
33237 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33238 (catanh_test_data): New variable.
33239 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33240 (ccos_test_data): New variable.
33241 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33242 (ccosh_test_data): New variable.
33243 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33244 (cexp_test_data): New variable.
33245 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33246 (clog_test_data): New variable.
33247 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33248 (clog10_test_data): New variable.
33249 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33250 (conj_test_data): New variable.
33251 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33252 (cproj_test_data): New variable.
33253 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33254 (csin_test_data): New variable.
33255 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33256 (csinh_test_data): New variable.
33257 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33258 (csqrt_test_data): New variable.
33259 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33260 (ctan_test_data): New variable.
33261 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33262 (ctan_tonearest_test_data): New variable.
33263 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33264 (ctan_towardzero_test_data): New variable.
33265 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33266 (ctan_downward_test_data): New variable.
33267 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33268 (ctan_upward_test_data): New variable.
33269 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33270 (ctanh_test_data): New variable.
33271 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33272 (ctanh_tonearest_test_data): New variable.
33273 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33274 (ctanh_towardzero_test_data): New variable.
33275 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33276 (ctanh_downward_test_data): New variable.
33277 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33278 (ctanh_upward_test_data): New variable.
33279 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33280 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33283 * math/libm-test.inc (struct test_ff_f_data): New type.
33284 (struct test_ff_f_data_nexttoward): Likewise.
33285 (RUN_TEST_LOOP_2_f): New macro.
33286 (RUN_TEST_LOOP_ff_f): Likewise.
33287 (atan2_test_data): New variable.
33288 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33289 (copysign_test_data): New variable.
33290 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33291 (fdim_test_data): New variable.
33292 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33293 (fmax_test_data): New variable.
33294 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33295 (fmin_test_data): New variable.
33296 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33297 (fmod_test_data): New variable.
33298 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33299 (hypot_test_data): New variable.
33300 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33301 (nextafter_test_data): New variable.
33302 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33303 (nexttoward_test_data): New variable.
33304 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33305 (pow_test_data): New variable.
33306 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33307 (pow_tonearest_test_data): New variable.
33308 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33309 (pow_towardzero_test_data): New variable.
33310 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33311 (pow_downward_test_data): New variable.
33312 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33313 (pow_upward_test_data): New variable.
33314 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33315 (remainder_test_data): New variable.
33316 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33317 (scalb_test_data): New variable.
33318 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33319 * sysdeps/i386/fpu/libm-test-ulps: Update.
33321 2013-05-11 Joseph Myers <joseph@codesourcery.com>
33323 * math/libm-test.inc (fma_test): Use max_value instead of local
33325 (nextafter_test): Likewise.
33327 * math/libm-test.inc (acos_towardzero_test_data): New variable.
33328 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33329 (acos_downward_test_data): New variable.
33330 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33331 (acos_upward_test_data): New variable.
33332 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33333 (acosh_test_data): New variable.
33334 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33335 (asin_test_data): New variable.
33336 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33337 (asin_tonearest_test_data): New variable.
33338 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33339 (asin_towardzero_test_data): New variable.
33340 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33341 (asin_downward_test_data): New variable.
33342 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33343 (asin_upward_test_data): New variable.
33344 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33345 (asinh_test_data): New variable.
33346 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33347 (atan_test_data): New variable.
33348 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33349 (atanh_test_data): New variable.
33350 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33351 (cbrt_test_data): New variable.
33352 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33353 (ceil_test_data): New variable.
33354 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33355 (cos_test_data): New variable.
33356 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33357 (cos_tonearest_test_data): New variable.
33358 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33359 (cos_towardzero_test_data): New variable.
33360 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33361 (cos_downward_test_data): New variable.
33362 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33363 (cos_upward_test_data): New variable.
33364 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33365 (cosh_test_data): New variable.
33366 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33367 (cosh_tonearest_test_data): New variable.
33368 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33369 (cosh_towardzero_test_data): New variable.
33370 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33371 (cosh_downward_test_data): New variable.
33372 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33373 (cosh_upward_test_data): New variable.
33374 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33375 (erf_test_data): New variable.
33376 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33377 (erfc_test_data): New variable.
33378 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33379 (exp_test_data): New variable.
33380 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33381 (exp_tonearest_test_data): New variable.
33382 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33383 (exp_towardzero_test_data): New variable.
33384 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33385 (exp_downward_test_data): New variable.
33386 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33387 (exp_upward_test_data): New variable.
33388 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33389 (exp10_test_data): New variable.
33390 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33391 (exp2_test_data): New variable.
33392 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33393 (expm1_test_data): New variable.
33394 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33395 (fabs_test_data): New variable.
33396 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33397 (floor_test_data): New variable.
33398 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33399 (j0_test_data): New variable.
33400 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33401 (j1_test_data): New variable.
33402 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33403 (log_test_data): New variable.
33404 (log_test): Run tests with RUN_TEST_LOOP_f_f.
33405 (log10_test_data): New variable.
33406 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33407 (log1p_test_data): New variable.
33408 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33409 (log2_test_data): New variable.
33410 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33411 (logb_test_data): New variable.
33412 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33413 (logb_downward_test_data): New variable.
33414 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33415 (nearbyint_test_data): New variable.
33416 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33417 (rint_test_data): New variable.
33418 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33419 (rint_tonearest_test_data): New variable.
33420 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33421 (rint_towardzero_test_data): New variable.
33422 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33423 (rint_downward_test_data): New variable.
33424 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33425 (rint_upward_test_data): New variable.
33426 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33427 (round_test_data): New variable.
33428 (round_test): Run tests with RUN_TEST_LOOP_f_f.
33429 (sin_test_data): New variable.
33430 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33431 (sin_tonearest_test_data): New variable.
33432 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33433 (sin_towardzero_test_data): New variable.
33434 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33435 (sin_downward_test_data): New variable.
33436 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33437 (sin_upward_test_data): New variable.
33438 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33439 (sinh_test_data): New variable.
33440 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33441 (sinh_tonearest_test_data): New variable.
33442 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33443 (sinh_towardzero_test_data): New variable.
33444 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33445 (sinh_downward_test_data): New variable.
33446 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33447 (sinh_upward_test_data): New variable.
33448 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33449 (sqrt_test_data): New variable.
33450 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33451 (tan_test_data): New variable.
33452 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33453 (tan_tonearest_test_data): New variable.
33454 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33455 (tan_towardzero_test_data): New variable.
33456 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33457 (tan_downward_test_data): New variable.
33458 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33459 (tan_upward_test_data): New variable.
33460 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33461 (tanh_test_data): New variable.
33462 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33463 (tgamma_test_data): New variable.
33464 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33465 (trunc_test_data): New variable.
33466 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33467 (y0_test_data): New variable.
33468 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33469 (y1_test_data): New variable.
33470 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33471 (significand_test_data): New variable.
33472 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33474 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
33477 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33479 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
33481 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33483 2013-05-10 Andreas Jaeger <aj@suse.de>
33486 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33487 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33489 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33491 * math/gen-libm-test.pl (adjust_arg): New function.
33492 (special_functions): Handle generating output in both functions
33494 (parse_args): Likewise.
33495 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
33496 $in_func argument to parse_args.
33497 * math/libm-test.inc (struct test_f_f_data): New type.
33498 (IF_ROUND_INIT_): New macro.
33499 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33500 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33501 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33502 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33503 (ROUND_RESTORE_): Likewise.
33504 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33505 (ROUND_RESTORE_FE_TONEAREST): Likewise.
33506 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33507 (ROUND_RESTORE_FE_UPWARD): Likewise.
33508 (RUN_TEST_LOOP_f_f): New macro.
33509 (acos_test_data): New variable.
33510 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33511 (acos_tonearest_test_data): New variable.
33512 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33514 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33516 * benchtests/bench-skeleton.c (startup): Fix coding style.
33518 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33521 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33522 negative infinity argument.
33523 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33524 negative infinity argument.
33525 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33526 negative infinity argument.
33527 * math/libm-test.inc (tgamma_test): Expect errno to be set for
33530 2013-05-10 Florian Weimer <fweimer@redhat.com>
33532 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33533 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33534 * iconv/iconv_prog.c (main): Likewise.
33535 * locale/programs/charmap-dir.c (charmap_readdir)
33536 (fopen_uncompressed): Likewise.
33537 * locale/programs/locfile.c (siblings_uncached)
33538 (write_locale_data): Use lstat64 instead of lstat.
33539 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33542 2013-05-10 Andreas Jaeger <aj@suse.de>
33545 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33547 Include <locale.h>.
33549 2013-05-09 Carlos O'Donell <carlos@redhat.com>
33551 * elf/dl-close.c (_dl_close_worker): Add comments.
33553 2013-05-09 Joseph Myers <joseph@codesourcery.com>
33556 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33558 (__ieee754_rem_pio2l): Update comments.
33561 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33563 (__ieee754_rem_pio2l): Update comments.
33565 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33566 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33568 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33571 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33572 (M_PI_34_LOG10El): Likewise.
33573 (M_PI2_LOG10El): Likewise.
33574 (M_PI4_LOG10El): Likewise.
33575 (M_PI_LOG10El): Likewise.
33577 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33581 2013-05-08 Joseph Myers <joseph@codesourcery.com>
33583 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33584 (MINUS_ZERO_INIT): Likewise.
33585 (PLUS_INFTY_INIT): Likewise.
33586 (MINUS_INFTY_INIT): Likewise.
33587 (QNAN_VALUE_INIT): Likewise.
33588 (MAX_VALUE_INIT): Likewise.
33589 (MIN_VALUE_INIT): Likewise.
33590 (MIN_SUBNORM_VALUE_INIT): Likewise.
33591 (plus_zero): Initialize with PLUS_ZERO_INIT.
33592 (minus_zero): Initialize with MINUS_ZERO_INIT.
33593 (plus_infty): Initialize with PLUS_INFTY_INIT.
33594 (minus_infty): Initialize with MINUS_INFTY_INIT.
33595 (qnan_value): Initialize with QNAN_VALUE_INIT.
33596 (max_value): Initialize with MAX_VALUE_INIT.
33597 (min_value): Initialize with MIN_VALUE_INIT.
33598 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33600 * math/libm-test.inc (RUN_TEST_if_f): New macro.
33601 (jn_test): Use TEST_if_f instead of TEST_ff_f.
33602 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33603 (yn_test): Use TEST_if_f instead of TEST_ff_f.
33605 * math/libm-test.inc (RUN_TEST_f_f): New macro.
33606 (RUN_TEST_2_f): Likewise.
33607 (RUN_TEST_ff_f): Likewise.
33608 (RUN_TEST_fi_f): Likewise.
33609 (RUN_TEST_fl_f): Likewise.
33610 (RUN_TEST_fff_f): Likewise.
33611 (RUN_TEST_c_f): Likewise.
33612 (RUN_TEST_f_f1): Likewise.
33613 (RUN_TEST_fF_f1): Likewise.
33614 (RUN_TEST_fI_f1): Likewise.
33615 (RUN_TEST_ffI_f1): Likewise.
33616 (RUN_TEST_c_c): Likewise.
33617 (RUN_TEST_cc_c): Likewise.
33618 (RUN_TEST_f_i): Likewise.
33619 (RUN_TEST_f_i_tg): Likewise.
33620 (RUN_TEST_ff_i_tg): Likewise.
33621 (RUN_TEST_f_b): Likewise.
33622 (RUN_TEST_f_b_tg): Likewise.
33623 (RUN_TEST_f_l): Likewise.
33624 (RUN_TEST_f_L): Likewise.
33625 (RUN_TEST_sincos): Likewise.
33626 * math/gen-libm-test.pl (new_test): Take new argument to indicate
33627 whether to show exceptions. Do not include ");\n" in return
33629 (special_functions): Output call to RUN_TEST_sincos instead of
33630 check_float calls. Update calls to new_test.
33631 (parse_args): Output call to single RUN_TEST_* macro instead of
33632 check_* calls and other assignments. Update calls to new_test.
33638 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33639 input to result for tgamma overflow.
33640 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33641 (gamma_coeff): New variable.
33642 (NCOEFF): New macro.
33643 (gamma_positive): New function.
33644 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33645 underflow here. Use gamma_positive instead of exp (lgamma) for
33647 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33648 (gamma_coeff): New variable.
33649 (NCOEFF): New macro.
33650 (gammaf_positive): New function.
33651 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33652 underflow here. Use gamma_positive instead of exp (lgamma) for
33654 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33655 (gamma_coeff): New variable.
33656 (NCOEFF): New macro.
33657 (gammal_positive): New function.
33658 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33659 underflow here. Use gamma_positive instead of exp (lgamma) for
33661 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33662 (gamma_coeff): New variable.
33663 (NCOEFF): New macro.
33664 (gammal_positive): New function.
33665 (__ieee754_gammal_r): Handle positive infinity, overflow and
33666 underflow here. Handle NaN the same as positive infinity. Remove
33667 check x < 0xffffffff for negative integers. Use gamma_positive
33668 instead of exp (lgamma) for other arguments.
33669 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33670 (gamma_coeff): New variable.
33671 (NCOEFF): New macro.
33672 (gammal_positive): New function.
33673 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33674 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33675 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33676 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33677 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33678 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33679 * sysdeps/generic/math_private.h (__gamma_productf): New
33681 (__gamma_product): Likewise.
33682 (__gamma_productl): Likewise.
33683 * math/Makefile (libm-calls): Add gamma_product.
33684 * math/libm-test.inc (tgamma_test): Add more tests.
33685 * sysdeps/i386/fpu/libm-test-ulps: Update.
33686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33688 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
33690 * benchtests/bench-skeleton.c (main): Preheat CPU.
33692 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
33694 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33696 2013-05-07 Roland McGrath <roland@hack.frob.com>
33698 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33699 and _dl_skip_args_internal.
33701 2013-05-07 Carlos O'Donell <carlos@redhat.com>
33703 * manual/message.texi (Message Translation): Talk about users.
33704 Message to key mapping impacts design.
33706 2013-05-06 Roland McGrath <roland@hack.frob.com>
33708 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33710 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33712 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33713 * sysdeps/wordsize-64/glob64.c: ... here.
33715 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33716 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33719 * debug/getlogin_r_chk.c: Moved to ...
33720 * login/getlogin_r_chk.c: ... here.
33721 * debug/Makefile (routines): Move getlogin_r_chk to ...
33722 * login/Makefile (routines): ... here.
33723 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33724 * login/Versions (libc: GLIBC_2.4): ... here.
33726 * io/poll.c (__poll): Renamed from poll.
33727 Add libc_hidden_def.
33728 (poll): Define as weak alias.
33730 * debug/ptsname_r_chk.c: Moved to ...
33731 * login/ptsname_r_chk.c: ... here.
33732 * debug/Makefile (routines): Move ptsname_r_chk to ...
33733 * login/Makefile (routines): ... here.
33734 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33735 * login/Versions (libc: GLIBC_2.4): ... here.
33737 * posix/getlogin.c: Moved to ...
33738 * login/getlogin.c: ... here.
33739 * posix/getlogin_r.c: Moved to ...
33740 * login/getlogin_r.c: ... here.
33741 * posix/getlogin_r.c: Moved to ...
33742 * login/getlogin_r.c: ... here.
33743 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33744 * login/Makefile (routines): ... here.
33745 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33746 * login/Versions (libc: GLIBC_2.0): ... here.
33748 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33749 (setrlimit): Define as weak alias.
33751 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33752 Call __ names for open, ftruncate, and close.
33753 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33754 (truncate): Define as weak alias.
33756 2013-05-06 Joseph Myers <joseph@codesourcery.com>
33758 * math/gen-libm-test.pl (parse_args): Initialize x before each
33759 test of frexp, modf and remquo.
33761 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33762 test signgam value.
33764 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33768 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33770 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33772 2013-05-06 Roland McGrath <roland@hack.frob.com>
33774 * elf/dl-writev.h: New file.
33775 * elf/dl-misc.c: Include it.
33776 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33777 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33779 2013-05-04 Joseph Myers <joseph@codesourcery.com>
33781 * math/libm-test.inc (noXFails): Remove variable.
33782 (noXPasses): Likewise.
33783 (BUILD_COMPLEX_INT): Remove macro.
33784 (print_screen): Remove xfail argument.
33785 (print_screen_max_error): Likewise.
33786 (update_stats): Likewise.
33787 (print_max_error): Likewise. Update calls to other affected
33789 (print_complex_max_error): Likewise.
33790 (test_single_exception): Update calls to print_screen.
33791 (test_single_errno): Likewise.
33792 (check_float_internal): Remove xfail argument. Update calls to
33793 other affected functions.
33794 (check_float): Likewise.
33795 (check_complex): Likewise.
33796 (check_int): Likewise.
33797 (check_long): Likewise.
33798 (check_bool): Likewise.
33799 (check_longlong): Likewise.
33800 (main): Don't print noXFails and noXPasses.
33801 * math/gen-libm-test.pl (top level): Don't mention expected
33802 failure handling in comment.
33803 (new_test): Don't handle expected failures.
33804 (parse_args): Don't mention expected failure handling in comment.
33805 (generate_testfile): Don't handle expected failures.
33806 (parse_ulps): Likewise.
33807 (print_ulps_file): Likewise.
33808 (get_failure): Remove function.
33809 (output_test): Don't handle expected failures.
33810 * make/README.libm-test: Don't mention expected failure handling.
33812 * math/libm-test.inc (plus_zero): Make const. Add initializer.
33813 (minus_zero): Likewise.
33814 (plus_infty): Likewise.
33815 (minus_infty): Likewise.
33816 (qnan_value): Likewise.
33817 (max_value): Likewise.
33818 (min_value): Likewise.
33819 (min_subnorm_value): Likewise.
33820 (initialize): Do not initialize those variables dynamically.
33822 2013-05-03 Roland McGrath <roland@hack.frob.com>
33824 * io/open.c (__open_2): Moved to ...
33825 * io/open_2.c: ... this new file.
33826 * io/open64.c (__open64_2): Moved to ...
33827 * io/open64_2.c: ... this new file.
33828 * io/openat.c (__openat_2): Moved to ...
33829 * io/openat_2.c: ... this new file.
33830 * io/openat64.c (__openat64_2): Moved to ...
33831 * io/openat64_2.c: ... this new file.
33832 * io/Makefile (routines): Add them.
33833 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33834 * sysdeps/unix/sysv/linux/open_2.c: File removed.
33835 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33836 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33837 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33838 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33839 (__openat64): Add hidden_ver.
33840 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33841 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33843 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33844 Separately conditionalize setting of GLRO(dl_sysinfo) so
33845 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33846 as well, but the actual setting is only under [NEED_DL_SYSINFO].
33848 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33850 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33851 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33853 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33854 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33855 (_libc_vdso_platform_setup): Add __vdso_time initialization.
33856 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33857 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33859 2013-05-03 Joseph Myers <joseph@codesourcery.com>
33861 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33862 test signgam value.
33864 * math/libm-test.inc (hypot_test): Do not use
33865 IGNORE_ZERO_INF_SIGN.
33867 2013-05-03 Andreas Jaeger <aj@suse.de>
33869 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33871 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33872 (PF_MAX): Adjust for VSOCK change.
33874 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33878 2013-05-02 Carlos O'Donell <carlos@redhat.com>
33881 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33882 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33883 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33885 2013-05-02 David S. Miller <davem@davemloft.net>
33887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33889 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
33891 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33893 2013-05-01 Roland McGrath <roland@hack.frob.com>
33895 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33897 2013-05-01 Richard Smith <richard@metafoo.co.uk>
33900 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33901 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33902 Use __attribute__ ((__gnu_inline__)).
33903 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33904 Don't use __attribute__ ((__gnu_inline__)).
33906 2013-05-01 Joseph Myers <joseph@codesourcery.com>
33909 * math/s_catan.c (__catan): Handle small real or imaginary part of
33910 input specially to avoid spurious underflow.
33911 * math/s_catanf.c (__catanf): Likewise.
33912 * math/s_catanh.c (__catanh): Likewise.
33913 * math/s_catanhf.c (__catanhf): Likewise.
33914 * math/s_catanhl.c (__catanhl): Likewise.
33915 * math/s_catanl.c (__catanl): Likewise.
33916 * math/libm-test.inc (catan_test): Add more tests.
33917 (catanh_test): Likewise.
33918 * sysdeps/i386/fpu/libm-test-ulps: Update.
33919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33921 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33925 2013-04-30 Joseph Myers <joseph@codesourcery.com>
33928 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33929 accurately for denominator in atan2.
33930 * math/s_catanf.c (__catanf): Likewise.
33931 * math/s_catanh.c (__catanh): Likewise.
33932 * math/s_catanhf.c (__catanhf): Likewise.
33933 * math/s_catanhl.c (__catanhl): Likewise.
33934 * math/s_catanl.c (__catanl): Likewise.
33935 * math/libm-test.inc (catan_test): Add more tests.
33936 (catanh_test): Likewise.
33937 * sysdeps/i386/fpu/libm-test-ulps: Update.
33938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33940 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33942 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33944 * benchtests/Makefile (bench): Remove slow benchmarks.
33945 * benchtests/atan-inputs: Add slow benchmark inputs.
33946 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33947 (BENCH_FUNC): Accept variant offset.
33949 * benchtests/bench-skeleton.c (main): Run benchmark for each
33951 * benchtests/cos-inputs: Add slow benchmark inputs.
33952 * benchtests/exp-inputs: Likewise.
33953 * benchtests/pow-inputs: Likewise.
33954 * benchtests/sin-inputs: Likewise.
33955 * benchtests/slowatan-inputs: Remove.
33956 * benchtests/slowatan.c: Remove.
33957 * benchtests/slowcos-inputs: Remove.
33958 * benchtests/slowcos.c: Remove.
33959 * benchtests/slowexp-inputs: Remove.
33960 * benchtests/slowexp.c: Remove.
33961 * benchtests/slowpow-inputs: Remove.
33962 * benchtests/slowpow.c: Remove.
33963 * benchtests/slowsin-inputs: Remove.
33964 * benchtests/slowsin.c: Remove.
33965 * benchtests/slowtan-inputs: Remove.
33966 * benchtests/slowtan.c: Remove.
33967 * benchtests/tan-inputs: Add slow benchmark inputs.
33968 * scripts/bench.pl: Parse comments and directives.
33970 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
33972 ($(objpfx)bench-%.c): Remove *-ITER.
33973 * benchtests/bench-modf.c: Remove definition of ITER.
33974 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33975 (main): Loop for DURATION seconds instead of fixed number of
33977 * scripts/bench.pl: Don't expect iterations in parameters.
33979 2013-04-29 Roland McGrath <roland@hack.frob.com>
33981 * io/fchdir.c (__fchdir): Renamed from fchdir.
33982 (fchdir): Define as weak alias.
33984 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33986 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33987 (ERRNO_EDOM): Likewise.
33988 (ERRNO_ERANGE): Likewise.
33989 (noErrnoTests): New variable.
33990 (init_max_error): Set errno to 0.
33991 (test_single_errno): New function.
33992 (test_errno): Likewise.
33993 (check_float_internal): Call test_errno. Set errno to 0.
33994 (check_complex): Refer to errno tests in comment.
33995 (check_int): Call test_errno. Set errno to 0.
33996 (check_long): Likewise.
33997 (check_bool): Likewise.
33998 (check_longlong): Likewise.
33999 (cos_test): Use ERRNO_* flags for errno tests instead of
34001 (expm1_test): Likewise.
34002 (fmod_test): Likewise.
34003 (ilogb_test): Likewise.
34004 (lgamma_test): Likewise.
34005 (pow_test): Likewise.
34006 (remainder_test): Likewise.
34007 (sin_test): Likewise.
34008 (tan_test): Likewise.
34009 (yn_test): Likewise.
34010 (initialize): Set errno to 0.
34011 (main): Print number of errno tests.
34012 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34014 2013-04-29 Andreas Jaeger <aj@suse.de>
34017 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34021 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34022 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34026 * stdlib/random.c (__initstate): Return NULL if
34030 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34031 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34034 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34038 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34040 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34041 of individual tests.
34042 (casin_test): Likewise.
34043 (casinh_test): Likewise.
34045 2013-04-27 Joseph Myers <joseph@codesourcery.com>
34048 * math/s_catan.c (__catan): Handle arguments with large real or
34049 imaginary part separately without squaring.
34050 * math/s_catanf.c (__catanf): Likewise.
34051 * math/s_catanh.c (__catanh): Likewise.
34052 * math/s_catanhf.c (__catanhf): Likewise.
34053 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34055 (__catanhl): Handle arguments with large real or imaginary part
34056 separately without squaring.
34057 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34059 (__catanl): Handle arguments with large real or imaginary part
34060 separately without squaring.
34061 * math/libm-test.inc (catan_test): Add more tests.
34062 (catanh_test): Likewise.
34063 * sysdeps/i386/fpu/libm-test-ulps: Update.
34064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34066 2013-04-27 Andreas Jaeger <aj@suse.de>
34069 * stdlib/stdlib.h: Update guards for qecvt.
34070 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34073 2013-04-27 Allan McRae <allan@archlinux.org>
34075 * sysdeps/i386/fpu/libm-test-ulps: Update.
34077 2013-04-26 Joseph Myers <joseph@codesourcery.com>
34080 * math/s_catan.c: Include <float.h>.
34081 (__catan): Ensure underflow exception occurs for underflowed
34083 * math/s_catanf.c: Include <float.h>.
34084 (__catanf): Ensure underflow exception occurs for underflowed
34086 * math/s_catanh.c: Include <float.h>.
34087 (__catanh): Ensure underflow exception occurs for underflowed
34089 * math/s_catanhf.c: Include <float.h>.
34090 (__catanhf): Ensure underflow exception occurs for underflowed
34092 * math/s_catanhl.c: Include <float.h>.
34093 (__catanhl): Ensure underflow exception occurs for underflowed
34095 * math/s_catanl.c: Include <float.h>.
34096 (__catanl): Ensure underflow exception occurs for underflowed
34098 * math/libm-test.inc (catan_test): Add more tests.
34099 (catanh_test): Likewise.
34102 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34103 underflowed result.
34104 * math/s_ccoshf.c (__ccoshf): Likewise.
34105 * math/s_ccoshl.c (__ccoshl): Likewise.
34106 * math/s_csin.c (__csin): Likewise.
34107 * math/s_csinf.c (__csinf): Likewise.
34108 * math/s_csinh.c (__csinh): Likewise.
34109 * math/s_csinhf.c (__csinhf): Likewise.
34110 * math/s_csinhl.c (__csinhl): Likewise.
34111 * math/s_csinl.c (__csinl): Likewise.
34112 * math/libm-test.inc (ccos_test): Add more tests.
34113 (ccosh_test): Likewise.
34114 (csin_test): Likewise.
34115 (csinh_test): Likewise.
34117 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34119 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34120 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34121 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34122 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34123 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34124 powerpc/power5+/fpu folders.
34125 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34128 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34132 2013-04-25 Joseph Myers <joseph@codesourcery.com>
34134 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34135 additions to variable.
34136 [$(config-machine) = x86_64] (modules-names): Likewise.
34137 ($(objpfx)tst-audit3): Remove dependency.
34138 ($(objpfx)tst-audit3.out): Likewise.
34139 ($(objpfx)tst-audit4): Likewise.
34140 ($(objpfx)tst-audit4.out): Likewise.
34141 ($(objpfx)tst-audit5): Likewise.
34142 ($(objpfx)tst-audit5.out): Likewise.
34143 ($(objpfx)tst-audit6): Likewise.
34144 ($(objpfx)tst-audit6.out): Likewise.
34145 ($(objpfx)tst-audit7): Likewise.
34146 ($(objpfx)tst-audit7.out): Likewise.
34147 (tst-audit3-ENV): Remove variable.
34148 (tst-audit4-ENV): Likewise.
34149 (tst-audit5-ENV): Likewise.
34150 (tst-audit6-ENV): Likewise.
34151 (tst-audit7-ENV): Likewise.
34152 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34153 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34154 addition to variable.
34155 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34156 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34157 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34158 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34159 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34160 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34161 tst-audit3, tst-audit4 and tst-audit5.
34162 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34163 tst-audit6 and tst-audit7.
34164 [$(subdir) = elf] (modules-names): Add audit modules for those
34166 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34167 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34168 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34169 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34170 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34171 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34172 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34173 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34174 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34175 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34176 [$(subdir) = elf] (tst-audit3-ENV): New variable.
34177 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34178 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34179 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34180 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34181 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34183 [$(subdir) = elf && $(config-cflags-avx) = yes]
34184 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34185 [$(subdir) = elf && $(config-cflags-avx) = yes]
34186 (CFLAGS-tst-auditmod4a.c): Likewise.
34187 [$(subdir) = elf && $(config-cflags-avx) = yes]
34188 (CFLAGS-tst-auditmod4b.c): Likewise.
34189 [$(subdir) = elf && $(config-cflags-avx) = yes]
34190 (CFLAGS-tst-auditmod6b.c): Likewise.
34191 [$(subdir) = elf && $(config-cflags-avx) = yes]
34192 (CFLAGS-tst-auditmod6c.c): Likewise.
34193 [$(subdir) = elf && $(config-cflags-avx) = yes]
34194 (CFLAGS-tst-auditmod7b.c): Likewise.
34195 * elf/tst-audit3.c: Move to ...
34196 * sysdeps/x86_64/tst-audit3.c: ... here.
34197 * elf/tst-audit4.c: Move to ...
34198 * sysdeps/x86_64/tst-audit4.c: ... here.
34199 * elf/tst-audit5.c: Move to ...
34200 * sysdeps/x86_64/tst-audit5.c: ... here.
34201 * elf/tst-audit6.c: Move to ...
34202 * sysdeps/x86_64/tst-audit6.c: ... here.
34203 * elf/tst-audit7.c: Move to ...
34204 * sysdeps/x86_64/tst-audit7.c: ... here.
34205 * elf/tst-auditmod3a.c: Move to ...
34206 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34207 * elf/tst-auditmod3b.c: Move to ...
34208 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34209 * elf/tst-auditmod4a.c: Move to ...
34210 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34211 * elf/tst-auditmod4b.c: Move to ...
34212 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34213 * elf/tst-auditmod5a.c: Move to ...
34214 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34215 * elf/tst-auditmod5b.c: Move to ...
34216 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34217 * elf/tst-auditmod6a.c: Move to ...
34218 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34219 * elf/tst-auditmod6b.c: Move to ...
34220 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34221 * elf/tst-auditmod6c.c: Move to ...
34222 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34223 * elf/tst-auditmod7a.c: Move to ...
34224 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34225 * elf/tst-auditmod7b.c: Move to ...
34226 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34228 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
34231 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34232 define unconditionally.
34233 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34234 define unconditionally.
34235 (INT8_C, INT16_C, etc.): Likewise.
34237 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
34239 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34240 __ehdr_start with hidden visibility.
34242 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34244 2013-04-24 Carlos O'Donell <carlos@redhat.com>
34246 * math/libm-test.inc (cos_test): Use accurate hex constants.
34247 (sincost_test): Likewise.
34249 2013-04-24 Joseph Myers <joseph@codesourcery.com>
34251 * math/libm-test.inc (catan_test): Add more tests.
34252 (catanh_test): Likewise.
34254 * math/s_catanf.c (__catanf): Use suffixed floating-point
34256 * math/s_catanhf.c (__catanhf): Likewise.
34257 * math/s_catanhl.c (__catanhl): Likewise.
34258 * math/s_catanl.c (__catanl): Likewise.
34261 * math/s_catan.c (__catan): Calculate imaginary part of result
34262 with log1p not log unless computing log of number close to 0.
34263 * math/s_catanf.c (__catanf): Likewise.
34264 * math/s_catanl.c (__catanl): Likewise.
34265 * math/s_catanh.c (__catanh): Calculate real part of result with
34266 log1p not log unless computing log of number close to 0.
34267 * math/s_catanhf.c (__catanhf): Likewise.
34268 * math/s_catanhl.c (__catanhl): Likewise.
34269 * math/libm-test.inc (catan_test): Add more tests.
34270 (catanh_test): Likewise.
34271 * sysdeps/i386/fpu/libm-test-ulps: Update.
34272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34274 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34276 * benchtests/Makefile: Mention files in which fast and slow
34277 paths of math functions are implemented.
34279 2013-04-23 Roland McGrath <roland@hack.frob.com>
34281 * sysdeps/posix/timespec_get.c: New file.
34283 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34285 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34287 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34289 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34290 powerpc/power5/fpu folders.
34291 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34292 * benchtests/Makefile: Add modf testcase.
34293 * benchtests/bench-modf.c: New file: Benchmark test for mo
34295 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34298 * time/Makefile (tests): Add tst-strptime-whitespace.
34299 * time/strptime_l.c (get_number): Use ISSPACE.
34300 (__strptime_internal): Likewise.
34301 * time/tst-strptime-whitespace.c: New test case.
34303 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
34305 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34307 (_nss_files_init): Set it here.
34309 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
34311 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34312 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34315 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
34317 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34319 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34321 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34324 2013-04-21 David S. Miller <davem@davemloft.net>
34326 * po/ru.po: Update Russion translation from translation project.
34328 2013-04-17 Adam Conrad <adconrad@0c3.net>
34330 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34333 2013-04-17 Carlos O'Donell <carlos@redhat.com>
34335 * configure.in: Remove i386 configure warning. Remove i386 case.
34336 * configure: Regenerate.
34337 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34338 Add example to error message.
34339 * sysdeps/i386/configure: Regenerate.
34341 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34343 * benchtests/Makefile (bench): Add cos, tan, slowcos and
34345 * benchtests/cos-inputs: New file.
34346 * benchtests/slowcos-inputs: New file.
34347 * benchtests/slowcos.c: New file.
34348 * benchtests/slowtan-inputs: New file.
34349 * benchtests/slowtan.c: New file.
34350 * benchtests/tan-inputs: New file.
34352 2013-04-16 Roland McGrath <roland@hack.frob.com>
34354 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34357 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34359 * benchtests/Makefile: Include cppflags-iterator.mk to add
34360 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34362 * Makefile.in (bench-clean): New target.
34363 * benchtests/Makefile (bench-clean): Likewise.
34365 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
34367 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34369 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
34371 * stdio-common/tstdiomisc.c: Fix coding-style violation.
34373 2013-04-15 Andreas Schwab <schwab@suse.de>
34375 * nscd/grpcache.c (cache_addgr): Properly check for short write.
34376 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34377 * nscd/pwdcache.c (cache_addpw): Likewise.
34378 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
34381 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34383 * benchtests/Makefile (bench): Write all output to
34384 bench-out.tmp together.
34386 2013-04-15 Andreas Schwab <schwab@suse.de>
34388 * nscd/nscd.c (main): Don't fork again after closing files.
34390 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34392 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34394 * benchtests/Rules (bench-deps): Collect dependencies into a
34395 single variable. Add Makefile to dependencies.
34396 ($(objpfx)bench-%.c): Depend on bench-deps.
34398 2013-04-12 Roland McGrath <roland@hack.frob.com>
34399 Xavier Roche <roche+kml2@exalead.com>
34402 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34403 just that it's a file descriptor.
34404 * manual/llio.texi (Synchronizing AIO Operations): Update description
34405 for EBADF error from aio_fsync.
34407 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34409 * Rules (bench): Move target definition...
34410 * benchtests/Makefile: ... here.
34412 2013-04-11 Carlos O'Donell <carlos@redhat.com>
34414 * math/libm-test.inc (cos_test): Fix PI/2 test.
34415 (sincos_test): Likewise.
34416 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34417 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34419 2013-04-11 Andreas Schwab <schwab@suse.de>
34422 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34423 accept exponent character only when digits were seen.
34424 * stdio-common/Makefile (tests): Add bug26.
34425 * stdio-common/bug26.c: New file.
34428 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34431 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34433 * Makeconfig (rtld-prefix): Define built linker prefix.
34434 * Rules (run-bench): Use it.
34435 * math/Makefile (run-regen-ulps): Likewise.
34437 * Rules (bench): Remove eval.
34439 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34440 Roland McGrath <roland@hack.frob.com>
34441 Ondrej Bilka <neleai@seznam.cz>
34444 * time/getdate.c: Include ctype.h and alloca.h.
34445 (__getdate_r): Trim leading and trailing spaces of input.
34446 * time/tst-getdate.c (tests): Add tests with leading and
34449 2013-04-08 Roland McGrath <roland@hack.frob.com>
34452 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34453 when computing value.
34455 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34457 * math/README.libm-test (How can I generate "libm-test-ulps"?):
34458 Use testrun.sh to run libm tests.
34461 * elf/dl-open.c (dl_open_worker): memset all of seen array.
34463 2013-04-06 Marko Myllynen <myllynen@redhat.com>
34466 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34468 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34470 * Makefile.in (regen-ulps): New target.
34471 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34472 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34473 [ifneq (no,$(PERL)] (regen-ulps): New target.
34474 [ifeq (no,$(PERL)] (regen-ulps): New target.
34475 * math/libm-test.inc (ulps_file_name): Define.
34476 (output_dir): New variable.
34477 (options): Add "output-dir" option.
34478 (parse_opt): Handle 'o' case.
34479 (main): If output_dir is non-NULL use it as a prefix
34481 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34483 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34485 [BZ #10060, #10062]
34486 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34487 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34488 fail configure if __sync_val_compare_and_swap is not inlined.
34489 * sysdeps/i386/configure: Regenerate.
34490 * configure.in: Build for i686 when configured for i386.
34491 * configure: Regenerate.
34492 * README: Remove i386 reference.
34494 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34496 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34497 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34499 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
34501 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34502 (lmsnanval): New variables.
34503 (F): Add conversion tests.
34504 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34505 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34507 * stdio-common/tstdiomisc.c (F): Properly collect individual
34510 [BZ #14686, #15336]
34511 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34512 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34513 Instead, use input NaN values or generate a qNaN by arithmetic
34514 operation. Also fix bugs to comply with the standard.
34515 * math/libm-test.inc (remainder_test): Add more tests.
34517 [BZ #15335, #15342]
34518 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34519 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34520 input NaN values or generate a qNaN by arithmetic operation.
34522 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34525 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34528 2013-04-03 Joseph Myers <joseph@codesourcery.com>
34531 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34532 underflowed result.
34533 * math/s_cexpf.c (__cexpf): Likewise.
34534 * math/s_cexpl.c (__cexpl): Likewise.
34535 * math/libm-test.inc (cexp_test): Add more tests.
34537 2013-04-03 Andreas Schwab <schwab@suse.de>
34540 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34541 order arrays from heap if bigger than alloca cutoff.
34543 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
34545 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34546 (SNAN_TESTS_double): Refer to GCC PR56831.
34547 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34550 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34552 * Rules (bench): Move bench.out after the run is complete.
34554 * Rules (bench): Echo currently running benchmark.
34556 * benchtests/Makefile (bench): Add atan and slowatan.
34557 * benchtests/atan-inputs: New file.
34558 * benchtests/slowatan-inputs: New file.
34559 * benchtests/slowatan.c: New file.
34561 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34562 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34566 * sysdeps/unix/sysv/linux/kernel-features.h
34567 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34568 __ASSUME_XFS_RESTRICTED_CHOWN.
34569 * sysdeps/unix/sysv/linux/pathconf.c
34570 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34571 Save and restore errno.
34573 2013-04-02 Joseph Myers <joseph@codesourcery.com>
34576 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34577 arguments using __kernel_casinh.
34578 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34579 arguments using __kernel_casinhf.
34580 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34581 arguments using __kernel_casinhl.
34582 * math/libm-test.inc (cacosh_test): Add more tests.
34583 * sysdeps/i386/fpu/libm-test-ulps: Update.
34584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34586 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34588 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34589 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34591 * bench/Makefile (bench): Add sin and slowsin.
34592 * benchtests/sin-inputs: New file.
34593 * benchtests/slowsin-inputs: New file.
34594 * benchtests/slowsin.c: New file.
34596 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34597 (bench): Add slowexp and slowpow.
34598 (exp-ITER): Increase iterations.
34599 (pow-ITER): Likewise.
34600 * benchtests/exp-inputs: Change input.
34601 * benchtests/pow-inputs: Likewise.
34602 * benchtests/slowexp-inputs: New file.
34603 * benchtests/slowexp.c: New file.
34604 * benchtests/slowpow-inputs: New file.
34605 * benchtests/slowpow.c: New file.
34607 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34609 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34611 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34612 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34613 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34614 * benchtests/Makefile: Add rint benchtest.
34615 * benchtests/rint-inputs: Input for rint benchtest.
34617 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
34619 * Versions.def (libm): Add GLIBC_2.18.
34620 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34621 hidden libm prototypes.
34622 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34623 * math/Makefile (libm-calls): Add s_issignaling.
34624 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34625 __issignalingf, __issignalingl. Adjust all libm.abilist files.
34626 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34628 * math/math.h [__USE_GNU] (issignaling): New macro.
34629 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34630 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34631 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34632 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34633 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34634 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34635 * manual/arith.texi (issignaling): New section.
34636 * manual/libm-err-tab.pl (@all_functions): Update comment.
34637 * math/gen-libm-test.pl (parse_args): Apply special handling for
34639 * math/libm-test.inc (print_float, issignaling_test): New
34641 (check_float_internal): Add issignaling checks.
34642 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34643 default definition.
34644 * sysdeps/powerpc/math-tests.h: New file.
34645 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34647 * math/test-snan.c (TEST_FUNC): Likewise.
34649 2013-03-30 David S. Miller <davem@davemloft.net>
34651 * po/de.po: Update from translation team.
34653 2013-03-30 Joseph Myers <joseph@codesourcery.com>
34656 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34657 imaginary part less than 1.0 and real part less than 0.5
34659 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34660 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34661 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34662 (cacos_test): Add more tests.
34663 (casin_test): Likewise.
34664 (casinh_test): Likewise.
34665 * sysdeps/i386/fpu/libm-test-ulps: Update.
34666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34668 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34670 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34671 ONE with its value.
34673 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34674 (__pow_mp): Replace ONE and MONE with their values.
34675 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34676 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34677 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34678 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34679 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34680 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34682 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34684 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34685 (__pow_mp): Replace ZERO and MZERO with their values.
34686 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34687 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34688 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34689 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34690 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34691 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34694 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34696 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34698 2013-03-28 Roland McGrath <roland@hack.frob.com>
34700 * include/stdlib.h [!SHARED] (__call_tls_dtors):
34701 Declare with __attribute__ ((weak)).
34702 * stdlib/exit.c (__libc_atexit) [!SHARED]:
34703 Call __call_tls_dtors only if it's not NULL.
34705 2013-03-28 Roland McGrath <roland@hack.frob.com>
34707 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34708 didn't do it already, then set _dl_phdr and _dl_phnum based on the
34709 magic __ehdr_start linker symbol if it's defined.
34710 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34711 them up here if it was already done.
34713 * elf/dl-support.c (_dl_phdr): Make pointer to const.
34714 (_dl_aux_init): Use const in cast when setting it.
34715 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34716 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34717 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34719 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34721 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34722 * csu/libc-tls.c: Nor here.
34723 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34725 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34726 (__libc_message): Never call vsyslog.
34728 2013-03-28 Alan Modra <amodra@gmail.com>
34730 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34732 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34735 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34738 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34742 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34745 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34746 Don't add gid passed as argument.
34748 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34750 2013-03-27 Joseph Myers <joseph@codesourcery.com>
34753 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34754 imaginary part between 1.0 and 1.5 and real part less than 0.5
34756 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34757 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34758 * math/libm-test.inc (cacos_test): Add more tests.
34759 (casin_test): Likewise.
34760 (casinh_test): Likewise.
34761 * sysdeps/i386/fpu/libm-test-ulps: Update.
34762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34764 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34766 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34769 (denorm): Likewise.
34770 (__dbl_mp): Likewise.
34771 (add_magnitudes): Likewise.
34772 (sub_magnitudes): Likewise.
34780 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34782 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34783 (__dubcos): Likewise.
34784 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34785 (__ieee754_acos): Likewise.
34786 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34787 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34788 (__exp1): Likewise.
34789 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34790 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34792 (my_log2): Likewise.
34793 (checkint): Likewise.
34794 * sysdeps/ieee754/dbl-64/e_remainder.c
34795 (__ieee754_remainder): Likewise.
34796 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34797 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34798 (bsloww): Likewise.
34799 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34801 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34802 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34803 MANTISSA_STORE_T to store computations on mantissa. Use
34804 macros for rounding and division.
34805 (denorm): Likewise.
34806 (__dbl_mp): Likewise.
34807 (add_magnitudes): Likewise.
34808 (sub_magnitudes): Likewise.
34811 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34812 powers of two in terms of TWOPOW macro.
34813 (mp_no): Make type of mantissa as MANTISSA_T.
34814 [!RADIXI]: Define RADIXI.
34815 [!TWO52]: Define TWO52.
34816 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34818 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34820 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34821 llroundl symbol when building for PPC32.
34823 2013-03-24 Mark H Weaver <mhw@netris.org>
34825 * manual/arith.texi (Normalization Functions): Fix prototypes for
34826 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34828 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34831 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34832 high value to check if expl overflow.
34833 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34834 to check for underflow and overflow.
34835 * math/libm-test.inc: Add exp test.
34837 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
34840 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34843 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34845 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34848 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
34850 * math/gen-libm-test.pl (parse_args, special_functions): Properly
34851 wrap blocks consisting of several statements.
34853 * sysdeps/generic/math-tests.h: New file.
34854 * sysdeps/i386/fpu/math-tests.h: Likewise.
34855 * math/test-snan.c: Include it.
34856 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34858 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34861 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34862 (__ieee754_j0l): Do not improve calculations using cos of twice
34863 input for inputs above LDBL_MAX / 2.0L.
34864 (__ieee754_y0l): Likewise.
34865 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34866 (__ieee754_j1l): Do not improve calculations using cos of twice
34867 input for inputs above LDBL_MAX / 2.0L.
34868 (__ieee754_y1l): Likewise.
34869 * math/libm-test.inc (j0_test): Add another test.
34870 (j1_test): Likewise.
34871 (y0_test): Likewise.
34872 (y1_test): Likewise.
34873 * sysdeps/i386/fpu/libm-test-ulps: Update.
34875 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34877 * Rules ($(objpfx)bench-%.c): Include code from a C source
34880 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34883 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34884 imaginary part 1.0 and real part less than 0.5 specially.
34885 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34886 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34887 * math/libm-test.inc (cacos_test): Add more tests.
34888 (casin_test): Likewise.
34889 (casinh_test): Likewise.
34890 * sysdeps/i386/fpu/libm-test-ulps: Update.
34891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34893 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34895 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34896 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34898 2013-03-20 Joseph Myers <joseph@codesourcery.com>
34900 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34901 * config.make.in (config-cflags-sse4): Remove variable.
34902 (config-cflags-avx): Likewise.
34903 (config-cflags-sse2avx): Likewise.
34904 (config-cflags-novzeroupper): Likewise.
34905 (config-asflags-i686): Likewise.
34906 (have-mfma4): Likewise.
34907 (have-as-vis3): Likewise.
34909 * configure.in (MIG): Do not AC_SUBST.
34910 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34911 (libc_cv_cc_sse4): Do not AC_SUBST.
34912 (libc_cv_cc_avx): Likewise.
34913 (libc_cv_cc_sse2avx): Likewise.
34914 (libc_cv_cc_novzeroupper): Likewise.
34915 (libc_cv_cc_fma4): Likewise.
34916 (libc_cv_as_i686): Likewise.
34917 (libc_cv_sparc_as_vis3): Likewise.
34918 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34920 (config-asflags-i686): Likewise.
34921 (config-cflags-avx): Likewise.
34922 (config-cflags-sse2avx): Likewise.
34923 (have-mfma4): Likewise.
34924 (config-cflags-novzeroupper): Likewise.
34925 * sysdeps/mach/configure.in (MIG): Likewise.
34926 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34927 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34929 (config-cflags-avx): Likewise.
34930 (config-cflags-sse2avx): Likewise.
34931 (have-mfma4): Likewise.
34932 (config-cflags-novzeroupper): Likewise.
34933 * configure: Regenerated.
34934 * sysdeps/i386/configure: Likewise.
34935 * sysdeps/mach/configure: Likewise.
34936 * sysdeps/sparc/configure: Likewise.
34937 * sysdeps/x86_64/configure: Likewise.
34939 2013-03-20 Roland McGrath <roland@hack.frob.com>
34942 * locale/programs/localedef.c (options): Put N_ translation marker
34943 on argument names, not just descriptions.
34945 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34947 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34949 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
34952 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34954 2013-03-19 Roland McGrath <roland@hack.frob.com>
34956 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34957 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34958 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34959 [!BEFORE_ABORT] (before_abort): New function.
34960 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34961 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34962 (writev_for_fatal): New function.
34963 (WRITEV_FOR_FATAL): New macro; call that.
34964 (backtrace_and_maps): New function.
34965 (BEFORE_ABORT): New macro; call that.
34966 (struct str_list): Type removed.
34967 (__libc_message, __libc_fatal): Functions removed.
34968 Include <sysdeps/posix/libc_fatal.c> instead.
34970 2013-03-19 Joseph Myers <joseph@codesourcery.com>
34972 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34974 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34977 2013-03-19 Andreas Schwab <schwab@suse.de>
34979 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34980 * sysdeps/gnu/configure: Regenerate.
34982 * configure.in: Substitute libc_cv_rtlddir.
34983 * configure: Regenerate.
34984 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34985 * Makeconfig (rtlddir, inst_rtlddir): New variables.
34986 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34987 * elf/Makefile (install-others, CFLAGS-interp.c)
34988 (ldso_install, common-ldd-rewrite): Likewise.
34989 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34990 $(inst_slibdir)/$(rtld-installed-name).
34991 * scripts/rellns-sh: Add -p option.
34992 * Makerules (make-shlib-link): Use rellns-sh to get relative name
34995 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34997 * manual/nptl.texi: Renamed to ...
34998 * manual/threads.texi: ... this.
34999 * manual/Makefile (chapters): Update.
35001 2013-03-18 Roland McGrath <roland@hack.frob.com>
35004 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35005 on argument names, not just descriptions.
35006 * malloc/memusagestat.c (options): Likewise.
35007 * nss/getent.c (options): Likewise.
35009 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
35012 * iconv/iconv_prog.c (options): Put N_ translation marker
35013 on argument names, not just descriptions.
35014 * iconv/iconvconfig.c (options): Likewise.
35016 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
35018 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35019 implementation which is faster on all x86_64 architectures.
35020 Tested on AMD, Intel Nehalem, SNB, IVB.
35021 * sysdeps/x86_64/strnlen.S: Likewise.
35023 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35024 Remove all multiarch strlen and strnlen versions.
35025 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35026 Remove strlen and strnlen related parts.
35028 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35029 Inline strlen part.
35030 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35032 * sysdeps/x86_64/multiarch/strlen.S: Remove.
35033 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35034 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35035 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35036 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35037 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35039 2013-03-17 Carlos O'Donell <carlos@redhat.com>
35041 * manual/memory.texi (Malloc Tunable Parameters):
35042 Sort parameters alphabetically. Add comments for missing entries.
35044 2013-03-17 David S. Miller <davem@davemloft.net>
35046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35048 2013-03-16 Joseph Myers <joseph@codesourcery.com>
35051 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35052 for arguments at most half maximum finite value.
35053 * math/libm-test.inc (j0_test): Add more tests.
35054 (j1_test): Likewise.
35055 (y0_test): Likewise.
35056 (y1_test): Likewise.
35057 * sysdeps/i386/fpu/libm-test-ulps: Update.
35058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35061 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35062 1 / x and functions P and Q for arguments above 0x1p256L.
35063 (__ieee754_y0l): Likewise.
35064 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35065 (__ieee754_y1l): Likewise.
35066 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35067 (j1_test): Likewise.
35068 (y0_test): Likewise.
35069 (y1_test): Likewise.
35071 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
35073 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35076 2013-03-15 Roland McGrath <roland@hack.frob.com>
35078 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35079 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35080 zero since it's initialized to EXEC_PAGESIZE.
35082 * sysdeps/unix/sysv/linux/ldsodefs.h
35083 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35084 * sysdeps/generic/ldsodefs.h: ... here.
35086 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
35088 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35090 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35092 * math/test-snan.c: Renamed from
35093 sysdeps/powerpc/fpu/test-powerpc-snan.c.
35094 * math/Makefile (tests): Add test-snan.
35095 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35098 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35099 SUFFIX. Initialize qNaN_var with __builtin_nan family of
35101 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
35102 __builtin_nan family of functions.
35103 * math/libm-test.inc (initialize): Initialize qnan_value with
35104 __builtin_nan family of functions.
35105 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35107 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35109 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
35110 storage class. Initialize qNaN_var and sNaN_var with
35111 __builtin_nan and __builtin_nans families of functions,
35114 * math/libm-test.inc (acosh_test): Also test with qNaN input.
35115 (sqrt_test): Remove duplicate test with qNaN input.
35116 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35117 (round_test, signbit_test, significand_test): Note missing +/-Inf
35118 as well as qNaN tests.
35120 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35121 qNaN_var. Fix a few strings, too.
35122 * math/libm-test.inc (nan_value): Rename to qnan_value.
35123 * math/gen-libm-test.pl (%beautify): Adjust to that.
35124 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35125 * math/test-misc.c (main): Likewise.
35126 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35127 to __qnan_bytes, and __qnan_union, respectively.
35128 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35130 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35131 and lqnanval, respectively.
35132 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35133 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35134 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35135 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35137 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35138 * math/test-misc.c (main) [__x86_64__]: Enable test for long
35141 * math/test-misc.c (main): Fix copy'n'pastos.
35142 * misc/tst-efgcvt.c (special): Likewise.
35144 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35145 Remove declarations.
35147 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35149 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35150 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35151 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35152 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35154 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35156 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35157 macro to return vdso values correctly in IFUNC implementations.
35158 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35159 Optimization by using IFUNC.
35161 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35162 Richard Henderson <rth@redhat.com>
35163 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35165 * Makefile.in (bench): New target.
35166 * NEWS: Mention the benchmark framework.
35167 * Rules (bench): Likewise.
35168 (binaries-bench): Generate binaries for functions to
35170 * benchtests/Makefile: New makefile for benchmark tests.
35171 * benchtests/bench-skeleton.c: New skeleton file for benchmark
35173 * benchtests/exp-inputs: New input file for EXP function.
35174 * benchtests/pow-inputs: New input file for POW function.
35175 * scripts/bench.pl: New script to generate source files for
35176 benchmark programs.
35178 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35180 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35181 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35182 computations on mantissa. Use macros for rounding and
35184 (denorm): Likewise.
35185 (__dbl_mp): Likewise.
35186 (add_magnitudes): Likewise.
35187 (sub_magnitudes): Likewise.
35190 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
35191 powers of two in terms of TWOPOW macro.
35192 (mp_no): Make type of mantissa as MANTISSA_T.
35193 [!RADIXI]: Define RADIXI.
35194 [!TWO52]: Define TWO52.
35195 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35197 * manual/nptl.texi (cindex): Modify threads to pthreads.
35199 2013-03-15 Joseph Myers <joseph@codesourcery.com>
35201 * sysdeps/x86_64/preconfigure: Regenerated.
35203 2013-03-14 Joseph Myers <joseph@codesourcery.com>
35206 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35208 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35209 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35211 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35212 * math/libm-test.inc (j0_test): Do not allow one spurious
35213 underflow exception.
35214 (y1_test): Likewise.
35216 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35218 * manual/Makefile (chapters): Add nptl.
35219 * manual/debug.texi (Debugging Support): Add link to Threads
35221 * manual/nptl.texi: New file.
35223 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35225 2013-03-14 Petr Baudis <pasky@ucw.cz>
35227 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35228 for non-NULL pointer before the memory validity test. Pointed
35229 out by Holger Brunck <holger.brunck@keymile.com>.
35231 2013-03-13 Andreas Schwab <schwab@suse.de>
35233 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35236 2013-03-13 Joseph Myers <joseph@codesourcery.com>
35238 * timezone/zic.c: Update from tzcode 2013b.
35240 2013-03-12 Carlos O'Donell <carlos@redhat.com>
35242 * manual/install.texi (Configuring and compiling):
35243 Mention i686 and i586.
35244 * INSTALL: Regenerate.
35246 2013-03-12 Roland McGrath <roland@hack.frob.com>
35248 * sysdeps/init_array/elf-init.c: New file.
35250 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35251 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35253 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35254 __gmon_start__ as global, but as static with a .preinit_array pointer.
35255 * sysdeps/init_array/gmon-start.c: New file. Use that.
35256 * sysdeps/init_array/crti.S: New file, empty except for comments.
35257 * sysdeps/init_array/crtn.S: Likewise.
35259 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
35261 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35264 Remove Prefer_SSE_for_memop.
35265 * sysdeps/x86_64/multiarch/init-arch.h: Remove
35266 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35267 HAS_PREFER_SSE_FOR_MEMOP.
35268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35270 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35271 Remove bzero, memset ifunc support.
35272 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35273 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35274 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35275 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35277 2013-03-11 Andreas Schwab <schwab@suse.de>
35280 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35283 (GLIBC_2.16): Remove pthread_atfork.
35285 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
35287 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35288 (ptestcases.h): Likewise.
35290 2013-03-08 Roland McGrath <roland@hack.frob.com>
35292 * Makeconfig ($(common-objpfx)config.status): Depend on
35293 sysdeps/*/preconfigure{,.in} too.
35295 2013-03-08 Joseph Myers <joseph@codesourcery.com>
35297 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35298 (__free_hook): Use void * instead of __malloc_ptr_t.
35299 (__malloc_hook): Likewise.
35300 (__realloc_hook): Likewise.
35301 (__memalign_hook): Likewise.
35302 (__after_morecore_hook): Likewise.
35303 * malloc/arena.c (save_malloc_hook): Likewise.
35304 (save_free_hook): Likewise.
35305 * malloc/hooks.c (malloc_hook_ini): Likewise.
35306 (realloc_hook_ini): Likewise.
35307 (memalign_hook_ini): Likewise.
35308 * malloc/malloc.c (malloc_hook_ini): Likewise.
35309 (realloc_hook_ini): Likewise.
35310 (memalign_hook_ini): Likewise.
35311 (__free_hook): Likewise.
35312 (__malloc_hook): Likewise.
35313 (__realloc_hook): Likewise.
35314 (__memalign_hook): Likewise.
35315 (__libc_malloc): Likewise.
35316 (__libc_free): Likewise.
35317 (__libc_realloc): Likewise.
35318 (__libc_memalign): Likewise.
35319 (__libc_valloc): Likewise.
35320 (__libc_pvalloc): Likewise.
35321 (__libc_calloc): Likewise.
35322 (__posix_memalign): Likewise.
35323 * malloc/morecore.c (__sbrk): Likewise.
35324 (__default_morecore): Likewise.
35326 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35328 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35329 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35330 __malloc_ptrdiff_t.
35332 * malloc/malloc.h (__malloc_size_t): Remove macro.
35333 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35335 (old_memalign_hook): Likewise.
35336 (old_realloc_hook): Likewise.
35337 (struct hdr): Likewise.
35339 (mallochook): Likewise.
35340 (memalignhook): Likewise.
35341 (reallochook): Likewise.
35342 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35343 (tr_old_realloc_hook): Likewise.
35344 (tr_old_memalign_hook): Likewise.
35345 (tr_mallochook): Likewise.
35346 (tr_reallochook): Likewise.
35347 (tr_memalignhook): Likewise.
35349 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35351 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35352 default_ldbl_pack and using as default implementation.
35353 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35355 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35356 redundant definition.
35357 (ldbl_insert_mantissa): Likewise.
35358 (ldbl_canonicalize): Likewise.
35359 (ldbl_nearbyint): Likewise.
35360 (ldbl_pack): Rename to ldbl_pack_ppc.
35361 (ldbl_unpack): Rename to ldbl_unpack_ppc.
35362 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35363 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35365 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35368 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35369 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35370 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35372 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35373 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35374 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35376 2013-03-07 Andreas Jaeger <aj@suse.de>
35378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35381 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35383 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35384 Include mpa.h and declare __MPEXP.
35385 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35386 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35387 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35388 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35389 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35390 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35391 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35393 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35394 (__slowpow): Use long double EXPL and LOGL functions to
35396 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35397 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35398 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35399 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35400 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35401 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35403 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35404 intermediate variable to calculate exponent.
35406 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35410 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35411 [!NO__SQR]: Define __sqr.
35412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35413 and NO__SQR. Remove all code except __mul and __sqr. Include
35414 sysdeps/ieee754/dbl-64/mpa.c.
35415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35418 * posix/Makefile (tests): Add tst-pathconf.
35419 * posix/tst-pathconf.c: New test case.
35420 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35422 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35424 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
35426 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35428 2013-03-06 Andreas Jaeger <aj@suse.de>
35430 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35431 definition via __MAP_ANONYMOUS.
35433 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35434 it's not part of Linux headers.
35436 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35437 (MAP_HUGE_MASK): Define.
35439 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35441 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35442 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35444 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35445 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35447 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35448 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35450 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35452 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35453 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35454 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35455 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35456 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35457 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35459 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35462 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35463 Handle f2fs and efivarfs.
35465 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35468 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35469 (EFIVARFS_MAGIC): Add.
35470 (F2FS_LINK_MAX): Add.
35472 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35474 * stdio-common/vfprintf.c: Replace __builtin_expect with
35477 2013-03-06 Joseph Myers <joseph@codesourcery.com>
35480 * sysdeps/generic/bp-sym.h: Remove file.
35481 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35482 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35483 <bp-sym.h> and <bp-asm.h>.
35484 (__longjmp): Don't use BP_SYM.
35485 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35487 (memcpy): Don't use BP_SYM.
35488 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35489 <bp-sym.h> and <bp-asm.h>.
35490 (memcpy): Don't use BP_SYM.
35491 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35493 (memcpy): Don't use BP_SYM.
35494 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35496 (memset): Don't use BP_SYM.
35497 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35498 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35499 (__bzero): Don't use BP_SYM.
35500 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35501 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35502 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35503 <bp-sym.h> and <bp-asm.h>.
35504 (memcmp): Don't use BP_SYM. Remove comment about bounded
35506 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35507 <bp-sym.h> and <bp-asm.h>.
35508 (memcpy): Don't use BP_SYM.
35509 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35510 <bp-sym.h> and <bp-asm.h>.
35511 (memset): Don't use BP_SYM.
35512 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35513 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35514 (__bzero): Don't use BP_SYM.
35515 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35516 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35517 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35518 <bp-sym.h> and <bp-asm.h>.
35519 (strncmp): Don't use BP_SYM. Remove comment about bounded
35521 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35522 <bp-sym.h> and <bp-asm.h>.
35523 (memcpy): Don't use BP_SYM.
35524 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35525 <bp-sym.h> and <bp-asm.h>.
35526 (memset): Don't use BP_SYM.
35527 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35528 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35529 (__bzero): Don't use BP_SYM.
35530 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35531 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35532 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35533 <bp-sym.h> and <bp-asm.h>.
35534 (__memchr): Don't use BP_SYM.
35535 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35536 <bp-sym.h> and <bp-asm.h>.
35537 (memcmp): Don't use BP_SYM. Remove comment about bounded
35539 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35540 <bp-sym.h> and <bp-asm.h>.
35541 (memcpy): Don't use BP_SYM.
35542 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35543 <bp-sym.h> and <bp-asm.h>.
35544 (__mempcpy): Don't use BP_SYM.
35545 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35546 <bp-sym.h> and <bp-asm.h>.
35547 (__memrchr): Don't use BP_SYM.
35548 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35549 <bp-sym.h> and <bp-asm.h>.
35550 (memset): Don't use BP_SYM.
35551 (__bzero): Likewise.
35552 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35553 <bp-sym.h> and <bp-asm.h>.
35554 (__rawmemchr): Don't use BP_SYM.
35555 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35556 <bp-sym.h> and <bp-asm.h>.
35557 (__STRCMP): Don't use BP_SYM.
35558 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35559 <bp-sym.h> and <bp-asm.h>.
35560 (strchr): Don't use BP_SYM.
35561 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35562 <bp-sym.h> and <bp-asm.h>.
35563 (__strchrnul): Don't use BP_SYM.
35564 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35565 <bp-sym.h> and <bp-asm.h>.
35566 (strlen): Don't use BP_SYM.
35567 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35568 <bp-sym.h> and <bp-asm.h>.
35569 (strncmp): Don't use BP_SYM. Remove comment about bounded
35571 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35572 <bp-sym.h> and <bp-asm.h>.
35573 (__strnlen): Don't use BP_SYM.
35574 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35575 <bp-sym.h> and <bp-asm.h>.
35576 (__GI__setjmp): Don't use BP_SYM.
35577 (_setjmp): Likewise.
35578 (__sigsetjmp): Likewise.
35579 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35580 (L(start_addresses)): Don't use BP_SYM.
35581 (_start): Likewise.
35582 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35584 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35585 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35586 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35587 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35588 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35590 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35591 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
35592 about bounded pointers.
35593 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35594 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35595 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35597 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35598 about bounded pointers. Remove GKM FIXME comments.
35599 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35600 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35602 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35603 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
35604 Remove GKM FIXME comments.
35605 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35606 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35607 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35609 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35610 about bounded pointers. Remove GKM FIXME comment.
35611 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35613 (strncmp): Don't use BP_SYM. Remove comment about bounded
35615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35616 <bp-sym.h> and <bp-asm.h>.
35617 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35619 <bp-sym.h> and <bp-asm.h>.
35620 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35623 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35625 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35628 2013-03-05 David S. Miller <davem@davemloft.net>
35630 * po/es.po: Update from translation team.
35632 2013-03-05 Andreas Jaeger <aj@suse.de>
35634 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35635 <bits/mman-linux.h>.
35636 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35638 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35639 <bits/mman-linux.h> to end of file.
35640 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35642 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35643 <bits/mman-linux.h> to end of file.
35644 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35646 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35647 <bits/mman-linux.h> to end of file.
35649 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35650 (MCL_CURRENT, MCL_FUTURE): Define here.
35652 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35655 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35657 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35659 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35661 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35662 fourth parameter needed for rt_sigprocmask syscall.
35663 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35664 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35665 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35666 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35667 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35668 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35670 2013-03-04 Joseph Myers <joseph@codesourcery.com>
35673 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35674 comment about bounded pointers.
35675 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35676 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35678 2013-03-04 Andreas Jaeger <aj@suse.de>
35680 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35681 common definitions.
35683 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35684 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35685 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35686 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35687 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35688 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35690 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35693 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35694 __ieee754_sqrl instead of __sqrl.
35696 2013-03-01 Joseph Myers <joseph@codesourcery.com>
35698 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35699 * sysdeps/powerpc/fpu_control.h: ... here.
35700 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35701 * sysdeps/powerpc/bits/fenvinline.h: ... here.
35702 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35703 * sysdeps/powerpc/bits/mathinline.h: ... here.
35705 2013-03-01 Roland McGrath <roland@hack.frob.com>
35707 * elf/dl-hwcaps.c (_dl_important_hwcaps):
35708 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35709 to just [NEED_DL_SYSINFO_DSO].
35710 * elf/dl-support.c: Likewise.
35711 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35712 * elf/rtld.c (dl_main): Likewise.
35713 * elf/setup-vdso.h (setup_vdso): Likewise.
35714 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35715 * sysdeps/unix/sysv/linux/dl-sysdep.c
35716 (_dl_discover_osversion): Likewise.
35718 2013-03-01 Carlos O'Donell <carlos@redhat.com>
35720 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35721 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35723 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35725 * NEWS: Mention libm performance improvements and non-x86 PI
35728 * csu/libc-start.c (__pthread_initialize_minimal): Change
35729 function arguments.
35730 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35732 2013-02-28 Joseph Myers <joseph@codesourcery.com>
35735 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35736 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35737 <bp-sym.h> and <bp-asm.h>.
35738 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35739 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35741 (memcpy): Don't use BP_SYM.
35742 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35744 (__mpn_add_n): Don't use BP_SYM.
35745 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35746 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35748 (__mpn_addmul_1): Don't use BP_SYM.
35749 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35750 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35752 (_setjmp): Don't use BP_SYM.
35753 (__novmx_setjmp): Likewise.
35754 (__GI__setjmp): Likewise.
35755 (__vmx_setjmp): Likewise.
35756 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35758 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35759 (__bzero): Don't use BP_SYM.
35760 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35761 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35762 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35763 <bp-sym.h> and <bp-asm.h>.
35764 (memcpy): Don't use BP_SYM.
35765 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35766 <bp-sym.h> and <bp-asm.h>.
35767 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35768 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35769 <bp-sym.h> and <bp-asm.h>.
35770 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35771 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35773 (__mpn_lshift): Don't use BP_SYM.
35774 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35775 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35777 (memset): Don't use BP_SYM.
35778 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35779 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35780 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35782 (__mpn_mul_1): Don't use BP_SYM.
35783 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35784 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35785 <bp-sym.h> and <bp-asm.h>.
35786 (memcmp): Don't use BP_SYM.
35787 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35788 <bp-sym.h> and <bp-asm.h>.
35789 (memcpy): Don't use BP_SYM.
35790 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35791 <bp-sym.h> and <bp-asm.h>.
35792 (memset): Don't use BP_SYM.
35793 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35794 <bp-sym.h> and <bp-asm.h>.
35795 (strncmp): Don't use BP_SYM.
35796 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35797 <bp-sym.h> and <bp-asm.h>.
35798 (memcpy): Don't use BP_SYM.
35799 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35800 <bp-sym.h> and <bp-asm.h>.
35801 (memset): Don't use BP_SYM.
35802 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35803 <bp-sym.h> and <bp-asm.h>.
35804 (__memchr): Don't use BP_SYM.
35805 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35806 <bp-sym.h> and <bp-asm.h>.
35807 (memcmp): Don't use BP_SYM.
35808 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35809 <bp-sym.h> and <bp-asm.h>.
35810 (memcpy): Don't use BP_SYM.
35811 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35812 <bp-sym.h> and <bp-asm.h>.
35813 (__mempcpy): Don't use BP_SYM.
35814 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35815 <bp-sym.h> and <bp-asm.h>.
35816 (__memrchr): Don't use BP_SYM.
35817 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35818 <bp-sym.h> and <bp-asm.h>.
35819 (memset): Don't use BP_SYM.
35820 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35821 <bp-sym.h> and <bp-asm.h>.
35822 (__rawmemchr): Don't use BP_SYM.
35823 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35824 <bp-sym.h> and <bp-asm.h>.
35825 (__STRCMP): Don't use BP_SYM.
35826 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35827 <bp-sym.h> and <bp-asm.h>.
35828 (strchr): Don't use BP_SYM.
35829 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35830 <bp-sym.h> and <bp-asm.h>.
35831 (__strchrnul): Don't use BP_SYM.
35832 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35833 <bp-sym.h> and <bp-asm.h>.
35834 (strlen): Don't use BP_SYM.
35835 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35836 <bp-sym.h> and <bp-asm.h>.
35837 (strncmp): Don't use BP_SYM.
35838 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35839 <bp-sym.h> and <bp-asm.h>.
35840 (__strnlen): Don't use BP_SYM.
35841 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35843 (__mpn_rshift): Don't use BP_SYM.
35844 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35845 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35846 <bp-sym.h> and <bp-asm.h>.
35847 (__sigsetjmp): Don't use BP_SYM.
35848 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35849 (L(start_addresses)): Don't use BP_SYM.
35850 (_start): Likewise.
35851 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35853 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35854 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35855 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35856 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35858 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35859 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35860 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35861 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35863 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35865 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35866 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35868 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
35870 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35871 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35872 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35874 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35876 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35878 (strncmp): Don't use BP_SYM,
35879 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35881 (__mpn_sub_n): Don't use BP_SYM.
35882 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35883 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35885 (__mpn_submul_1): Don't use BP_SYM.
35886 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35888 <bp-sym.h> and <bp-asm.h>.
35889 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35891 <bp-sym.h> and <bp-asm.h>.
35892 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35895 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35898 Use ZK to minimize writes to Z.
35899 (sub_magnitudes): Simplify code a bit.
35900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35901 Use ZK to minimize writes to Z.
35902 (sub_magnitudes): Simplify code a bit.
35904 2013-02-27 Roland McGrath <roland@hack.frob.com>
35906 * csu/gmon-start.c: Add special exception to license text.
35908 2013-02-27 Richard Henderson <rth@redhat.com>
35910 * scripts/config.guess: Update from config.git.
35911 * scripts/config.sub: Likewise.
35913 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35915 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35917 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35919 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35921 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35923 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35925 2013-02-26 Roland McGrath <roland@hack.frob.com>
35927 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35928 [$(build-shared = yes].
35930 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35932 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35933 (__mul): Reduce iterations for calculating mantissa.
35935 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35937 (__mpranred): Likewise.
35940 * malloc/memusagestat.c (main): Draw graphs for heap and stack
35941 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35943 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
35945 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35946 Define __attribute__.
35948 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35950 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35952 * posix/regex_internal.h (__attribute): Remove.
35953 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35954 (re_string_context_at): Likewise.
35955 (bitset_not): Use __attribute__ and mark function as possibly
35957 (bitset_merge): Likewise.
35958 (bitset_mask): Likewise.
35959 (re_string_char_size_at): Likewise.
35960 (re_string_wchar_at): Likewise.
35961 (re_string_elem_size_at): Likewise.
35963 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35965 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35969 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35973 (denorm): Likewise.
35974 (__dbl_mp): Likewise.
35975 (add_magnitudes): Likewise.
35976 (sub_magnitudes): Likewise.
35980 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35983 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35986 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35990 up changes with default code.
35991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35994 2013-02-24 Allan McRae <allan@archlinux.org>
35996 * manual/socket.texi (The Internet Namespace): Order menu items
35997 to match that in the file.
35999 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36000 node listing of the info page menu.
36002 2013-02-21 Joseph Myers <joseph@codesourcery.com>
36005 * sysdeps/i386/bp-asm.h: Remove file.
36006 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36007 (PARMS): Do not use macros from bp-asm.h.
36011 (__mpn_add_n): Do not use BP_SYM
36012 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36014 (PARMS): Do not use macros from bp-asm.h.
36017 (__mpn_addmul_1): Do not use BP_SYM
36018 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36020 (PARMS): Do not use macros from bp-asm.h.
36021 (SIGMSK): Likewise.
36022 (_setjmp): Likewise. Do not use BP_SYM.
36023 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36025 (PARMS): Do not use macros from bp-asm.h.
36026 (SIGMSK): Likewise.
36027 (setjmp): Likewise. Do not use BP_SYM.
36028 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36030 (PARMS): Do not use macros from bp-asm.h.
36031 (__frexp): Do not use BP_SYM.
36033 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36035 (PARMS): Do not use macros from bp-asm.h.
36036 (__frexpf): Do not use BP_SYM.
36037 (frexpf): Likewise.
36038 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36040 (PARMS): Do not use macros from bp-asm.h.
36041 (__frexpl): Do not use BP_SYM.
36042 (frexpl): Likewise.
36043 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36045 (PARMS): Do not use macros from bp-asm.h.
36046 (__remquo): Do not use BP_SYM.
36047 (remquo): Likewise.
36048 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36050 (PARMS): Do not use macros from bp-asm.h.
36051 (__remquof): Do not use BP_SYM.
36052 (remquof): Likewise.
36053 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36055 (PARMS): Do not use macros from bp-asm.h.
36056 (__remquol): Do not use BP_SYM.
36057 (remquol): Likewise.
36058 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36060 (PARMS): Do not use macros from bp-asm.h.
36063 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
36064 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36066 (PARMS): Do not use macros from bp-asm.h.
36067 (strlen): Do not use BP_SYM.
36068 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36070 (PARMS): Do not use macros from bp-asm.h.
36074 (__mpn_add_n): Do not use BP_SYM.
36075 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36077 (PARMS): Do not use macros from bp-asm.h.
36080 (__mpn_addmul_1): Do not use BP_SYM.
36081 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36084 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36086 (PARMS): Do not use macros from bp-asm.h.
36089 (__mpn_lshift): Do not use BP_SYM.
36090 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36092 (PARMS): Do not use macros from bp-asm.h.
36096 (memcpy): Likewise. Do not use BP_SYM.
36097 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36098 libc_hidden_def and weak_alias.
36099 (mempcpy): Do not use BP_SYM in weak_alias.
36100 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36102 (PARMS): Do not use macros from bp-asm.h.
36105 [!BZERO_P] (CHR): Likewise.
36106 (memset): Likewise. Do not use BP_SYM.
36107 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36109 (PARMS): Do not use macros from bp-asm.h.
36112 (__mpn_mul_1): Do not use BP_SYM.
36113 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36115 (PARMS): Do not use macros from bp-asm.h.
36118 (__mpn_rshift): Do not use BP_SYM.
36119 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36121 (PARMS): Do not use macros from bp-asm.h.
36124 (strchr): Likewise. Do not use BP_SYM.
36125 (index): Do not use BP_SYM in weak_alias.
36126 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36128 (PARMS): Do not use macros from bp-asm.h.
36131 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
36132 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36134 (PARMS): Do not use macros from bp-asm.h.
36135 (strlen): Do not use BP_SYM.
36136 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36138 (PARMS): Do not use macros from bp-asm.h.
36142 (__mpn_sub_n): Do not use BP_SYM.
36143 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36145 (PARMS): Do not use macros from bp-asm.h.
36148 (__mpn_submul_1): Do not use BP_SYM.
36149 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36151 (PARMS): Do not use macros from bp-asm.h.
36155 (__mpn_add_n): Do not use BP_SYM.
36156 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36159 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36161 (PARMS): Do not use macros from bp-asm.h.
36164 (memcmp): Do not use BP_SYM.
36165 (bcmp): Do not use BP_SYM in weak_alias.
36166 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36168 (PARMS): Do not use macros from bp-asm.h.
36172 (memcpy): Likewise. Do not use BP_SYM.
36173 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36175 (PARMS): Do not use macros from bp-asm.h.
36179 (memmove): Likewise. Do not use BP_SYM.
36180 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36182 (PARMS): Do not use macros from bp-asm.h.
36186 (__mempcpy): Likewise. Do not use BP_SYM.
36187 (mempcpy): Do not use BP_SYM in weak_alias.
36188 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36190 (PARMS): Do not use macros from bp-asm.h.
36193 [!BZERO_P] (CHR): Likewise.
36194 (memset): Likewise. Do not use BP_SYM.
36195 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36197 (PARMS): Do not use macros from bp-asm.h.
36199 (strcmp): Do not use BP_SYM.
36200 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36202 (PARMS): Do not use macros from bp-asm.h.
36205 [USE_AS_STRTOK_R] (SAVE): Likewise.
36206 (FUNCTION): Likewise. Do not use BP_SYM.
36207 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36209 (strtok_r): Likewise.
36210 (__GI___strtok_r): Likewise.
36211 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36212 (PARMS): Do not use macros from bp-asm.h.
36215 (__mpn_lshift): Do not use BP_SYM.
36216 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36217 (PARMS): Do not use macros from bp-asm.h.
36220 (__memchr): Do not use BP_SYM.
36221 (memchr): Do not use BP_SYM in weak_alias.
36222 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36223 (PARMS): Do not use macros from bp-asm.h.
36226 (memcmp): Do not use BP_SYM.
36227 (bcmp): Do not use BP_SYM in weak_alias.
36228 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36229 (PARMS): Do not use macros from bp-asm.h.
36232 (__mpn_mul_1): Do not use BP_SYM.
36233 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36235 (PARMS): Do not use macros from bp-asm.h.
36238 (__rawmemchr): Do not use BP_SYM.
36239 (rawmemchr): Do not use BP_SYM in weak_alias.
36240 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36241 (PARMS): Do not use macros from bp-asm.h.
36244 (__mpn_rshift): Do not use BP_SYM.
36245 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36246 (PARMS): Do not use macros from bp-asm.h.
36247 (SIGMSK): Likewise.
36248 (__sigsetjmp): Likewise. Do not use BP_SYM.
36249 * sysdeps/i386/start.S: Do not include "bp-sym.h".
36250 (_start): Do not use BP_SYM.
36251 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36252 (PARMS): Do not use macros from bp-asm.h.
36255 (__stpcpy): Likewise. Do not use BP_SYM.
36256 (stpcpy): Do not use BP_SYM in weak_alias.
36257 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36259 (PARMS): Do not use macros from bp-asm.h.
36263 (__stpncpy): Likewise. Do not use BP_SYM.
36264 (stpncpy): Do not use BP_SYM in weak_alias.
36265 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36266 (PARMS): Do not use macros from bp-asm.h.
36269 (strchr): Likewise. Do not use BP_SYM.
36270 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36272 (PARMS): Do not use macros from bp-asm.h.
36275 (__strchrnul): Likewise. Do not use BP_SYM.
36276 (strchrnul): Do not use BP_SYM in weak_alias.
36277 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36279 (PARMS): Do not use macros from bp-asm.h.
36281 (strcspn): Do not use BP_SYM.
36282 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36284 (PARMS): Do not use macros from bp-asm.h.
36287 (strpbrk): Likewise. Do not use BP_SYM.
36288 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36290 (PARMS): Do not use macros from bp-asm.h.
36293 (strrchr): Likewise. Do not use BP_SYM.
36294 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36295 (PARMS): Do not use macros from bp-asm.h.
36297 (strspn): Do not use BP_SYM.
36298 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36299 (PARMS): Do not use macros from bp-asm.h.
36303 (FUNCTION): Likewise. Do not use BP_SYM.
36304 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36306 (strtok_r): Likewise.
36307 (__GI___strtok_r): Likewise.
36308 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36309 (PARMS): Do not use macros from bp-asm.h.
36313 (__mpn_sub_n): Do not use BP_SYM.
36314 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36316 (PARMS): Do not use macros from bp-asm.h.
36319 (__mpn_submul_1): Do not use BP_SYM.
36320 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36322 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36324 (PARMS): Do not use macros from bp-asm.h.
36329 (__clone): Do not use BP_SYM.
36330 (clone): Do not use BP_SYM in weak_alias.
36331 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36333 (PARMS): Do not use macros from bp-asm.h.
36335 (__mmap64): Do not use BP_SYM.
36336 (mmap64): Do not use BP_SYM in weak_alias.
36337 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36338 <bp-sym.h> and <bp-asm.h>.
36339 (PARMS): Do not use macros from bp-asm.h.
36340 (__posix_fadvise64_l64): Do not use BP_SYM.
36341 * sysdeps/unix/sysv/linux/i386/semtimedop.S
36342 (PARMS): Do not use macros from bp-asm.h.
36344 (semtimedop): Do not use BP_SYM.
36345 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36348 2013-02-21 Allan McRae <allan@archlinux.org>
36350 * manual/message.texi (Charset conversion in gettext):
36351 Move @end statement to beginning of line.
36353 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36355 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36357 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36360 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36361 (denorm): Likewise.
36362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36365 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36367 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36368 tail-call to the resolved function if pltexit isn't needed.
36370 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36373 or Y being zero as being unlikely.
36374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36377 2013-02-20 Carlos O'Donell <carlos@redhat.com>
36379 * manual/nss.texi (System Databases and Name Service Switch):
36380 Remove frobnicate @pxref.
36382 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36384 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36385 __attribute__ ((unused)) to __attribute__ ((__unused__)).
36387 2013-02-20 Petr Machata <pmachata@redhat.com>
36389 * elf/elf.h (R_ARM_TARGET1): New macro.
36390 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36391 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36392 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36393 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36394 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36395 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36396 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36397 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36398 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36399 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36400 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36401 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36402 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36403 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36404 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36405 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36406 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36407 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36408 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36409 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36410 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36411 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36412 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36413 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36414 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36415 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36416 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36417 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36418 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36419 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36420 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36421 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36422 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36423 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36424 (R_ARM_THM_GOT_BREL12): Likewise.
36425 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36426 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36427 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36428 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36429 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36430 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36431 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36432 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36433 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36435 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36437 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36438 __attribute_used__ to __attribute__ ((unused)).
36440 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36442 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36445 comment formatting.
36446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36448 2013-02-19 Joseph Myers <joseph@codesourcery.com>
36451 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36453 (ENTER): Remove both macro definitions.
36455 (CHECK_BOUNDS_LOW): Likewise.
36456 (CHECK_BOUNDS_HIGH): Likewise.
36457 (CHECK_BOUNDS_BOTH): Likewise.
36458 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36459 (RETURN_BOUNDED_POINTER): Likewise.
36460 (RETURN_NULL_BOUNDED_POINTER): Likewise.
36461 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36462 (POP_ERRNO_LOCATION_RETURN): Likewise.
36463 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36464 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36465 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36467 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36468 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36469 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36470 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36471 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36472 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36473 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36474 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36475 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36476 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36477 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36478 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36479 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36480 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36482 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36483 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36485 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36486 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36487 * sysdeps/i386/i586/memset.S (memset): Likewise.
36488 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36489 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36490 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36492 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36493 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36494 Change uses of L(2) to L(out).
36495 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36496 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36497 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36498 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36499 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36501 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36502 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36504 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36505 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36506 (RETURN): Do not use macro LEAVE.
36507 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36508 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36509 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36510 * sysdeps/i386/i686/memset.S (memset): Likewise.
36511 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36512 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36513 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36514 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36516 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36517 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
36518 L(1_2) and L(1_3) into L(1).
36519 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36520 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36521 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36522 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36523 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36524 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36525 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36526 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36527 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36529 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36530 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36531 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36532 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36533 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36534 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36535 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36536 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36537 * sysdeps/i386/strcspn.S (strcspn): Likewise.
36538 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36539 * sysdeps/i386/strrchr.S (strrchr): Likewise.
36540 * sysdeps/i386/strspn.S (strspn): Likewise.
36541 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36543 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36544 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36545 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36546 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
36547 L(1_3) into L(1_1).
36548 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36549 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36550 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36552 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36554 2013-02-19 Jakub Jelinek <jakub@redhat.com>
36556 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36559 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36561 * math/atest-exp.c (exp_mpn): Remove ROUND.
36562 * math/atest-exp2.c (exp_mpn): Likewise.
36563 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36565 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36566 * stdlib/tst-tls-atexit-lib.c: Likewise.
36567 * stdlib/tst-tls-atexit.c: Likewise.
36569 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36571 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36572 and __attribute_alloc_size__.
36574 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36576 * include/programs/xmalloc.h: Change __attribute_alloc_size to
36577 __attribute_alloc_size__.
36578 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36579 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36581 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36583 * include/programs/xmalloc.h: New file.
36584 * catgets/gencat.c: Include it.
36585 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36586 * elf/pldd.c: Likewise.
36587 * iconv/iconv_charmap.c: Likewise.
36588 * iconv/iconvconfig.c: Likewise.
36589 * iconv/strtab.c: Likewise.
36590 * locale/programs/locale.c: Likewise.
36591 * locale/programs/localedef.h: Likewise.
36592 * locale/programs/simple-hash.c: Likewise.
36593 * nscd/nscd.h: Likewise.
36594 * nss/makedb.c: Likewise.
36595 * sysdeps/generic/ldconfig.h: Likewise.
36597 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36599 * Versions.def: Add GLIBC_2.18.
36600 * include/link.h (struct link_map): New member l_tls_dtor_count.
36601 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36602 (__call_tls_dtors): Likewise.
36603 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36604 __cxa_thread_atexit_impl.
36605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36613 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36621 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36622 (tests): Add test case tst-tls-atexit.
36623 (modules-names): Add shared library for tst-tls-atexit.
36624 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36625 (GLIBC_PRIVATE): Add __call_tls_dtors.
36626 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36628 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36629 * stdlib/tst-tls-atexit.c: New test case.
36630 * stdlib/tst-tls-atexit-lib.c: New test case.
36632 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36634 * elf/Versions (ld): Add _dl_find_dso_for_object.
36635 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36636 * elf/dl-open.c (_dl_find_dso_for_object): New function.
36637 (dl_open_worker): Use _dl_find_dso_for_object.
36638 * elf/dl-sym.c (do_sym): Likewise.
36639 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36641 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36643 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36644 Syntactic changes only.
36645 (_dl_runtime_profile): Do a tail-call to the resolved function.
36647 2013-02-17 Joseph Myers <joseph@codesourcery.com>
36650 * sysdeps/x86_64/bp-asm.h: Remove file.
36651 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36652 <bp-sym.h> and <bp-asm.h>.
36653 (__clone): Do not use BP_SYM.
36654 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36655 <bp-sym.h> and <bp-asm.h>.
36656 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36657 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36659 (_setjmp): Do not use BP_SYM.
36660 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36662 (setjmp): Do not use BP_SYM.
36663 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36665 (mempcpy): Do not use BP_SYM in weak_alias.
36666 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36668 (strchr): Do not use BP_SYM.
36669 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36671 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36672 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36673 (_start): Do not use BP_SYM.
36674 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36676 (strcat): Do not use BP_SYM.
36677 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36679 (STRCMP): Do not use BP_SYM.
36680 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36682 (STRCPY): Do not use BP_SYM.
36683 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36685 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36687 (FUNCTION): Do not use BP_SYM.
36688 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36690 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36692 2013-02-17 Andreas Jaeger <aj@suse.de>
36694 * time/Versions: Sort entries.
36695 * string/Versions: Likewise.
36696 * resolv/Versions: Likewise.
36697 * posix/Versions: Likewise.
36698 * iconv/Versions: Likewise.
36699 * elf/Versions: Likewise.
36700 * wcsmbs/Versions: Likewise.
36702 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36704 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36705 loop termination condition.
36707 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36708 variable to calculate EZ.
36711 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36712 the lower precision input.
36714 2013-02-15 Joseph Myers <joseph@codesourcery.com>
36717 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36718 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36719 (run-via-rtld-prefix): Do not handle %-bp tests.
36720 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36721 (all-object-suffixes): Remove .ob.
36722 (bppfx): Remove variable.
36723 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36724 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36725 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36726 [$(build-bounded) = yes] (libtype.ob): Likewise.
36727 * Makerules (elide-routines.ob): Remove variable.
36728 (do-tests-clean): Do not handle *-bp.out.
36729 (common-mostlyclean): Do not handle *-bp and *-bp.out.
36730 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36731 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36732 (tests): Do not include $(tests-bp.out).
36733 (xtests): Do not include $(xtests-bp.out).
36734 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36735 [$(build-bounded) = yes] ($(addprefix
36736 $(objpfx),$(binaries-bounded))): Remove rule.
36737 ($(objpfx)%-bp.out): Remove rule.
36738 * config.make.in (build-bounded): Remove variable.
36739 * crypt/Makefile [$(build-bounded) = yes]
36740 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36741 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36742 append to variable.
36743 [$(build-bounded) = yes] (install-lib): Likewise.
36744 [$(build-bounded) = yes] (generated): Likewise.
36745 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36747 * intl/Makefile [$(build-bounded) = yes]
36748 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36749 * math/Makefile [$(build-bounded) = yes]
36750 ($(tests:%=$(objpfx)%-bp): Likewise.
36751 * misc/Makefile [$(build-bounded) = yes]
36752 ($(objpfx)tst-tsearch-bp): Likewise.
36753 * nptl/Makeconfig (bounded-thread-library): Remove variable.
36754 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36756 * string/Makefile (o-objects.ob): Remove variable.
36757 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36758 (CFLAGS-.ob): Remove variable.
36759 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36760 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36761 both definitions of variable.
36762 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36763 (ASFLAGS-.ob): Remove variable.
36765 2013-02-14 Joseph Myers <joseph@codesourcery.com>
36768 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36769 Remove __BOUNDED_POINTERS__ from condition.
36770 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36771 * string/bits/string2.h [!__NO_STRING_INLINES &&
36772 !__BOUNDED_POINTERS__]: Likewise.
36773 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36775 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36776 Remove conditional code.
36777 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36778 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36779 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36783 * csu/libc-start.c: Do not include <bp-sym.h>.
36784 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36785 * elf/dl-open.c: Do not include <bp-sym.h>.
36786 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36787 * math/fegetenv.c: Do not include <bp-sym.h>.
36788 (fegetenv): Do not use BP_SYM in versioned symbols.
36789 * nptl/sysdeps/pthread/bits/libc-lockP.h
36790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36793 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36795 (__pthread_mutex_destroy): Likewise.
36796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36797 (__pthread_mutex_lock): Likewise.
36798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36799 (__pthread_mutex_trylock): Likewise.
36800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36801 (__pthread_mutex_unlock): Likewise.
36802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36803 (__pthread_mutexattr_init): Likewise.
36804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36805 (__pthread_mutexattr_destroy): Likewise.
36806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36807 (__pthread_mutexattr_settype): Likewise.
36808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36809 (__pthread_rwlock_init): Likewise.
36810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36811 (__pthread_rwlock_destroy): Likewise.
36812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36813 (__pthread_rwlock_rdlock): Likewise.
36814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36815 (__pthread_rwlock_tryrdlock): Likewise.
36816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36817 (__pthread_rwlock_wrlock): Likewise.
36818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36819 (__pthread_rwlock_trywrlock): Likewise.
36820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36821 (__pthread_rwlock_unlock): Likewise.
36822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36823 (__pthread_key_create): Likewise.
36824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36825 (__pthread_setspecific): Likewise.
36826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36827 (__pthread_getspecific): Likewise.
36828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36831 (_pthread_cleanup_push_defer): Likewise.
36832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36833 (_pthread_cleanup_pop_restore): Likewise.
36834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36835 (pthread_setcancelstate): Likewise.
36836 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36838 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36839 (memchr): Do not use BP_SYM in weak_alias.
36840 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36841 (fegetenv): Do not use BP_SYM in versioned symbols.
36842 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36843 (fesetenv): Do not use BP_SYM in versioned symbols.
36844 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36845 (feupdateenv): Do not use BP_SYM in versioned symbols.
36846 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36847 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36848 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36849 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36850 (open64): Do not use BP_SYM in weak_alias.
36851 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36852 (fegetenv): Do not use BP_SYM in versioned symbols.
36853 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36854 (fesetenv): Do not use BP_SYM in versioned symbols.
36855 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36856 (feupdateenv): Do not use BP_SYM in versioned symbols.
36857 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36858 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36859 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36860 (feraiseexcept): Do not use BP_SYM in versioned symbols.
36861 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36862 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36863 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36865 (__libc_start_main): Do not use BP_SYM.
36867 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36869 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36870 redundant return line.
36872 (denorm): Likewise.
36873 (dbl_mp): Likewise.
36874 (sub_magnitudes): Likewise.
36880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36882 (denorm): Likewise.
36883 (dbl_mp): Likewise.
36884 (sub_magnitudes): Likewise.
36891 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36893 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36894 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36897 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36898 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36899 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36900 of __mul for squares.
36901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36903 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36905 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36906 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36908 2013-02-13 Joseph Myers <joseph@codesourcery.com>
36911 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36913 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36914 prototype or function definition. Rename ubp_* variables and
36915 parameters. Remove argv definitions conditional on
36916 [__BOUNDED_POINTERS__].
36917 * debug/backtrace.c (__backtrace): Do not use __unbounded.
36918 * elf/dl-runtime.c (_dl_fixup): Likewise.
36919 * include/set-hooks.h (RUN_HOOK): Likewise.
36920 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36922 * string/strcpy.c (strcpy): Do not use __unbounded.
36923 * sysdeps/generic/frame.h (struct layout): Likewise.
36924 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36925 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36926 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36927 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36928 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36929 (__backtrace): Likewise.
36930 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36932 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36933 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36934 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36936 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36937 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36938 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36939 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36940 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36941 Do not use __unbounded.
36942 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36943 Rename __unboundedrlimits parameter to rlimits in prototype.
36944 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36945 Do not use __unbounded.
36946 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36947 not use __ptrvalue.
36948 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36949 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36950 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36951 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36952 __ptrvalue or __unbounded.
36953 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36954 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36956 (__new_msgctl): Do not use __ptrvalue.
36957 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36959 (__libc_msgrcv): Do not use __ptrvalue.
36960 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36961 startup_info): Do not use __unbounded.
36962 (__libc_start_main): Likewise. Rename ubp_* variables and
36963 parameters. Remove argv definitions conditional on
36964 [__BOUNDED_POINTERS__].
36965 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36967 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36969 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36971 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36973 (__new_shmctl): Do not use __ptrvalue.
36974 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36975 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36977 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36978 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36979 (__libc_sigaction): Likewise.
36980 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36981 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36983 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36985 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
36987 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36989 * string/mempcpy.c: Implement by calling memcpy.
36991 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36993 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36995 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36998 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36999 values in the mantissa.
37001 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37002 minimize writes to Z.
37003 (sub_magnitudes): Simplify code a bit.
37005 2013-02-12 Roland McGrath <roland@hack.frob.com>
37007 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37008 from the message. The linker prefixes all warnings with that already.
37010 2013-02-12 Andreas Schwab <schwab@suse.de>
37013 * posix/regexec.c (extend_buffers): Add parameter min_len.
37014 (check_matching): Pass minimum needed length.
37015 (clean_state_log_if_needed): Likewise.
37016 (get_subexp): Likewise.
37017 * posix/Makefile (tests): Add bug-regex34.
37018 (bug-regex34-ENV): Define.
37019 * posix/bug-regex34.c: New file.
37022 * posix/regcomp.c (parse_bracket_exp): When looking up collating
37023 elements compare against the byte sequence of it, not its name.
37024 * posix/Makefile (tests): Add bug-regex35.
37025 (bug-regex35-ENV): Define.
37026 * posix/bug-regex35.c: New file.
37028 2013-02-11 Tom de Vries <tom@codesourcery.com>
37030 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
37032 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37033 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37034 (CHECK_EOL): Add undef.
37036 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
37038 * bits/stdlib-bsearch.h: New file.
37039 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37040 * stdlib/stdlib.h: Likewise.
37042 2013-02-11 Roland McGrath <roland@hack.frob.com>
37044 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37045 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37047 * manual/search.texi (Array Search Function): Add missing const in
37049 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37050 declaration to use rlim_t.
37051 (Basic Scheduling Functions): Remove erroneous const from
37052 sched_getparam prototype. Remove erroneous * from
37053 sched_get_priority_max and sched_get_priority_min prototypes.
37054 (Resource Usage): Fix summary @comment on vtimes to refer to
37055 sys/vtimes.h rather than vtimes.h.
37056 Add missing *s in vtimes prototype.
37057 (Limits on Resources): Fix ulimit prototype to return long int.
37058 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37059 prototypes to use long int rather than double.
37060 (BSD Random): Fix initstate and setstate to use char *, not void *.
37061 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37062 prototype to make second argument 'struct aiocb64 *const[]'.
37063 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37064 (Status of AIO Operations): Remove erroneous const in aio_return and
37065 aio_return64 prototypes.
37066 (Synchronizing I/O): Fix sync prototype to return void.
37067 * manual/startup.texi (Suboptions): Remove an erroneous const in
37068 getsubopt prototype.
37069 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37070 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37071 use size_t rather than int.
37072 (Scanning All Users): Likewise for getpwent_r.
37073 (Setting Groups): Add missing const to setgroups prototype.
37074 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37075 * manual/socket.texi (Host Names): Fix gethostbyaddr and
37076 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37077 'const void *' rather than 'const char *'.
37078 (Host Address Functions): Likewise for inet_ntop.
37079 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37080 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37081 ssize_t for return value.
37082 (Sending Data): Likewise for send, sendto, sendmsg.
37083 (Socket Option Functions): Add a missing const in setsockopt prototype.
37084 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37085 use wchar_t for the argument.
37086 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37087 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37089 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37090 double/float/long double for second argument.
37091 Fix return types of significand, significandf, significandl.
37092 * manual/filesys.texi (Setting Permissions): Use mode_t for second
37093 argument in fchmod prototype.
37094 (File Owner): Use uid_t and gid_t in fchown prototype.
37095 (File Times): Add const to utimes, futimes, and lutimes prototypes.
37096 (Making Special Files): Use mode_t and dev_t in mknod prototype.
37097 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37098 use 'const struct dirent **' as argument types to CMP function pointer
37100 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37101 (File Times): Fix summary magic @comment for struct utimbuf and utime
37102 to refer to utime.h, not time.h.
37103 * manual/string.texi (Argz Functions): Add missing const in
37104 argz_extract and argz_next prototypes.
37105 (Finding Tokens in a String): Likewise for basename.
37106 (String/Array Comparison): Fix typo in wcscasecmp prototype.
37107 (Copying and Concatenation): Fix typo in wmemmove prototype.
37108 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37109 (Signal Stack): Remove erroneous const in sigstack prototype.
37110 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37112 (Simple Calendar Time): Likewise for stime.
37113 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37115 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37116 say sys/sysctl.h instead.
37117 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37118 and vsyslog prototypes.
37120 2013-02-11 Tom de Vries <tom@codesourcery.com>
37122 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37125 2013-02-11 Roland McGrath <roland@hack.frob.com>
37127 * misc/sys/mman.h: Fix typo in mremap comment.
37129 2013-02-08 Roland McGrath <roland@hack.frob.com>
37131 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37132 the '\0' terminator.
37134 2013-02-08 Joseph Myers <joseph@codesourcery.com>
37137 * debug/segfault.c: Don't include <bp-checks.h>.
37138 * sysdeps/generic/bp-checks.h: Remove file.
37139 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37140 (__GETDENTS): Don't use CHECK_N.
37141 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37142 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37143 (__getgroups): Don't use CHECK_N.
37144 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37145 (setgroups): Don't use CHECK_N.
37146 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37147 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37148 (__libc_msgrcv): Don't use CHECK_N.
37149 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37150 (__libc_msgsnd): Don't use CHECK_N.
37151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37153 (__libc_pread): Don't use CHECK_N.
37154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37155 include <bp-checks.h>.
37156 (__libc_pread64): Don't use CHECK_N.
37157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37158 include <bp-checks.h>.
37159 (__libc_pwrite): Don't use CHECK_N.
37160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37161 include <bp-checks.h>.
37162 (__libc_pwrite64): Don't use CHECK_N.
37163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37165 (__libc_pread): Don't use CHECK_N.
37166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37167 include <bp-checks.h>.
37168 (__libc_pread64): Don't use CHECK_N.
37169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37170 include <bp-checks.h>.
37171 (__libc_pwrite): Don't use CHECK_N.
37172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37173 include <bp-checks.h>.
37174 (__libc_pwrite64): Don't use CHECK_N.
37175 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37176 (do_pread): Don't use CHECK_N.
37177 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37178 (do_pread64): Don't use CHECK_N.
37179 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37180 (do_pwrite): Don't use CHECK_N.
37181 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37182 (do_pwrite64): Don't use CHECK_N.
37183 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37184 (__libc_readv): Don't use CHECK_N.
37185 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37186 (semop): Don't use CHECK_N.
37187 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37189 (semtimedop): Don't use CHECK_N.
37190 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37191 (__libc_pread): Don't use CHECK_N.
37192 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37194 (__libc_pread64): Don't use CHECK_N.
37195 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37197 (__libc_pwrite): Don't use CHECK_N.
37198 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37200 (__libc_pwrite64): Don't use CHECK_N.
37201 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37203 (__libc_msgrcv): Don't use CHECK_N.
37204 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37205 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
37206 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37207 (__libc_writev): Don't use CHECK_N.
37209 2013-02-08 Roland McGrath <roland@hack.frob.com>
37211 * string/strcpy.c: Removed unused variable.
37213 * Makeconfig (+sysdep-includes): Define with := rather than =.
37214 Use an existing include/ subdir of each sysdeps dir before it.
37216 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37218 * nscd/connection.c (register_traced_file): Comment function.
37219 [HAVE_INOTIFY] (union __inev): Define.
37220 [HAVE_INOTIFY] (inotify_check_files): New function.
37221 [HAVE_INOTIFY] (clear_db_cache): Likewise.
37222 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37224 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37226 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37228 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37229 loaded if not already and that a failure is permanent.
37231 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37234 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37235 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37237 2013-02-08 Joseph Myers <joseph@codesourcery.com>
37240 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37241 (CHECK_1_NULL_OK): Likewise.
37242 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37243 (__fxstat): Do not use CHECK_1.
37244 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37246 (___fxstat64): Do not use CHECK_1.
37247 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37249 (__fxstatat): Do not use CHECK_1.
37250 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37252 (__fxstatat64): Do not use CHECK_1.
37253 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37255 (__fxstat): Do not use CHECK_1.
37256 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37258 (__fxstatat): Do not use CHECK_1.
37259 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37261 (__getresgid): Do not use CHECK_1.
37262 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37264 (__getresuid): Do not use CHECK_1.
37265 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37267 (__lxstat): Do not use CHECK_1.
37268 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37270 (__old_msgctl): Do not use CHECK_1.
37271 (__new_msgctl): Likewise.
37272 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37274 (__new_setrlimit): Do not use CHECK_1.
37275 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37277 (__old_shmctl): Do not use CHECK_1.
37278 (__new_shmctl): Likewise.
37279 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37281 (__xstat): Do not use CHECK_1.
37282 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37283 (__lxstat): Do not use CHECK_1.
37284 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37286 (___lxstat64): Do not use CHECK_1.
37287 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37288 (__old_msgctl): Do not use CHECK_1.
37289 (__new_msgctl): Likewise.
37290 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37292 (__gettimeofday): Do not use CHECK_1.
37293 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37294 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37295 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37297 (__gettimeofday): Do not use CHECK_1.
37298 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37299 (__old_shmctl): Do not use CHECK_1_NULL_OK.
37300 (__new_shmctl): Do not use CHECK_1.
37301 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37303 (do_sigtimedwait): Do not use CHECK_1.
37304 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37306 (do_sigwaitinfo): Do not use CHECK_1.
37307 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37309 (msgctl): Do not use CHECK_1.
37310 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37312 (shmctl): Do not use CHECK_1.
37313 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37314 (ustat): Do not use CHECK_1.
37315 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37317 (__fxstat): Do not use CHECK_1.
37318 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37320 (__fxstatat): Do not use CHECK_1.
37321 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37323 (__lxstat): Do not use CHECK_1.
37324 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37326 (__xstat): Do not use CHECK_1.
37327 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37328 (__xstat): Do not use CHECK_1.
37329 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37330 (___xstat64): Do not use CHECK_1.
37333 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37335 (CHECK_BOUNDS_HIGH): Likewise.
37336 * string/strcpy.c: Do not include <bp-checks.h>.
37337 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37339 2013-02-07 Roland McGrath <roland@hack.frob.com>
37341 * nscd/nscd-client.h (__nscd_drop_map_ref):
37342 Add __attribute__ ((unused)).
37343 * nis/nss-nisplus.h (niserr2nss): Likewise.
37345 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37346 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37348 * csu/libc-tls.c (init_static_tls, init_slotinfo):
37349 Remove inline keyword.
37350 * include/rounding-mode.h (round_away): Likewise.
37351 * libio/wfileops.c (adjust_wide_data): Likewise.
37352 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37353 (__m128i_strloadu_tolower): Likewise.
37354 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37355 (__m128i_strloadu_tolower): Likewise.
37356 * time/mktime.c (ydhms_diff): Likewise.
37357 * locale/elem-hash.h (elem_hash): Likewise.
37358 * locale/setlocale.c (setdata): Likewise.
37359 * posix/regex_internal.h (re_string_char_size_at): Likewise.
37360 (re_string_wchar_at): Likewise.
37361 (bitset_not, bitset_merge, bitset_mask): Likewise.
37362 [!(__GNUC__ > 3)] (inline): Remove macro.
37363 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37364 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37365 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37366 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37367 * string/memcmp.c (memcmp_bytes): Likewise.
37368 * locale/programs/locarchive.c (compute_hashval): Likewise.
37369 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37370 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37371 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37372 * nss/getent.c (print_rpc, print_protocols): Likewise.
37373 (print_passwd, print_group, print_aliases): Likewise.
37374 * nis/nss-nisplus.h (niserr2nss): Likewise.
37375 * nscd/connections.c (restart_p): Likewise.
37376 Change return type to bool.
37378 2013-02-05 Roland McGrath <roland@hack.frob.com>
37380 * Makeconfig (all-Depend-files): Add existing
37381 $(sorted-subdirs:=/Depend) files.
37382 (all-subdirs): Remove nss.
37383 * sysdeps/unix/inet/Subdirs: Add it here instead.
37384 * hesiod/Depend: New file.
37386 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37387 instead of calling alloca.
37389 * io/lseek.c (__lseek): Rename to __libc_lseek.
37390 Define __lseek as an alias.
37392 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37394 2013-02-04 Carlos O'Donell <carlos@redhat.com>
37396 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37397 else clause and remove check for non-standard endianness.
37399 2013-02-04 David S. Miller <davem@davemloft.net>
37401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37403 2013-02-04 Joseph Myers <joseph@codesourcery.com>
37406 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37407 (__ubp_memchr): Remove prototype.
37408 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37409 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37410 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37411 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37412 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37414 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37415 (__ubp_memchr): Likewise.
37416 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37417 (__ubp_memchr): Likewise.
37418 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37419 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37420 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37421 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37423 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37424 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37425 (__getcwd): Do not use CHECK_STRING.
37426 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37428 (__real_chown): Do not use CHECK_STRING.
37429 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37431 (fchownat): Do not use CHECK_STRING.
37432 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37434 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37436 (__lchown): Do not use CHECK_STRING.
37437 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37438 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37439 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37440 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37442 include <bp-checks.h>.
37443 (truncate64): Do not use CHECK_STRING.
37444 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37446 (__real_chown): Do not use CHECK_STRING.
37447 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37449 (__lchown): Do not use CHECK_STRING.
37450 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37452 (__chown): Do not use CHECK_STRING.
37453 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37455 (truncate64): Do not use CHECK_STRING.
37456 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37458 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37459 (__xmknod): Do not use CHECK_STRING.
37460 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37462 (__xmknodat): Do not use CHECK_STRING.
37463 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37464 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37466 2013-02-04 Andreas Schwab <schwab@suse.de>
37469 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37470 * include/netdb.h: Likewise for h_errno.
37471 * elf/tst-stackguard1.c: Include <tls.h>.
37473 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
37475 * elf/link.h (struct link_map): Extend the l_addr comment.
37476 * include/link.h (struct link_map): Likewise.
37478 2013-02-01 Joseph Myers <joseph@codesourcery.com>
37481 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37482 (BOUNDED_1): Remove macro.
37483 * debug/backtrace.c: Don't include <bp-checks.h>.
37484 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37485 (__backtrace): Likewise.
37486 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37488 (__backtrace): Don't use BOUNDED_1.
37489 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37491 (__backtrace): Don't use BOUNDED_1.
37492 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37493 (__backtrace): Don't use BOUNDED_1.
37494 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37495 (shmat): Don't use BOUNDED_N.
37497 2013-01-31 Joseph Myers <joseph@codesourcery.com>
37500 * sysdeps/generic/bp-start.h: Remove file.
37501 * csu/libc-start.c: Don't include <bp-start.h>.
37502 (LIBC_START_MAIN): Set up __environ directly instead of using
37503 INIT_ARGV_and_ENVIRON.
37504 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37508 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37510 (CHECK_FCNTL): Likewise.
37511 (CHECK_N_PAGES): Likewise.
37514 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37516 (CHECK_SIGSET_NULL_OK): Likewise.
37517 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37519 (sigpending): Don't use CHECK_SIGSET.
37520 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37522 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37523 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37525 (do_sigsuspend): Don't use CHECK_SIGSET.
37526 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37528 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37529 (do_sigwait): Don't use CHECK_SIGSET.
37530 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37532 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37533 include <bp-checks.h>.
37534 (sigpending): Don't use CHECK_SIGSET.
37535 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37536 include <bp-checks.h>.
37537 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37538 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37540 (sigpending): Don't use CHECK_SIGSET.
37541 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37543 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37546 * sysdeps/generic/bp-semctl.h: Remove file.
37547 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37548 <bp-checks.h> and <bp-semctl.h>.
37549 (__old_semctl): Don't use CHECK_SEMCTL.
37550 (__new_semctl): Likewise.
37551 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37553 (__old_semctl): Don't use CHECK_SEMCTL.
37554 (__new_semctl): Likewise.
37555 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37556 <bp-checks.h> and <bp-semctl.h>.
37557 (__old_semctl): Don't use CHECK_SEMCTL.
37558 (__new_semctl): Likewise.
37559 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37560 <bp-checks.h> and <bp-semctl.h>.
37561 (semctl): Don't use CHECK_SEMCTL.
37564 * Makerules (elide-bp-thunks): Remove variable.
37565 (elide-routines.oS): Don't use $(elide-bp-thunks).
37566 (elide-routines.os): Likewise.
37567 (elide-routines.o): Likewise.
37568 (elide-routines.op): Likewise.
37569 (elide-routines.og): Likewise.
37570 (objects): Don't use $(bp-thunks).
37571 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37573 (common-generated): Do not add s-proto-bp.d.
37574 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37577 Do not generate makefile rules for bounded-pointer thunks.
37578 * sysdeps/generic/bp-thunks.h: Remove file.
37579 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37580 * sysdeps/unix/s-proto-bp.S: Likewise.
37583 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37584 parts of result separately when argument is not close to line from
37585 -i to i and one part of argument is small.
37586 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37587 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37588 * math/libm-test.inc (cacos_test): Add more tests.
37589 (casin_test): Likewise.
37590 (casinh_test): Likewise.
37591 * sysdeps/i386/fpu/libm-test-ulps: Update.
37592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37594 2013-01-31 David S. Miller <davem@davemloft.net>
37596 * po/de.po: Update from translation team.
37598 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
37600 * time/tzfile.c: Include stdint.h for SIZE_MAX.
37602 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
37604 * configure.in (_AC_PROG_CC_C89): New definition.
37605 * configure: Regenerate.
37607 * configure.in (AC_PROG_CPP): New definition.
37608 * configure: Regenerate.
37610 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37612 * debug/tst-backtrace.h: New file.
37613 * debug/tst-backtrace2.c: Include tst-backtrace.h.
37614 (ret): Remove variable.
37616 (FAIL): Remove macro.
37617 (NO_INLINE): Likewise.
37618 (fn1): Use match function instead of strstr.
37619 * debug/tst-backtrace3.c: Include tst-backtrace.h.
37620 (ret): Remove variable.
37622 (FAIL): Remove macro.
37623 (NO_INLINE): Likewise.
37624 (fn): Use match function instead of strstr.
37625 * debug/tst-backtrace4.c: Include tst-backtrace.h.
37626 (ret): Remove variable.
37628 (FAIL): Remove macro.
37629 (NO_INLINE): Likewise.
37630 (handle_signal): Use match function instead of strstr.
37631 * debug/tst-backtrace5.c: Include tst-backtrace.h.
37632 (ret): Remove variable.
37634 (FAIL): Remove macro.
37635 (NO_INLINE): Likewise.
37636 (handle_signal): Use match function instead of strstr.
37638 2013-01-23 Roland McGrath <roland@hack.frob.com>
37640 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37642 2013-01-23 David S. Miller <davem@davemloft.net>
37644 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37645 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37646 argument of CAS if possible.
37647 * sysdeps/sparc/sparc64/bits/atomic.h
37648 (__arch_compare_and_exchange_val_32_acq): Likewise.
37649 (__arch_compare_and_exchange_val_64_acq): Likewise.
37651 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
37653 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37654 * sysdeps/posix/ulimit.c: ... this.
37655 Include <limits.h>.
37656 * sysdeps/unix/bsd/ulimit.c: Remove file.
37658 2013-01-23 Adam Conrad <adconrad@0c3.net>
37660 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37661 (LDFLAGS-tst-array5): Likewise.
37663 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37666 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37667 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37668 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37669 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37671 2013-01-21 David S. Miller <davem@davemloft.net>
37673 * sysdeps/sparc/backtrace.c: New file.
37674 * sysdeps/sparc/sparc32/backtrace.h: New file.
37675 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37676 * sysdeps/sparc/sparc64/backtrace.h: New file.
37677 * sysdeps/sparc/sparc64/backtrace.c: Delete.
37678 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37681 2013-01-21 Andreas Schwab <schwab@suse.de>
37684 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37687 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
37689 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37691 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37693 2013-01-18 Joseph Myers <joseph@codesourcery.com>
37694 Mark Mitchell <mark@codesourcery.com>
37695 Tom de Vries <tom@codesourcery.com>
37696 Paul Pluzhnikov <ppluzhnikov@google.com>
37698 * debug/tst-backtrace2.c: New file.
37699 * debug/tst-backtrace3.c: Likewise.
37700 * debug/tst-backtrace4.c: Likewise.
37701 * debug/tst-backtrace5.c: Likewise.
37702 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37703 (CFLAGS-tst-backtrace3.c): Likewise.
37704 (CFLAGS-tst-backtrace4.c): Likewise.
37705 (CFLAGS-tst-backtrace5.c): Likewise.
37706 (LDFLAGS-tst-backtrace2): Likewise.
37707 (LDFLAGS-tst-backtrace3): Likewise.
37708 (LDFLAGS-tst-backtrace4): Likewise.
37709 (LDFLAGS-tst-backtrace5): Likewise.
37710 (tests): Add new tests tst-backtrace2, tst-backtrace3,
37711 tst-backtrace4 and tst-backtrace5.
37713 2013-01-18 Anton Blanchard <anton@samba.org>
37714 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37716 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37717 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37718 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37719 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37721 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37722 "+r" and remove output regs list as redundant. Add explicit inline
37723 asm to specify register of return val to work around compiler codegen
37724 bug. Remove (int) cast on return value. Add return type parameter to
37725 use in macro so that this macro does not truncate return value for
37727 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37728 pass to INTERNAL_VSYSCALL_NCS.
37729 (INLINE_VSYSCALL): Add 'long int' as return type to
37730 INTERNAL_VSYSCALL_NCS macro invocation.
37731 (INTERNAL_VSYSCALL): Add 'long int' as return type to
37732 INTERNAL_VSYSCALL_NCS macro invocation.
37733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37735 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37738 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37739 Fix application of SIMD FP exception mask.
37741 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37742 mp_no from a power of two.
37743 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37744 __mpexp_twomm1. Use __pow_mp.
37746 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37749 2013-01-17 David S. Miller <davem@davemloft.net>
37751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37753 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37756 * include/complex.h: Condition contents on [!_COMPLEX_H].
37757 (__kernel_casinhf): New prototype.
37758 (__kernel_casinh): Likewise.
37759 (__kernel_casinhl): Likewise.
37760 * math/Makefile (libm_calls): Add k_casinh.
37761 * math/k_casinh.c: New file.
37762 * math/k_casinhf.c: Likewise.
37763 * math/k_casinhl.c: Likewise.
37764 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37765 finite nonzero arguments.
37766 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37767 finite nonzero arguments.
37768 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37769 finite nonzero arguments.
37770 * math/s_casinh.c: Do not include <float.h>.
37771 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37772 * math/s_casinhf.c: Do not include <float.h>.
37773 (__casinhf): Move code for finite nonzero arguments to
37775 * math/s_casinhl.c: Do not include <float.h>.
37776 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37778 (__casinhl): Move code for finite nonzero arguments to
37780 * math/libm-test.inc (cacos_test): Add more tests.
37781 * sysdeps/i386/fpu/libm-test-ulps: Update.
37782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37784 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
37786 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37787 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37788 [!HAVE_MREMAP]: Remove [defined linux] case.
37789 * malloc/arena.c: Do not include <malloc-sysdep.h>.
37791 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37793 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37795 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
37797 * elf/elf.h (R_386_SIZE32): New relocation.
37798 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37800 (elf_machine_rela): Likewise.
37801 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37802 R_X86_64_SIZE64 and R_X86_64_SIZE32.
37804 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37806 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37807 (FP_FAST_FMA): Do not define.
37808 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37809 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37810 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37811 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37812 !_SOFT_FLOAT]: Likewise.
37813 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37814 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37816 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37817 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37818 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37819 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37820 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37821 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37824 2013-01-16 Andreas Schwab <schwab@suse.de>
37827 * include/stdlib.h (__mktemp): Add declaration.
37828 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37829 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37831 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37833 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37835 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37836 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37837 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37839 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37840 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37842 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37844 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37845 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37846 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37848 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37849 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37851 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37853 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37855 2013-01-15 David S. Miller <davem@davemloft.net>
37857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37858 trunc{,f} to libm-sysdep_routes.
37859 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37869 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37870 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37871 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37872 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37873 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37874 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37877 nearbyint{,f} to libm-sysdep_routes.
37878 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37889 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37891 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37892 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37894 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37895 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37896 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37898 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37899 libc_feholdexcept and libc_fesetenv.
37901 2013-01-15 Mike Frysinger <vapier@gentoo.org>
37903 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37905 2013-01-14 David S. Miller <davem@davemloft.net>
37907 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37908 (SPARC_ASM_VIS2_IFUNC): Likewise.
37909 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37911 use of 'siam' instruction.
37912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37919 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37921 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37932 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37933 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37945 routines to libm-sysdep_routines.
37946 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37949 fdim/fdimf to libm-sysdep_routines.
37950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37958 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37959 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37960 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37961 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37963 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37965 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37966 to optimize copies.
37968 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37973 local variable MPTWO.
37974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37977 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37979 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37982 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37984 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37986 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37988 * manual/pattern.texi (glob_t): Document gl_flags.
37989 (glob64_t): Likewise.
37991 2013-01-11 David S. Miller <davem@davemloft.net>
37993 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37994 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37995 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
37996 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37997 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37998 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37999 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38000 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38001 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38002 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38003 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38004 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38005 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38007 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38008 sparc V9 rather than using V8 code.
38009 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38010 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38012 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38014 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38017 2013-01-11 Roland McGrath <roland@hack.frob.com>
38019 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38020 not in the main loop.
38021 * configure: Regenerated.
38023 2013-01-11 Joseph Myers <joseph@codesourcery.com>
38025 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38026 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38028 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
38029 [!__GLIBC_HAVE_LONG_LONG] case.
38030 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38031 condition to just #else.
38032 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38033 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38034 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38035 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38037 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38038 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38039 #elif condition to just #else.
38040 * sysdeps/unix/sysv/linux/sys/sysmacros.h
38041 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38042 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38043 #elif condition to just #else.
38045 2013-01-11 Steve Ellcey <sellcey@mips.com>
38047 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38048 (EF_MIPS_ARCH_64): Fix value.
38049 (EF_MIPS_ARCH_32R2): New.
38050 (EF_MIPS_ARCH_64R2): New.
38052 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
38054 * Makeconfig (+link-pie-before-libc): New.
38055 (+link-pie-after-libc): Likewise.
38056 (+link-pie-tests): Likewise.
38057 (+link-pie): Rewritten.
38058 (link-before-libc): Remove $(config-LDFLAGS).
38059 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38060 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38061 (config-LDFLAGS): Renamed to ...
38062 (rtld-LDFLAGS): This.
38063 (rtld-tests-LDFLAGS): New macro.
38064 (link-libc-rpath-link): Likewise.
38065 (link-libc-tests-rpath-link): Likewise.
38066 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38067 (link-libc): Prepand $(link-libc-rpath-link).
38068 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38069 (test-program-prefix): New macro.
38070 (test-via-rtld-prefix): Likewise.
38071 (test-program-cmd): Likewise.
38072 (host-test-program-cmd): Likewise.
38073 * Makefile ($(common-objpfx)testrun.sh): Replace
38074 $(run-program-prefix) with $(test-program-prefix).
38075 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38077 ($(common-objpfx)shlib.lds): Likewise.
38078 (build-module-helper): Likewise.
38079 ($(common-objpfx)format.lds): Likewise.
38080 * Rules (binaries-pie-tests): New.
38081 (binaries-pie-notests): Likewise.
38082 (binaries-pie): Rewritten.
38083 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38084 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38085 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38086 (make-test-out): Replace $(host-built-program-cmd) with
38087 $(host-test-program-cmd).
38088 * config.make.in (build-hardcoded-path-in-tests): New variable.
38089 * configure.in (--enable-hardcoded-path-in-tests): New configure
38091 (hardcoded_path_in_tests): New AC_SUBST.
38092 * configure: Regenerated.
38093 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38094 $(built-program-cmd) with $(test-program-cmd).
38095 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38096 (test_program_cmd): This.
38097 * elf/Makefile ($(objpfx)order.out): Run test with
38098 $(test-program-prefix).
38099 ($(objpfx)order2.out): Likewise.
38100 ($(objpfx)tst-initorder.out): Likewise.
38101 ($(objpfx)tst-initorder2.out): Likewise.
38102 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38103 $(test-program-cmd).
38104 ($(objpfx)tst-array1-static.out): Likewise.
38105 ($(objpfx)tst-array2.out): Likewise.
38106 ($(objpfx)tst-array3.out): Likewise.
38107 ($(objpfx)tst-array4.out): Likewise.
38108 ($(objpfx)tst-array5.out): Likewise.
38109 ($(objpfx)tst-array5-static.out): Likewise.
38110 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38111 $(test-program-cmd).
38112 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38113 $(run-program-prefix) with $(test-program-prefix).
38114 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38115 (test_program_prefix): This.
38116 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38117 $(run-program-prefix) with $(test-program-prefix).
38118 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38119 (test_program_prefix): This.
38120 * iconvdata/tst-tables.sh: Likewise.
38121 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38122 $(run-program-prefix) with $(test-program-prefix).
38123 ($(objpfx)tst-translit.out): Likewise.
38124 ($(objpfx)tst-gettext2.out): Likewise.
38125 ($(objpfx)tst-gettext4.out): Likewise.
38126 ($(objpfx)tst-gettext6.out): Likewise.
38127 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38128 (test_program_prefix): This.
38129 * intl/tst-gettext2.sh: Likewise.
38130 * intl/tst-gettext4.sh Likewise.
38131 * intl/tst-gettext6.sh: Likewise.
38132 * intl/tst-translit.sh: Likewise.
38133 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38134 with $(test-program-cmd).
38135 * libio/Makefile ($(objpfx)test-freopen.out): Replace
38136 $(run-program-prefix) with $(test-program-prefix).
38137 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38138 (test_program_prefix): This.
38139 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38140 $(run-program-prefix) with $(test-program-prefix).
38141 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38142 (test_program_prefix): This.
38143 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38144 * posix/Makefile ($(objpfx)globtest.out): Replace
38145 $(run-via-rtld-prefix) and $(test-wrapper) with
38146 $(test-program-prefix) and $(test-via-rtld-prefix).
38147 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38148 $(test-program-prefix).
38149 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38150 $(host-test-program-cmd).
38151 (tst-spawn-ARGS): Likewise.
38152 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38153 $(test-program-prefix).
38154 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38155 (test_via_rtld_prefix): This.
38156 (test_wrapper): Renamed to ...
38157 (test_program_prefix): This.
38158 (run_program_prefix): Replaced by test_program_prefix.
38159 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38160 (test_program_prefix): This.
38161 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38162 with $(host-test-program-cmd).
38163 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38164 $(run-program-prefix) with $(test-program-prefix).
38165 ($(objpfx)tst-printf.out): Likewise.
38166 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38167 $(test-program-cmd).
38168 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38169 (test_program_prefix): This.
38170 * stdio-common/tst-unbputc.sh: Likewise.
38171 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38172 $(run-program-prefix) with $(test-program-prefix).
38173 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38174 (test_program_prefix): This.
38175 * string/Makefile ($(objpfx)tst-svc.out): Replace
38176 $(built-program-cmd) with $(test-program-cmd).
38178 2013-01-11 Andreas Jaeger <aj@suse.de>
38181 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38182 value. Sync with Linux 3.7.
38184 2013-01-10 David S. Miller <davem@davemloft.net>
38186 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38187 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38188 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38190 2013-01-10 Roland McGrath <roland@hack.frob.com>
38192 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38194 * configure: Regenerated.
38196 2013-01-10 David S. Miller <davem@davemloft.net>
38198 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38199 sparc V9 rather than using V8 code.
38200 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38201 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38203 2013-01-10 Roland McGrath <roland@hack.frob.com>
38205 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38206 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38207 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38208 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38209 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38210 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38211 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38212 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38213 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38214 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38215 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38216 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38217 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38218 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38219 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38220 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38221 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38222 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38223 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38224 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38225 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38226 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38227 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38228 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38229 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38230 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38231 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38233 2013-01-10 David S. Miller <davem@davemloft.net>
38235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38237 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
38239 * posix/Makefile (tests-static): New variable.
38240 (tests): Add $(tests-static).
38241 (tst-exec-static-ARGS): New variable.
38242 (tst-spawn-static-ARGS): Likewise.
38243 * posix/tst-exec-static.c: New file.
38244 * posix/tst-spawn-static.c: Likewise.
38245 * posix/tst-exec.c: Support run directly.
38246 * posix/tst-spawn.c: Likewise.
38248 2013-01-10 Joseph Myers <joseph@codesourcery.com>
38250 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38252 * math/bits/mathcalls.h (llrint): Likewise.
38253 (llround): Likewise.
38254 * stdlib/stdlib.h (struct drand48_data): Likewise.
38255 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38256 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38257 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38259 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38261 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38262 (elf_greg_t): Likewise.
38263 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38264 (__jmp_buf): Likewise.
38265 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38267 (llrint): Likewise, for all definitions.
38268 (llrintl): Likewise.
38270 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38271 Remove [__GNUC__] condition.
38272 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38273 condition to just [__USE_ISOC99].
38274 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38276 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
38279 * sysdeps/unix/sysv/linux/x86/bits/environments.h
38280 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38282 (_POSIX_V6_ILP32_OFF32): Likewise.
38283 (_XBS5_ILP32_OFF32): Likewise.
38284 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38285 (__ILP32_OFFBIG_LDFLAGS): Likewise.
38287 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38289 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38291 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38292 doubles __mpexp_twomm1. Adjust usage.
38293 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38296 2013-01-10 Andreas Schwab <schwab@suse.de>
38299 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38300 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38302 2013-01-09 David S. Miller <davem@davemloft.net>
38305 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38306 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38307 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38308 (TCP_FASTOPEN): Define.
38309 (tcp_repair_opt): New structure.
38310 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38312 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38313 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38314 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38315 (tcp_cookie_transactions): New structure.
38317 2013-01-09 Anton Blanchard <anton@samba.org>
38319 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38320 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38321 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38322 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38324 2013-01-09 Joseph Myers <joseph@codesourcery.com>
38326 * include/features.h (__USE_ANSI): Remove.
38328 2013-01-09 Roland McGrath <roland@hack.frob.com>
38330 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38332 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38334 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
38336 * sysdeps/s390/fpu/libm-test-ulps: Update.
38338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38340 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38344 (denorm): Likewise.
38345 (__mp_dbl): Likewise.
38346 (__dbl_mp): Likewise.
38347 (add_magnitudes): Likewise.
38348 (sub_magnitudes): Likewise.
38354 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38358 (denorm): Likewise.
38359 (__mp_dbl): Likewise.
38360 (__dbl_mp): Likewise.
38361 (add_magnitudes): Likewise.
38362 (sub_magnitudes): Likewise.
38368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38372 (denorm): Likewise.
38373 (__mp_dbl): Likewise.
38374 (__dbl_mp): Likewise.
38375 (add_magnitudes): Likewise.
38376 (sub_magnitudes): Likewise.
38383 2013-01-08 Joseph Myers <joseph@codesourcery.com>
38385 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38386 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38387 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38388 2 && __USE_EXTERN_INLINES]: Likewise.
38390 2013-01-08 Andreas Jaeger <aj@suse.de>
38393 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38395 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38396 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38398 2013-01-07 Anton Blanchard <anton@samba.org>
38400 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38401 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38402 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38403 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38404 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38405 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38406 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38407 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38409 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38410 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38411 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38412 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38413 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38414 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38415 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38416 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38417 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38418 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38419 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38420 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38421 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38422 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38423 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38424 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38425 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38426 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38427 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38428 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38429 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38430 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38432 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38433 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38434 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38435 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38436 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38437 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38438 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38439 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38440 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38441 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38442 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38444 2013-01-07 Joseph Myers <joseph@codesourcery.com>
38446 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38447 (__MALLOC_PMT): Likewise.
38448 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38449 [__GNUC__], only on [_LIBC].
38450 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38451 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38452 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38453 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38454 forward declaration.
38455 (realloc_hook_ini): Likewise.
38456 (memalign_hook_ini): Likewise.
38457 (__libc_memalign): Do not use __MALLOC_PMT in variable
38459 (__libc_valloc): Likewise.
38460 (__libc_pvalloc): Likewise.
38461 (__libc_calloc): Likewise.
38462 (__posix_memalign): Likewise.
38465 * math/s_casinh.c: Include <float.h>.
38466 (__casinh): Do not do computation with squaring and square root
38467 for large arguments.
38468 * math/s_casinhf.c: Include <float.h>.
38469 (__casinhf): Do not do computation with squaring and square root
38470 for large arguments.
38471 * math/s_casinhl.c: Include <float.h>.
38472 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38473 (__casinhl): Do not do computation with squaring and square root
38474 for large arguments.
38475 * math/libm-test.inc (casin_test): Add more tests.
38476 (casinh_test): Likewise.
38477 * sysdeps/i386/fpu/libm-test-ulps: Update.
38478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38480 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
38482 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38483 (__x86_64_raw_data_cache_size): Likewise.
38484 (__x86_64_data_cache_size_half): Likewise.
38485 (__x86_64_raw_data_cache_size_half): Likewise.
38486 (__x86_64_shared_cache_size): Likewise.
38487 (__x86_64_raw_shared_cache_size): Likewise.
38488 (__x86_64_shared_cache_size_half): Likewise.
38489 (__x86_64_raw_shared_cache_size_half): Likewise.
38490 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38492 (__x86_data_cache_size): This.
38493 (__x86_64_raw_data_cache_size): Renamed to ...
38494 (__x86_raw_data_cache_size): This.
38495 (__x86_64_data_cache_size_half): Renamed to ...
38496 (__x86_data_cache_size_half): This.
38497 (__x86_64_raw_data_cache_size_half): Renamed to ...
38498 (__x86_raw_data_cache_size_half): This.
38499 (__x86_64_shared_cache_size): Renamed to ...
38500 (__x86_shared_cache_size): This.
38501 (__x86_64_raw_shared_cache_size): Renamed to ...
38502 (__x86_raw_shared_cache_size): This.
38503 (__x86_64_shared_cache_size_half): Renamed to ...
38504 (__x86_shared_cache_size_half): This.
38505 (__x86_64_raw_shared_cache_size_half): Renamed to ...
38506 (__x86_raw_shared_cache_size_half): This.
38507 * sysdeps/x86_64/memcpy.S: Updated.
38508 * sysdeps/x86_64/memset.S: Likewise.
38509 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38510 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38511 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38513 2013-01-04 David S. Miller <davem@davemloft.net>
38515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38517 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
38519 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38520 1 to avoid redefinition warning.
38521 (__USE_GNU): Don't define.
38522 (init_signaling_nan): Protoize.
38524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38526 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38528 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38529 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38530 (__cpymn): Likewise.
38531 (norm): Remove commented code.
38532 (denorm): Likewise.
38533 (__mp_dbl): Likewise.
38535 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38536 (__cpymn): Likewise.
38537 (norm): Remove commented code.
38538 (denorm): Likewise.
38539 (__mp_dbl): Likewise.
38542 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38543 mp_no value for 1.0 and 2.0.
38544 (norm): Use RADIXI instead of radixi.d.
38545 (denorm): Likewise.
38546 (__mul): Use 0.0 instead of zero.d.
38547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38548 mp_no value for 1.0 and 2.0.
38549 (norm): Use RADIXI instead of radixi.d.
38550 (denorm): Likewise.
38551 (__mul): Use 0.0 instead of zero.d.
38553 2013-01-04 Joseph Myers <joseph@codesourcery.com>
38556 * math/s_casinh.c (__casinh): Reduce finite argument to first
38557 quadrant then set signs of results at the end.
38558 * math/s_casinhf.c (__casinhf): Likewise.
38559 * math/s_casinhl.c (__casinhl): Likewise.
38560 * math/libm-test.inc (casin_test): Add more tests.
38561 (casinh_test): Likewise.
38562 * sysdeps/i386/fpu/libm-test-ulps: Update.
38563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38565 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38567 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38569 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38571 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38573 (denorm): Likewise.
38574 (__mp_dbl): Likewise.
38577 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38578 and adjust the header comment.
38580 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38581 variable name from declaration.
38583 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
38585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38586 Initialize COMMON_CPUID_INDEX_7 element.
38587 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38588 (CPUID_RTM): Likewise.
38589 (HAS_RTM): Likewise.
38590 (COMMON_CPUID_INDEX_7): New enum.
38592 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
38595 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38596 size is zero, record memory as freed.
38598 2013-01-03 Andreas Jaeger <aj@suse.de>
38600 * po/ia.po: Add new Interlingua translation.
38602 2012-01-03 Allan McRae <allan@archlinux.org>
38604 * locale/programs/localedef.c: Fix description of '--posix' flag.
38606 2013-01-02 Joseph Myers <joseph@codesourcery.com>
38608 * NEWS: Update dates in second copyright notice.
38609 * README: Update copyright dates in example.
38610 * manual/libc.texinfo: Update copyright dates.
38611 * scripts/test-installation.pl: Update copyright date in --version
38614 * hurd/ctty-input.c: Fix copyright notice formatting.
38615 * hurd/ctty-output.c: Likewise.
38616 * hurd/dtable.c: Likewise.
38617 * hurd/hurd-raise.c: Likewise.
38618 * hurd/hurdprio.c: Likewise.
38619 * hurd/msgportdemux.c: Likewise.
38620 * misc/sys/file.h: Likewise.
38621 * misc/sys/ioctl.h: Likewise.
38622 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38623 * sysdeps/mach/hurd/chdir.c: Likewise.
38624 * sysdeps/mach/hurd/fchdir.c: Likewise.
38625 * sysdeps/mach/hurd/rename.c: Likewise.
38626 * sysdeps/mach/hurd/rmdir.c: Likewise.
38627 * sysdeps/mach/hurd/seekdir.c: Likewise.
38628 * sysdeps/mach/hurd/setsid.c: Likewise.
38629 * sysdeps/posix/wait3.c: Likewise.
38631 * All files with FSF copyright notices: Update copyright dates
38632 using scripts/update-copyrights.
38633 * intl/plural.c: Regenerated.
38634 * locale/programs/charmap-kw.h: Likewise.
38635 * locale/programs/locfile-kw.h: Likewise.
38637 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38639 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38642 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38643 calculation loop and add branch prediction.
38645 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38646 check access beyond bounds of m1np.
38648 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38650 (__inv): Remove local variable MPTWO to use the global
38652 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38653 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38655 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38656 MP3HALFS static const.
38658 2013-01-01 David S. Miller <davem@davemloft.net>
38660 * po/ca.po: Update from translation team.
38662 2013-01-01 Joseph Myers <joseph@codesourcery.com>
38664 * scripts/update-copyrights: New file.
38665 * Makeconfig: Reformat copyright notice.
38666 * ctype/ctype.h: Likewise.
38667 * debug/swprintf_chk.c: Likewise.
38668 * elf/dl-cache.c: Likewise.
38669 * elf/dl-debug.c: Likewise.
38670 * elf/dl-object.c: Likewise.
38671 * grp/initgroups.c: Likewise.
38672 * hurd/Makefile: Likewise.
38673 * hurd/hurd/signal.h: Likewise.
38674 * hurd/hurdfault.c: Likewise.
38675 * hurd/hurdioctl.c: Likewise.
38676 * hurd/hurdlookup.c: Likewise.
38677 * hurd/intr-msg.c: Likewise.
38678 * iconv/gconv_open.c: Likewise.
38679 * libio/swprintf.c: Likewise.
38680 * locale/lc-ctype.c: Likewise.
38681 * locale/nl_langinfo.c: Likewise.
38682 * mach/Machrules: Likewise.
38683 * mach/Makefile: Likewise.
38684 * malloc/obstack.h: Likewise.
38685 * manual/Makefile: Likewise.
38686 * manual/tsort.awk: Likewise.
38687 * misc/bits/stab.def: Likewise.
38688 * nis/nis_print_group_entry.c: Likewise.
38689 * nis/nis_table.c: Likewise.
38690 * nis/nss_compat/compat-pwd.c: Likewise.
38691 * nis/nss_compat/compat-spwd.c: Likewise.
38692 * po/Makefile: Likewise.
38693 * posix/fnmatch.c: Likewise.
38694 * posix/regex.h: Likewise.
38695 * resolv/Makefile: Likewise.
38696 * resolv/nss_dns/dns-network.c: Likewise.
38697 * resolv/res_hconf.c: Likewise.
38698 * scripts/gen-sorted.awk: Likewise.
38699 * soft-fp/soft-fp.h: Likewise.
38700 * stdio-common/printf.h: Likewise.
38701 * stdlib/monetary.h: Likewise.
38702 * stdlib/random.c: Likewise.
38703 * stdlib/random_r.c: Likewise.
38704 * sysdeps/generic/Makefile: Likewise.
38705 * sysdeps/gnu/Makefile: Likewise.
38706 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38707 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38708 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38710 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38711 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38712 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38713 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38714 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38715 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38716 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38717 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38718 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38719 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38720 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38721 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38722 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38723 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38724 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38725 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38726 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38727 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38728 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38729 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38730 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38731 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38732 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38733 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38734 * sysdeps/mach/hurd/errnos.awk: Likewise.
38735 * sysdeps/mach/hurd/fork.c: Likewise.
38736 * sysdeps/mach/hurd/getcwd.c: Likewise.
38737 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38738 * sysdeps/mach/hurd/mmap.c: Likewise.
38739 * sysdeps/mach/hurd/utimes.c: Likewise.
38740 * sysdeps/mach/hurd/xmknod.c: Likewise.
38741 * sysdeps/posix/profil.c: Likewise.
38742 * sysdeps/posix/readdir_r.c: Likewise.
38743 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38744 * sysdeps/powerpc/bits/setjmp.h: Likewise.
38745 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38746 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38747 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38748 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38749 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38750 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38752 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38753 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38754 * sysdeps/pthread/lio_listio.c: Likewise.
38755 * sysdeps/sparc/dl-procinfo.h: Likewise.
38756 * sysdeps/unix/i386/sysdep.S: Likewise.
38757 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38758 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38759 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38760 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38762 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38763 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38764 * sysdeps/unix/sysv/linux/speed.c: Likewise.
38765 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38766 * sysdeps/wordsize-32/divdi3.c: Likewise.
38767 * time/sys/time.h: Likewise.
38768 * wcsmbs/Makefile: Likewise.
38770 2013-01-01 David S. Miller <davem@davemloft.net>
38772 * po/fr.po: Update from translation team.
38774 * catgets/gencat.c: Update copyright year.
38775 * csu/version.c: Likewise.
38776 * debug/catchsegv.sh: Likewise.
38777 * debug/pcprofiledump.c: Likewise.
38778 * debug/xtrace.sh: Likewise.
38779 * elf/ldconfig.c: Likewise.
38780 * elf/ldd.bash.in: Likewise.
38781 * elf/pldd.c: Likewise.
38782 * elf/sotruss.ksh: Likewise.
38783 * elf/sprof.c: Likewise.
38784 * iconv/iconv_prog.c: Likewise.
38785 * iconv/iconvconfig.c: Likewise.
38786 * locale/programs/locale.c: Likewise.
38787 * locale/programs/localedef.c: Likewise.
38788 * login/programs/pt_chown.c: Likewise.
38789 * malloc/memusage.sh: Likewise.
38790 * malloc/memusagestat.c: Likewise.
38791 * malloc/mtrace.pl: Likewise.
38792 * nscd/nscd.c: Likewise.
38793 * nss/getent.c: Likewise.
38794 * nss/makedb.c: Likewise.
38795 * posix/getconf.c: Likewise.
38797 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38799 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38802 2012-12-30 Mike Frysinger <vapier@gentoo.org>
38804 * math/bits/mathcalls.h (modf): Use __nonnull.
38806 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38808 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38809 (split): Use macro CN instead of the bare value.
38810 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38812 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38813 instead of the bare value.
38814 (power1): Likewise.
38816 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38818 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38820 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38822 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38824 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38825 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38826 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38827 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38829 2012-12-28 Andreas Jaeger <aj@suse.de>
38831 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
38832 values are from Linux 3.7.
38834 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38835 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
38837 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38839 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38842 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38844 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38845 variables with preprocessor constants.
38846 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38847 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38848 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38850 2012-12-27 Bruno Haible <bruno@clisp.org>
38853 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38856 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38858 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38859 and use variable directly.
38860 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38862 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38864 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38865 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38867 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38868 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38869 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38870 include directive. Remove local variable MPONE.
38871 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38872 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38873 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38875 2012-12-25 David S. Miller <davem@davemloft.net>
38877 * version.h (RELEASE): Set to "development".
38878 (VERSION): Set to "2.17.90".
38879 * NEWS: Add 2.18 section.
38881 2012-12-21 David S. Miller <davem@davemloft.net>
38883 * po/hr.po: Update from translation team.
38885 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38887 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38889 2012-12-19 Steve Ellcey <sellcey@mips.com>
38891 * NEWS: Mention new memcpy for MIPS.
38893 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38895 * manual/contrib.texi (Contributors): Spelling correction.
38897 2012-12-15 David S. Miller <davem@davemloft.net>
38899 * po/ru.po: Update from translation team.
38901 2012-12-13 David S. Miller <davem@davemloft.net>
38903 * NEWS: Mention IFUNC testsuite enhancements.
38905 * po/pl.po: Update from translation team.
38906 * po/bg.po: Likewise.
38908 * manual/contrib.texi (Contributors): Update entries for Hongjiu
38909 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
38911 2012-12-11 David S. Miller <davem@davemloft.net>
38913 * po/sv.po: Update from translation team.
38915 * po/vi.po: Update from translation team.
38917 * po/cs.po: Update from translation team.
38919 * po/de.po: Update from translation team.
38920 * po/eo.po: Likewise.
38921 * po/nl.po: Likewise.
38923 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38926 * manual/argp.texi (Argp Helper Functions): Move node to follow
38927 Argp Parsing State.
38930 * manual/conf.texi (Limits on File System Capacity): Mention if
38931 terminating null is included in the max size.
38933 2012-12-10 Andreas Jaeger <aj@suse.de>
38935 * po/cs.po: Update from translation team.
38937 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38939 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38940 void pointer and cast to uintptr_t.
38941 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38943 * sysdeps/s390/s390-64/memcpy.S: Likewise.
38944 * sysdeps/s390/s390-64/memset.S: Likewise.
38946 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
38949 * menual/message.texi (Message Translation): Fix typos.
38950 (Helper programs for gettext): Likewise.
38952 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
38955 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38958 2012-12-07 David S. Miller <davem@davemloft.net>
38960 * po/libc.pot: Update.
38962 2012-12-07 Richard Henderson <rth@redhat.com>
38965 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38966 normal/normal case to before the switch.
38967 (_FP_DIV): Likewise.
38969 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
38970 Mike Frysinger <vapier@gentoo.org>
38972 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38973 check for __NR_fadvise64_64.
38975 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
38977 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38978 0, not just to plain "0" as a statement.
38979 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38982 2012-12-06 Joseph Myers <joseph@codesourcery.com>
38984 * NEWS: Use sourceware.org in Bugzilla URL.
38986 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38989 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38991 * stdio-common/tst-put-error.c (do_test): Add newline to the
38992 padded test to ensure flush.
38994 2012-12-05 Jeff Law <law@redhat.com>
38996 * sunrpc/etc.rpc (fedfs_admin): Add entry.
38998 2012-12-05 Joseph Myers <joseph@codesourcery.com>
39000 * README: Don't refer to ports add-on as distributed separately.
39001 Mention AArch64 in list of systems supported in the ports add-on.
39003 * LICENSES: Add more non-FSF copyright and license notices.
39005 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39008 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39010 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39011 10000 as width of padded output.
39013 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39015 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39017 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39018 variable LX with __attribute__ ((unused)).
39019 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39021 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39022 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39023 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39024 with __attribute__ ((unused)).
39026 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
39028 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39030 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39032 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39033 (CFLAGS-nldbl-acos.c): New variable.
39034 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39035 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39036 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39037 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39038 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39039 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39040 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39041 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39042 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39043 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39044 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39045 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39046 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39047 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39048 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39049 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39050 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39051 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39052 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39053 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39054 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39055 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39056 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39057 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39058 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39059 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39060 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39061 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39062 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39063 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39064 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39065 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39066 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39067 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39068 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39069 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39070 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39071 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39072 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39073 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39074 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39075 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39076 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39077 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39078 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39079 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39080 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39081 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39082 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39083 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39084 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39085 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39086 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39087 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39088 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39089 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39090 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39091 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39092 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39093 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39094 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39095 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39096 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39097 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39098 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39099 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39100 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39101 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39102 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39103 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39104 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39105 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39106 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39107 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39108 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39109 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39110 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39111 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39112 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39113 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39114 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39115 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39116 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39117 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39118 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39119 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39120 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39121 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39122 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39123 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39124 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39125 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39126 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39127 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39128 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39129 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39130 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39133 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39136 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39137 whole low double instead of just low 47 bits when splitting values
39140 2012-12-03 Allan McRae <allan@archlinux.org>
39142 * manual/stdio.texi (Predefined Printf Handlers): Remove
39143 @hsep and @vsep usage.
39145 2012-12-03 Mike Frysinger <vapier@gentoo.org>
39147 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39148 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39150 2012-12-03 Jeff Law <law@redhat.com>
39152 * time/sys/time.h (settimeofday): Do not mark TV argument
39155 2012-12-01 Mike Frysinger <vapier@gentoo.org>
39157 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39158 when currently writing and seek to current position when not.
39159 * libio/Makefile (tests): Remove bug-fclose1.
39160 * libio/bug-fclose1.c: Delete.
39162 2012-12-01 Joseph Myers <joseph@codesourcery.com>
39164 * manual/arith.texi (feenableexcept): Fix typo.
39165 (fedisableexcept): Likewise.
39167 2012-11-30 Roland McGrath <roland@hack.frob.com>
39169 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39170 second, differently-typed declaration, rather than a cast.
39172 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39174 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39175 * include/rpc/svc.h: ... here.
39177 2012-11-30 Aurelien Jarno <aurel32@debian.org>
39180 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39181 depending n and resplen2 to catch cases where answer
39184 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
39186 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39187 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39189 2012-11-29 Mike Frysinger <vapier@gentoo.org>
39191 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39193 2012-11-29 Roland McGrath <roland@hack.frob.com>
39195 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39197 2012-11-28 Jeff Law <law@redhat.com>
39200 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39201 dataset_temporary. Track alloca usage into alloca_used.
39202 If dataset is large allocate and release it via malloc/free.
39204 2012-06-04 Florian Weimer <fweimer@redhat.com>
39207 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39209 2012-11-28 David S. Miller <davem@davemloft.net>
39211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39213 2012-11-28 Joseph Myers <joseph@codesourcery.com>
39216 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39217 of pi/2 rounded to nearest to 64 bits.
39218 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39219 nearest to 64 bits.
39220 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39223 2012-11-28 Jeff Law <law@redhat.com>
39224 Martin Osvald <mosvald@redhat.com>
39227 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39228 * sunrpc/svc.c: Include time.h.
39229 (__svc_accept_failed): New function.
39230 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39231 any reason other than EINTR, call __svc_accept_failed.
39232 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39233 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39235 2012-11-28 Andreas Schwab <schwab@suse.de>
39237 * scripts/abilist.awk: Also handle indirect functions in .opd
39240 2012-11-28 Joseph Myers <joseph@codesourcery.com>
39243 * sysdeps/x86/fpu/powl_helper.c: New file.
39244 * sysdeps/x86/fpu/Makefile: Likewise.
39245 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39247 (__ieee754_powl): Use __powl_helper for finite arguments except
39248 integer exponents below 8.
39249 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39251 (__ieee754_powl): Use __powl_helper for finite arguments except
39252 integer exponents below 8.
39253 * math/libm-test.inc (pow_test): Add more tests and enable some
39254 previously disabled tests.
39255 * sysdeps/i386/fpu/libm-test-ulps: Update.
39256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39258 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39259 Carlos O'Donell <carlos_odonell@mentor.com>
39261 * nss/makedb.c (is_prime): Assert that input is odd and greater
39262 than 4. Note that fact in a comment too.
39263 (next_prime): Add 4 to input.
39265 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39268 * libio/Makefile (tests): Add test case tst-fwrite-error.
39269 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39270 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39271 * libio/tst-fwrite-error.c: New test case.
39273 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
39275 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39276 before casting to void *.
39277 * include/libc-internal.h (__pointer_type): New macro.
39278 (__integer_if_pointer_type_sub): Likewise.
39279 (__integer_if_pointer_type): Likewise.
39280 (cast_to_integer): Likewise.
39281 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39282 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39283 before casting to atomic64_t.
39284 (atomic_exchange_acq): Likewise.
39285 (__arch_exchange_and_add_body): Likewise.
39286 (__arch_add_body): Likewise.
39287 (atomic_add_negative): Likewise.
39288 (atomic_add_zero): Likewise.
39290 2012-11-26 Joseph Myers <joseph@codesourcery.com>
39292 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39293 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39294 (add_fdes): Likewise.
39295 (linear_search_fdes): Likewise.
39296 (binary_search_unencoded_fdes): Likewise.
39298 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
39300 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39302 2012-11-24 Adam Conrad <adconrad@0c3.net>
39304 * configure.in: Autodetect C++ header directories.
39305 * configure: Regenerated.
39307 2012-11-23 Mike Frysinger <vapier@gentoo.org>
39309 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39311 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
39313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39315 2012-11-22 Joseph Myers <joseph@codesourcery.com>
39317 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39318 LDBL_MANT_DIG == 106]: Disable some tests.
39319 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39321 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39325 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39326 input for small inputs. Return +/- pi/2 for large inputs.
39327 * math/libm-test.inc (atan_test): Add more tests.
39329 * sysdeps/generic/unwind-dw2-fde-glibc.c
39330 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39331 __attribute__ ((unused)).
39334 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39335 x * y if x and y are nonzero and z is zero.
39338 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39339 nonzero exponents with absolute value below 0x1p-117 to +/-
39343 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39344 up arguments below 2**-450, not just those below 2**-500.
39345 * math/libm-test.inc (hypot_test): Add another test.
39348 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39349 Return a+b for ratio over 2**120, not 2**60.
39350 * math/libm-test.inc (hypot_test): Add another test.
39352 * math/libm-test.inc (clog_test): Use
39353 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39354 (clog10_test): Likewise.
39357 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39359 2012-11-22 Andreas Schwab <schwab@suse.de>
39361 * sysdeps/i386/fpu/libm-test-ulps: Update.
39363 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
39365 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39366 printf output with newline.
39368 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
39371 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39372 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39373 -z nodlopen, -z initfirst and -z execstack support.
39374 * configure: Regenerated.
39376 * elf/elf.h (DF_1_NODIRECT): New macro.
39377 (DF_1_IGNMULDEF): Likewise.
39378 (DF_1_NOKSYMS): Likewise.
39379 (DF_1_NOHDR): Likewise.
39380 (DF_1_EDITED): Likewise.
39381 (DF_1_NORELOC): Likewise.
39382 (DF_1_SYMINTPOSE): Likewise.
39383 (DF_1_GLOBAUDIT): Likewise.
39384 (DF_1_SINGLETON): Likewise.
39385 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39386 DT_1_SUPPORTED_MASK bits.
39387 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39389 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
39391 * sysdeps/unix/make-syscalls.sh: Document prefixes.
39393 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
39395 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39398 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39399 (sendmmsg): Move declarations...
39400 * socket/sys/socket.h: ... here.
39401 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39402 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39404 * socket/recvmmsg.c: ... this new file.
39405 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39406 (sendmmsg): Rename to __sendmmsg, create weak alias and make
39407 definition of __sendmmsg hidden.
39408 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39409 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39410 Move ENOSYS stub into and include it from...
39411 * socket/sendmmsg.c: ... this new file.
39412 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39413 (sysdep_routines): Move recvmmsg and sendmmsg...
39414 * socket/Makefile (routines): ... here.
39415 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39416 (GLIBC_PRIVATE): Add __sendmmsg.
39417 * include/sys/socket.h (__sendmmsg): Add declarations.
39418 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39421 2012-11-20 Joseph Myers <joseph@codesourcery.com>
39423 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39424 variable I1 with __attribute__ ((unused)).
39425 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39427 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39429 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39430 DUMMY variables with __attribute__ ((unused)).
39432 * bits/byteswap.h: Include <bits/types.h>.
39433 (__bswap_64): Use __uint64_t instead of unsigned long long int.
39435 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39437 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39438 string_t. Do not manually set errno.
39439 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39440 length with __strnlen. Make sure to both set errno and return it on
39443 2012-11-19 David S. Miller <davem@davemloft.net>
39445 With help from Joseph Myers.
39446 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39447 very large arguments properly.
39448 * math/libm-test.inc (atan_test): New tests.
39449 (atan2_test): New tests.
39450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39453 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39456 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39459 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39460 [POSIX] (EADDRNOTAVAIL): Likewise.
39461 [POSIX] (EAFNOSUPPORT): Likewise.
39462 [POSIX] (EALREADY): Likewise.
39463 [POSIX] (ECONNABORTED): Likewise.
39464 [POSIX] (ECONNREFUSED): Likewise.
39465 [POSIX] (ECONNRESET): Likewise.
39466 [POSIX] (EDESTADDRREQ): Likewise.
39467 [POSIX] (EDQUOT): Likewise.
39468 [POSIX] (EHOSTUNREACH): Likewise.
39469 [POSIX] (EIDRM): Likewise.
39470 [POSIX] (EISCONN): Likewise.
39471 [POSIX] (ELOOP): Likewise.
39472 [POSIX] (EMULTIHOP): Likewise.
39473 [POSIX] (ENETDOWN): Likewise.
39474 [POSIX] (ENETUNREACH): Likewise.
39475 [POSIX] (ENOBUFS): Likewise.
39476 [POSIX] (ENODATA): Likewise.
39477 [POSIX] (ENOLINK): Likewise.
39478 [POSIX] (ENOMSG): Likewise.
39479 [POSIX] (ENOPROTOOPT): Likewise.
39480 [POSIX] (ENOSR): Likewise.
39481 [POSIX] (ENOSTR): Likewise.
39482 [POSIX] (ENOTCONN): Likewise.
39483 [POSIX] (ENOTSOCK): Likewise.
39484 [POSIX] (EOPNOTSUPP): Likewise.
39485 [POSIX] (EOVERFLOW): Likewise.
39486 [POSIX] (EPROTO): Likewise.
39487 [POSIX] (EPROTONOSUPPORT): Likewise.
39488 [POSIX] (EPROTOTYPE): Likewise.
39489 [POSIX] (ESTALE): Likewise.
39490 [POSIX] (ETIME): Likewise.
39491 [POSIX] (ETXTBSY): Likewise.
39492 [POSIX] (EWOULDBLOCK): Likewise.
39493 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39494 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39495 [POSIX] (SEEK_CUR): Likewise.
39496 [POSIX] (SEEK_END): Likewise.
39497 [POSIX || UNIX98] (mode_t): Do not require.
39498 [POSIX] (off_t): Likewise.
39499 [POSIX] (pid_t): Likewise.
39500 [POSIX] (sys/stat.h): Do not allow header.
39501 [POSIX] (unistd.h): Likewise.
39502 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39503 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39504 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39505 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39507 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39508 sigevent): Specify elements.
39509 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39511 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39512 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39514 * conform/data/cpio.h-data [POSIX]: Disable whole file.
39515 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39516 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39517 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39518 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39519 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39520 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39521 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39522 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39523 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39524 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39525 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39526 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39527 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39529 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39531 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39533 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39535 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39536 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39537 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39538 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39539 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39540 Specify lower bound on value.
39541 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39542 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39543 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39544 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39545 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39546 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39547 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39548 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39550 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39552 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39553 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39554 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39555 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39556 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39557 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39558 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39559 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39560 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39561 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39562 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39563 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39564 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39565 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39566 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39567 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39569 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39571 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39572 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39573 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39574 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39575 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39576 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39578 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39579 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39580 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39581 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39582 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
39583 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39584 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39586 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39587 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39588 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39589 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39590 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39591 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39592 specify as optional.
39593 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39594 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39595 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39596 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39597 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39598 [XPG3] (NL_LANGMAX): Likewise.
39599 [POSIX || XPG3] (NL_MSGMAX): Likewise.
39600 [POSIX || XPG3] (NL_NMAX): Likewise.
39601 [POSIX || XPG3] (NL_SETMAX): Likewise.
39602 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39603 [XPG3] (NZERO): Likewise.
39604 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39605 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39606 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39607 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39608 (REG_ERANGE): Expect.
39609 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39611 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39612 Use (void) in prototype.
39613 [POSIX] (*_t): Allow.
39614 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39615 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39616 (WRDE_BADVAL): Expect.
39618 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39620 [XPG3 || XPG4] (O_RSYNC): Likewise.
39621 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39623 [XPG3 || XPG4] (pthread_sigmask): Likewise.
39624 [XPG3 || XPG4] (sigqueue): Likewise.
39625 [XPG3 || XPG4] (sigtimedwait): Likewise.
39626 [XPG3 || XPG4] (sigwaitinfo): Likewise.
39627 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39628 [XPG3 || XPG4] (vsnprintf): Likewise.
39629 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39631 [XPG3 || XPG4] (blksize_t): Likewise.
39632 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39634 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39635 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39636 [XPG3 || XPG4] (struct itimerspec): Likewise.
39637 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39638 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39639 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39640 [XPG3 || XPG4] (clockid_t): Likewise.
39641 [XPG3 || XPG4] (timer_t): Likewise.
39642 [XPG3 || XPG4] (clock_getres): Likewise.
39643 [XPG3 || XPG4] (clock_gettime): Likewise.
39644 [XPG3 || XPG4] (clock_settime): Likewise.
39645 [XPG3 || XPG4] (nanosleep): Likewise.
39646 [XPG3 || XPG4] (timer_create): Likewise.
39647 [XPG3 || XPG4] (timer_delete): Likewise.
39648 [XPG3 || XPG4] (timer_gettime): Likewise.
39649 [XPG3 || XPG4] (timer_getoverrun): Likewise.
39650 [XPG3 || XPG4] (timer_settime): Likewise.
39651 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39652 [XPG3 || XPG4] (getlogin_r): Likewise.
39653 [XPG3 || XPG4] (pread): Likewise.
39654 [XPG3 || XPG4] (pthread_atfork): Likewise.
39655 [XPG3 || XPG4] (pwrite): Likewise.
39658 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39661 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39663 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39664 finalizing MALLSTREAM.
39666 * sysdeps/mach/hurd/syncfs.c: New file.
39668 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39671 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39672 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39673 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39674 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39675 (_nss_dns_gethostbyname4_r): Likewise.
39676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39677 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39679 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
39682 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39684 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
39686 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39687 * elf/cache.c (print_entry): Print ",AArch64" for
39690 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39691 * elf/cache.c (print_entry): Print ",hard-float" for
39694 2012-11-18 David S. Miller <davem@davemloft.net>
39696 With help from Joseph Myers.
39697 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39699 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39701 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39702 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39704 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39705 * math/libm-test.inc (y0_test): New tests.
39706 (y1_test): New tests.
39707 * sysdeps/i386/fpu/libm-test-ulps: Update.
39708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39711 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
39713 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39715 * configure: Regenerated.
39717 2012-11-17 David S. Miller <davem@davemloft.net>
39720 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39721 nonzero exponents with absolute value below 0x1p-128 to +/-
39724 2012-11-17 Joseph Myers <joseph@codesourcery.com>
39726 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39728 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39730 * posix/getconf-speclist.c: New file.
39731 * posix/posix-envs.def: Likewise.
39732 * posix/confstr.c (START_ENV_GROUP): New macro.
39733 (END_ENV_GROUP): Likewise.
39734 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39735 (KNOWN_PRESENT_ENV_STRING): Likewise.
39736 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39737 (UNKNOWN_ENVIRONMENT): Likewise.
39738 (confstr): Include posix-envs.def instead of handling
39739 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39740 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39741 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39742 (END_ENV_GROUP): Likewise.
39743 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39744 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39745 (UNKNOWN_ENVIRONMENT): Likewise.
39746 (__sysconf): Include posix-envs.def instead of handling associated
39747 cases directly here.
39748 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39749 preprocessing getconf-speclist.c rather than running getconf or
39750 generating empty file.
39752 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
39754 * scripts/check-local-headers.sh: Ignore 'mach' headers.
39756 2012-11-16 Andrej Lajovic <natrij@gmail.com>
39759 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39761 2012-11-16 David S. Miller <davem@davemloft.net>
39763 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39764 smaller than LDBL_EPSILON/2.0L, just return xm1.
39766 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
39768 * elf/tst-array1.c (init): Set constructor priority to 1000.
39769 (fini): Set destructor priority to 1000.
39770 * elf/tst-array2dep.c: Likewise.
39772 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39775 * libio/fileops.c (_IO_new_file_write): Correctly return error.
39776 (_IO_new_file_xsputn): Also return EOF if none of the input
39777 data was written when overflow failed.
39778 * libio/iopadn.c (_IO_padn): Likewise.
39779 * libio/iowpadn.c (_IO_wpadn): Likewise.
39780 * stdio-common/tst-put-error.c: Add copyright notice.
39781 (do_test): Add case for printing padded string.
39782 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39783 _IO_padn returned error.
39784 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39785 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39788 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39790 * libio/libioP.h: Add comment note that the references to C++
39791 bits are now obsolete.
39793 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39795 * math/libm-test.inc (check_complex): Use asprintf.
39797 2012-11-14 Joseph Myers <joseph@codesourcery.com>
39799 * debug/pcprofiledump.c (print_version): Update copyright year.
39800 * malloc/memusagestat.c (print_version): Likewise.
39802 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
39805 * elf/Makefile (tests): Add tst-audit8.
39806 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39807 ($(objpfx)tst-audit8.out): New target.
39808 (tst-audit8-ENV): New variable.
39809 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39810 audit if l_reloc_result is NULL.
39811 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39812 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39813 * elf/tst-audit8.c: New file.
39815 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39817 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39818 * misc/Makefile (CFLAGS-select.c): Define.
39819 * posix/Makefile (CFLAGS-pause.c): Define.
39821 2012-11-13 David S. Miller <davem@davemloft.net>
39823 * crypt/Makefile: Move test targets after toplevel Rules
39824 inclusion. Grab any necessary sysdep routines when linking.
39825 * crypt/md5.c (md5_process_block): Remove define, we will always
39826 name it __md5_process_block.
39827 (md5_finish_ctx): Update md5_process_block call.
39828 (md5_stream): Likewise.
39829 (md5_process_bytes): Likewise.
39830 (md5_process_block): Rename to __md5_process_block and move to ...
39831 * crypt/md5-block.c: ... here.
39832 * crypt/sha256.c (sha256_process_block): Move to ...
39833 * crypt/sha256-block.c: ... here.
39834 * crypt/sha512.c (sha512_process_block): Move to ...
39835 * crypt/sha512-block.c: ... here.
39836 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39838 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39839 * sysdeps/sparc/sparc64/multiarch/Makefile
39840 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39842 (localedef-aux): Add md5 crypto assembler when in locale subdir.
39843 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39845 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39846 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39847 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39848 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39849 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39850 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39851 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39852 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39853 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39855 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39856 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39858 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39860 2012-11-13 Joseph Myers <joseph@codesourcery.com>
39862 * timezone/tzselect.ksh: Update from tzcode git revision
39863 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39864 * timezone/zdump.c: Likewise.
39865 * timezone/zic.c: Likewise.
39866 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39867 in TZVERSION setting, not $(PKGVERSION).
39868 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
39869 REPORT_BUGS_TO settings.
39872 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39875 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39877 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39878 detection to immediately after _FP_ROUND().
39879 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39882 2012-11-11 David S. Miller <davem@davemloft.net>
39884 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39886 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39887 __close rather than their public counterparts.
39889 2012-11-10 Joseph Myers <joseph@codesourcery.com>
39891 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39893 [UNIX98] (sem_timedwait): Do not expect.
39894 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39895 [XPG4 || UNIX98] (sockatmark): Do not expect.
39896 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39897 (clock_getcpuclockid): Do not expect.
39898 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39899 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39901 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39902 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39903 [UNIX98] (vwscanf): Likewise.
39904 [UNIX98] (vswscanf): Likewise.
39906 2012-11-09 Joseph Myers <joseph@codesourcery.com>
39908 * timezone/version.h: Remove file.
39909 * timezone/README: Do not refer to version.h.
39910 * timezone/Makefile ($(objpfx)zic.o): New dependency on
39911 $(objpfx)version.h.
39912 ($(objpfx)zdump.o): Likewise.
39913 ($(objpfx)version.h): New target.
39915 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39917 * timezone/README: Don't mention modification to tzselect.ksh.
39918 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39919 work on unmodified tzselect.ksh. Substitute version numbers in
39922 * Makefile (format-me): Remove.
39923 (INSTALL): Adjust indentation. Use commands directly instead of
39924 using $(format-me).
39926 * aclocal.m4 (ACX_PKGVERSION): New macro.
39927 (ACX_BUGURL): Likewise.
39928 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39929 (PKGVERSION): New AC_DEFINE_UNQUOTED.
39930 (REPORT_BUGS_TO): Likewise.
39931 * configure: Regenerated.
39932 * config.h.in (PKGVERSION): New macro.
39933 (REPORT_BUGS_TO): Likewise.
39934 * config.make.in (PKGVERSION): New variable.
39935 (PKGVERSION_TEXI): Likewise.
39936 (REPORT_BUGS_TO): Likewise.
39937 (REPORT_BUGS_TEXI): Likewise.
39938 * Makefile (format-me): Use -I$(common-objpfx)manual.
39939 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39940 ($(common-objpfx)manual/%): New target.
39941 (manual/%): Remove target.
39942 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39943 (print_version): Use PKGVERSION.
39944 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39945 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39946 and REPORT_BUGS_TO.
39947 ($(objpfx)xtrace): Likewise.
39948 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39949 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39950 (print_version): Use PKGVERSION.
39951 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39952 (do_version): Use PKGVERSION.
39953 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39955 (common-ldd-rewrite): Likewise.
39956 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39957 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39958 (print_version): Use PKGVERSION.
39959 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39960 * elf/pldd.c (argp_program_bug_address): Remove variable.
39961 (more_help): New function.
39962 (argp): Use more_help.
39963 (print_version): Use PKGVERSION.
39964 * elf/sln.c (main): Use PKGVERSION.
39965 (usage): Use REPORT_BUGS_TO.
39966 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39967 (top level): Use PKGVERSION.
39968 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39969 (print_version): Use PKGVERSION.
39970 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39971 (print_version): Use PKGVERSION.
39972 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39973 (print_version): Use PKGVERSION.
39974 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39975 (print_version): Use PKGVERSION.
39976 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39977 (print_version): Use PKGVERSION.
39978 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39979 (print_version): Use PKGVERSION.
39980 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39982 ($(objpfx)memusage): Likewise.
39983 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39984 (do_version): Use PKGVERSION.
39985 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39986 (print_version): Use PKGVERSION.
39987 * malloc/mtrace.pl ($PACKAGE): Remove variable.
39988 ($PKGVERSION): New variable.
39989 ($REPORT_BUGS_TO): Likewise.
39990 (usage): Use $REPORT_BUGS_TO.
39991 (top level): Use $PKGVERSION.
39992 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39993 ($(objpfx)pkgvers.texi): New rule.
39994 ($(objpfx)stamp-pkgvers): Likewise.
39995 * manual/install.texi: Include pkgvers.texi.
39996 (--with-pkgversion): Document new configure option.
39997 (--with-bugurl): Likewise.
39998 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39999 than necessarily for this particular distribution. Use
40000 REPORT_BUGS_TO for where to report bugs.
40001 * INSTALL: Regenerated.
40002 * manual/libc.texinfo: Include pkgvers.texi.
40003 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40004 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40005 (print_version): Use PKGVERSION.
40006 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40007 (print_version): Use PKGVERSION.
40008 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40009 (print_version): Use PKGVERSION.
40010 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40011 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40013 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40014 (print_version): Use PKGVERSION.
40015 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40016 (print_version): Use PKGVERSION.
40017 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40020 * timezone/checktab.awk: Update from tzcode 2012i.
40021 * timezone/ialloc.c: Likewise.
40022 * timezone/private.h: Likewise.
40023 * timezone/scheck.c: Likewise.
40024 * timezone/tzfile.h: Likewise.
40025 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40026 (TZVERSION): Hardcode tzcode version number.
40027 * timezone/zdump.c: Update from tzcode 2012i.
40028 * timezone/zic.c: Likewise.
40029 * timezone/version.h: New file.
40030 * timezone/README: Describe version.h. Update upstream location.
40033 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40034 (mktemp): Enable declaration.
40035 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40036 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40037 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40038 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40040 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40042 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40044 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40046 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40048 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40052 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40053 offset in buffer as u_int32_t not u_long. Consistently use memcpy
40054 for copies of such integer values.
40055 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40056 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40058 2012-11-09 Andreas Jaeger <aj@suse.de>
40060 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40061 definitions and declarations that are provided by
40062 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40064 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40066 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40067 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40068 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40071 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40073 * elf/elf.h: Update comment before AArch64 relocations.
40075 2012-11-07 David S. Miller <davem@davemloft.net>
40077 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40078 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40079 (__start_context): Declare.
40080 (__makecontext_ret): Delete.
40081 (__makecontext): Hook up __start_context instead of
40083 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40084 (sysdep_routines): Add __start_context when in stdlib.
40086 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40088 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40089 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40090 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
40092 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
40093 (READELF): New variable. Use it instead of hardcoded "readelf".
40095 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
40097 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40098 * sysdeps/x86/Makefile: Here.
40099 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40100 * sysdeps/x86/tst-xmmymm.sh: This.
40102 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40104 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40106 [UNIX98] (pthread_barrier_t): Do not expect.
40107 [UNIX98] (pthread_barrierattr_t): Likewise.
40108 [UNIX98] (pthread_spinlock_t): Likewise.
40109 [UNIX98] (pthread_barrier_destroy): Likewise.
40110 [UNIX98] (pthread_barrier_init): Likewise.
40111 [UNIX98] (pthread_barrier_wait): Likewise.
40112 [UNIX98] (pthread_barrierattr_destroy): Likewise.
40113 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40114 [UNIX98] (pthread_barrierattr_init): Likewise.
40115 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40116 [UNIX98] (pthread_getcpuclockid): Likewise.
40117 [UNIX98] (pthread_mutex_timedlock): Likewise.
40118 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40119 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40120 [UNIX98] (pthread_sigmask): Likewise.
40121 [UNIX98] (pthread_spin_destroy): Likewise.
40122 [UNIX98] (pthread_spin_init): Likewise.
40123 [UNIX98] (pthread_spin_lock): Likewise.
40124 [UNIX98] (pthread_spin_trylock): Likewise.
40125 [UNIX98] (pthread_spin_unlock): Likewise.
40126 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40128 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40129 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40130 [XPG3 || XPG4] (pthread_cond_t): Likewise.
40131 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40132 [XPG3 || XPG4] (pthread_key_t): Likewise.
40133 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40134 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40135 [XPG3 || XPG4] (pthread_once_t): Likewise.
40136 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40137 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40138 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40139 [XPG3 || XPG4] (pthread_t): Likewise.
40141 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40143 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40145 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40146 Change function return type to int.
40148 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40149 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40150 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40151 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40152 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40153 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40154 [!POSIX] (posix_madvise): Likewise.
40155 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40157 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40158 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40159 (mode_t): Likewise.
40160 (posix_mem_offset): Likewise.
40161 (posix_typed_mem_get_info): Likewise.
40162 (posix_typed_mem_open): Likewise.
40164 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40165 Change condition to [XOPEN2K8].
40167 * conform/conformtest.pl: Preprocess allow-header data with -x c
40168 instead of from stdin.
40169 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40170 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40171 [C99-based standards] (cerfc): Likewise.
40172 [C99-based standards] (cexp2): Likewise.
40173 [C99-based standards] (cexpm1): Likewise.
40174 [C99-based standards] (clog10): Likewise.
40175 [C99-based standards] (clog1p): Likewise.
40176 [C99-based standards] (clog2): Likewise.
40177 [C99-based standards] (clgamma): Likewise.
40178 [C99-based standards] (ctgamma): Likewise.
40179 [C99-based standards] (cerff): Likewise.
40180 [C99-based standards] (cerfcf): Likewise.
40181 [C99-based standards] (cexp2f): Likewise.
40182 [C99-based standards] (cexpm1f): Likewise.
40183 [C99-based standards] (clog10f): Likewise.
40184 [C99-based standards] (clog1pf): Likewise.
40185 [C99-based standards] (clog2f): Likewise.
40186 [C99-based standards] (clgammaf): Likewise.
40187 [C99-based standards] (ctgammaf): Likewise.
40188 [C99-based standards] (cerfl): Likewise.
40189 [C99-based standards] (cerfcl): Likewise.
40190 [C99-based standards] (cexp2l): Likewise.
40191 [C99-based standards] (cexpm1l): Likewise.
40192 [C99-based standards] (clog10l): Likewise.
40193 [C99-based standards] (clog1pl): Likewise.
40194 [C99-based standards] (clog2l): Likewise.
40195 [C99-based standards] (clgammal): Likewise.
40196 [C99-based standards] (ctgammal): Likewise.
40197 * conform/data/inttypes.h-data [C99-based standards]: Include
40198 stdint.h-data. Remove all expectations for stdint.h contents.
40199 [C99-based standards] (PRI*): Do not allow.
40200 [C99-based standards] (SCN*): Likewise.
40201 [C99-based standards] (*_t): Likewise.
40202 [C99-based-standards] (PRId8): Expect macro.
40203 [C99-based-standards] (PRIi8): Likewise.
40204 [C99-based-standards] (PRIo8): Likewise.
40205 [C99-based-standards] (PRIu8): Likewise.
40206 [C99-based-standards] (PRIx8): Likewise.
40207 [C99-based-standards] (PRIX8): Likewise.
40208 [C99-based-standards] (SCNd8): Likewise.
40209 [C99-based-standards] (SCNi8): Likewise.
40210 [C99-based-standards] (SCNo8): Likewise.
40211 [C99-based-standards] (SCNu8): Likewise.
40212 [C99-based-standards] (SCNx8): Likewise.
40213 [C99-based-standards] (PRIdLEAST8): Likewise.
40214 [C99-based-standards] (PRIiLEAST8): Likewise.
40215 [C99-based-standards] (PRIoLEAST8): Likewise.
40216 [C99-based-standards] (PRIuLEAST8): Likewise.
40217 [C99-based-standards] (PRIxLEAST8): Likewise.
40218 [C99-based-standards] (PRIXLEAST8): Likewise.
40219 [C99-based-standards] (SCNdLEAST8): Likewise.
40220 [C99-based-standards] (SCNiLEAST8): Likewise.
40221 [C99-based-standards] (SCNoLEAST8): Likewise.
40222 [C99-based-standards] (SCNuLEAST8): Likewise.
40223 [C99-based-standards] (SCNxLEAST8): Likewise.
40224 [C99-based-standards] (PRIdFAST8): Likewise.
40225 [C99-based-standards] (PRIiFAST8): Likewise.
40226 [C99-based-standards] (PRIoFAST8): Likewise.
40227 [C99-based-standards] (PRIuFAST8): Likewise.
40228 [C99-based-standards] (PRIxFAST8): Likewise.
40229 [C99-based-standards] (PRIXFAST8): Likewise.
40230 [C99-based-standards] (SCNdFAST8): Likewise.
40231 [C99-based-standards] (SCNiFAST8): Likewise.
40232 [C99-based-standards] (SCNoFAST8): Likewise.
40233 [C99-based-standards] (SCNuFAST8): Likewise.
40234 [C99-based-standards] (SCNxFAST8): Likewise.
40235 [C99-based-standards] (PRId16): Likewise.
40236 [C99-based-standards] (PRIi16): Likewise.
40237 [C99-based-standards] (PRIo16): Likewise.
40238 [C99-based-standards] (PRIu16): Likewise.
40239 [C99-based-standards] (PRIx16): Likewise.
40240 [C99-based-standards] (PRIX16): Likewise.
40241 [C99-based-standards] (SCNd16): Likewise.
40242 [C99-based-standards] (SCNi16): Likewise.
40243 [C99-based-standards] (SCNo16): Likewise.
40244 [C99-based-standards] (SCNu16): Likewise.
40245 [C99-based-standards] (SCNx16): Likewise.
40246 [C99-based-standards] (PRIdLEAST16): Likewise.
40247 [C99-based-standards] (PRIiLEAST16): Likewise.
40248 [C99-based-standards] (PRIoLEAST16): Likewise.
40249 [C99-based-standards] (PRIuLEAST16): Likewise.
40250 [C99-based-standards] (PRIxLEAST16): Likewise.
40251 [C99-based-standards] (PRIXLEAST16): Likewise.
40252 [C99-based-standards] (SCNdLEAST16): Likewise.
40253 [C99-based-standards] (SCNiLEAST16): Likewise.
40254 [C99-based-standards] (SCNoLEAST16): Likewise.
40255 [C99-based-standards] (SCNuLEAST16): Likewise.
40256 [C99-based-standards] (SCNxLEAST16): Likewise.
40257 [C99-based-standards] (PRIdFAST16): Likewise.
40258 [C99-based-standards] (PRIiFAST16): Likewise.
40259 [C99-based-standards] (PRIoFAST16): Likewise.
40260 [C99-based-standards] (PRIuFAST16): Likewise.
40261 [C99-based-standards] (PRIxFAST16): Likewise.
40262 [C99-based-standards] (PRIXFAST16): Likewise.
40263 [C99-based-standards] (SCNdFAST16): Likewise.
40264 [C99-based-standards] (SCNiFAST16): Likewise.
40265 [C99-based-standards] (SCNoFAST16): Likewise.
40266 [C99-based-standards] (SCNuFAST16): Likewise.
40267 [C99-based-standards] (SCNxFAST16): Likewise.
40268 [C99-based-standards] (PRId32): Likewise.
40269 [C99-based-standards] (PRIi32): Likewise.
40270 [C99-based-standards] (PRIo32): Likewise.
40271 [C99-based-standards] (PRIu32): Likewise.
40272 [C99-based-standards] (PRIx32): Likewise.
40273 [C99-based-standards] (PRIX32): Likewise.
40274 [C99-based-standards] (SCNd32): Likewise.
40275 [C99-based-standards] (SCNi32): Likewise.
40276 [C99-based-standards] (SCNo32): Likewise.
40277 [C99-based-standards] (SCNu32): Likewise.
40278 [C99-based-standards] (SCNx32): Likewise.
40279 [C99-based-standards] (PRIdLEAST32): Likewise.
40280 [C99-based-standards] (PRIiLEAST32): Likewise.
40281 [C99-based-standards] (PRIoLEAST32): Likewise.
40282 [C99-based-standards] (PRIuLEAST32): Likewise.
40283 [C99-based-standards] (PRIxLEAST32): Likewise.
40284 [C99-based-standards] (PRIXLEAST32): Likewise.
40285 [C99-based-standards] (SCNdLEAST32): Likewise.
40286 [C99-based-standards] (SCNiLEAST32): Likewise.
40287 [C99-based-standards] (SCNoLEAST32): Likewise.
40288 [C99-based-standards] (SCNuLEAST32): Likewise.
40289 [C99-based-standards] (SCNxLEAST32): Likewise.
40290 [C99-based-standards] (PRIdFAST32): Likewise.
40291 [C99-based-standards] (PRIiFAST32): Likewise.
40292 [C99-based-standards] (PRIoFAST32): Likewise.
40293 [C99-based-standards] (PRIuFAST32): Likewise.
40294 [C99-based-standards] (PRIxFAST32): Likewise.
40295 [C99-based-standards] (PRIXFAST32): Likewise.
40296 [C99-based-standards] (SCNdFAST32): Likewise.
40297 [C99-based-standards] (SCNiFAST32): Likewise.
40298 [C99-based-standards] (SCNoFAST32): Likewise.
40299 [C99-based-standards] (SCNuFAST32): Likewise.
40300 [C99-based-standards] (SCNxFAST32): Likewise.
40301 [C99-based-standards] (PRId64): Likewise.
40302 [C99-based-standards] (PRIi64): Likewise.
40303 [C99-based-standards] (PRIo64): Likewise.
40304 [C99-based-standards] (PRIu64): Likewise.
40305 [C99-based-standards] (PRIx64): Likewise.
40306 [C99-based-standards] (PRIX64): Likewise.
40307 [C99-based-standards] (SCNd64): Likewise.
40308 [C99-based-standards] (SCNi64): Likewise.
40309 [C99-based-standards] (SCNo64): Likewise.
40310 [C99-based-standards] (SCNu64): Likewise.
40311 [C99-based-standards] (SCNx64): Likewise.
40312 [C99-based-standards] (PRIdLEAST64): Likewise.
40313 [C99-based-standards] (PRIiLEAST64): Likewise.
40314 [C99-based-standards] (PRIoLEAST64): Likewise.
40315 [C99-based-standards] (PRIuLEAST64): Likewise.
40316 [C99-based-standards] (PRIxLEAST64): Likewise.
40317 [C99-based-standards] (PRIXLEAST64): Likewise.
40318 [C99-based-standards] (SCNdLEAST64): Likewise.
40319 [C99-based-standards] (SCNiLEAST64): Likewise.
40320 [C99-based-standards] (SCNoLEAST64): Likewise.
40321 [C99-based-standards] (SCNuLEAST64): Likewise.
40322 [C99-based-standards] (SCNxLEAST64): Likewise.
40323 [C99-based-standards] (PRIdFAST64): Likewise.
40324 [C99-based-standards] (PRIiFAST64): Likewise.
40325 [C99-based-standards] (PRIoFAST64): Likewise.
40326 [C99-based-standards] (PRIuFAST64): Likewise.
40327 [C99-based-standards] (PRIxFAST64): Likewise.
40328 [C99-based-standards] (PRIXFAST64): Likewise.
40329 [C99-based-standards] (SCNdFAST64): Likewise.
40330 [C99-based-standards] (SCNiFAST64): Likewise.
40331 [C99-based-standards] (SCNoFAST64): Likewise.
40332 [C99-based-standards] (SCNuFAST64): Likewise.
40333 [C99-based-standards] (SCNxFAST64): Likewise.
40334 [C99-based-standards] (PRIdMAX): Likewise.
40335 [C99-based-standards] (PRIiMAX): Likewise.
40336 [C99-based-standards] (PRIoMAX): Likewise.
40337 [C99-based-standards] (PRIuMAX): Likewise.
40338 [C99-based-standards] (PRIxMAX): Likewise.
40339 [C99-based-standards] (PRIXMAX): Likewise.
40340 [C99-based-standards] (SCNdMAX): Likewise.
40341 [C99-based-standards] (SCNiMAX): Likewise.
40342 [C99-based-standards] (SCNoMAX): Likewise.
40343 [C99-based-standards] (SCNuMAX): Likewise.
40344 [C99-based-standards] (SCNxMAX): Likewise.
40345 [C99-based-standards] (PRIdPTR): Likewise.
40346 [C99-based-standards] (PRIiPTR): Likewise.
40347 [C99-based-standards] (PRIoPTR): Likewise.
40348 [C99-based-standards] (PRIuPTR): Likewise.
40349 [C99-based-standards] (PRIxPTR): Likewise.
40350 [C99-based-standards] (PRIXPTR): Likewise.
40351 [C99-based-standards] (SCNdPTR): Likewise.
40352 [C99-based-standards] (SCNiPTR): Likewise.
40353 [C99-based-standards] (SCNoPTR): Likewise.
40354 [C99-based-standards] (SCNuPTR): Likewise.
40355 [C99-based-standards] (SCNxPTR): Likewise.
40356 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40358 * conform/data/stdint.h-data: Update comments to clarify
40360 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
40362 [C99-based standards] (INT8_MAX): Likewise.
40363 [C99-based standards] (INT16_MIN): Likewise.
40364 [C99-based standards] (INT16_MAX): Likewise.
40365 [C99-based standards] (INT32_MIN): Likewise.
40366 [C99-based standards] (INT32_MAX): Likewise.
40367 [C99-based standards] (INT64_MIN): Likewise.
40368 [C99-based standards] (INT64_MAX): Likewise.
40369 [C99-based standards] (UINT8_MAX): Likewise.
40370 [C99-based standards] (UINT16_MAX): Likewise.
40371 [C99-based standards] (UINT32_MAX): Likewise.
40372 [C99-based standards] (UINT64_MAX): Likewise.
40373 [C99-based standards] (INT_LEAST8_MIN): Likewise.
40374 [C99-based standards] (INT_LEAST8_MAX): Likewise.
40375 [C99-based standards] (INT_LEAST16_MIN): Likewise.
40376 [C99-based standards] (INT_LEAST16_MAX): Likewise.
40377 [C99-based standards] (INT_LEAST32_MIN): Likewise.
40378 [C99-based standards] (INT_LEAST32_MAX): Likewise.
40379 [C99-based standards] (INT_LEAST64_MIN): Likewise.
40380 [C99-based standards] (INT_LEAST64_MAX): Likewise.
40381 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40382 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40383 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40384 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40385 [C99-based standards] (INT_FAST8_MIN): Likewise.
40386 [C99-based standards] (INT_FAST8_MAX): Likewise.
40387 [C99-based standards] (INT_FAST16_MIN): Likewise.
40388 [C99-based standards] (INT_FAST16_MAX): Likewise.
40389 [C99-based standards] (INT_FAST32_MIN): Likewise.
40390 [C99-based standards] (INT_FAST32_MAX): Likewise.
40391 [C99-based standards] (INT_FAST64_MIN): Likewise.
40392 [C99-based standards] (INT_FAST64_MAX): Likewise.
40393 [C99-based standards] (UINT_FAST8_MAX): Likewise.
40394 [C99-based standards] (UINT_FAST16_MAX): Likewise.
40395 [C99-based standards] (UINT_FAST32_MAX): Likewise.
40396 [C99-based standards] (UINT_FAST64_MAX): Likewise.
40397 [C99-based standards] (INTPTR_MIN): Likewise.
40398 [C99-based standards] (INTPTR_MAX): Likewise.
40399 [C99-based standards] (UINTPTR_MAX): Likewise.
40400 [C99-based standards] (INTMAX_MIN): Likewise.
40401 [C99-based standards] (INTMAX_MAX): Likewise.
40402 [C99-based standards] (UINTMAX_MAX): Likewise.
40403 [C99-based standards] (PTRDIFF_MIN): Likewise.
40404 [C99-based standards] (PTRDIFF_MAX): Likewise.
40405 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40406 [C99-based standards] (SIZE_MAX): Likewise.
40407 [C99-based standards] (WCHAR_MAX): Likewise.
40408 [C99-based standards] (WINT_MAX): Likewise.
40409 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
40410 constraint on value.
40411 [C99-based standards] (WCHAR_MIN): Likewise.
40412 [C99-based standards] (WINT_MIN): Likewise.
40413 [C99-based standards] (*_t): Allow.
40414 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40415 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40416 Include math.h-data and complex.h-data. Remove all expectations
40417 of math.h and complex.h contents.
40418 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40420 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40421 (struct tm): Expect tag.
40422 [C99-based-standards] (wcstof): Expect function.
40423 [C99-based-standards] (wcstold): Likewise.
40424 [C99-based-standards] (wcstoll): Likewise.
40425 [C99-based-standards] (wcstoull): Likewise.
40426 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40427 macro-int-constant. Specify type.
40428 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
40429 constraint on value.
40430 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40432 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40434 [ISO C standards]: Do not allow headers.
40435 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40436 wcs[abcdefghijklmnopqrstuvwxyz]*.
40437 [ISO C standards] (*_t): Do not allow.
40438 * conform/data/wctype.h-data [C99-based standards] (iswblank):
40440 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40441 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40443 [ISO C standards]: Do not allow headers.
40444 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40445 is[abcdefghijklmnopqrstuvwxyz]*.
40446 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40447 to[abcdefghijklmnopqrstuvwxyz]*.
40448 [ISO C standards] (*_t): Do not allow.
40449 * conform/data/stdalign.h-data: New file.
40450 * conform/data/stdbool.h-data: Likewise.
40451 * conform/data/stdnoreturn.h-data: Likewise.
40453 2012-11-07 Roland McGrath <roland@hack.frob.com>
40456 * manual/filesys.texi (Directory Entries): Typo fix.
40457 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40459 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40461 * elf/elf.h (EM_AARCH64): New macro.
40462 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40463 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40464 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40465 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40466 (R_AARCH64_TLSDESC): Likewise.
40467 (NT_ARM_TLS): Likewise.
40468 (NT_ARM_HW_BREAK): Likewise.
40469 (NT_ARM_HW_WATCH): Likewise.
40471 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40474 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40475 (__ieee754_powl): Saturate nonzero exponents with absolute value
40476 below 0x1p-79 to +/- 0x1p-79.
40477 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40478 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40479 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40480 nonzero exponents with absolute value below 0x1p-32 to +/-
40482 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40483 (__ieee754_powl): Saturate nonzero exponents with absolute value
40484 below 0x1p-79 to +/- 0x1p-79.
40485 * math/libm-test.inc (pow_test): Add more tests.
40487 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40489 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40490 _dl_s390_cap_flags with kernel. Increase string length.
40491 (_dl_s390_platforms): Add z196 and zEC12.
40493 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40495 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40496 Change XOPEN21K to XOPEN2K.
40498 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
40500 * string/memmove.c: Use memcpy when possible.
40502 2012-11-06 Andreas Jaeger <aj@suse.de>
40504 * po/eo.po: Update from translation team.
40506 2012-11-06 Joseph Myers <joseph@codesourcery.com>
40509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40510 exponent and small x and y exponents, scale x or y up. Increase
40511 by 2 the exponent used in scaling up.
40512 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40513 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40514 * math/libm-test.inc (fma_test): Add more tests.
40515 (fma_test_towardzero): Likewise.
40516 (fma_test_downward): Likewise.
40517 (fma_test_upward): Likewise.
40519 2012-11-05 Joseph Myers <joseph@codesourcery.com>
40522 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40526 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40527 namespace for names of struct fields.
40528 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40530 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40531 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40533 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
40536 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40538 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40540 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40544 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40547 2012-11-04 Joseph Myers <joseph@codesourcery.com>
40550 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40551 definitely overflow as x * y not x * y + z.
40552 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40553 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40554 * math/libm-test.inc (fma_test): Add more tests.
40555 (fma_test_towardzero): Likewise.
40556 (fma_test_downward): Likewise.
40557 (fma_test_upward): Likewise.
40559 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40563 * include/stub-tag.h: Remove file.
40564 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40566 * manual/maint.texi (Porting): Don't reference it.
40567 * Makerules ($(objpfx)stubs): Likewise.
40568 * dirent/closedir.c: Don't include <stub-tag.h>.
40569 * dirent/dirfd.c: Likewise.
40570 * dirent/fdopendir.c: Likewise.
40571 * dirent/getdents.c: Likewise.
40572 * dirent/getdents64.c: Likewise.
40573 * dirent/opendir.c: Likewise.
40574 * dirent/readdir.c: Likewise.
40575 * dirent/readdir64.c: Likewise.
40576 * dirent/readdir64_r.c: Likewise.
40577 * dirent/readdir_r.c: Likewise.
40578 * dirent/rewinddir.c: Likewise.
40579 * dirent/seekdir.c: Likewise.
40580 * dirent/telldir.c: Likewise.
40581 * gmon/profil.c: Likewise.
40582 * grp/setgroups.c: Likewise.
40583 * inet/if_index.c: Likewise.
40584 * io/access.c: Likewise.
40585 * io/chdir.c: Likewise.
40586 * io/chmod.c: Likewise.
40587 * io/chown.c: Likewise.
40588 * io/close.c: Likewise.
40589 * io/dup.c: Likewise.
40590 * io/dup2.c: Likewise.
40591 * io/dup3.c: Likewise.
40592 * io/euidaccess.c: Likewise.
40593 * io/faccessat.c: Likewise.
40594 * io/fchdir.c: Likewise.
40595 * io/fchmod.c: Likewise.
40596 * io/fchmodat.c: Likewise.
40597 * io/fchown.c: Likewise.
40598 * io/fchownat.c: Likewise.
40599 * io/fcntl.c: Likewise.
40600 * io/flock.c: Likewise.
40601 * io/fstatfs.c: Likewise.
40602 * io/fstatfs64.c: Likewise.
40603 * io/fstatvfs.c: Likewise.
40604 * io/fstatvfs64.c: Likewise.
40605 * io/futimens.c: Likewise.
40606 * io/fxstat.c: Likewise.
40607 * io/fxstat64.c: Likewise.
40608 * io/fxstatat.c: Likewise.
40609 * io/fxstatat64.c: Likewise.
40610 * io/getcwd.c: Likewise.
40611 * io/isatty.c: Likewise.
40612 * io/lchmod.c: Likewise.
40613 * io/lchown.c: Likewise.
40614 * io/link.c: Likewise.
40615 * io/linkat.c: Likewise.
40616 * io/lseek.c: Likewise.
40617 * io/lseek64.c: Likewise.
40618 * io/lxstat64.c: Likewise.
40619 * io/mkdir.c: Likewise.
40620 * io/mkdirat.c: Likewise.
40621 * io/mkfifo.c: Likewise.
40622 * io/mkfifoat.c: Likewise.
40623 * io/open.c: Likewise.
40624 * io/open64.c: Likewise.
40625 * io/openat.c: Likewise.
40626 * io/openat64.c: Likewise.
40627 * io/pipe.c: Likewise.
40628 * io/pipe2.c: Likewise.
40629 * io/poll.c: Likewise.
40630 * io/posix_fadvise.c: Likewise.
40631 * io/posix_fadvise64.c: Likewise.
40632 * io/posix_fallocate.c: Likewise.
40633 * io/posix_fallocate64.c: Likewise.
40634 * io/read.c: Likewise.
40635 * io/readlink.c: Likewise.
40636 * io/readlinkat.c: Likewise.
40637 * io/rmdir.c: Likewise.
40638 * io/sendfile.c: Likewise.
40639 * io/sendfile64.c: Likewise.
40640 * io/statfs.c: Likewise.
40641 * io/statfs64.c: Likewise.
40642 * io/statvfs.c: Likewise.
40643 * io/statvfs64.c: Likewise.
40644 * io/symlink.c: Likewise.
40645 * io/symlinkat.c: Likewise.
40646 * io/ttyname.c: Likewise.
40647 * io/ttyname_r.c: Likewise.
40648 * io/umask.c: Likewise.
40649 * io/unlink.c: Likewise.
40650 * io/unlinkat.c: Likewise.
40651 * io/utime.c: Likewise.
40652 * io/utimensat.c: Likewise.
40653 * io/write.c: Likewise.
40654 * io/xmknod.c: Likewise.
40655 * io/xmknodat.c: Likewise.
40656 * io/xstat.c: Likewise.
40657 * io/xstat64.c: Likewise.
40658 * login/getpt.c: Likewise.
40659 * login/grantpt.c: Likewise.
40660 * login/unlockpt.c: Likewise.
40661 * math/e_acoshl.c: Likewise.
40662 * math/e_acosl.c: Likewise.
40663 * math/e_asinl.c: Likewise.
40664 * math/e_atan2l.c: Likewise.
40665 * math/e_atanhl.c: Likewise.
40666 * math/e_coshl.c: Likewise.
40667 * math/e_expl.c: Likewise.
40668 * math/e_fmodl.c: Likewise.
40669 * math/e_gammal_r.c: Likewise.
40670 * math/e_hypotl.c: Likewise.
40671 * math/e_j0l.c: Likewise.
40672 * math/e_j1l.c: Likewise.
40673 * math/e_jnl.c: Likewise.
40674 * math/e_lgammal_r.c: Likewise.
40675 * math/e_log10l.c: Likewise.
40676 * math/e_log2l.c: Likewise.
40677 * math/e_logl.c: Likewise.
40678 * math/e_powl.c: Likewise.
40679 * math/e_rem_pio2l.c: Likewise.
40680 * math/e_sinhl.c: Likewise.
40681 * math/e_sqrtl.c: Likewise.
40682 * math/fclrexcpt.c: Likewise.
40683 * math/fedisblxcpt.c: Likewise.
40684 * math/feenablxcpt.c: Likewise.
40685 * math/fegetenv.c: Likewise.
40686 * math/fegetexcept.c: Likewise.
40687 * math/fegetround.c: Likewise.
40688 * math/feholdexcpt.c: Likewise.
40689 * math/fesetenv.c: Likewise.
40690 * math/fesetround.c: Likewise.
40691 * math/feupdateenv.c: Likewise.
40692 * math/fgetexcptflg.c: Likewise.
40693 * math/fraiseexcpt.c: Likewise.
40694 * math/fsetexcptflg.c: Likewise.
40695 * math/ftestexcept.c: Likewise.
40696 * math/k_cosl.c: Likewise.
40697 * math/k_rem_pio2l.c: Likewise.
40698 * math/k_sinl.c: Likewise.
40699 * math/k_tanl.c: Likewise.
40700 * math/s_asinhl.c: Likewise.
40701 * math/s_atanl.c: Likewise.
40702 * math/s_cbrtl.c: Likewise.
40703 * math/s_erfl.c: Likewise.
40704 * math/s_expm1l.c: Likewise.
40705 * math/s_log1pl.c: Likewise.
40706 * math/s_tanhl.c: Likewise.
40707 * misc/acct.c: Likewise.
40708 * misc/brk.c: Likewise.
40709 * misc/chflags.c: Likewise.
40710 * misc/chroot.c: Likewise.
40711 * misc/fchflags.c: Likewise.
40712 * misc/fgetxattr.c: Likewise.
40713 * misc/flistxattr.c: Likewise.
40714 * misc/fremovexattr.c: Likewise.
40715 * misc/fsetxattr.c: Likewise.
40716 * misc/fsync.c: Likewise.
40717 * misc/ftruncate.c: Likewise.
40718 * misc/futimes.c: Likewise.
40719 * misc/futimesat.c: Likewise.
40720 * misc/getdomain.c: Likewise.
40721 * misc/getdtsz.c: Likewise.
40722 * misc/gethostid.c: Likewise.
40723 * misc/gethostname.c: Likewise.
40724 * misc/getloadavg.c: Likewise.
40725 * misc/getpagesize.c: Likewise.
40726 * misc/getsysstats.c: Likewise.
40727 * misc/getxattr.c: Likewise.
40728 * misc/gtty.c: Likewise.
40729 * misc/ioctl.c: Likewise.
40730 * misc/lgetxattr.c: Likewise.
40731 * misc/listxattr.c: Likewise.
40732 * misc/llistxattr.c: Likewise.
40733 * misc/lremovexattr.c: Likewise.
40734 * misc/lsetxattr.c: Likewise.
40735 * misc/lutimes.c: Likewise.
40736 * misc/madvise.c: Likewise.
40737 * misc/mincore.c: Likewise.
40738 * misc/mlock.c: Likewise.
40739 * misc/mlockall.c: Likewise.
40740 * misc/mmap.c: Likewise.
40741 * misc/mprotect.c: Likewise.
40742 * misc/msync.c: Likewise.
40743 * misc/munlock.c: Likewise.
40744 * misc/munlockall.c: Likewise.
40745 * misc/munmap.c: Likewise.
40746 * misc/preadv.c: Likewise.
40747 * misc/preadv64.c: Likewise.
40748 * misc/ptrace.c: Likewise.
40749 * misc/pwritev.c: Likewise.
40750 * misc/pwritev64.c: Likewise.
40751 * misc/readv.c: Likewise.
40752 * misc/reboot.c: Likewise.
40753 * misc/remap_file_pages.c: Likewise.
40754 * misc/removexattr.c: Likewise.
40755 * misc/revoke.c: Likewise.
40756 * misc/select.c: Likewise.
40757 * misc/setdomain.c: Likewise.
40758 * misc/setegid.c: Likewise.
40759 * misc/seteuid.c: Likewise.
40760 * misc/sethostid.c: Likewise.
40761 * misc/sethostname.c: Likewise.
40762 * misc/setregid.c: Likewise.
40763 * misc/setreuid.c: Likewise.
40764 * misc/setxattr.c: Likewise.
40765 * misc/sstk.c: Likewise.
40766 * misc/stty.c: Likewise.
40767 * misc/swapoff.c: Likewise.
40768 * misc/swapon.c: Likewise.
40769 * misc/sync.c: Likewise.
40770 * misc/syncfs.c: Likewise.
40771 * misc/syscall.c: Likewise.
40772 * misc/truncate.c: Likewise.
40773 * misc/ualarm.c: Likewise.
40774 * misc/usleep.c: Likewise.
40775 * misc/ustat.c: Likewise.
40776 * misc/utimes.c: Likewise.
40777 * misc/vhangup.c: Likewise.
40778 * misc/writev.c: Likewise.
40779 * posix/_exit.c: Likewise.
40780 * posix/alarm.c: Likewise.
40781 * posix/execve.c: Likewise.
40782 * posix/fexecve.c: Likewise.
40783 * posix/fork.c: Likewise.
40784 * posix/fpathconf.c: Likewise.
40785 * posix/getaddrinfo.c: Likewise.
40786 * posix/getegid.c: Likewise.
40787 * posix/geteuid.c: Likewise.
40788 * posix/getgid.c: Likewise.
40789 * posix/getgroups.c: Likewise.
40790 * posix/getlogin.c: Likewise.
40791 * posix/getlogin_r.c: Likewise.
40792 * posix/getpgid.c: Likewise.
40793 * posix/getpid.c: Likewise.
40794 * posix/getppid.c: Likewise.
40795 * posix/getresgid.c: Likewise.
40796 * posix/getresuid.c: Likewise.
40797 * posix/getsid.c: Likewise.
40798 * posix/getuid.c: Likewise.
40799 * posix/glob64.c: Likewise.
40800 * posix/nanosleep.c: Likewise.
40801 * posix/pathconf.c: Likewise.
40802 * posix/pause.c: Likewise.
40803 * posix/posix_madvise.c: Likewise.
40804 * posix/pread.c: Likewise.
40805 * posix/pread64.c: Likewise.
40806 * posix/pwrite.c: Likewise.
40807 * posix/pwrite64.c: Likewise.
40808 * posix/sched_getaffinity.c: Likewise.
40809 * posix/sched_getp.c: Likewise.
40810 * posix/sched_gets.c: Likewise.
40811 * posix/sched_primax.c: Likewise.
40812 * posix/sched_primin.c: Likewise.
40813 * posix/sched_rr_gi.c: Likewise.
40814 * posix/sched_setaffinity.c: Likewise.
40815 * posix/sched_setp.c: Likewise.
40816 * posix/sched_sets.c: Likewise.
40817 * posix/sched_yield.c: Likewise.
40818 * posix/setgid.c: Likewise.
40819 * posix/setlogin.c: Likewise.
40820 * posix/setpgid.c: Likewise.
40821 * posix/setresgid.c: Likewise.
40822 * posix/setresuid.c: Likewise.
40823 * posix/setsid.c: Likewise.
40824 * posix/setuid.c: Likewise.
40825 * posix/sleep.c: Likewise.
40826 * posix/spawni.c: Likewise.
40827 * posix/sysconf.c: Likewise.
40828 * posix/times.c: Likewise.
40829 * posix/wait.c: Likewise.
40830 * posix/wait3.c: Likewise.
40831 * posix/wait4.c: Likewise.
40832 * posix/waitpid.c: Likewise.
40833 * resolv/gai_sigqueue.c: Likewise.
40834 * resource/getpriority.c: Likewise.
40835 * resource/getrlimit.c: Likewise.
40836 * resource/getrusage.c: Likewise.
40837 * resource/nice.c: Likewise.
40838 * resource/setpriority.c: Likewise.
40839 * resource/setrlimit.c: Likewise.
40840 * resource/ulimit.c: Likewise.
40841 * rt/aio_cancel.c: Likewise.
40842 * rt/aio_fsync.c: Likewise.
40843 * rt/aio_read.c: Likewise.
40844 * rt/aio_sigqueue.c: Likewise.
40845 * rt/aio_suspend.c: Likewise.
40846 * rt/aio_write.c: Likewise.
40847 * rt/clock_getres.c: Likewise.
40848 * rt/clock_gettime.c: Likewise.
40849 * rt/clock_nanosleep.c: Likewise.
40850 * rt/clock_settime.c: Likewise.
40851 * rt/lio_listio.c: Likewise.
40852 * rt/mq_close.c: Likewise.
40853 * rt/mq_getattr.c: Likewise.
40854 * rt/mq_notify.c: Likewise.
40855 * rt/mq_open.c: Likewise.
40856 * rt/mq_receive.c: Likewise.
40857 * rt/mq_send.c: Likewise.
40858 * rt/mq_setattr.c: Likewise.
40859 * rt/mq_timedreceive.c: Likewise.
40860 * rt/mq_timedsend.c: Likewise.
40861 * rt/mq_unlink.c: Likewise.
40862 * rt/shm_open.c: Likewise.
40863 * rt/shm_unlink.c: Likewise.
40864 * rt/timer_create.c: Likewise.
40865 * rt/timer_delete.c: Likewise.
40866 * rt/timer_getoverr.c: Likewise.
40867 * rt/timer_gettime.c: Likewise.
40868 * rt/timer_settime.c: Likewise.
40869 * setjmp/__longjmp.c: Likewise.
40870 * setjmp/setjmp.c: Likewise.
40871 * signal/kill.c: Likewise.
40872 * signal/killpg.c: Likewise.
40873 * signal/raise.c: Likewise.
40874 * signal/sigaction.c: Likewise.
40875 * signal/sigaltstack.c: Likewise.
40876 * signal/sigblock.c: Likewise.
40877 * signal/sigignore.c: Likewise.
40878 * signal/sigintr.c: Likewise.
40879 * signal/signal.c: Likewise.
40880 * signal/sigpause.c: Likewise.
40881 * signal/sigpending.c: Likewise.
40882 * signal/sigqueue.c: Likewise.
40883 * signal/sigreturn.c: Likewise.
40884 * signal/sigset.c: Likewise.
40885 * signal/sigsetmask.c: Likewise.
40886 * signal/sigstack.c: Likewise.
40887 * signal/sigsuspend.c: Likewise.
40888 * signal/sigtimedwait.c: Likewise.
40889 * signal/sigvec.c: Likewise.
40890 * signal/sigwait.c: Likewise.
40891 * signal/sigwaitinfo.c: Likewise.
40892 * signal/sysv_signal.c: Likewise.
40893 * socket/accept.c: Likewise.
40894 * socket/accept4.c: Likewise.
40895 * socket/bind.c: Likewise.
40896 * socket/connect.c: Likewise.
40897 * socket/getpeername.c: Likewise.
40898 * socket/getsockname.c: Likewise.
40899 * socket/getsockopt.c: Likewise.
40900 * socket/isfdtype.c: Likewise.
40901 * socket/listen.c: Likewise.
40902 * socket/recv.c: Likewise.
40903 * socket/recvfrom.c: Likewise.
40904 * socket/recvmsg.c: Likewise.
40905 * socket/send.c: Likewise.
40906 * socket/sendmsg.c: Likewise.
40907 * socket/sendto.c: Likewise.
40908 * socket/setsockopt.c: Likewise.
40909 * socket/shutdown.c: Likewise.
40910 * socket/sockatmark.c: Likewise.
40911 * socket/socket.c: Likewise.
40912 * socket/socketpair.c: Likewise.
40913 * stdio-common/ctermid.c: Likewise.
40914 * stdio-common/cuserid.c: Likewise.
40915 * stdio-common/remove.c: Likewise.
40916 * stdio-common/rename.c: Likewise.
40917 * stdio-common/renameat.c: Likewise.
40918 * stdio-common/tempname.c: Likewise.
40919 * stdlib/getcontext.c: Likewise.
40920 * stdlib/makecontext.c: Likewise.
40921 * stdlib/setcontext.c: Likewise.
40922 * stdlib/swapcontext.c: Likewise.
40923 * stdlib/system.c: Likewise.
40924 * streams/fattach.c: Likewise.
40925 * streams/fdetach.c: Likewise.
40926 * streams/getmsg.c: Likewise.
40927 * streams/getpmsg.c: Likewise.
40928 * streams/putmsg.c: Likewise.
40929 * streams/putpmsg.c: Likewise.
40930 * sysdeps/unix/bsd/getpt.c: Likewise.
40931 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40932 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40933 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40936 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40937 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40938 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40939 * sysvipc/msgctl.c: Likewise.
40940 * sysvipc/msgget.c: Likewise.
40941 * sysvipc/msgrcv.c: Likewise.
40942 * sysvipc/msgsnd.c: Likewise.
40943 * sysvipc/semctl.c: Likewise.
40944 * sysvipc/semget.c: Likewise.
40945 * sysvipc/semop.c: Likewise.
40946 * sysvipc/semtimedop.c: Likewise.
40947 * sysvipc/shmat.c: Likewise.
40948 * sysvipc/shmctl.c: Likewise.
40949 * sysvipc/shmdt.c: Likewise.
40950 * sysvipc/shmget.c: Likewise.
40951 * termios/tcdrain.c: Likewise.
40952 * termios/tcflow.c: Likewise.
40953 * termios/tcflush.c: Likewise.
40954 * termios/tcgetattr.c: Likewise.
40955 * termios/tcgetpgrp.c: Likewise.
40956 * termios/tcsendbrk.c: Likewise.
40957 * termios/tcsetattr.c: Likewise.
40958 * termios/tcsetpgrp.c: Likewise.
40959 * time/adjtime.c: Likewise.
40960 * time/clock.c: Likewise.
40961 * time/getitimer.c: Likewise.
40962 * time/gettimeofday.c: Likewise.
40963 * time/setitimer.c: Likewise.
40964 * time/settimeofday.c: Likewise.
40965 * time/stime.c: Likewise.
40966 * time/time.c: Likewise.
40968 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
40970 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40973 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40975 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40977 2012-11-03 Joseph Myers <joseph@codesourcery.com>
40980 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40981 FE_TONEAREST before applying Dekker multiplication and Knuth
40982 addition. Clear inexact exceptions and check for exact zero
40983 results afterwards.
40984 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40985 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40986 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40987 * math/libm-test.inc (fma_test): Add more tests.
40988 (fma_test_towardzero): Likewise.
40989 (fma_test_downward): Likewise.
40990 (fma_test_upward): Likewise.
40991 * sysdeps/generic/math_private.h (default_libc_fesetround): New
40993 (libc_fesetround): New macro.
40994 (libc_fesetroundf): Likewise.
40995 (libc_fesetroundl): Likewise.
40996 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40998 (libc_fesetround_387): Likewise.
40999 (libc_fesetroundf): New macro.
41000 (libc_fesetround): Likewise.
41001 (libc_fesetroundl): Likewise.
41002 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41004 (libc_fesetroundf): New macro.
41005 (libc_fesetround): Likewise.
41006 (libc_fesetroundl): Likewise.
41007 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41008 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41009 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41011 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41012 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41014 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41015 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41017 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41021 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41022 integer constant usable in #if and use that to give value to enum
41024 (FE_DIVBYZERO): Likewise.
41025 (FE_UNDERFLOW): Likewise.
41026 (FE_OVERFLOW): Likewise.
41027 (FE_INVALID): Likewise.
41028 (FE_INVALID_SNAN): Likewise.
41029 (FE_INVALID_ISI): Likewise.
41030 (FE_INVALID_IDI): Likewise.
41031 (FE_INVALID_ZDZ): Likewise.
41032 (FE_INVALID_IMZ): Likewise.
41033 (FE_INVALID_COMPARE): Likewise.
41034 (FE_INVALID_SOFTWARE): Likewise.
41035 (FE_INVALID_SQRT): Likewise.
41036 (FE_INVALID_INTEGER_CONVERSION): Likewise.
41037 (FE_TONEAREST): Likewise.
41038 (FE_TOWARDZERO): Likewise.
41039 (FE_UPWARD): Likewise.
41040 (FE_DOWNWARD): Likewise.
41041 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41042 (FE_DIVBYZERO): Likewise.
41043 (FE_OVERFLOW): Likewise.
41044 (FE_UNDERFLOW): Likewise.
41045 (FE_INEXACT): Likewise.
41046 (FE_TONEAREST): Likewise.
41047 (FE_DOWNWARD): Likewise.
41048 (FE_UPWARD): Likewise.
41049 (FE_TOWARDZERO): Likewise.
41050 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41051 (FE_UNDERFLOW): Likewise.
41052 (FE_OVERFLOW): Likewise.
41053 (FE_DIVBYZERO): Likewise.
41054 (FE_INVALID): Likewise.
41055 (FE_TONEAREST): Likewise.
41056 (FE_TOWARDZERO): Likewise.
41057 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41058 (FE_OVERFLOW): Likewise.
41059 (FE_UNDERFLOW): Likewise.
41060 (FE_DIVBYZERO): Likewise.
41061 (FE_INEXACT): Likewise.
41062 (FE_TONEAREST): Likewise.
41063 (FE_TOWARDZERO): Likewise.
41064 (FE_UPWARD): Likewise.
41065 (FE_DOWNWARD): Likewise.
41066 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41067 (FE_DIVBYZERO): Likewise.
41068 (FE_OVERFLOW): Likewise.
41069 (FE_UNDERFLOW): Likewise.
41070 (FE_INEXACT): Likewise.
41071 (FE_TONEAREST): Likewise.
41072 (FE_DOWNWARD): Likewise.
41073 (FE_UPWARD): Likewise.
41074 (FE_TOWARDZERO): Likewise.
41076 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
41078 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41080 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
41082 * scripts/cross-test-ssh.sh (command): Use newlines to separate
41083 commands. Quote $PWD.
41084 (blacklist_exports): Don't use remove_newlines. Replace "declare
41086 (remove_newlines): Remove.
41088 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
41090 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41091 * stdlib/stdlib.h (atof): Moved to ...
41092 * include/bits/stdlib-float.h: Here. New file.
41093 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41094 * stdlib/bits/stdlib-float.h: New file.
41095 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41097 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41100 2012-11-02 Joseph Myers <joseph@codesourcery.com>
41102 * conform/conformtest.pl (@headers): Add fenv.h.
41103 * conform/data/fenv.h-data: New file.
41104 * include/fenv.h [_ISOMAC]: Disable all contents of file except
41105 include of <math/fenv.h>.
41107 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41108 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41109 && !UNIX98]. Enables tests for XOPEN2K8.
41110 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41111 POSIX2008]: Likewise.
41113 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41114 (struct rusage): Do not expect type or its members.
41117 * math/math.h (FP_NAN): Define macro to integer constant usable in
41118 #if and use that to give value to enum constant.
41119 (FP_INFINITE): Likewise.
41120 (FP_ZERO): Likewise.
41121 (FP_SUBNORMAL): Likewise.
41122 (FP_NORMAL): Likewise.
41124 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
41126 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41127 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41130 2012-11-02 Roland McGrath <roland@hack.frob.com>
41132 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41133 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41134 autoconf-time if not.
41135 * configure.in: Remove AC_PREREQ.
41137 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41139 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41140 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41141 of the internal implementation.
41143 2012-11-02 Joseph Myers <joseph@codesourcery.com>
41145 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41146 except include of <misc/sys/syslog.h>.
41148 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
41150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41151 function returns with a NULL context exit with zero.
41153 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41155 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41157 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
41159 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41160 (run_program_cmd): This.
41161 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41162 (tst_langinfo): New variable. Use it.
41164 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
41166 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41167 floating point opcodes.
41169 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41171 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41174 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41176 * sysdeps/mach/hurd/powerpc: Remove directory.
41177 * sysdeps/mach/powerpc: Likewise.
41179 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
41181 * scripts/check-local-headers.sh: Ignore c++ headers.
41183 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41185 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41186 __libc_cleanup_region_start argument.
41188 2012-11-01 Joseph Myers <joseph@codesourcery.com>
41192 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41193 x * y using scaling, not as x * y + z.
41194 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41195 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41196 * math/libm-test.inc (fma_test): Add more tests.
41197 (fma_test_towardzero): Likewise.
41198 (fma_test_downward): Likewise.
41199 (fma_test_upward): Likewise.
41201 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41203 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41205 2012-10-31 Joseph Myers <joseph@codesourcery.com>
41207 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41210 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
41212 * rt/tst-shm.c (worker): Correct checking for mmap failure.
41214 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
41216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41221 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41224 Fix the order of the list for glibc 2.17.
41225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41228 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
41230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41232 2012-10-31 Joseph Myers <joseph@codesourcery.com>
41235 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41236 for low part of x being zero before using __atanl (y).
41237 * math/libm-test.inc (atan2_test): Add another test.
41239 * manual/install.texi (Configuring and compiling): Document
41240 general use of test-wrapper and test-wrapper-env.
41241 * INSTALL: Regenerated.
41243 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41244 (__fma): Do not extract and scale down low bits on after-rounding
41245 systems when result rounded to normal precision would have normal
41247 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41248 (__fmal): Do not extract and scale down low bits on after-rounding
41249 systems when result rounded to normal precision would have normal
41251 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41252 (__fmal): Do not extract and scale down low bits on after-rounding
41253 systems when result rounded to normal precision would have normal
41255 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41257 (fma_test): Add more tests.
41258 (fma_test_towardzero): Likewise.
41259 (fma_test_downward): Likewise.
41260 (fma_test_upward): Likewise.
41262 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
41264 * sysdeps/i386/tininess.h: Renamed to ...
41265 * sysdeps/x86/tininess.h: This.
41266 * sysdeps/x86_64/tininess.h: Removed.
41268 2012-10-30 Joseph Myers <joseph@codesourcery.com>
41270 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41271 input. Use $(build-program-cmd).
41272 ($(objpfx)tst-array1-static.out): Likewise.
41273 ($(objpfx)tst-array2.out): Likewise.
41274 ($(objpfx)tst-array3.out): Likewise.
41275 ($(objpfx)tst-array4.out): Likewise.
41276 ($(objpfx)tst-array5.out): Likewise.
41277 ($(objpfx)tst-array5-static.out): Likewise.
41279 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
41281 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41284 * nss/nsswitch.h (nss_interface_function): Provide new
41285 macro for use with NSS functions.
41286 * grp/initgroups.c: Use new macro.
41287 * nss/getXXbyYY.c: Likewise.
41288 * nss/getXXbyYY_r.c: Likewise.
41289 * nss/getXXent.c: Likewise.
41290 * nss/getXXent_r.c: Likewise.
41291 * sysdeps/posix/getaddrinfo.c: Likewise.
41293 2012-10-30 Andreas Jaeger <aj@suse.de>
41295 * po/ru.po: Update Russion translation from translation project.
41297 2012-10-30 Joseph Myers <joseph@codesourcery.com>
41301 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41302 result and shift together with sticky bit instead of replicating
41303 round-to-nearest rounding.
41304 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41305 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41306 * math/libm-test.inc (fma_test): Add more tests. Do not permit
41307 missing underflow exceptions.
41308 (fma_test_towardzero): Add more tests.
41309 (fma_test_downward): Likewise.
41310 (fma_test_upward): Likewise.
41313 * sysdeps/generic/tininess.h: New file.
41314 * sysdeps/i386/tininess.h: Likewise.
41315 * sysdeps/sh/tininess.h: Likewise.
41316 * sysdeps/x86_64/tininess.h: Likewise.
41317 * stdlib/tst-strtod-underflow.c: Likewise.
41318 * stdlib/tst-tininess.c: Likewise.
41319 * stdlib/strtod_l.c: Include <tininess.h>.
41320 (round_and_return): Do not set errno for exact underflow cases.
41321 Force an underflow exception when setting errno for underflow.
41322 Determine underflow based on rounding to normal precision if
41323 TININESS_AFTER_ROUNDING.
41324 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41325 ERANGE for exact underflow cases.
41326 * stdlib/Makefile (tests): Add tst-tininess and
41327 tst-strtod-underflow.
41328 ($(objpfx)tst-tininess): Use $(link-libm).
41329 ($(objpfx)tst-strtod-underflow): Likewise.
41331 2012-10-30 Andreas Jaeger <aj@suse.de>
41334 * elf/Makefile (tests): Remove conditional for have-initfini-array
41335 since this is now always required and the variable does not exist
41337 (tests-static): Likewise.
41338 (modules-names): Likewise.
41340 * po/eo.po: Add Esperanto translation from translation project.
41342 * elf/tst-array1.c (fini_array): Make writeable so that it can be
41343 merged with constructor/destructor.
41344 (init_array): Likewise.
41345 * elf/tst-array2dep.c (fini_array): Likewise.
41346 (init_array): Likewise.
41348 2012-10-29 Mike Frysinger <vapier@gentoo.org>
41350 * manual/message.texi: Delete @cartouche tags.
41352 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
41354 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41356 * sysdeps/mach/hurd/fsync.c: Likewise.
41358 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41359 [_POSIX_REALTIME_SIGNALS]: Change condition to
41360 [_POSIX_REALTIME_SIGNALS > 0].
41362 2012-10-27 Andreas Jaeger <aj@suse.de>
41364 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41365 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41366 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41367 [__WORDSIZE != 64]: Likewise.
41369 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
41371 * iconvdata/tst-table.sh: Remove ${SHELL}.
41372 * iconvdata/tst-tables.sh: Likewise.
41374 2012-10-25 David S. Miller <davem@davemloft.net>
41376 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41377 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41380 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41382 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41383 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41384 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41387 2012-10-25 Roland McGrath <roland@hack.frob.com>
41389 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41390 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41393 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41394 Jim Blandy <jimb@codesourcery.com>
41396 * scripts/cross-test-ssh.sh: New file.
41397 * manual/install.texi (Configuring and compiling): Document use of
41399 * INSTALL: Regenerated.
41401 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
41403 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41406 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41408 * Makeconfig (run-program-prefix): Fix comment.
41410 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41411 Jim Blandy <jimb@codesourcery.com>
41413 * Makeconfig (test-wrapper): New variable,
41414 (test-wrapper-env): Likewise.
41415 [$(cross-compiling) = yes && $(test-wrapper) != ""]
41416 (run-built-tests): Define to yes.
41417 (run-program-prefix): Use $(test-wrapper).
41418 (built-program-cmd): Likewise.
41419 * Rules (make-test-out): Use $(test-wrapper-env) and
41420 $(host-built-program-cmd).
41421 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41422 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41424 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41425 $(test-wrapper-env) to tst-rtld-load-self.sh.
41426 ($(objpfx)order2.out): Use $(test-wrapper).
41427 ($(objpfx)tst-initorder.out): Likewise.
41428 ($(objpfx)tst-initorder2.out): Likewise.
41429 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41430 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41431 (test_wrapper_env): New variable. Use it to run ld.so.
41432 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41433 Use it to run ld.so.
41434 (test_wrapper_env): Likewise.
41435 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41436 $(test-wrapper) to run-iconv-test.sh.
41437 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41438 (ICONV): Use $test_wrapper.
41439 * posix/Makefile ($(objpfx)globtest.out): Pass
41440 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41441 globtest.sh, not $(run-program-prefix).
41442 * posix/globtest.sh (run_via_rtld_prefix): New variable.
41443 (test_wrapper): Likewise.
41444 (test_wrapper_env): Likewise. Use it to run globtest with HOME
41445 set together with run_via_rtld_prefix.
41446 (run_program_prefix): Define in terms of test_wrapper and
41447 run_via_rtld_prefix.
41449 2012-10-24 Roland McGrath <roland@hack.frob.com>
41451 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41452 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41456 * include/time.h: Remove librt_hidden_proto (clock_gettime).
41457 Declare __clock_getres, __clock_gettime, __clock_settime,
41458 __clock_nanosleep, and __clock_getcpuclockid.
41459 * rt/clock_gettime.c: Define __clock_gettime as an alias.
41460 Remove librt_hidden_def (clock_gettime).
41461 * sysdeps/unix/clock_gettime.c: Likewise.
41462 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41463 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41464 * rt/clock_getres.c: Define __clock_getres as an alias.
41465 * sysdeps/posix/clock_getres.c: Likewise.
41466 * rt/clock_settime.c: Define __clock_settime as an alias.
41467 * sysdeps/unix/clock_settime.c: Likewise.
41468 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41469 * sysdeps/unix/clock_nanosleep.c: Likewise.
41470 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41471 * rt/clock-compat.c: New file.
41472 * rt/Makefile (librt-routines): Add clock-compat and move
41473 $(clock-routines) to ...
41474 (routines): ... here, new variable.
41475 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41476 Don't add get_clockfreq here.
41477 * rt/Versions (libc: GLIBC_2.17): New version set.
41478 Add clock_* symbols here.
41479 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
41480 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41481 (GLIBC_2.17): Add clock_* symbols.
41482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41484 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41493 * NEWS: Mention the move.
41495 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41496 Use __open, __read, __close rather than their public counterparts.
41497 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41498 (__get_clockfreq_via_cpuinfo): Likewise.
41499 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41500 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41502 * config.h.in (HAVE_IFUNC): New #undef.
41503 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41505 * configure: Regenerated.
41507 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41509 * configure.in: Move READELF check to start of file.
41510 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41511 libc_cv_asm_gnu_indirect_function in the process.
41512 * configure: Regenerated.
41514 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41516 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41517 send the output to /dev/null.
41518 (libc_cv_cc_with_libunwind): Likewise.
41519 (libc_cv_as_noexecstack): Likewise.
41520 * configure: Regenerate.
41522 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41524 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41526 * posix/globtest.sh (TMPDIR): Do not set.
41527 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41528 (testout): Likewise.
41530 2012-10-24 Andreas Jaeger <aj@suse.de>
41532 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41533 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41534 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41535 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41536 posix_fadvise64, posix_fallocate64.
41538 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41539 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41540 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41542 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41544 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41546 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41547 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41548 <bits/fcntl-linux.h>.
41549 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41551 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41552 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41553 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41554 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41555 [__WORDSIZE != 64]: Likewise.
41557 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41559 * Makeconfig (run-built-tests): New variable.
41560 * Rules [$(cross-compiling) = yes]: Change condition to
41561 [$(run-built-tests) = no].
41562 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41563 to [$(run-built-tests) = yes].
41564 * elf/Makefile [$(cross-compiling) = no]: Likewise
41565 * grp/Makefile [$(cross-compiling) = no]: Likewise.
41566 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41567 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41568 * intl/Makefile [$(cross-compiling) = no]: Likewise.
41569 * io/Makefile [$(cross-compiling) = no]: Likewise.
41570 * libio/Makefile [$(cross-compiling) = no]: Likewise.
41571 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41572 * misc/Makefile [$(cross-compiling) = no]: Likewise.
41573 * posix/Makefile [$(cross-compiling) = no]: Likewise.
41574 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41575 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41576 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41577 * string/Makefile [$(cross-compiling) = no]: Likewise.
41579 * posix/Makefile ($(objpfx)globtest.out): Pass
41580 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41581 $(rtld-installed-name).
41582 * posix/globtest.sh (elf_objpfx): Remove variable.
41583 (rtld_installed_name): Likewise.
41584 (library_path): Likewise.
41585 (run_program_prefix): New variable. Use for running globtest
41588 2012-10-23 Jim Blandy <jimb@codesourcery.com>
41589 Joseph Myers <joseph@codesourcery.com>
41591 * Makeconfig (host-built-program-cmd): New variable.
41592 * elf/Makefile (tst-stackguard1-ARGS): Use
41593 $(host-built-program-cmd).
41594 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41595 (tst-spawn-ARGS): Likewise.
41596 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41598 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41599 Jim Blandy <jimb@codesourcery.com>
41601 * Makeconfig (run-via-rtld-prefix): New variable.
41602 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41603 (built-program-cmd): Likewise.
41605 2012-10-22 Andreas Jaeger <aj@suse.de>
41607 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41608 __O_RSYNC if it exists, otherwise to O_SYNC.
41610 2012-10-22 Jim Blandy <jimb@codesourcery.com>
41611 Joseph Myers <joseph@codesourcery.com>
41613 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41615 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41617 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41620 2012-10-22 Andreas Jaeger <aj@suse.de>
41622 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41624 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41626 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41627 bits/fcntl-linux.h.
41629 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41630 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41632 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41634 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41637 2012-10-21 Jim Blandy <jimb@codesourcery.com>
41638 Joseph Myers <joseph@codesourcery.com>
41640 * config.make.in (NM): New variable.
41642 2012-10-21 Andreas Jaeger <aj@suse.de>
41644 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41645 definitions and declarations that are provided by
41646 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41648 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41651 * elf/Makefile (tests-static): Add tst-leaks1-static.
41652 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41653 ($(objpfx)tst-leaks1-static): New rule.
41654 ($(objpfx)tst-leaks1-static-mem): Likewise.
41655 (tst-leaks1-static-ENV): New macro.
41656 * elf/dl-open.c (dl_open_worker): Check the main application
41657 only if SHARED is defined.
41658 * elf/tst-leaks1-static.c: New file.
41660 2012-10-20 Andreas Jaeger <aj@suse.de>
41662 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41663 generic values for Linux.
41664 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41665 and declarations that are provided by <bits/fcntl-linux.h> and
41666 include <bits/fcntl-linux.h>.
41667 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41668 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41670 2012-10-20 Roland McGrath <roland@hack.frob.com>
41672 * io/fcntl.h: Move include of <bits/types.h> to the top and
41673 include it unconditionally.
41675 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41677 * wcsmbs/Makefile (tests-ifunc): New variable.
41678 (tests): Add $(tests-ifunc).
41679 * wcsmbs/test-wcschr-ifunc.c: New file.
41680 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41681 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41682 * wcsmbs/test-wcslen-ifunc.c: Likewise.
41683 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41684 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41686 * string/Makefile (tests-ifunc): New variable.
41687 (tests): Add $(tests-ifunc).
41688 * string/test-memccpy.c (TEST_NAME): New macro.
41689 * string/test-memchr.c (TEST_NAME): Likewise.
41690 * string/test-memcmp.c (TEST_NAME): Likewise.
41691 * string/test-memcpy.c (TEST_NAME): Likewise.
41692 * string/test-memmem.c (TEST_NAME): Likewise.
41693 * string/test-memmove.c (TEST_NAME): Likewise.
41694 * string/test-memset.c (TEST_NAME): Likewise.
41695 * string/test-rawmemchr.c (TEST_NAME): Likewise.
41696 * string/test-stpcpy.c (TEST_NAME): Likewise.
41697 * string/test-stpncpy.c (TEST_NAME): Likewise.
41698 * string/test-strcasecmp.c (TEST_NAME): Likewise.
41699 * string/test-strcasestr.c (TEST_NAME): Likewise.
41700 * string/test-strcat.c (TEST_NAME): Likewise.
41701 * string/test-strchr.c (TEST_NAME): Likewise.
41702 * string/test-strcmp.c(TEST_NAME): Likewise.
41703 * string/test-strcpy.c (TEST_NAME): Likewise.
41704 * string/test-strcspn.c (TEST_NAME): Likewise.
41705 * string/test-strlen.c (TEST_NAME): Likewise.
41706 * string/test-strncasecmp.c (TEST_NAME): Likewise.
41707 * string/test-strncmp.c (TEST_NAME): Likewise.
41708 * string/test-strncpy.c (TEST_NAME): Likewise.
41709 * string/test-strnlen.c (TEST_NAME): Likewise.
41710 * string/test-strpbrk.c (TEST_NAME): Likewise.
41711 * string/test-strrchr.c (TEST_NAME): Likewise.
41712 * string/test-strspn.c (TEST_NAME): Likewise.
41713 * string/test-strstr.c (TEST_NAME): Likewise.
41714 * string/test-bcopy-ifunc.c: New file.
41715 * string/test-bzero-ifunc.c: Likewise.
41716 * string/test-memccpy-ifunc.c: Likewise.
41717 * string/test-memchr-ifunc.c: Likewise.
41718 * string/test-memcmp-ifunc.c: Likewise.
41719 * string/test-memcpy-ifunc.c: Likewise.
41720 * string/test-memmem-ifunc.c: Likewise.
41721 * string/test-memmove-ifunc.c: Likewise.
41722 * string/test-mempcpy-ifunc.c: Likewise.
41723 * string/test-memset-ifunc.c: Likewise.
41724 * string/test-rawmemchr-ifunc.c: Likewise.
41725 * string/test-stpcpy-ifunc.c: Likewise.
41726 * string/test-stpncpy-ifunc.c: Likewise.
41727 * string/test-strcasecmp-ifunc.c: Likewise.
41728 * string/test-strcasestr-ifunc.c: Likewise.
41729 * string/test-strcat-ifunc.c: Likewise.
41730 * string/test-strchr-ifunc.c: Likewise.
41731 * string/test-strchrnul-ifunc.c: Likewise.
41732 * string/test-strcmp-ifunc.c: Likewise.
41733 * string/test-strcpy-ifunc.c: Likewise.
41734 * string/test-strcspn-ifunc.c: Likewise.
41735 * string/test-strlen-ifunc.c: Likewise.
41736 * string/test-strncasecmp-ifunc.c: Likewise.
41737 * string/test-strncat-ifunc.c: Likewise.
41738 * string/test-strncmp-ifunc.c: Likewise.
41739 * string/test-strncpy-ifunc.c: Likewise.
41740 * string/test-strnlen-ifunc.c: Likewise.
41741 * string/test-strpbrk-ifunc.c: Likewise.
41742 * string/test-strrchr-ifunc.c: Likewise.
41743 * string/test-strspn-ifunc.c: Likewise.
41744 * string/test-strstr-ifunc.c: Likewise.
41746 * debug/Makefile (tests-ifunc): New variable.
41747 (tests): Add $(tests-ifunc).
41748 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41749 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41750 * debug/test-stpcpy_chk-ifunc.c: New file.
41751 * debug/test-strcpy_chk-ifunc.c: Likewise.
41753 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41756 * elf/dl-load.c (open_verify): Retry read if the entire ELF
41757 header is not read in.
41759 2012-10-19 Joseph Myers <joseph@codesourcery.com>
41761 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
41762 script to $(SHELL) as $<. Pass $(common-objpfx) to script
41763 directly. Pass built executable to script as
41764 $(built-program-cmd).
41765 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
41766 $testprogram without using LD_LIBRARY_PATH and $ldso.
41768 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41769 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41770 $(rtld-installed-name).
41771 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41772 (rtld_installed_name): Likewise.
41773 (library_path): Likewise.
41774 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
41775 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41776 $(run-program-prefix) to tst-tables.sh.
41777 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
41778 it to run tst-table-from and tst-table-to.
41779 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41780 Pass it to tst-table.sh.
41781 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41782 $(run-program-prefix) to tst-gettext.sh.
41783 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41785 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41787 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
41788 to run tst-gettext.
41789 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
41790 to run tst-gettext2.
41791 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
41792 to run tst-translit.
41793 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41794 $(run-program-prefix) to tst-mtrace.sh.
41795 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
41797 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41798 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41799 $(rtld-installed-name).
41800 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41801 (rtld_installed_name): Likewise.
41802 (run_program_prefix): New variable. Use it to run wordexp-test.
41804 * Makeconfig (ARCH): Remove all definitions.
41805 (machine): Likewise.
41806 [ARCH]: Remove conditional code.
41807 [!objdir]: Give error.
41808 [!objdir] (objpfx): Remove.
41809 [!objdir] (common-objpfx): Likewise.
41810 [!objdir] (common-objdir): Likewise.
41811 * configure.in (config_makefile): Remove. Hardcode Makefile in
41812 AC_CONFIG_FILES call.
41813 * configure: Regenerated.
41816 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41818 (testout): Likewise.
41820 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41821 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41822 $(rtld-installed-name).
41823 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41824 (rtld_installed_name): Likwise.
41825 (runit): Remove function.
41826 (run_getconf): New variable, Use it for running getconf binary.
41828 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
41831 * string/test-memmem.c (check_result): New function.
41832 (do_one_test): Use it.
41833 (check1): New function.
41834 (test_main): Use it.
41836 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
41838 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41840 2012-10-18 Joseph Myers <joseph@codesourcery.com>
41842 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41843 (_G_LSEEK64): Likewise.
41844 (_G_MMAP64): Likewise.
41845 (_G_FSTAT64): Likewise.
41846 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41847 (_G_LSEEK64): Likewise.
41848 (_G_MMAP64): Likewise.
41849 (_G_FSTAT64): Likewise.
41850 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41851 unconditional. Call __mmap64 directly.
41852 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41853 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
41854 __lseek64 directly.
41855 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41856 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
41858 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41859 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
41860 __lseek64 directly.
41861 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41862 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
41863 __lseek64 directly.
41864 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41865 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
41866 __lseek64 directly.
41867 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41868 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
41869 __fxstat64 directly.
41870 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41871 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41873 (freopen64) [!_G_OPEN64]: Remove conditional code.
41874 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41876 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41877 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41879 (ftello64) [!_G_LSEEK64]: Remove conditional code.
41880 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41882 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41883 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41885 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41886 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41888 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41889 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41891 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41892 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41894 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41896 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41899 * manual/memory.texi (Malloc Tunable Parameters): Add note
41900 about free list pointers overwriting some perturb bytes.
41901 Wording suggested by Roland McGrath.
41903 2012-10-17 Joseph Myers <joseph@codesourcery.com>
41905 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41906 (lgamma_test): Likewise.
41907 (tgamma_test): Likewise.
41909 2012-10-16 Florian Weimer <fweimer@redhat.com>
41912 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41913 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41915 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
41917 * NEWS: Mention BZ #14716.
41918 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41919 when removing AVAILABLE1_USES_J macro.
41921 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
41923 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41924 (__bswap_64): __uint64_t for unsigned 64-bit int.
41926 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
41928 * include/string.h (memmem): Declare libc hidden alias.
41929 * string/memmem.c (memmem): Define libc hidden alias.
41930 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41931 __read, __close instead of open, read, close.
41933 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
41935 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41936 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41938 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41939 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41940 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41942 (__rawmemchr_sse2): Likewise.
41943 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41944 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41945 (__strchr_sse2): Likewise.
41946 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41947 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41948 (__strcasecmp_sse2): Likewise.
41949 (__strncasecmp_sse2): Likewise.
41950 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41951 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41952 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41953 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41954 (__strrchr_sse2): Likewise.
41955 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41957 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41958 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41959 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41960 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41961 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41962 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41963 * sysdeps/x86_64/multiarch/memset.S: Likewise.
41964 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41965 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41966 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41967 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41968 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41969 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41970 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41971 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41972 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41973 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41974 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41975 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41976 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41977 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41978 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41979 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41980 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41981 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41982 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41983 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41984 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41985 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41986 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41988 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41990 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41991 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41992 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41993 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41995 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41997 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41998 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41999 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42000 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42002 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42003 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42004 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42005 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42006 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42007 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42008 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42009 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42010 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42011 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42012 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42013 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42014 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42015 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42016 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42017 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42018 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42019 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42020 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42021 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42022 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42023 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42024 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42025 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42026 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42027 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42028 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42029 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42030 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42031 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42032 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42033 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42034 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42035 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42036 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42037 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42038 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42039 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42040 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42041 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42042 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42044 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42045 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42046 * include/ifunc-impl-list.h: New file.
42047 * misc/ifunc-impl-list.c: Likewise.
42048 * misc/Makefile (routines): Add ifunc-impl-list.
42049 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42050 * string/test-string.h: Include <ifunc-impl-list.h>.
42051 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42052 TEST_NAME]: New variables.
42053 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42055 (test_init): Call __libc_ifunc_impl_list to initialize
42056 func_list if TEST_IFUNC and TEST_NAME are defined.
42058 * string/Makefile (strop-tests): Add bcopy and bzero.
42059 * string/test-bcopy.c: New file.
42060 * string/test-bzero.c: Likewise.
42061 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42063 * string/test-memset.c: Support bzero test if TEST_BZERO is
42065 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42067 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42069 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42072 2012-10-10 Joseph Myers <joseph@codesourcery.com>
42074 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42075 * configure: Regenerated.
42077 * Makeconfig (+link-static-before-libc): Don't include
42078 $(link-static-libc).
42080 * libio/libio.h (_IO_pos_t): Remove.
42082 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42084 * NEWS: Add note about FIPS mode. Wording suggested by Roland
42087 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42089 * crypt/crypt-entry.c: Include fips-private.h.
42090 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42091 * crypt/md5c-test.c (main): Tolerate disabled MD5.
42092 * sysdeps/unix/sysv/linux/fips-private.h: New file.
42093 * sysdeps/generic/fips-private.h: New file, dummy fallback.
42095 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42097 * crypt/crypt-private.h: Include stdbool.h.
42098 (_ufc_setup_salt_r): Return bool.
42099 * crypt/crypt-entry.c: Include errno.h.
42100 (__crypt_r): Return NULL with EINVAL for bad salt.
42101 * crypt/crypt_util.c (bad_for_salt): New.
42102 (_ufc_setup_salt_r): Check that salt is long enough and within
42103 the specified alphabet.
42104 * crypt/badsalttest.c: New file.
42105 * crypt/Makefile (tests): Add it.
42106 ($(objpfx)badsalttest): New.
42108 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
42110 * NEWS: Add entry for BZ #14602.
42112 2012-10-09 Joseph Myers <joseph@codesourcery.com>
42114 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42116 * math/libm-test.inc: Update comment listing what functions and
42118 (isgreater_test): New function.
42119 (isgreaterequal_test): Likewise.
42120 (isless_test): Likewise.
42121 (islessequal_test): Likewise.
42122 (islessgreater_test): Likewise.
42123 (isunordered_test): Likewise.
42124 (main): Call the new functions.
42126 2012-10-09 Roland McGrath <roland@hack.frob.com>
42128 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42129 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42130 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42131 * sysdeps/i386/configure: Regenerated.
42132 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42133 * sysdeps/mach/configure: Regenerated.
42134 * sysdeps/mach/hurd/configure: Regenerated.
42135 * sysdeps/powerpc/configure: Regenerated.
42136 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42137 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42138 * sysdeps/s390/s390-32/configure: Regenerated.
42139 * sysdeps/s390/s390-64/configure: Regenerated.
42140 * sysdeps/sh/configure: Regenerated.
42141 * sysdeps/sparc/configure: Regenerated.
42142 * sysdeps/unix/sysv/linux/configure: Regenerated.
42143 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42144 * sysdeps/x86_64/configure: Regenerated.
42146 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42147 defined. Don't check if MAP is NULL.
42149 2012-10-09 Joseph Myers <joseph@codesourcery.com>
42151 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42152 (_G_stat64): Likewise.
42153 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42154 (_G_stat64): Likewise.
42155 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42156 instead of struct _G_stat64.
42157 * libio/fileops.c (mmap_remap_check): Likewise.
42158 (decide_maybe_mmap): Likewise.
42159 (_IO_new_file_seekoff): Likewise.
42160 (_IO_file_stat): Likewise.
42161 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42163 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42164 instead of struct _G_stat64.
42165 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42167 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
42170 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42172 (CHECK_EOL): New macro.
42173 (two_way_short_needle): Check beginning of haystack for EOL. Use
42175 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42176 Replace with CHECK_EOL.
42177 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42178 Replace with CHECK_EOL.
42180 2012-10-08 Joseph Myers <joseph@codesourcery.com>
42182 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42184 * math/libm-test.inc: Update comment listing what functions and
42186 (finite_test): New function.
42187 (isinf_test): Likewise.
42188 (isnan_test): Likewise.
42189 (fpclassify_test): Test subnormal input.
42190 (isfinite_test): Likewise.
42191 (isnormal_test): Likewise.
42192 (main): Call the new functions.
42194 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
42197 * Makerules (%.dynsym): Force C locale when running
42198 $(OBJDUMP) --dynamic-syms.
42200 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
42202 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42205 2012-10-06 David S. Miller <davem@davemloft.net>
42207 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42208 upper 32-bits of the length value in %o2 since we use branch-on-register
42209 tests which consider the entire 64-bit register.
42211 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
42213 * string/test-strstr.c (check2): Add a test for page boundary.
42215 2012-10-05 David S. Miller <davem@davemloft.net>
42217 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42218 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42220 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42222 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42223 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42224 and bzero when HWCAP_SPARC_CRYPTO is present.
42226 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
42229 * string/test-strstr.c (check2): New function.
42230 (test_main): Call check2.
42232 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42234 * string/bug-strcasestr1.c (do_test): Moved to ...
42235 * string/test-strcasestr.c (check1): Here. New function.
42236 (do_one_test): Break out result checking code into ...
42237 (check_result): This. New function.
42238 (do_one_test): Call check_result.
42239 (test_main): Call check1.
42240 * string/bug-strchr1.c (do_test): Moved to ...
42241 * string/test-strchr.c (check1): Here. New function.
42242 (do_one_test): Break out result checking code into ...
42243 (check_result): This. New function.
42244 (do_one_test): Call check_result.
42245 (test_main): Call check1.
42246 * string/bug-strstr1.c (main): Moved to ...
42247 * string/test-strstr.c (check1): Here. New function.
42248 (do_one_test): Break out result checking code into ...
42249 (check_result): This. New function.
42250 (do_one_test): Call check_result.
42251 (test_main): Call check1.
42252 * string/bug-strcasestr1.c: Removed.
42253 * string/bug-strchr1.c: Likewise.
42254 * string/bug-strstr1.c: Likewise.
42256 * elf/Makefile (dl-routines): Add hwcaps.
42257 * elf/dl-support.c (_dl_important_hwcaps): Removed.
42258 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42259 (_dl_important_hwcaps): Moved to ...
42260 * elf/dl-hwcaps.c: Here. New file.
42261 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42264 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42265 if IS_IN_rtld isn't defined.
42267 * elf/dl-support.c (_dl_sysinfo_map): New.
42268 Include "get-dynamic-info.h" and "setup-vdso.h".
42269 (_dl_non_dynamic_init): Call setup_vdso.
42270 * elf/dynamic-link.h: Don't include <assert.h>.
42271 (elf_get_dynamic_info): Moved to ...
42272 * elf/get-dynamic-info.h: Here. New file.
42273 * elf/dynamic-link.h: Include "get-dynamic-info.h".
42274 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42275 * elf/setup-vdso.h: Here. New file.
42276 * elf/rtld.c: Include "setup-vdso.h".
42277 (dl_main): Call setup_vdso.
42279 2012-10-05 Joseph Myers <joseph@codesourcery.com>
42281 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42282 creal in comment listing functions tested. List finite, isinf,
42283 isnan, isless, islessequal, isgreater, isgreaterequal,
42284 islessgreater, isunordered, lgamma_r and pow10 as functions and
42285 macros not tested. Mention which functions not tested are aliases
42286 for other functions. Fix typo. Note that signs of NaNs are not
42289 * scripts/config.guess: Update from config.git.
42290 * scripts/config.sub: Likewise.
42292 2012-10-04 Roland McGrath <roland@hack.frob.com>
42294 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42295 * misc/madvise.c (madvise): Renamed to __madvise.
42296 Make madvise a weak alias.
42297 * include/sys/mman.h: Declare __madvise.
42298 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42299 * sysdeps/unix/syscalls.list
42300 (madvise): Make __madvise the strong name, and madvise a weak alias.
42301 * sysdeps/unix/sysv/linux/syscalls.list
42302 (madvise, mmap): Remove redundant entries.
42303 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42304 * malloc/malloc.c (mtrim): Likewise.
42305 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42307 2012-10-03 Roland McGrath <roland@hack.frob.com>
42309 * sysdeps/mach/hurd/dl-cache.c: File removed.
42310 * config.h.in (USE_LDCONFIG): New #undef.
42311 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42312 * configure: Regenerated.
42313 * elf/Makefile (dl-routines): Add dl-cache only under
42314 [$(use-ldconfig) = yes].
42315 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42316 cache on [USE_LDCONFIG].
42317 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42319 * elf/rtld.c (dl_main): Likewise.
42321 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
42323 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42324 _SC_LEVEL4_CACHE_LINESIZE.
42326 2012-10-03 Roland McGrath <roland@hack.frob.com>
42328 * sysdeps/unix/bsd/confstr.h: File removed.
42330 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
42332 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42335 2012-10-02 Roland McGrath <roland@hack.frob.com>
42337 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42338 Make 'mapoff' field ElfW(Off) rather than off_t.
42340 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
42342 * nscd/Makefile: Remove nscd-cflags and all its users.
42343 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42344 (CFLAGS-nonlib): Add compiler flags for nscd modules.
42347 * malloc.c (malloc_printerr): Clarify error message.
42349 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
42352 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42353 Set bit_FMA_Usable if FMA is supported.
42354 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42356 (bit_FMA4_Usable): Updated.
42357 (index_FMA_Usable): New macro.
42358 (CPUID_FMA): Likewise
42359 (HAS_FMA): Defined with bit_FMA_Usable.
42361 2012-10-01 Roland McGrath <roland@hack.frob.com>
42363 * bits/types.h (__swblk_t): Type removed.
42364 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42365 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42366 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42367 (__SWBLK_T_TYPE): Likewise.
42368 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42369 (__SWBLK_T_TYPE): Likewise.
42370 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42371 (__SWBLK_T_TYPE): Likewise.
42372 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42373 (__SWBLK_T_TYPE): Likewise.
42375 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
42376 Honza Horak <hhorak@redhat.com>
42378 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42379 (xdr_mapname): Use YPMAXMAP as maxsize.
42380 (xdr_peername): Use YPMAXPEER as maxsize.
42381 (xdr_keydat): Use YPAXRECORD as maxsize.
42382 (xdr_valdat): Use YPMAXRECORD as maxsize.
42384 2012-10-01 Roland McGrath <roland@hack.frob.com>
42386 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42388 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42389 * csu/init-first.c: ... here.
42390 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42391 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42392 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42393 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42394 * sysdeps/i386/init-first.c: File removed.
42395 * sysdeps/sh/init-first.c: File removed.
42397 2012-10-01 Joseph Myers <joseph@codesourcery.com>
42400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42401 if x * y might underflow to zero and z is zero.
42402 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42403 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42404 * math/libm-test.inc (min_subnorm_value): New variable.
42405 (fma_test): Add more tests.
42406 (fma_test_towardzero): Likewise.
42407 (fma_test_downward): Likewise
42408 (fma_test_upward): Likewise.
42409 (initialize): Set min_subnorm_value.
42411 2012-09-29 Joseph Myers <joseph@codesourcery.com>
42414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42416 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42417 mode for addition resulting in exact zero.
42418 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42419 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42421 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42422 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42423 * math/libm-test.inc (fma_test): Add more tests.
42424 (fma_test_towardzero): New function.
42425 (fma_test_downward): Likewise.
42426 (fma_test_upward): Likewise.
42427 (main): Call the new functions.
42429 2012-09-28 David S. Miller <davem@davemloft.net>
42431 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42433 2012-09-28 Roland McGrath <roland@hack.frob.com>
42435 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42436 instead of SIGALRM.
42438 * sysdeps/gnu/_G_config.h: Moved to ...
42439 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42440 * sysdeps/mach/hurd/_G_config.h: Moved to ...
42441 * sysdeps/generic/_G_config.h: ... here.
42443 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
42445 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42447 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42448 Conditionalize target on [libnss_test1.so-version].
42450 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42452 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42453 (elfobjdir): Move out of conditionals.
42455 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42456 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42457 (__nss_lookup_function): Conditionalize label remove_from_tree on
42458 [!DO_STATIC_NSS || SHARED], matching its only use.
42460 2012-09-28 David S. Miller <davem@davemloft.net>
42462 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42463 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42465 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42467 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42468 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42469 when HWCAP_SPARC_CRYPTO is present.
42471 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42473 * io/tst-mknodat.c: Create a FIFO instead of a socket.
42475 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
42478 * stdio-common/vfprintf.c (process_string_arg): Revert
42481 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
42483 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42485 * stdio-common/tst-sprintf.c: Include <locale.h>
42486 (main): Test sprintf's handling of incomplete multibyte
42489 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
42491 * elf/dl-runtime.c (VERSYMIDX): Removed.
42492 * elf/dl-version.c (VERSYMIDX): Likewise.
42493 * elf/do-rel.h (VERSYMIDX): Likewise.
42494 (VALIDX): Likewise.
42495 * elf/dynamic-link.h (VERSYMIDX): Likewise.
42496 * elf/rtld.c (VALIDX): Likewise.
42497 (ADDRIDX): Likewise.
42498 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42499 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42500 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42501 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42502 (VALIDX): Likewise.
42503 (ADDRIDX): Likewise.
42505 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42507 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42509 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
42512 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42514 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42515 addresses are in the same scope as 192.0.2/24.
42516 * posix/gai.conf: Document new scope table defaults.
42518 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42521 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42522 for ftell. Compute offsets from write pointers instead.
42523 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42525 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42528 * libio/Makefile (tests): New test case tst-fseek.
42529 * libio/tst-fseek.c: New test case to verify that fseek/ftell
42530 combination works in wide mode.
42531 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42532 state when the external buffer state changes.
42534 2012-09-27 David S. Miller <davem@davemloft.net>
42537 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42538 pass reloc->r_addend in as the 'high' argument to
42539 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42543 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42545 * rt/tst-aio2.c: Include <pthread.h>.
42546 * rt/tst-aio3.c: Likewise.
42548 2012-09-27 Steve Ellcey <sellcey@mips.com>
42550 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42552 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
42554 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42555 contents on [SHARED].
42557 2012-09-26 Marek Polacek <polacek@redhat.com>
42561 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42562 for C++ and GCC <4.3 as well as for non GCC compilers.
42564 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
42566 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42568 2012-09-25 Roland McGrath <roland@hack.frob.com>
42570 * Makefile.in (all, install): Declare with .PHONY.
42571 Reported by Michael Hope <michael.hope@linaro.org>.
42573 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42575 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42576 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42578 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42580 (sydep_routines): Add the new and the internal functions.
42581 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42582 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42584 (GLIBC_2.17): Add the new function.
42585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42586 (GLIBC_2.17): Likewise.
42587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42588 (GLIBC_2.17): Likewise.
42589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42590 (GLIBC_2.17): Likewise.
42591 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42593 2012-09-25 Alan Modra <amodra@gmail.com>
42595 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42596 Add release barrier before setting once_control to say
42597 initialisation is done. Add hints on lwarx. Use macro in
42599 (clear_once_control): Add release barrier.
42601 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42604 * math/s_clog.c (__clog): Handle more values close to |z| = 1
42606 * math/s_clog10.c (__clog10): Likewise.
42607 * math/s_clog10f.c (__clog10f): Likewise.
42608 * math/s_clog10l.c (__clog10l): Likewise.
42609 * math/s_clogf.c (__clogf): Likewise.
42610 * math/s_clogl.c (__clogl): Likewise.
42611 * math/Makefile (libm-calls): Add x2y2m1.
42612 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42613 (__x2y2m1): Likewise.
42614 (__x2y2m1l): Likewise.
42615 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42616 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42617 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42618 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42619 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42620 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42621 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42622 * sysdeps/i386/fpu/libm-test-ulps: Update.
42623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42626 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42627 int as type of variable DEPTH.
42628 (glob): Use size_t instead of int as type of variables NEWCOUNT
42631 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42633 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42634 Add s_sincosf-sse2.
42635 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42636 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42637 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42638 macros for using routine as __sincosf_ia32.
42639 Use macro for function declaration and weak_alias.
42640 * sysdeps/i386/fpu/libm-test-ulps: Update.
42642 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42645 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42646 subnormal argument.
42647 * math/s_cexpf.c (__cexpf): Likewise.
42648 * math/s_csinf.c (__csinf): Likewise.
42649 * math/s_csinhf.c (__csinhf): Likewise.
42650 * math/s_ctanf.c (__ctanf): Likewise.
42651 * math/s_ctanhf.c (__ctanhf): Likewise.
42652 * math/s_ccosh.c (__ccoshf): Likewise.
42653 * math/s_cexp.c (__cexpl): Likewise.
42654 * math/s_csin.c (__csin): Likewise.
42655 * math/s_csinh.c (__csinh): Likewise.
42656 * math/s_ctan.c (__ctan): Likewise.
42657 * math/s_ctanh.c (ctanh): Likewise.
42658 * math/s_ccoshl.c (__ccoshl): Likewise.
42659 * math/s_cexpl.c (__cexpl): Likewise.
42660 * math/s_csinl.c (__csinl): Likewise.
42661 * math/s_csinhl.c (__csinhl): Likewise.
42662 * math/s_ctanl.c (__ctanl): Likewise.
42663 * math/s_ctanhl.c (__ctanhl): Likewise.
42665 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42667 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42668 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42669 (_IO_off_t): Define to __off_t, not _G_off_t.
42670 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42671 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42672 (_IO_wint_t): Define to wint_t, not _G_wint_t.
42673 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42674 type of __dummy and __dummy2 fields.
42675 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42676 (_G_ssize_t): Likewise.
42677 (_G_off_t): Likewise.
42678 (_G_pid_t): Likewise.
42679 (_G_uid_t): Likewise.
42680 (_G_wchar_t): Likewise.
42681 (_G_wint_t): Likewise.
42682 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42683 (_G_ssize_t): Likewise.
42684 (_G_off_t): Likewise.
42685 (_G_pid_t): Likewise.
42686 (_G_uid_t): Likewise.
42687 (_G_wchar_t): Likewise.
42688 (_G_wint_t): Likewise.
42689 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42690 (_G_ssize_t): Likewise.
42691 (_G_off_t): Likewise.
42692 (_G_pid_t): Likewise.
42693 (_G_uid_t): Likewise.
42694 (_G_wchar_t): Likewise.
42695 (_G_wint_t): Likewise.
42697 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42699 * malloc/arena.c: Include malloc-sysdep.h.
42700 (shrink_heap): Use check_may_shrink_heap to decide if madvise
42701 is sufficient to shrink the heap or an unmap is needed.
42702 * sysdeps/generic/malloc-sysdep.h: New file. Define
42703 new function check_may_shrink_heap.
42704 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
42705 new function check_may_shrink_heap.
42707 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42709 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42712 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
42714 * catgets/test-gencat.sh: Add "set -e".
42715 * elf/tst-pathopt.sh: Likewise.
42716 * grp/tst_fgetgrent.sh: Likewise.
42717 * iconvdata/run-iconv-test.sh: Likewise.
42718 * intl/tst-gettext.sh: Likewise.
42719 * intl/tst-gettext2.sh: Likewise.
42720 * intl/tst-gettext4.sh: Likewise.
42721 * intl/tst-gettext6.sh: Likewise.
42722 * intl/tst-translit.sh: Likewise.
42723 * io/ftwtest-sh: Likewise.
42724 * libio/test-freopen.sh: Likewise.
42725 * malloc/tst-mtrace.sh: Likewise.
42726 * posix/globtest.sh: Likewise.
42727 * posix/tst-getconf.sh: Likewise.
42728 * posix/wordexp-tst.sh: Likewise.
42729 * stdio-common/tst-printf.sh: Likewise.
42730 * stdio-common/tst-unbputc.sh: Likewise.
42731 * stdlib/tst-fmtmsg.sh: Likewise.
42732 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42733 * catgets/Makefile: Do not specify -e option when running
42734 testsuite shell scripts.
42735 * elf/Makefile: Likewise.
42736 * grp/Makefile: Likewise.
42737 * iconvdata/Makefile: Likewise.
42738 * intl/Makefile: Likewise.
42739 * io/Makefile: Likewise.
42740 * libio/Makefile: Likewise.
42741 * malloc/Makefile: Likewise.
42742 * posix/Makefile: Likewise.
42743 * stdio-common/Makefile: Likewise.
42744 * stdlib/Makefile: Likewise.
42745 * sysdeps/x86_64/Makefile: Likewise.
42747 * io/ftwtest-sh: Add copyright header.
42748 * posix/globtest.sh: Likewise.
42749 * posix/tst-getconf.sh: Likewise.
42750 * posix/wordexp-tst.sh: Likewise.
42751 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42753 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
42756 * Makeconfig (+link): Defined as $(+link-static) if
42757 $(build-shared) isn't yes.
42758 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42760 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42762 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42765 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42766 new chunk size with MALLOC_ALIGN_MASK.
42768 2012-09-24 Joseph Myers <joseph@codesourcery.com>
42771 * stdio-common/printf_fphex.c: Include <stdbool.h> and
42773 (__printf_fphex): Determine rounding using get_rounding_mode and
42775 * stdio-common/tst-printf-round.c (struct hex_test): New
42777 (hex_tests): New variable.
42778 (test_hex_in_one_mode): New function.
42779 (do_test): Also run tests for hex float output.
42781 2012-09-21 Joseph Myers <joseph@codesourcery.com>
42783 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42784 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42785 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42786 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42787 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42788 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42789 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42790 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42792 2012-09-20 Joseph Myers <joseph@codesourcery.com>
42794 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42795 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42796 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42797 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42799 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
42802 * elf/rtld.c (dl_main): Limit the check for self loading to normal
42804 * elf/tst-rtld-load-self.sh: New test.
42805 * elf/Makefile: Run it.
42807 2012-09-18 Joseph Myers <joseph@codesourcery.com>
42809 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42810 (tst-writev-ENV): Remove.
42811 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42813 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
42815 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42817 2012-09-17 Joseph Myers <joseph@codesourcery.com>
42819 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42821 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42823 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42824 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42825 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42828 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
42831 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42832 * config.make.in (have-cpp-asm-debuginfo): Removed.
42833 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42834 * configure: Regenerated.
42836 2012-09-14 Joseph Myers <joseph@codesourcery.com>
42839 * stdio-common/printf_fp.c: Include <stdbool.h> and
42841 (___printf_fp): Determine rounding using get_rounding_mode and
42843 * stdio-common/tst-printf-round.c: New file.
42844 * stdio-common/Makefile (tests): Add tst-printf-round.
42845 (link-libm): New variable.
42846 ($(objpfx)tst-printf-round): Depend in $(link-libm).
42848 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
42851 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42852 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42854 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42857 2012-09-13 Joseph Myers <joseph@codesourcery.com>
42859 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42860 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42861 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42862 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42864 2012-09-12 Joseph Myers <joseph@codesourcery.com>
42867 * include/rounding-mode.h: New file.
42868 * sysdeps/generic/get-rounding-mode.h: Likewise.
42869 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42870 * stdlib/strtod_l.c: Include <rounding-mode.h>.
42871 (MAX_VALUE): New macro.
42872 (MIN_VALUE): Likewise.
42873 (overflow_value): New function.
42874 (underflow_value): Likewise.
42875 (round_and_return): Use overflow_value and underflow_value to
42876 determine return values in overflow and underflow cases. Use
42877 round_away to determine rounding depending on rounding mode.
42878 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42879 determine return values in overflow and underflow cases.
42880 * stdlib/tst-strtod-round.c: Include <fenv.h>.
42881 (struct test_results): New structure.
42882 (struct test): Use struct test_results to store expected results
42883 for all rounding modes.
42884 (TEST): Include expected results for all rounding modes.
42885 (test_in_one_mode): New function.
42886 (do_test): Use test_in_one_mode to compute and check results.
42887 Check results for all rounding modes.
42888 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42891 2012-12-09 Allan McRae <allan@archlinux.org>
42893 * sysdeps/i386/fpu/libm-test-ulps: Update
42895 2012-09-11 Joseph Myers <joseph@codesourcery.com>
42897 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42898 (_G_int32_t): Likewise.
42899 (_G_uint16_t): Likewise.
42900 (_G_uint32_t): Likewise.
42901 (_G_HAVE_BOOL): Likewise.
42902 (_G_HAVE_ATEXIT): Likewise.
42903 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42904 (_G_HAVE_IO_FILE_OPEN): Likewise.
42905 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42906 (_G_int32_t): Likewise.
42907 (_G_uint16_t): Likewise.
42908 (_G_uint32_t): Likewise.
42909 (_G_HAVE_BOOL): Likewise.
42910 (_G_HAVE_ATEXIT): Likewise.
42911 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42912 (_G_HAVE_IO_FILE_OPEN): Likewise.
42913 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42914 (_G_int32_t): Likewise.
42915 (_G_uint16_t): Likewise.
42916 (_G_uint32_t): Likewise.
42917 (_G_HAVE_BOOL): Likewise.
42918 (_G_HAVE_ATEXIT): Likewise.
42919 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42920 (_G_HAVE_IO_FILE_OPEN): Likewise.
42922 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
42924 * csu/libc-tls.c: Update copyright years.
42926 2012-09-10 Joseph Myers <joseph@codesourcery.com>
42928 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42929 [!_G_USING_THUNKS]: Remove conditional code.
42930 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42931 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42933 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42934 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42935 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42936 (_G_VTABLE_LABEL_PREFIX): Likewise.
42937 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42938 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42939 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42940 (_G_VTABLE_LABEL_PREFIX): Likewise.
42941 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42942 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42943 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42944 (_G_VTABLE_LABEL_PREFIX): Likewise.
42945 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42947 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
42949 * libio/Makefile: Include ../Makeconfig before tests.
42950 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42951 only if $(build-shared) is yes.
42953 * iconv/gconv_db.c: Update copyright years.
42955 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42957 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42958 unwind info if defined PIC. Fix special cases description.
42959 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42961 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42963 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42965 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
42967 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42969 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42972 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42973 (LDLIBS-tst-chk4): This.
42974 (LDFLAGS-tst-chk5): Renamed to ...
42975 (LDLIBS-tst-chk5): This.
42976 (LDFLAGS-tst-chk6): Renamed to ...
42977 (LDLIBS-tst-chk6): This.
42978 (LDFLAGS-tst-lfschk4): Renamed to ...
42979 (LDLIBS-tst-lfschk4): This.
42980 (LDFLAGS-tst-lfschk5): Renamed to ...
42981 (LDLIBS-tst-lfschk5): This.
42982 (LDFLAGS-tst-lfschk6): Renamed to ...
42983 (LDLIBS-tst-lfschk6): This.
42985 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42986 on $(common-objpfx)soversions.mk.
42988 2012-09-07 Joseph Myers <joseph@codesourcery.com>
42991 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42994 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
42996 * malloc/arena.c (arena_get_retry): New function that gets
42997 another arena for the caller to try its request on.
42998 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42999 current arena cannot fulfill the request.
43000 (__libc_memalign): Likewise.
43001 (__libc_memalign): Likewise.
43002 (__libc_pvalloc): Likewise.
43003 (__libc_calloc): Likewise.
43005 2012-09-05 John Tobey <john.tobey@gmail.com>
43008 * manual/arith.texi (Operations on Complex): Fix description
43009 of carg branch cut.
43011 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43014 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43018 * manual/memory.texi (Memory): Make order of menu items match
43021 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43023 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43024 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
43025 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43027 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43029 * csu/libc-tls.c (static_dtv): Renamed to ...
43030 (_dl_static_dtv): This. Make it global.
43031 (_dl_initial_dtv): Removed.
43032 (__libc_setup_tls): Updated.
43033 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43034 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43037 2012-09-06 Petr Machata <pmachata@redhat.com>
43039 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43040 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43041 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43042 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43044 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43047 * csu/libc-tls.c (_dl_initial_dtv): New variable.
43048 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43051 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43054 * Makeconfig (link-static-before-libc): Replace $(+prector)
43056 (link-static-after-libc): Replace $(+postctor) with
43058 (link-bounded): Replace $(+prector)/$(+postctor) with
43059 $(+prectorT)/$(+postctorT).
43060 (+prectorT): New macro.
43061 (+postctorT): Likewise.
43063 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43065 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43066 (round_str): Handle values above the maximum for IBM long double
43068 * stdlib/tst-strtod-round.c (tests): Regenerated.
43070 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43072 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43074 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43075 zarch_nohighgprs around the zarch optimized routines.
43076 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43077 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43078 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43081 2012-09-05 David S. Miller <davem@davemloft.net>
43083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43085 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43086 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43087 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43088 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43091 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43093 * malloc/arena.c: Fold copyright years.
43094 * malloc/mcheck.c, malloc/memusage.c: Likewise.
43096 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43098 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43100 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43102 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
43104 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43106 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43107 change internal state upon failure.
43109 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43111 * malloc/mcheck.c (mcheck_check_all): Fix typo.
43112 * malloc/memusage.c (mmap): Likewise.
43113 (mmap64, mremap): Likewise. Adjust name in comment.
43115 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43117 * libio/fileops.c: Fix typos in comments.
43118 * libio/oldfileops.c: Likewise.
43119 * libio/wfileops.c: Likewise.
43121 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43124 * malloc/Makefile (tests): Add tst-malloc-usable test case.
43125 (tst-malloc-usable-ENV): Set environment for test case.
43126 * malloc/hooks.c (malloc_check_get_size): New function to get
43128 * malloc/malloc.c (musable): Use malloc_check_get_size.
43129 * malloc/tst-malloc-usable.c: New test case.
43131 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
43133 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43135 2012-09-05 Allan McRae <allan@archlinux.org>
43138 * configure.in (CXX_SYSINCLUDES): Use compiler output to
43139 determine header location.
43140 * configure: Regenerated.
43142 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
43144 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43146 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43147 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43149 (test): Regenerate.
43151 2012-09-04 David S. Miller <davem@davemloft.net>
43153 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43154 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43155 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43157 2012-09-04 Florian Weimer <fweimer@redhat.com>
43159 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43162 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43164 2012-09-04 Joseph Myers <joseph@codesourcery.com>
43167 * libio/iogetdelim.c: Include <limits.h>.
43168 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43169 + len + 1 would overflow.
43171 2012-09-03 Andreas Jaeger <aj@suse.de>
43173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43174 * sysdeps/i386/fpu/libm-test-ulps: Update.
43176 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43178 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43179 Add s_sinf-sse2, s_conf-sse2.
43181 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43182 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43183 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43184 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43186 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43187 for using routine as __sinf_ia32.
43188 Use macro for function declaration and weak_alias.
43189 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43190 for using routine as __cosf_ia32.
43191 Use macro for function declaration and weak_alias.
43193 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43194 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43196 * sysdeps/x86_64/fpu/s_sinf.S: New file.
43197 * sysdeps/x86_64/fpu/s_cosf.S: New file.
43198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43200 * math/libm-test.inc (cos_test): Add more test cases.
43201 (sin_test): Likewise.
43202 (sincos_test): Likewise.
43204 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43206 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43207 (IFUNC_RESOLVE): Make pointers to the specialized implementations
43209 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43211 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
43214 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43215 first element of the GOT.
43216 (elf_machine_load_address): Return the difference between
43217 the runtime address of _DYNAMIC and elf_machine_dynamic ().
43219 2012-09-01 Allan McRae <allan@archlinux.org>
43222 * configure.in (AWK): Require gawk version 3.0 or later.
43223 * configure: Regenerated.
43225 2012-09-01 Joseph Myers <joseph@codesourcery.com>
43227 * sysdeps/unix/sysv/linux/kernel-features.h
43228 (__ASSUME_POSIX_CPU_TIMERS): Remove.
43229 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43230 [__NR_clock_getres]: Make code unconditional.
43231 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43232 (clock_getcpuclockid): Remove code left unreachable by removal of
43234 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43235 code unconditional.
43236 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43237 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43238 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43239 Make code unconditional.
43240 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43241 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43242 * sysdeps/unix/sysv/linux/clock_settime.c
43243 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43245 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43246 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43248 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
43251 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43252 scripts/test-installation.pl.
43254 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43255 and $ld_so_version if it is set.
43257 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43260 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43261 failure if reading from procfs failed.
43262 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43264 2012-08-27 Joseph Myers <joseph@codesourcery.com>
43266 * sysdeps/unix/sysv/linux/kernel-features.h
43267 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43268 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43269 Remove conditional code.
43270 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43271 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43272 Remove conditional code.
43273 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43274 * sysdeps/unix/sysv/linux/i386/fxstat.c
43275 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43276 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43277 * sysdeps/unix/sysv/linux/i386/fxstatat.c
43278 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43279 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43280 * sysdeps/unix/sysv/linux/i386/lxstat.c
43281 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43282 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43283 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43284 Remove conditional code.
43285 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43286 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43287 Remove conditional code.
43288 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43289 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43290 <kernel-features.h>.
43291 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43293 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43294 Remove conditional code.
43295 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43296 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43297 Remove conditional.
43299 2012-08-27 Mike Frysinger <vapier@gentoo.org>
43302 * NEWS: Add fixed bug number.
43304 2012-08-27 Joseph Myers <joseph@codesourcery.com>
43307 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43308 underflowing exponent in case of negative sign.
43309 * stdlib/tst-strtod-round-data: Add more tests.
43310 * stdlib/tst-strtod-round.c (tests): Regenerated.
43313 * stdlib/strtod_l.c (NDIG): Remove.
43314 (HEXNDIG): Likewise.
43315 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43316 smallest representable value.
43317 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43318 lie within an exact representation of 1/2 ulp of the result.
43319 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43321 (TENS_P9_IDX): Define unconditionally.
43322 (TENS_P9_SIZE): Likewise.
43323 (TENS_P10_IDX): Likewise.
43324 (TENS_P10_SIZE): Likewise.
43325 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43326 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43327 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43328 entries for 10^2^13 and 10^2^14.
43329 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43330 (TENS_P13_IDX): Define.
43331 (TENS_P13_SIZE): Likewise.
43332 (TENS_P14_IDX): Likewise.
43333 (TENS_P14_SIZE): Likewise.
43334 (_fpioconst_pow10): Change array size to
43335 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
43337 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43338 1024]: Add entries for 10^2^13 and 10^2^14.
43339 [LAST_POW10 > _LAST_POW10]: Remove #error.
43340 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43341 (_fpioconst_pow10): Change array size to
43342 FPIOCONST_POW10_ARRAY_SIZE.
43343 * stdlib/gen-fpioconst.c: New file.
43344 * stdlib/gen-tst-strtod-round.c: Likewise.
43345 * stdlib/tst-strtod-round-data: Likewise.
43346 * stdlib/tst-strtod-round.c: Likewise.
43347 * stdlib/Makefile (tests): Add tst-strtod-round.
43350 * stdlib/strtod_l.c: Include <stdint.h>.
43351 (NDEBUG): Do not define.
43352 (round_and_return): Change EXPONENT parameter to type intmax_t.
43353 Rearrange calculations to avoid internal overflow possibilities.
43354 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43355 Rearrange calculations to avoid internal overflow possibilities.
43356 Assert that number fits inside MPNSIZE limbs.
43357 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43358 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
43359 calculations and add assertions to avoid internal overflow
43360 possibilities. Add casts to avoid signed/unsigned operations.
43361 * stdlib/tst-strtod-overflow.c: New file.
43362 * stdlib/Makefile (tests): Add tst-strtod-overflow.
43364 2012-08-25 Marek Polacek <polacek@redhat.com>
43366 * time/time.h: Fix some typos in comments.
43368 2012-08-23 Roland McGrath <roland@hack.frob.com>
43370 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43371 * posix/tst-rfc3484-2.c: Likewise.
43372 * posix/tst-rfc3484-3.c: Likewise.
43374 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
43376 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43377 (EF_ARM_ABI_FLOAT_HARD): Likewise.
43379 2012-08-23 Joseph Myers <joseph@codesourcery.com>
43381 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43382 #include of fxstatat64.c.
43384 2012-08-22 Roland McGrath <roland@hack.frob.com>
43386 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43387 * shadow/getspent_r.c: Likewise.
43388 * shadow/getspnam.c: Likewise.
43389 * shadow/getspnam_r.c: Likewise.
43390 * gshadow/getsgent.c: Likewise.
43391 * gshadow/getsgent_r.c: Likewise.
43392 * gshadow/getsgnam.c: Likewise.
43393 * gshadow/getsgnam_r.c: Likewise.
43394 * inet/getnetbyad.c: Likewise.
43395 * inet/getnetbyad_r.c: Likewise.
43396 * inet/getnetbynm.c: Likewise.
43397 * inet/getnetbynm_r.c: Likewise.
43398 * inet/getnetent.c: Likewise.
43399 * inet/getnetent_r.c: Likewise.
43400 * inet/getproto.c: Likewise.
43401 * inet/getproto_r.c: Likewise.
43402 * inet/getprtent.c: Likewise.
43403 * inet/getprtent_r.c: Likewise.
43404 * inet/getprtname.c: Likewise.
43405 * inet/getprtname_r.c: Likewise.
43406 * inet/getrpcbyname.c: Likewise.
43407 * inet/getrpcbyname_r.c: Likewise.
43408 * inet/getrpcbynumber.c: Likewise.
43409 * inet/getrpcbynumber_r.c: Likewise.
43410 * inet/getrpcent.c: Likewise.
43411 * inet/getrpcent_r.c: Likewise.
43412 * inet/getaliasent.c: Likewise.
43413 * inet/getaliasent_r.c: Likewise.
43414 * inet/getaliasname.c: Likewise.
43415 * inet/getaliasname_r.c: Likewise.
43416 * nscd/getgrgid_r.c: Likewise.
43417 * nscd/getgrnam_r.c: Likewise.
43418 * nscd/gethstbyad_r.c: Likewise.
43419 * nscd/gethstbynm3_r.c: Likewise.
43420 * nscd/getpwnam_r.c: Likewise.
43421 * nscd/getpwuid_r.c: Likewise.
43422 * nscd/getsrvbynm_r.c: Likewise.
43423 * nscd/getsrvbypt_r.c: Likewise.
43424 * nscd/gai.c: Likewise.
43426 * configure.in (build_nscd): New substituted variable, set
43427 by --disable-build-nscd and defaults to $use_nscd.
43428 * configure: Regenerated.
43429 * config.make.in (build-nscd): New substituted variable.
43430 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43431 Change conditional to require [$(build-nscd) = yes] as well.
43432 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43435 * configure.in (use_nscd): New substituted variable, set by
43436 --disable-nscd. If enabled, define USE_NSCD.
43437 * configure: Regenerated.
43438 * config.h.in: Add USE_NSCD.
43439 * config.make.in (use-nscd): New substituted variable.
43440 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43441 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43442 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43443 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43444 (CFLAGS-getgrnam_r.c): Likewise.
43445 (CFLAGS-initgroups.c): Likewise.
43446 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43447 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43449 * inet/getnetgrent_r.c
43450 (nscd_setnetgrent): New function, broken out of ...
43451 (setnetgrent): ... here. Call it.
43452 (innetgr): Conditionalize nscd bits on [USE_NSCD].
43453 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43454 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43455 * nscd/Makefile (routines, aux): Move definitions after include of
43456 Makeconfig. Conditionalize on [$(use-nscd) != no].
43457 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43458 Conditionalize on [USE_NSCD].
43459 (is_nscd, nscd_init_cb): Likewise.
43460 (nss_load_library): Conditionalize init callback on [USE_NSCD].
43461 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43462 * nss/nss_db/db-init.c: Likewise.
43463 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43465 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43466 (make_request): Use it.
43467 (cache_valid_p): New function.
43468 (__check_pf): Use it.
43469 * NEWS: Add item for --disable-nscd.
43471 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
43473 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43474 to support sed >= 4.2.1-20-ga9bf076.
43475 * configure: Regenerated.
43477 2012-08-22 Roland McGrath <roland@hack.frob.com>
43479 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43480 Conditionalize whole body on [IREL].
43482 2012-08-22 Jeff Law <law@redhat.com>
43485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43486 if the family is PF_UNSPEC.
43488 2012-08-22 Mike Frysinger <vapier@gentoo.org>
43490 * Makerules (lib-version): Rename from V.
43491 (install-lib-nosubdir): Change V to lib-version.
43493 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
43496 * powerpc32/power6/wcschr.c: New file.
43497 * powerpc32/power6/wcscpy.c: New file.
43498 * powerpc32/power6/wcsrchr.c: New file.
43499 * powerpc64/power6/wcschr.c: New file.
43500 * powerpc64/power6/wcscpy.c: New file.
43501 * powerpc64/power6/wcsrchr.c: New file.
43503 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43505 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43506 (two_way_short_needle): Use it.
43507 * string/strstr.c (AVAILABLE1_USES_J): Define.
43508 * string/strcasestr.c: Likewise.
43510 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43512 * string/strcasestr.c (TOLOWER): Make side-effect safe.
43515 * NEWS: Add an entry.
43516 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43517 define their defaults.
43518 (two_way_short_needle): Detect end-of-string on-the-fly.
43519 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43520 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43521 * string/bug-strcasestr1.c: New test.
43522 * string/Makefile: Run it.
43524 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43527 * string/str-two-way.h (two_way_short_needle): Optimize matching of
43528 the first character.
43530 2012-08-21 Roland McGrath <roland@hack.frob.com>
43532 * csu/elf-init.c (__libc_csu_irel): Function removed.
43533 * csu/libc-start.c (apply_irel): New function.
43534 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43536 2012-08-21 Joseph Myers <joseph@codesourcery.com>
43538 * sysdeps/unix/sysv/linux/kernel-features.h
43539 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43540 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43541 <kernel-features.h>.
43542 [__NR_fadvise64_64]: Make code unconditional.
43543 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43544 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43545 !__NR_fadvise64_64)]: Likewise.
43546 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43547 !__NR_fadvise64_64))]: Likewise.
43548 [__NR_fadvise64]: Make code unconditional.
43549 [!__NR_fadvise64]: Remove conditional code.
43550 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43551 <kernel-features.h>.
43552 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43554 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43557 not include <kernel-features.h>.
43558 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43560 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43562 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43563 include <kernel-features.h>.
43564 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43566 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43569 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43571 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43572 slight instruction rearrangements per scrollpipe analysis.
43573 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43575 2012-08-20 Roland McGrath <roland@hack.frob.com>
43577 * manual/syslog.texi (syslog; vsyslog, closelog):
43578 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43579 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43581 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43582 DSOCAPS to match condition on defining it.
43584 2012-08-20 Joseph Myers <joseph@codesourcery.com>
43586 * sysdeps/unix/sysv/linux/kernel-features.h
43587 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43589 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43590 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43592 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43593 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43595 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43596 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43598 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43599 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43601 * sysdeps/unix/sysv/linux/kernel-features.h
43602 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43603 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43605 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43606 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43607 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43608 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43609 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43610 Make code unconditional.
43611 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43612 (__mmap64) [!__NR_mmap2]: Likewise.
43613 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43614 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43615 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43616 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43617 [__NR_mmap2]: Make code unconditional.
43618 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43619 (__mmap64) [!__NR_mmap2]: Likewise.
43621 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43623 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43625 2012-08-18 Andreas Jaeger <aj@suse.de>
43627 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43629 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43631 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43632 * include/unistd.h (__have_sock_cloexec): Likewise.
43633 (__have_pipe2): Likewise.
43634 (__have_dup3): Likewise.
43636 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43639 * include/unistd.h (__have_pipe2): Change define into an extern int.
43640 (__have_dup3): Likewise.
43641 * socket/have_sock_cloexec.c: Include fcntl.h.
43642 (__have_pipe2): New variable.
43643 (__have_dup3): Likewise.
43645 2012-08-17 Mike Frysinger <vapier@gentoo.org>
43647 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43649 2012-08-17 Marek Polacek <polacek@redhat.com>
43651 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43652 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43654 2012-08-17 Roland McGrath <roland@hack.frob.com>
43656 * configure.in: Add AC_SUBST for sysheaders.
43657 * configure: Regenerated.
43658 * config.make.in (sysheaders): New substituted variable.
43660 * sysdeps/unix/mkfifo.c: Moved ...
43661 * sysdeps/posix/mkfifo.c: ... here.
43662 * sysdeps/unix/mkfifoat.c: Moved ...
43663 * sysdeps/posix/mkfifoat.c: ... here.
43665 * sysdeps/unix/utime.c: Moved ...
43666 * sysdeps/posix/utime.c: ... here.
43668 * sysdeps/unix/time.c: Moved ...
43669 * sysdeps/posix/time.c: ... here.
43670 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43671 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43673 * sysdeps/unix/nice.c: Moved ...
43674 * sysdeps/posix/nice.c: ... here.
43676 * sysdeps/unix/alarm.c: Moved ...
43677 * sysdeps/posix/alarm.c: ... here.
43679 * intl/Makefile ($(codeset_mo)): Depend on the input file.
43681 2012-08-17 Jeff Law <law@redhat.com>
43683 * intl/Makefile (codeset_mo): New variable.
43684 ($(codeset_mo)): New target.
43685 (tst-codeset.out): Depend on that. Remove explicit rule.
43686 (tst-gettext3.out, tst-gettext5.out): Likewise.
43687 (LOCPATH-ENV, tst-codeset-ENV): New variables.
43688 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43689 * intl/tst-codeset.sh: Remove.
43690 * intl/tst-gettext3.sh: Likewise.
43691 * intl/tst-gettext5.sh: Likewise.
43693 2012-08-17 Roland McGrath <roland@hack.frob.com>
43695 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
43696 * sysdeps/unix/syscalls.list: ... here.
43698 * sysdeps/posix/getaddrinfo.c
43699 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43700 (gaiconf_init, gaiconf_reload): Use them.
43701 [!_STATBUF_ST_NSEC]
43702 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43703 Define using time_t rather than struct timespec.
43705 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43706 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43708 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43710 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43711 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43714 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43715 __libc_cleanup_push argument.
43717 * bits/param.h: New file.
43718 * misc/sys/param.h: New file.
43719 * include/sys/param.h: New file.
43720 * misc/Makefile (headers): Add bits/param.h.
43721 * sysdeps/generic/sys/param.h: File removed.
43722 * sysdeps/unix/sysv/linux/bits/param.h: New file.
43723 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43724 * sysdeps/mach/hurd/bits/param.h: New file.
43725 * sysdeps/mach/hurd/sys/param.h: File removed.
43727 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43730 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43732 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43733 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43736 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43737 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43738 rather than -D_IO_MTSAFE_IO conditionally.
43739 * stdio-common/Makefile (CPPFLAGS): Likewise.
43740 * wcsmbs/Makefile (CPPFLAGS): Likewise.
43741 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43742 Use $(libio-mtsafe).
43743 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43744 of -D_IO_MTSAFE_IO.
43745 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43746 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43747 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43748 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43749 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43750 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43751 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43752 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43753 (CFLAGS-fread_u_chk.c): Likewise.
43754 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43755 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43756 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43757 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43758 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43759 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43760 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43761 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43762 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43764 * libio/Makefile: Test [$(libc-reentrant) = yes]
43765 instead of [$(filter %REENTRANT, $(defines)) nonempty].
43768 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43769 * sysdeps/pthread/configure: File removed.
43770 * sysdeps/pthread/Makeconfig: New file.
43771 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43772 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43774 2012-08-16 Gary Benson <gbenson@redhat.com>
43776 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43777 unmapping the first object in a namespace.
43779 2012-08-16 Roland McGrath <roland@hack.frob.com>
43781 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43782 (__internal_setnetgrent): ... this. Add internal_function to
43783 definition. Add libc_hidden_def.
43784 (setnetgrent): Update caller.
43785 (internal_endnetgrent): Renamed to ...
43786 (__internal_endnetgrent): ... this. Add internal_function to
43787 definition. Add libc_hidden_def.
43788 (endnetgrent): Update caller.
43789 (internal_getnetgrent_r): Renamed to ...
43790 (__internal_getnetgrent_r): ... this. Add internal_function to
43791 definition. Add libc_hidden_def.
43792 (__getnetgrent_r): Update caller.
43793 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
43795 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43797 * stdlib/longlong.h: Update from GCC.
43799 2012-08-16 Roland McGrath <roland@hack.frob.com>
43801 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43802 on _QL, which is set by umul_ppmm but never used.
43803 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43804 variables, which are set by GMP macros but never used.
43805 * stdio-common/_itowa.c (_itowa): Likewise.
43806 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43807 * stdlib/mod_1.c (mpn_mod_1): Likewise.
43809 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
43811 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43812 struct La_sh_regs is not constant.
43813 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43814 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43815 and struct La_sparc64_regs are not constant.
43817 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43819 * sysdeps/unix/sysv/linux/kernel-features.h
43820 (__ASSUME_POSIX_TIMERS): Remove.
43821 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43822 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43823 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43824 Make code unconditional.
43825 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43826 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43827 Make code unconditional.
43828 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43829 * sysdeps/unix/sysv/linux/clock_nanosleep.c
43830 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43831 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43832 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43833 Make code unconditional.
43834 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43835 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43836 (__libc_missing_posix_timers): Remove.
43838 2012-08-15 Roland McGrath <roland@hack.frob.com>
43840 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43841 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43843 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43845 * elf/dl-sym.c: Include <stdlib.h>.
43847 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43848 constants, which avoids warnings in 32-bit builds.
43850 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43851 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43853 * misc/lseek.c: File moved to ...
43854 * io/lseek.c: ... here.
43856 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43858 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43859 shifting LEN more than 31 bits at once.
43861 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43864 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43865 segmentation fault for a case of two empty input strings.
43866 * string/test-strncasecmp.c (check1): Renamed to...
43867 (bz12205): ...this.
43868 (bz14195): Add new testcase for two empty input strings and N > 0.
43869 (test_main): Call new testcase, adapt for renamed function.
43871 2012-08-15 Andreas Jaeger <aj@suse.de>
43874 * crypt/md5test2.c: New test, based on test supplied by Serge
43875 Belyshev <belyshev@depni.sinp.msu.ru>.
43876 * crypt/Makefile (xtests): Add md5test-giant..
43877 * crypt/Makefile ($(objpfx)md5test-giant): Add.
43879 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
43882 * crypt/md5.c (md5_process_block): Don't assume the buffer
43883 length is less than 2**32.
43884 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43885 length is less than 2**64.
43887 2012-08-15 Roland McGrath <roland@hack.frob.com>
43889 * string/str-two-way.h: Include <sys/param.h>.
43890 (MAX): Macro removed.
43892 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43893 Move #define and #undef of memmove to just before and after
43894 including <string.h>.
43896 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43897 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43898 and after including <string.h>. Move declarations of
43899 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43900 to before #include "string/memmove.c".
43902 * include/dirent.h: Declare __getdirentries.
43904 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43905 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43907 2012-08-14 Mike Frysinger <vapier@gentoo.org>
43909 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43910 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43911 * sysdeps/i386/configure: Regenerated.
43912 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43913 STABS_CURRENT_FILE, and STABS_FUN.
43914 (END): Remove call to STABS_FUN_END.
43915 (STABS_CURRENT_FILE1): Delete.
43916 (STABS_CURRENT_FILE): Likewise.
43917 (STABS_FUN): Likewise.
43918 (STABS_FUN_END): Likewise.
43919 (STABS_FUN2): Likewise.
43920 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43921 * sysdeps/x86_64/configure: Regenerated.
43923 2012-08-14 Roland McGrath <roland@hack.frob.com>
43925 * elf/dl-open.c: Include <atomic.h>.
43926 * elf/dl-lookup.c: Likewise.
43928 2012-08-14 Joseph Myers <joseph@codesourcery.com>
43930 * sysdeps/unix/sysv/linux/kernel-features.h
43931 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43932 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43934 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43936 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43937 condition on __ASSUME_CLONE_THREAD_FLAGS.
43939 2012-08-14 Andreas Jaeger <aj@suse.de>
43941 * sysdeps/i386/fpu/libm-test-ulps: Update.
43943 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
43945 * include/atomic.h (atomic_exchange_and_add): Split into ...
43946 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43949 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
43951 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43953 2012-08-13 Jeff Law <law@redhat.com>
43955 * manual/stdio.texi (snprintf): Clarify handling of the trailing
43956 null byte in the output string.
43958 2012-08-10 Joseph Myers <joseph@codesourcery.com>
43960 * sysdeps/unix/sysv/linux/kernel-features.h
43961 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43962 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43963 (__ASSUME_ARG_MAX_STACK_BASED): Define.
43964 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43965 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43966 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
43967 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43969 2012-08-09 Jeff Law <law@redhat.com>
43972 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43973 When avoid_arena is set, don't retry in the that arena. Pick the
43974 next one, whatever it might be.
43975 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43976 (arena_lock): Pass in new parameter to arena_get2.
43977 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43979 (__libc_malloc): Unify retrying after main arena failure with
43980 __libc_memalign version.
43981 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43983 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
43986 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43987 to __redirect_strstr.
43988 (__strstr_sse42): Use typeof __redirect_strstr.
43989 (__strstr_ia32): Likewise.
43990 (__libc_strstr): New prototype.
43991 (strstr): Renamed to ...
43992 (__libc_strstr): This.
43993 (strstr): New strong alias of __libc_strstr.
43994 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43995 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43998 (__libc_time): New prototype.
43999 (time_ifunc): Replace time with __libc_time.
44000 (time): New strong alias and hidden definition of __libc_time.
44001 (__GI_time): Remove strong alias.
44002 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44003 Include <stddef.h>.
44004 (memmove): Redefined to __redirect_memmove.
44005 (__memmove_sse2): Use typeof __redirect_memmove.
44006 (__memmove_ssse3): Likewise.
44007 (__memmove_ssse3_back): Likewise.
44008 (__libc_memmove): New prototype.
44009 (memmove): Renamed to ...
44010 (__libc_memmove): This.
44011 (memmove): New strong alias of __libc_memmove.
44013 2012-08-08 Mark Salter <msalter@redhat.com>
44016 (R_MN10300_TLS_GD): Define.
44017 (R_MN10300_TLS_LD): Likewise.
44018 (R_MN10300_TLS_LDO): Likewise.
44019 (R_MN10300_TLS_GOTIE): Likewise.
44020 (R_MN10300_TLS_IE): Likewise.
44021 (R_MN10300_TLS_LE): Likewise.
44022 (R_MN10300_TLS_DTPMOD): Likewise.
44023 (R_MN10300_TLS_DTPOFF): Likewise.
44024 (R_MN10300_TLS_TPOFF): Likewise.
44025 (R_MN10300_SYM_DIFF): Likewise.
44026 (R_MN10300_ALIGN): Likewise.
44027 (R_MN10300_NUM): Update.
44029 2012-08-08 Joseph Myers <joseph@codesourcery.com>
44031 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44034 2012-08-08 Roland McGrath <roland@hack.frob.com>
44036 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44038 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44039 sysdeps/unix -> sysdeps/posix move.
44040 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44042 2012-08-07 Allan McRae <allan@archlinux.org>
44045 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44046 (SUNOS_CPP): Likewise.
44047 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44049 (open_input): Call CPP using execvp.
44051 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44053 * sysdeps/unix/sysv/linux/kernel-features.h
44054 (__ASSUME_PROT_GROWSUPDOWN): Remove.
44055 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44056 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44057 (__ASSUME_WAITID_SYSCALL): Likewise.
44058 * sysdeps/unix/sysv/linux/dl-execstack.c
44059 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44060 code unconditional.
44061 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44063 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44064 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44065 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44067 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44069 [__ASSUME_WAITID_SYSCALL]: Likewise.
44070 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44072 2012-08-07 Roland McGrath <roland@hack.frob.com>
44074 * sysdeps/unix/closedir.c: Renamed to ...
44075 * sysdeps/posix/closedir.c: ... here.
44076 * sysdeps/unix/dirfd.c: Renamed to ...
44077 * sysdeps/posix/dirfd.c: ... here.
44078 * sysdeps/unix/dirstream.h: Renamed to ...
44079 * sysdeps/posix/dirstream.h: ... here.
44080 * sysdeps/unix/fdopendir.c: Renamed to ...
44081 * sysdeps/posix/fdopendir.c: ... here.
44082 * sysdeps/unix/opendir.c: Renamed to ...
44083 * sysdeps/posix/opendir.c: ... here.
44084 * sysdeps/unix/readdir.c: Renamed to ...
44085 * sysdeps/posix/readdir.c: ... here.
44086 * sysdeps/unix/readdir_r.c: Renamed to ...
44087 * sysdeps/posix/readdir_r.c: ... here.
44088 * sysdeps/unix/rewinddir.c: Renamed to ...
44089 * sysdeps/posix/rewinddir.c: ... here.
44090 * sysdeps/unix/seekdir.c: Renamed to ...
44091 * sysdeps/posix/seekdir.c: ... here.
44092 * sysdeps/unix/telldir.c: Renamed to ...
44093 * sysdeps/posix/telldir.c: ... here.
44094 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44095 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44096 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44097 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44099 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44100 * bits/fcntl.h: ... here.
44102 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44104 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44105 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44106 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44107 (struct flock): Move l_start, l_len to the beginning.
44108 Use __pid_t for l_pid.
44109 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44110 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44111 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44112 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44113 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44114 [__USE_LARGEFILE64] (struct flock64): New type.
44115 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44117 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44118 * bits/dirent.h: ... here.
44120 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44121 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44123 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44125 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44126 Change from 2.6.0 to 2.6.16.
44127 * sysdeps/unix/sysv/linux/configure: Regenerated.
44128 * sysdeps/unix/sysv/linux/kernel-features.h
44129 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44130 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44132 (__ASSUME_UTIMES): Likewise.
44133 (__ASSUME_CLONE_STOPPED): Remove.
44134 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44135 architectures, not kernel version.
44136 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44137 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44138 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44139 (__ASSUME_WAITID_SYSCALL): Likewise.
44140 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44141 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44142 * README: State 2.6.16 as minimum Linux kernel version. Do not
44143 refer to older versions.
44145 2012-08-06 Roland McGrath <roland@hack.frob.com>
44147 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44148 Define alphasort64 as an alias.
44149 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44150 Define versionsort64 as an alias.
44151 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44152 Define scandir64 as an alias.
44153 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44154 Define scandirat64 as an alias.
44155 * dirent/alphasort64.c (alphasort64):
44156 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44157 * dirent/versionsort64.c: Likewise.
44158 * dirent/scandir64.c: Likewise.
44159 * dirent/scandirat64.c: Likewise.
44160 * sysdeps/wordsize-64/alphasort.c: File removed.
44161 * sysdeps/wordsize-64/alphasort64.c: File removed.
44162 * sysdeps/wordsize-64/scandir.c: File removed.
44163 * sysdeps/wordsize-64/scandir64.c: File removed.
44164 * sysdeps/wordsize-64/scandirat.c: File removed.
44165 * sysdeps/wordsize-64/scandirat64.c: File removed.
44166 * sysdeps/wordsize-64/versionsort.c: File removed.
44167 * sysdeps/wordsize-64/versionsort64.c: File removed.
44168 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44169 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44170 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44171 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44172 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44173 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44174 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44175 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44177 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44178 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44179 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44180 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44181 [defined __arch64__ || defined __sparcv9]
44182 (__INO_T_MATCHES_INO64_T): New macro.
44183 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44184 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44185 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44186 * sysdeps/unix/sysv/linux/bits/dirent.h
44187 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44188 (_DIRENT_MATCHES_DIRENT64): New macro.
44190 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44191 Define lockf64 as an alias.
44192 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44193 Define fseeko64 as an alias.
44194 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44195 Define ftello64 as an alias.
44196 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44197 Define _IO_fgetpos64 and fgetpos64 as aliases.
44198 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44199 Define _IO_fsetpos64 and fsetpos64 as aliases.
44200 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44201 Conditionalize body on this.
44202 * libio/fseeko64.c: Likewise.
44203 * libio/ftello64.c: Likewise.
44204 * libio/iofgetpos64.c: Likewise.
44205 * libio/iofsetpos64.c: Likewise.
44206 * sysdeps/wordsize-64/lockf.c: File removed.
44207 * sysdeps/wordsize-64/lockf64.c: File removed.
44208 * sysdeps/wordsize-64/fseeko.c: File removed.
44209 * sysdeps/wordsize-64/fseeko64.c: File removed.
44210 * sysdeps/wordsize-64/ftello.c: File removed.
44211 * sysdeps/wordsize-64/ftello64.c: File removed.
44212 * sysdeps/wordsize-64/iofgetpos.c: File removed.
44213 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44214 * sysdeps/wordsize-64/iofsetpos.c: File removed.
44215 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44216 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44217 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44218 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44219 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44220 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44221 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44222 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44223 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44224 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44225 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44227 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44228 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44229 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44230 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44231 [defined __arch64__ || defined __sparcv9]
44232 (__OFF_T_MATCHES_OFF64_T): New macro.
44233 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44234 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44235 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44236 (__OFF_T_MATCHES_OFF64_T): New macro.
44238 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
44240 * stdlib/secure-getenv.c (__secure_getenv): Replace
44241 GLIBC_2_16 with GLIBC_2_17.
44243 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
44245 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44246 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44248 2012-08-03 David S. Miller <davem@davemloft.net>
44250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44252 2012-08-03 Joseph Myers <joseph@codesourcery.com>
44254 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44256 (__ASSUME_CORRECT_SI_PID): Likewise.
44257 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44258 (__ASSUME_TMPFS_NAME): Likewise.
44259 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44260 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44261 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44262 (HAVE_AUX_SECURE): Make definition unconditional.
44263 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44264 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44266 2012-08-03 Roland McGrath <roland@hack.frob.com>
44268 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44269 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44270 * sysdeps/mach/hurd/eloop-threshold.h: New file.
44271 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44272 __eloop_threshold instead of SYMLOOP_MAX.
44274 * sysdeps/generic/eloop-threshold.h: New file.
44275 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44277 * elf/chroot_canon.c (chroot_canon): Likewise.
44279 2012-08-03 Joseph Myers <joseph@codesourcery.com>
44282 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44283 Change to 2.6.0 everywhere.
44284 * sysdeps/unix/sysv/linux/configure: Regenerated.
44285 * sysdeps/unix/sysv/linux/kernel-features.h
44286 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44287 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44289 (__ASSUME_POSIX_TIMERS): Define unconditionally.
44290 (__ASSUME_FUTEX_REQUEUE): Remove.
44291 (__ASSUME_STATFS64): Define unconditionally.
44292 (__ASSUME_AT_SECURE): Likewise.
44293 (__ASSUME_CORRECT_SI_PID): Likewise.
44294 (__ASSUME_TGKILL): Define without depending on kernel version for
44296 (__ASSUME_UTIMES): Likewise.
44297 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44299 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44300 (__ASSUME_TMPFS_NAME): Likewise.
44301 * README: Update reference to Linux kernel versions.
44303 2012-08-02 Marek Polacek <polacek@redhat.com>
44306 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
44307 libc_cv_asm_type_prefix with %.
44308 * configure: Regenerated.
44309 * include/libc-symbols.h: Remove comment about
44310 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44311 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44312 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44313 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44314 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44315 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44316 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44317 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44318 * elf/tst-unique2mod1.c: Likewise.
44319 * elf/tst-unique1mod2.c: Likewise.
44320 * elf/tst-unique1mod1.c: Likewise.
44321 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44322 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44323 Replace ASM_TYPE_DIRECTIVE with .type.
44324 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44325 * sysdeps/i386/sysdep.h: Likewise.
44326 * sysdeps/x86_64/sysdep.h: Likewise.
44327 * sysdeps/sh/sysdep.h: Likewise.
44328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44329 Do not define ASM_TYPE_DIRECTIVE.
44330 * sysdeps/powerpc/sysdep.h: Likewise.
44331 * sysdeps/powerpc/powerpc32/sysdep.h:
44332 Replace ASM_TYPE_DIRECTIVE with .type.
44333 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44334 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44335 * sysdeps/i386/fpu/e_powf.S: Likewise.
44336 * sysdeps/i386/fpu/e_expl.S: Likewise.
44337 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44338 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44339 * sysdeps/i386/fpu/e_pow.S: Likewise.
44340 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44341 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44342 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44343 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44344 * sysdeps/i386/fpu/e_log2.S: Likewise.
44345 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44346 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44347 * sysdeps/i386/fpu/e_powl.S: Likewise.
44348 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44349 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44350 * sysdeps/i386/fpu/e_logl.S: Likewise.
44351 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44352 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44353 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44354 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44355 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44356 * sysdeps/i386/fpu/e_log.S: Likewise.
44357 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44358 * sysdeps/i386/fpu/e_logf.S: Likewise.
44359 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44360 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44361 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44362 * sysdeps/i386/fpu/e_log10.S: Likewise.
44363 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44364 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44365 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44366 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44367 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44368 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44369 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44370 * sysdeps/i386/i686/strtok.S: Likewise.
44371 * sysdeps/i386/i386-mcount.S: Likewise.
44372 * sysdeps/i386/strtok.S: Likewise.
44373 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44374 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44375 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44376 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44377 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44378 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44379 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44380 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44381 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44382 * sysdeps/x86_64/_mcount.S: Likewise.
44383 * sysdeps/x86_64/strtok.S: Likewise.
44384 * sysdeps/sh/_mcount.S: Likewise.
44386 2012-08-01 Roland McGrath <roland@hack.frob.com>
44388 * libio/iofopen.c: Include <fcntl.h>.
44389 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44390 (_IO_fopen64, fopen64): Define as aliases.
44391 * libio/iofopen64.c: Include <fcntl.h>.
44392 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44393 Conditionalize body on this.
44394 * sysdeps/wordsize-64/iofopen.c: File removed.
44395 * sysdeps/wordsize-64/iofopen64.c: File removed.
44397 2012-08-01 Marek Polacek <polacek@redhat.com>
44399 * libc/Makeconfig: Use elf in place of binfmt-subdir.
44400 Use dlfcn directly instead of a variable.
44401 (binfmt-subdir): Do not define.
44404 2012-08-01 Joseph Myers <joseph@codesourcery.com>
44406 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44407 Remove all definitions.
44408 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44409 <kernel-features.h>.
44410 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44411 (miss_F_GETOWN_EX): Remove all definitions.
44412 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44414 [!__ASSUME_FCNTL64]: Remove conditional code.
44415 [__ASSUME_FCNTL64]: Make code unconditional.
44416 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44417 <kernel-features.h>.
44418 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44419 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44420 (lockf64) [__NR_fcntl64]: Make code unconditional.
44421 (lockf64) [__ASSUME_FCNTL64]: Likewise.
44423 * sysdeps/unix/sysv/linux/kernel-features.h
44424 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44425 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44426 Make code unconditional.
44427 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44428 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44430 [__NR_vfork]: Make code unconditional.
44431 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44432 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44434 [__NR_vfork]: Make code unconditional.
44435 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44436 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44438 2012-08-01 Roland McGrath <roland@hack.frob.com>
44440 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44441 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44443 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44444 Define mkstemp64 as an alias.
44445 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44446 Define mkstemps64 as an alias.
44447 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44448 Define mkostemp64 as an alias.
44449 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44450 Define mkostemps64 as an alias.
44451 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44452 Conditionalize body on this.
44453 * misc/mkostemp64.c: Likewise.
44454 * misc/mkostemps64.c: Likewise.
44455 * misc/mkstemps64.c: Likewise.
44456 * sysdeps/wordsize-64/mkstemp64.c: File removed.
44457 * sysdeps/wordsize-64/mkostemp64.c: File removed.
44458 * sysdeps/wordsize-64/mkostemp.c: File removed.
44459 * sysdeps/wordsize-64/mkstemp.c: File removed.
44460 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44461 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44462 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44463 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44466 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44467 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44468 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44469 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44471 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44472 compat_symbol macros from <shlib-compat.h> rather than the underlying
44473 default_symbol_version and symbol_version macros, so that DEFAULT
44474 lines in shlib-versions are respected.
44475 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44477 2012-08-01 Florian Weimer <fweimer@redhat.com>
44479 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44480 Declare with warn_unused_result.
44481 (setgid, setregid, setegid, setresgid): Likewise.
44482 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44484 * WUR-REPORT: Remove set*id functions.
44486 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
44488 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44490 2012-07-31 Roland McGrath <roland@hack.frob.com>
44493 * include/sys/socket.h (__libc_accept, __libc_accept4):
44494 Add attribute_hidden.
44495 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44497 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44499 * inet/getnetgrent_r.c (setup): Likewise.
44501 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44503 2012-07-31 David S. Miller <davem@davemloft.net>
44505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44507 2012-07-31 Joseph Myers <joseph@codesourcery.com>
44510 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44511 value between 1.0 and 2.0 and smaller part has absolute value less
44513 * math/s_clog10.c (__clog10): Likewise.
44514 * math/s_clog10f.c (__clog10f): Likewise.
44515 * math/s_clog10l.c (__clog10l): Likewise.
44516 * math/s_clogf.c (__clogf): Likewise.
44517 * math/s_clogl.c (__clogl): Likewise.
44518 * math/libm-test.inc (clog_test): Add more tests.
44519 (clog10_test): Likewise.
44520 * sysdeps/i386/fpu/libm-test-ulps: Update.
44521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44523 2012-07-31 Florian Weimer <fweimer@redhat.com>
44525 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44526 Exit with zero in case no suitable GID is found, and write a
44527 message to standard error.
44529 2012-07-30 Roland McGrath <roland@hack.frob.com>
44531 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44533 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44534 (MAXPATHLEN): Removed.
44535 (NOGROUP, NODEV): New macros.
44536 (setbit, clrbit, isset, isclr): New macros.
44537 (howmany, roundup, powerof2): New macros.
44538 (DEV_BSIZE): New macro.
44540 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44541 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44543 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44544 definition on [!__NO_LONG_DOUBLE_MATH].
44546 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44547 PTR_MANGLE and PTR_DEMANGLE.
44549 * socket/accept4.c (accept4): Rename to __libc_accept4.
44550 Define accept4 as a weak alias.
44552 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44553 on [_DIRENT_HAVE_D_TYPE].
44554 * io/ftw.c (ftw_dir): Likewise.
44556 * io/xmknod.c (__xmknod): Don't check PATH for being null.
44558 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44560 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44561 Use the BSD numbers rather than the arbitrary ones we had.
44562 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44563 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44564 (SIGXCPU, SIGXFSZ): New macros.
44567 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44568 initializer on [_LIBC_REENTRANT].
44570 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44571 definitions inside [_POSIX_MAPPED_FILES].
44573 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44575 * dirent/opendir.c: Include <fcntl.h>.
44577 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44578 (__libc_getspecific): Likewise.
44579 (__libc_key_create): Likewise.
44581 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44582 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44583 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44584 (tmpfile64): Define as alias.
44585 * sysdeps/wordsize-64/tmpfile.c: File removed.
44586 * sysdeps/wordsize-64/tmpfile64.c: File removed.
44587 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44588 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44590 * stdio-common/vfscanf.c: Include <stdbool.h>.
44591 * nss/makedb.c: Likewise.
44592 * stdio-common/_i18n_number.h: Likewise.
44593 * argp/argp-help.c: Likewise.
44594 * posix/wordexp.c: Likewise.
44595 * sysdeps/posix/spawni.c: Likewise.
44596 * nss/nss_files/files-initgroups.c: Likewise.
44597 * stdio-common/reg-modifier.c: Include <stdlib.h>.
44598 * nss/nss_files/files-initgroups.c: Likewise.
44599 * nss/nss_db/db-netgrp.c: Likewise.
44600 * nss/nss_db/db-initgroups.c: Likewise.
44601 * io/fchmodat.c: Include <sys/stat.h>.
44603 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44604 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44606 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44609 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44610 Add multiple inclusion protection.
44612 2012-07-27 David S. Miller <davem@davemloft.net>
44614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44616 2012-07-27 Gary Benson <gbenson@redhat.com>
44619 * elf/rtld.c: Include <stap-probe.h>.
44620 (dl_main): Added static probes "init_start" and "init_complete".
44621 * elf/dl-load.c: Include <stap-probe.h>.
44622 (lose): Take new parameter "nsid".
44623 Added static probe "map_failed".
44624 (_dl_map_object_from_fd): Pass namespace id to lose.
44625 Added static probe "map_start".
44626 (open_verify): Pass namespace id to lose.
44627 * elf/dl-open.c: Include <stap-probe.h>.
44628 (dl_open_worker) Added static probes "map_complete", "reloc_start"
44629 and "reloc_complete".
44630 * elf/dl-close.c: Include <stap-probe.h>.
44631 (_dl_close_worker): Added static probes "unmap_start" and
44633 * elf/rtld-debugger-interface.txt: New file documenting the above.
44635 2012-07-26 Roland McGrath <roland@hack.frob.com>
44637 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44638 rather than a string variable.
44639 * sunrpc/rpc_main.c (h_output): Likewise.
44640 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44642 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
44644 * inet/check_native.c: New file.
44646 2012-07-26 Joseph Myers <joseph@codesourcery.com>
44649 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44650 if larger part has absolute value 1.0.
44651 * math/s_clog10.c (__clog10): Likewise.
44652 * math/s_clog10f.c (__clog10f): Likewise.
44653 * math/s_clog10l.c (__clog10l): Likewise.
44654 * math/s_clogf.c (__clogf): Likewise.
44655 * math/s_clogl.c (__clogl): Likewise.
44656 * math/libm-test.inc (clog_test): Add more tests.
44657 (clog10_test): Likewise.
44658 * sysdeps/i386/fpu/libm-test-ulps: Update.
44659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44661 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44662 (pltexit): Likewise.
44663 (La_regs): Likewise.
44664 (La_retval): Likewise.
44665 (int_retval): Likewise.
44666 Update #error for removed macros to refer only to definitions in
44668 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44670 (pltexit): Likewise.
44671 (La_regs): Likewise.
44672 (La_retval): Likewise.
44673 (int_retval): Likewise.
44674 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44676 (pltexit): Likewise.
44677 (La_regs): Likewise.
44678 (La_retval): Likewise.
44679 (int_retval): Likewise.
44680 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44682 (pltexit): Likewise.
44683 (La_regs): Likewise.
44684 (La_retval): Likewise.
44685 (int_retval): Likewise.
44686 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44688 (pltexit): Likewise.
44689 (La_regs): Likewise.
44690 (La_retval): Likewise.
44691 (int_retval): Likewise.
44692 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44694 (pltexit): Likewise.
44695 (La_regs): Likewise.
44696 (La_retval): Likewise.
44697 (int_retval): Likewise.
44698 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44700 (pltexit): Likewise.
44701 (La_regs): Likewise.
44702 (La_retval): Likewise.
44703 (int_retval): Likewise.
44704 * sysdeps/generic/tst-audit.h: Update comment to refer only to
44705 macro definitions in tst-audit.h.
44706 * sysdeps/i386/tst-audit.h: New file.
44707 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44708 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44709 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44710 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44711 * sysdeps/sh/tst-audit.h: Likewise.
44712 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44713 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44714 * sysdeps/x86_64/tst-audit.h: Likewise.
44716 2012-07-26 Andreas Jaeger <aj@suse.de>
44718 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44721 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44722 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44723 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44725 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44726 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44727 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44729 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44732 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44734 (si_call_addr, si_syscall, si_arch): Define new macro.
44735 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44737 (si_call_addr, si_syscall, si_arch): Define new marcro.
44738 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44740 (si_call_addr, si_syscall, si_arch): Define new macro.
44741 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44743 (si_call_addr, si_syscall, si_arch): Define new macro.
44745 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44748 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44749 Change to 2.4.21 where previously 2.4.1.
44750 * sysdeps/unix/sysv/linux/configure: Regenerated.
44751 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44752 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44753 Linux kernel version.
44754 (__ASSUME_STD_AUXV): Remove.
44755 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44757 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44758 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44759 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44760 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44761 (__ASSUME_NETLINK_SUPPORT): Likewise.
44762 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44763 (__no_netlink_support): Remove conditional definition.
44764 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44766 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44767 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44768 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44769 (if_nameindex_ioctl): Remove.
44770 (if_nameindex_netlink): Do not handle __no_netlink_support.
44771 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44773 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44774 Remove conditional code.
44775 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44777 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44779 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44780 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44781 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44783 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44784 [!__ASSUME_STD_AUXV]: Remove conditional code.
44785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44786 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44787 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44789 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44790 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44792 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44794 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44795 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44797 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44799 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44802 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44805 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44806 code unconditional.
44807 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44809 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44811 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44814 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44816 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44819 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44820 code unconditional.
44821 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44823 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44825 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44828 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44829 code unconditional.
44830 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44832 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44834 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44837 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
44839 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44840 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44841 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44842 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44843 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44844 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44845 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44846 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44847 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44848 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44849 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44850 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44851 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44852 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44853 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44854 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44855 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44856 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44857 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44858 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44859 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44860 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44861 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44863 2012-07-25 Florian Weimer <fweimer@redhat.com>
44865 * Versions.def: Add GLIBC_2.17.
44866 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44867 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44868 Introduce __libc_secure_getenv.
44869 * stdlib/Versions (2.17): Add secure_getenv
44870 (GLIBC_PRIVATE): Add __libc_secure_getenv.
44871 * stdlib/secure-getenv.c: Rename __secure_getenv to
44872 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
44873 symbol __secure_getenv for GLIBC_2.0.
44874 * stdlib/tst-secure-getenv.c: New.
44875 * stdlib/Makefile (tests): Add testcase.
44876 * manual/startup.texi (Environment Access): Document
44878 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44879 __libc_secure_getenv.
44880 * inet/ruserpass.c (ruserpass): Likewise.
44881 * malloc/mtrace.c (mtrace): Likewise.
44882 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44883 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44884 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44885 * sysdeps/posix/tempname.c: Likewise. Evaluate
44886 HAVE_SECURE_GETENV.
44887 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44888 __secure_getenv to __libc_secure_getenv.
44889 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44896 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44902 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44904 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44905 (struct La_i86_retval): Likewise.
44906 (struct La_x86_64_regs): Likewise.
44907 (struct La_x86_64_retval): Likewise.
44908 (struct La_x32_regs): Likewise.
44909 (struct La_x32_retval): Likewise.
44910 (struct La_ppc32_regs): Likewise.
44911 (struct La_ppc32_retval): Likewise.
44912 (struct La_ppc64_regs): Likewise.
44913 (struct La_ppc64_retval): Likewise.
44914 (struct La_sh_regs): Likewise.
44915 (struct La_sh_retval): Likewise.
44916 (struct La_s390_32_regs): Likewise.
44917 (struct La_s390_32_retval): Likewise.
44918 (struct La_s390_64_regs): Likewise.
44919 (struct La_s390_64_retval): Likewise.
44920 (struct La_sparc32_regs): Likewise.
44921 (struct La_sparc32_retval): Likewise.
44922 (struct La_sparc64_regs): Likewise.
44923 (struct La_sparc64_retval): Likewise.
44924 (struct audit_ifaces): Remove architecture-specific pltenter and
44926 * sysdeps/i386/ldsodefs.h: New file.
44927 * sysdeps/powerpc/ldsodefs.h: Likewise.
44928 * sysdeps/s390/ldsodefs.h: Likewise.
44929 * sysdeps/sh/ldsodefs.h: Likewise.
44930 * sysdeps/sparc/ldsodefs.h: Likewise.
44931 * sysdeps/x86_64/ldsodefs.h: Likewise.
44933 2012-07-25 Marek Polacek <polacek@redhat.com>
44936 * math/libm-test.inc (yn_test): Add another test.
44937 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44938 to ERANGE when the result is +-Inf.
44939 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44940 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44941 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44942 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44944 2012-07-24 Joseph Myers <joseph@codesourcery.com>
44946 * conform/data/time.h-data (NULL): Use macro-constant. Require
44948 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
44950 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
44952 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
44954 * configure.in <sysdeps resolving>: Correct printing
44956 * configure: Regenerate.
44958 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
44960 * math/w_ilogb.c: Include <limits.h>.
44961 * math/w_ilogbl.c: Likewise.
44963 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44965 * manual/lang.texi (__va_copy): Document primarily as ISO C99
44966 va_copy. Document allowing for unavailable va_copy only as
44967 pre-C99 compatibility.
44968 * manual/string.texi (Copying and Concatenation): Use va_copy
44969 instead of __va_copy in concat example.
44971 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
44973 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44974 (__sendto): Use create_address_port. Initialize APORT and deallocate
44977 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44978 with O_NOLINK passed to __file_name_lookup.
44980 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44981 with O_NOLINK passed to __file_name_lookup.
44983 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44984 negative N or less than NGIDS.
44986 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44987 type to string_t. Set ERANGE as errno and return it if NAME is not big
44988 enough. Use memcpy instead of strncpy.
44990 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44992 * elf/Makefile (check-data): Remove.
44993 (localplt.data): New vpath directive.
44994 ($(objpfx)check-localplt.out): Use localplt.data from vpath
44995 instead of $(check-data).
44996 * scripts/data/localplt-generic.data: Move to ...
44997 * sysdeps/generic/localplt.data: ... here.
44998 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44999 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45000 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45003 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45006 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45009 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45012 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45015 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45019 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45021 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45022 PPC32 and PPC64 files.
45023 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45024 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45026 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45028 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45029 __makecontext_ret to ...
45030 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45031 ... here and call exit if uc_link is NULL. New file.
45032 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45033 __makecontext_ret.S.
45034 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45035 __makecontext_ret to ...
45036 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45037 ... here and call exit if uc_link is NULL. New file.
45038 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45039 __makecontext_ret.S.
45041 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45043 * elf/elf.h (R_390_IRELATIVE): New definition.
45044 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45045 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
45046 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45047 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45048 (elf_machine_lazy_rel): Likewise.
45049 * sysdeps/s390/dl-irel.h: New file.
45050 * sysdeps/s390/s390-64/memcpy.S: New asm code.
45051 * sysdeps/s390/s390-64/memset.S: New asm code.
45052 * sysdeps/s390/s390-64/memcmp.S: New asm code.
45053 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45054 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45055 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45056 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45057 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45058 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45059 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45060 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45061 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45062 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45063 * sysdeps/s390/s390-32/memcpy.S: New asm code.
45064 * sysdeps/s390/s390-32/memset.S: New asm code.
45065 * sysdeps/s390/s390-32/memcmp.S: New asm code.
45067 2012-07-17 Marek Polacek <polacek@redhat.com>
45070 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45071 * sysdeps/s390/s390-64/configure.in: Likewise.
45072 * sysdeps/sparc/configure.in: Likewise.
45073 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45074 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45075 * sysdeps/i386/configure.in: Likewise.
45076 * sysdeps/x86_64/configure.in: Likewise.
45077 * sysdeps/sh/configure.in: Likewise.
45078 * sysdeps/s390/s390-32/configure: Regenerated.
45079 * sysdeps/s390/s390-64/configure: Likewise.
45080 * sysdeps/x86_64/configure: Likewise.
45081 * sysdeps/sh/configure: Likewise.
45082 * sysdeps/powerpc/powerpc64/configure: Likewise.
45083 * sysdeps/powerpc/powerpc32/configure: Likewise.
45084 * sysdeps/sparc/configure: Likwise.
45085 * sysdeps/i386/configure: Likewise.
45087 * elf/dl-open.c: Comment fixes.
45089 2012-07-17 Joseph Myers <joseph@codesourcery.com>
45091 * Makefile [CXX] (check-data): Remove.
45092 [CXX] (c++-types.data): New vpath directive.
45093 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45094 vpath. Do not allow for C++ type data being missing.
45095 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45096 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45097 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45098 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45099 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45100 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45101 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45104 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45107 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45110 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45113 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45116 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45119 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45122 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45125 * elf/tls-macros.h (TLS_LE): Move architecture-specific
45126 definitions to architecture-specific files.
45127 (TLS_IE): Likewise.
45128 (TLS_LD): Likewise.
45129 (TLS_GD): Likewise.
45130 * sysdeps/i386/tls-macros.h: New file.
45131 * sysdeps/powerpc/tls-macros.h: Likewise.
45132 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45133 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45134 * sysdeps/sh/tls-macros.h: Likewise.
45135 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45136 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45137 * sysdeps/x86_64/tls-macros.h: Likewise.
45139 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
45141 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45142 zero value for regular exit case.
45144 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45145 (__start_context): Preserve zero value for regular exit case.
45147 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
45148 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45150 * manual/setjmp.texi (setcontext): Clarify normal process
45151 termination when uc_link is the null pointer.
45152 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45155 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
45157 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45158 preprocessor. Test for each exception mask separately.
45160 2012-07-16 Andreas Jaeger <aj@suse.de>
45162 * po/ru.po: Update from translation team.
45164 2012-07-15 Joseph Myers <joseph@codesourcery.com>
45166 * conform/data/string.h-data (NULL): Use macro-constant. Require
45168 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45169 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45170 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45171 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45172 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45174 2012-07-13 Andreas Jaeger <aj@suse.de>
45176 * po/fr.po: Update from translation team.
45178 2012-07-12 Marek Polacek <polacek@redhat.com>
45181 * math/libm-test.inc (yn_test): Add test for BZ #14173.
45182 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45185 2012-07-12 Joseph Myers <joseph@codesourcery.com>
45188 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45189 Change to 2.4.1 where previously 2.4.0.
45190 * sysdeps/unix/sysv/linux/configure: Regenerated.
45191 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45192 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45194 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45195 (__ASSUME_AT_CLKTCK): Remove.
45196 (__ASSUME_AT_PAGESIZE): Likewise.
45197 (__ASSUME_AT_XID): Likewise.
45198 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45199 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45200 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45202 (HAVE_AUX_PAGESIZE): Likewise.
45203 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45204 [__ASSUME_AT_CLKTCK]: Make code unconditional.
45205 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45207 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
45210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45211 the temporary buffer used to invoke __gethostbyname2_r,
45212 __gethostbyaddr_r and gethostbyname4_r to make room for struct
45213 host_data / struct gaih_addrtuple.
45214 * resolv/nss_dns/dns-host.c (global scope): Move definition of
45215 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45216 header file nss/nsswitch.h.
45217 * nss/nsswitch.h (global scope): Add definition of implementation
45218 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45219 resolv/nss_dns/dns-host.c).
45221 2012-07-11 Andreas Jaeger <aj@suse.de>
45223 * po/fr.po: Update from translation team.
45225 * po/sv.po: Update from translation team
45226 * po/fr.po: Another update from translation team.
45228 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45230 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45231 for subnormals or multiply small sinh result by itself.
45232 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45235 2012-07-11 David S. Miller <davem@davemloft.net>
45237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45239 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
45242 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45243 (INTERNAL_MARK): Shift it here.
45245 2012-07-10 Marek Polacek <polacek@redhat.com>
45248 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
45249 libc_cv_asm_global_directive with .globl.
45250 * configure: Regenerated.
45251 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45253 * sysdeps/i386/configure: Regenerated.
45254 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45256 * sysdeps/x86_64/configure: Regenerated.
45257 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45258 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45259 * elf/tst-unique2mod2.c: Likewise.
45260 * elf/tst-unique2mod1.c: Likewise.
45261 * elf/tst-unique1mod2.c: Likewise.
45262 * elf/tst-unique1mod1.c: Likewise.
45263 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45264 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45265 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45266 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45267 * sysdeps/mach/sysdep.h: Likewise.
45268 * sysdeps/i386/sysdep.h: Likewise.
45269 * sysdeps/i386/i386-mcount.S: Likewise.
45270 * sysdeps/x86_64/_mcount.S: Likewise.
45271 * sysdeps/x86_64/sysdep.h: Likewise.
45272 * sysdeps/sh/_mcount.S: Likewise.
45273 * sysdeps/sh/sysdep.h: Likewise.
45274 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45275 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45276 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45277 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45278 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45279 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45280 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45281 * locale/localeinfo.h: Likewise.
45282 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45283 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45285 2012-07-09 Roland McGrath <roland@hack.frob.com>
45288 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45290 * manual/message.texi (The Uniforum approach): Likewise.
45291 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45292 (glibc iconv Implementation): Likewise.
45294 2012-07-09 Joseph Myers <joseph@codesourcery.com>
45297 * math/s_clog.c (__clog): Avoid scaling a value down where that
45298 could result in underflow.
45299 * math/s_clog10.c (__clog10): Likewise.
45300 * math/s_clog10f.c (__clog10f): Likewise.
45301 * math/s_clog10l.c (__clog10l): Likewise.
45302 * math/s_clogf.c (__clogf): Likewise.
45303 * math/s_clogl.c (__clogl): Likewise.
45304 * math/libm-test.inc (clog_test): Add more tests.
45305 (clog10_test): Likewise.
45306 * sysdeps/i386/fpu/libm-test-ulps: Update.
45307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45309 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
45312 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45313 by 7 not 8 to examine high bit of fractional part.
45316 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45317 for call to __mcount_internal.
45318 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45319 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45320 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45322 2012-07-06 Joseph Myers <joseph@codesourcery.com>
45325 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45326 approximation for values within 0x1p-13f of an odd multiple of
45328 * math/libm-test.inc (tan_test): Do not allow spurious underflow
45329 exception. Add more tests.
45330 * sysdeps/i386/fpu/libm-test-ulps: Update.
45333 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45334 inputs and return -1 for them. Do not check for +Inf in case not
45335 reachable for +Inf.
45336 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45337 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45338 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45339 and return -1 for them. Do not check for +Inf in case not
45340 reachable for +Inf.
45341 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45343 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45344 and return -1 for them. Do not check for +Inf in case not
45345 reachable for +Inf.
45346 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
45347 spurious underflow.
45348 * sysdeps/i386/fpu/libm-test-ulps: Update.
45349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45351 2012-07-06 Mike Frysinger <vapier@gentoo.org>
45353 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45355 2012-07-05 Joseph Myers <joseph@codesourcery.com>
45359 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45360 could result in spurious underflow. Scale down values above
45361 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45362 * math/s_csqrtf.c (__csqrtf): Likewise.
45363 * math/s_csqrtl.c (__csqrtl): Likewise.
45364 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
45365 spurious underflow.
45366 * sysdeps/i386/fpu/libm-test-ulps: Update.
45367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45369 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
45371 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45373 * catgets/xopen-msg.awk: New file.
45374 * catgets/xopen-msg.sed: Removed.
45376 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45378 * intl/po2test.awk: New file.
45379 * intl/po2test.sed: Removed.
45381 2012-07-04 Joseph Myers <joseph@codesourcery.com>
45384 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45385 or multiply small sinh result by itself.
45386 * math/s_ctanf.c (__ctanf): Likewise.
45387 * math/s_ctanh.c (__ctanh): Likewise.
45388 * math/s_ctanhf.c (__ctanhf): Likewise.
45389 * math/s_ctanhl.c (__ctanhl): Likewise.
45390 * math/s_ctanl.c (__ctanl): Likewise.
45391 * math/libm-test.inc (ctan_test_tonearest): New function.
45392 (ctan_test_towardzero): Likewise.
45393 (ctan_test_downward): Likewise.
45394 (ctan_test_upward): Likewise.
45395 (ctanh_test_tonearest): Likewise.
45396 (ctanh_test_towardzero): Likewise.
45397 (ctanh_test_downward): Likewise.
45398 (ctanh_test_upward): Likewise.
45399 (main): Call these new functions.
45400 * sysdeps/i386/fpu/libm-test-ulps: Update.
45401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45403 2012-07-03 Mike Frysinger <vapier@gentoo.org>
45405 * .gitignore: Delete /ports entry.
45407 2012-07-03 Andreas Jaeger <aj@suse.de>
45409 * po/bg.po: Update from translation team.
45410 * po/cs.po: Likewise.
45411 * po/de.po: Likewise.
45412 * po/hr.po: Likewise.
45413 * po/nl.pl: Likewise.
45414 * po/pl.po: Likewise.
45415 * po/vi.po: Likewise.
45417 2012-07-03 Joseph Myers <joseph@codesourcery.com>
45419 * Makeconfig [!+link] (+link-before-libc): New variable.
45420 [!+link] (+link-after-libc): Likewise.
45421 [!+link] (+link-tests): Likewise.
45422 [!+link] (+link): Define in terms of $(+link-before-libc) and
45423 $(+link-after-libc).
45424 [!+link-static] (+link-static-before-libc): New variable.
45425 [!+link-static] (+link-static-after-libc): Likewise.
45426 [!+link-static] (+link-static-tests): Likewise.
45427 [!+link-static] (+link-static): Define in terms of
45428 $(+link-static-before-libc) and $(+link-static-after-libc).
45429 [build-shared] (link-libc-before-gnulib): New variable.
45430 [build-shared] (link-libc-tests): Likewise.
45431 [build-shared] (link-libc): Define in terms of
45432 $(link-libc-before-gnulib).
45433 [!build-shared] (link-libc-tests): New variable.
45434 (link-libc-static-tests): New variable.
45435 [!gnulib] (gnulib-arch): New variable.
45436 [!gnulib] (gnulib-tests): Likewise.
45437 [!gnulib] (static-gnulib-arch): Likewise.
45438 [!gnulib] (static-gnulib-tests): Likewise.
45439 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
45440 Define with "=" instead of ":=".
45441 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
45442 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
45443 * Rules (binaries-all-notests): New variable.
45444 (binaries-all-tests): Likewise.
45445 (binaries-static-notests): Likewise.
45446 (binaries-static-tests): Likewise.
45447 (binaries-all): Define using $(binaries-all-notests) and
45448 $(binaries-all-tests).
45449 (binaries-static): Define using $(binaries-static-notests) and
45450 $(binaries-static-tests).
45451 (binaries-shared-tests): New variable.
45452 (binaries-shared-notests): Likewise.
45453 (binaries-shared): Remove variable.
45454 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45455 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45456 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45457 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45458 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45459 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45460 * elf/Makefile (sln-modules): New variable.
45461 (extra-objs): Add $(sln-modules:=.o).
45462 (ldconfig-modules): Add static-stubs.
45463 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45464 * elf/static-stubs.c: New file.
45467 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45468 by 7 not 8 to examine high bit of fractional part. Use volatile
45469 variables when splitting into final array of floats if
45470 __FLT_EVAL_METHOD__ != 0.
45471 * math/libm-test.inc (cos_test): Add another test.
45472 (sin_test): Likewise.
45473 * sysdeps/i386/fpu/libm-test-ulps: Update.
45476 * math/libm-test.inc (cosh_test): Add more tests.
45478 * version.h (RELEASE): Set to "development".
45479 (VERSION): Set to "2.16.90".
45481 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
45483 * NEWS: Update copyright. Remove last-updated date.
45484 Mention math library bug fixes and timezone data changes.
45485 * README: Mention GNU/Hurd, x32, and HPPA support status.
45487 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
45489 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45491 2012-06-27 Andreas Jaeger <aj@suse.de>
45493 * manual/contrib.texi (Contributors): Add Samuel Thibault.
45495 2012-06-25 Andreas Jaeger <aj@suse.de>
45497 * sysdeps/s390/fpu/libm-test-ulps: Update.
45499 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
45500 Thomas Schwinge <thomas@codesourcery.com>
45502 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45503 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45504 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45507 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
45509 * sysdeps/mach/start.c: Remove file.
45510 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45511 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45512 * sysdeps/sh/init-first.c: Likewise.
45514 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45515 registers for frame unwinding purposes, add CFI directives.
45516 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45517 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45518 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45521 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45522 __fortify_fail returning.
45523 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45525 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45526 sysdeps/sh/____longjmp_chk.S.
45527 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45528 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45529 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45530 (gen-as-const-headers): Append sigaltstack-offsets.sym.
45532 * sysdeps/sh/abort-instr.h: New file.
45533 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45534 process in case exit returns.
45536 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45537 initialize the GOT register before use.
45539 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45540 calculation of ARGC > 4.
45542 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45543 meaningful names to some local labels.
45545 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45546 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45548 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45549 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45550 (__arch_compare_and_exchange_val_16_acq): Likewise.
45551 (__arch_compare_and_exchange_val_32_acq): Likewise.
45552 (atomic_exchange_and_add): Fix gUSA sequence.
45553 (atomic_add): Likewise.
45554 (atomic_add_negative): Likewise.
45555 (atomic_add_zero): Likewise.
45556 (atomic_bit_test_set): Likewise.
45558 2012-06-22 Andreas Schwab <schwab@redhat.com>
45561 * include/link.h (struct link_map): Add l_free_initfini.
45562 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45564 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45565 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45566 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45569 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
45571 * configure.in: Use AC_LANG_SOURCE.
45572 * configure: Regenerate.
45574 2012-06-22 Roland McGrath <roland@hack.frob.com>
45576 * configure.in (libc_cv_localstatedir): New substituted variable.
45577 * configure: Regenerated.
45578 * config.make.in (localstatedir): New variable, substituted from
45579 libc_cv_localstatedir.
45580 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45581 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45582 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45583 * sysdeps/gnu/configure: Regenerated.
45585 2012-06-21 Jeff Law <law@redhat.com>
45588 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45589 free. Simplify list management for _LIBC case.
45591 2012-06-21 Joseph Myers <joseph@codesourcery.com>
45594 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45595 Clear sign bit of 64-bit integer value before comparing against
45598 * sysdeps/mach/configure: Regenerated.
45600 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
45603 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45605 2012-06-21 Jeff Law <law@redhat.com>
45608 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
45609 uint16_t for elements in the "seen" array to avoid char overflows.
45610 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45611 * elf/dl-open.c (dl_open_worker): Likewise.
45613 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
45615 * scripts/list-sources.sh: Scan PORTS for translations.
45616 * po/libc.pot: Regenerated.
45618 2012-06-21 Andreas Jaeger <aj@suse.de>
45621 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45623 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45624 * bits/byteswap-16.h (__bswap_16): Likewise.
45625 * bits/byteswap.h (__bswap_constant_16): Likewise.
45627 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
45630 * sysdeps/i386/fpu_control.h: Removed.
45631 * sysdeps/x86_64/fpu_control.h: Moved to ...
45632 * sysdeps/x86/fpu_control.h: Here.
45634 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45635 (_FPU_SETCW): Likewise.
45637 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
45640 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45641 * sysdeps/x86/fpu/bits/mathinline.h: This.
45642 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45646 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45647 functions if __x86_64__ is defined.
45649 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
45651 * string/endian.h: Add !__ASSEMBLER__ condition for including
45652 conversion interfaces.
45654 2012-06-15 Joseph Myers <joseph@codesourcery.com>
45657 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45658 of ABS(x) in calculating zero to negative powers other than odd
45660 * math/libm-test.inc (pow_test): Add more tests.
45662 2012-06-15 Andreas Jaeger <aj@suse.de>
45664 * manual/contrib.texi (Contributors): Update entry of Liubov
45665 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45668 2012-06-15 Cyril Hrubis <metan@ucw.cz>
45670 * string/string.h: Add __wur to GNU version of strerror_r.
45672 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
45675 * string/Makefile (tests): Add tst-strtok_r.
45676 * string/tst-strtok_r.c: New file.
45677 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45678 RAX_LP/RDX_LP on SAVE_PTR.
45680 2012-06-14 Roland McGrath <roland@hack.frob.com>
45682 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45684 2012-06-14 Joseph Myers <joseph@codesourcery.com>
45686 * libm_test.inc (csqrt_test): Allow more spurious underflow
45688 (j0_test): Likewise.
45689 (j1_test): Likewise.
45690 (y0_test): Likewise.
45691 (y1_test): Likewise.
45693 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
45695 * po/Makefile (libc.pot): Use UTF-8 charset.
45697 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
45700 Suppress sign-conversion warning from FD_SET.
45701 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45702 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45703 not unsigned long int.
45704 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45706 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
45710 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45711 __extern_always_inline instead of __extern_inline.
45712 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45713 (__signbit): Likewise.
45714 (__signbitl): Support C++ namespace.
45715 (lrintf): New inline function.
45717 (llrintf): Likewise.
45718 (llrint): Likewise.
45728 (floorf): Likewise.
45729 (nearbyint): Likewise.
45730 (nearbyintf): Likewise.
45732 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
45734 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45735 non-default versions.
45737 2012-06-11 Roland McGrath <roland@hack.frob.com>
45740 * manual/argp.texi (Argp): Reword argp_parse description slightly.
45742 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
45744 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45745 (FE_UPWARD, FE_DOWNWARD): Don't define.
45746 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45747 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45749 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45751 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45752 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45754 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45756 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45757 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45758 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45759 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45761 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
45764 * sysdeps/i386/fpu/bits/fenv.h: Removed.
45765 * sysdeps/i386/fpu/Implies: New file.
45766 * sysdeps/x86_64/fpu/Implies: Likewise.
45767 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45768 * sysdeps/x86/fpu/bits/fenv.h: This.
45770 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45773 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
45776 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45777 character 0xffff that matches the last element of the
45780 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45782 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45785 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45787 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45788 values higher than 25.6283.
45790 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45792 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45793 subnormal exponent extraction and add some __builtin_expect.
45794 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45795 Fix for subnormal mantissa calculation.
45797 2012-06-04 Mike Frysinger <vapier@gentoo.org>
45799 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45800 cpu2 is -1 and errno is not ENOSYS.
45802 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
45805 * sysdeps/i386/i486/bits/string.h: Renamed to ...
45806 * sysdeps/x86/bits/string.h: This.
45807 * sysdeps/x86_64/bits/string.h: Removed.
45809 * sysdeps/i386/i486/bits/string.h: Define inline functions only
45810 if not compiling for x86-64, but compiling for >= i486.
45812 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45813 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45815 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45816 New macro from Linux kernel 3.4.0.
45817 (FP_XSTATE_MAGIC2): Likewise.
45818 (FP_XSTATE_MAGIC2_SIZE): Likewise.
45819 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45820 (struct _fpx_sw_bytes): New struct.
45821 (struct _xsave_hdr): Likewise.
45822 (struct _ymmh_state): Likewise.
45823 (struct _xstate): Likewise.
45825 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45826 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45827 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45828 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45829 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45830 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45832 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45833 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45834 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45835 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45836 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45837 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45839 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45842 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45843 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45844 (sysdep_headers): Include sys/platform/ppc.h.
45845 * sysdeps/powerpc/test-gettimebase.c: Test for
45846 __ppc_get_timebase() to catch future ISA opcode/insn changes.
45847 * manual/Makefile (appendices): Include platform.texi.
45848 * manual/contrib.texi (Contributors): Update @node pointers.
45849 * manual/maint.texi (Maintenance): Likewise.
45850 (Platform): New node.
45851 * manual/platform.texi: New file. Document the new features.
45853 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45854 Jakub Jelinek <jakub@redhat.com>
45857 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45858 where __builtin_expect is unavailable.
45860 2012-06-03 David S. Miller <davem@davemloft.net>
45862 * stdlib/longlong.h: Updated from GCC.
45864 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
45867 * sysdeps/powerpc/powerpc32/mcount.c: New file.
45868 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45871 (GLIBC_2.16): Likewise.
45873 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45875 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45877 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45880 (default-abi): New variable.
45881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45882 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45884 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45886 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45888 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45891 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45892 definition. Document in comment.
45894 2012-06-01 David S. Miller <davem@davemloft.net>
45896 * stdlib/longlong.h: Updated from GCC.
45898 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45901 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45902 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45903 sys/debugreg.h sys/io.h here.
45904 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45905 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45907 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45908 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45909 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45910 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45911 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45912 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45914 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45915 Define only if __x86_64__ is defined.
45917 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45920 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45921 Use int64_t for variable i.
45922 * math/libm-test.inc (fmod_test): Add more tests.
45924 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45925 z computation is not scheduled after fetestexcept.
45926 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45927 Use math_force_eval instead of asm to ensure calculation scheduled
45928 before exception test.
45929 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45930 Ensure a1 + u.d computation is not scheduled after fetestexcept.
45932 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
45934 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45935 computation is not scheduled after fetestexcept.
45937 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45940 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45941 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45943 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45945 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45946 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45948 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45951 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45953 (__WCHAR_MIN): Support __WORDSIZE == 64.
45954 (__WCHAR_MAX): Likewise.
45956 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45957 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45960 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45961 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45964 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45965 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45967 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45968 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45970 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45971 Defined to 1 if __x86_64__ isn't defined.
45972 (_STAT_VER_LINUX_OLD): New.
45973 (st_atime): Remove duplicate.
45974 (st_mtime): Likewise.
45975 (st_ctime): Likewise.
45977 2012-05-31 David S. Miller <davem@davemloft.net>
45979 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45982 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
45984 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45988 * elf/dl-reloc.c: Include <_itoa.h>.
45989 (_dl_reloc_bad_type): Remove use of INTUSE.
45990 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45991 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45992 * stdio-common/psiginfo.c (psiginfo): Likewise.
45993 * stdio-common/psignal.c (psignal): Likewise.
45994 * string/strsignal.c (strsignal): Likewise.
45995 * include/signal.h (_sys_siglist): Declare hidden proto.
45996 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
45997 INTVARDEF with libc_hidden_data_def.
45998 * stdio-common/itoa-udigits.c: Likewise.
45999 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46000 (_itoa_lower_digits_internal): Remove declaration.
46001 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46002 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46003 (_sys_sigabbrev_internal): Remove aliases.
46004 (_sys_siglist): Define hidden alias.
46006 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
46008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46011 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46014 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46015 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46017 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46018 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46019 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46020 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46021 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46022 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46024 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46025 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46026 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46028 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46036 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46037 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46038 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46040 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46041 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46042 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46043 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46044 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46045 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46047 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46048 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46050 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46051 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46053 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46054 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46055 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46057 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46058 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46060 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46062 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46063 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46064 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46066 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46068 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46070 2012-05-31 Joseph Myers <joseph@codesourcery.com>
46072 * math/math.h (M_El): Use two more decimal places.
46073 (M_LOG2El): Likewise.
46074 (M_LOG10El): Likewise.
46075 (M_LN2l): Likewise.
46076 (M_LN10l): Likewise.
46078 (M_PI_2l): Likewise.
46079 (M_PI_4l): Likewise.
46080 (M_1_PIl): Likewise.
46081 (M_2_PIl): Likewise.
46082 (M_2_SQRTPIl): Likewise.
46083 (M_SQRT2l): Likewise.
46084 (M_SQRT1_2l): Likewise.
46086 2012-05-31 David S. Miller <davem@davemloft.net>
46088 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46089 values between float registers.
46090 * sysdeps/sparc/sparc64/memset.S: Likewise.
46091 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46093 2012-05-31 Mike Frysinger <vapier@gentoo.org>
46095 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46096 -D_FORTIFY_SOURCE=1.
46097 (CPPFLAGS-tst-longjmp_chk.c): Define.
46098 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46099 (CPPFLAGS-tst-longjmp_chk2.c): Define.
46100 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46101 CFLAGS-tst-wchar-h.c.
46103 2012-05-31 Marek Polacek <polacek@redhat.com>
46106 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46107 __endmntent_internal): Remove declaration.
46108 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46109 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46110 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46112 2012-05-30 David S. Miller <davem@davemloft.net>
46114 * sysdeps/sparc/sparc32/soft-fp/q_util.c
46115 (___Q_simulate_exceptions): Use real FP ops rather than writing
46117 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46120 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46123 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46124 * sysdeps/x86/bits/xtitypes.h: This.
46126 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46127 * sysdeps/x86/bits/wordsize.h: This.
46129 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46130 * sysdeps/x86/bits/huge_vall.h: This.
46132 * sysdeps/i386/bits/select.h: Removed.
46133 * sysdeps/x86_64/bits/select.h: Renamed to ...
46134 * sysdeps/x86/bits/select.h: This.
46136 * sysdeps/i386/bits/setjmp.h: Removed.
46137 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46138 * sysdeps/x86/bits/setjmp.h: This.
46140 * sysdeps/i386/bits/mathdef.h: Removed.
46141 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46142 * sysdeps/x86/bits/mathdef.h: This.
46144 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
46147 * include/sys/socket.h (__connect_internal)
46148 (__libc_sa_len_internal): Remove declaration.
46149 (__connect, __libc_sa_len): Declare hidden_proto.
46150 (SA_LEN): Remove use of INTUSE.
46151 * socket/connect.c: Add libc_hidden_def.
46152 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46153 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46154 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46156 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46157 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46158 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46159 of adding _internal alias.
46161 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46164 * sysdeps/i386/bits/link.h: Removed.
46165 * sysdeps/i386/bits/linkmap.h: Likewise.
46166 * sysdeps/x86_64/bits/link.h: Renamed to ...
46167 * sysdeps/x86/bits/link.h: This.
46168 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46169 * sysdeps/x86/bits/linkmap.h: This.
46171 * sysdeps/i386/bits/endian.h: Removed.
46172 * sysdeps/x86_64/bits/endian.h: Renamed to ...
46173 * sysdeps/x86/bits/endian.h: This.
46175 * sysdeps/i386/bits/byteswap.h: Removed.
46176 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46177 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46178 * sysdeps/x86/bits/byteswap.h: This.
46179 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46180 * sysdeps/x86/bits/byteswap-16.h: This.
46181 * sysdeps/i386/Implies: Add x86.
46182 * sysdeps/x86_64/Implies: Likewise.
46184 2012-05-30 David S. Miller <davem@davemloft.net>
46186 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46187 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46188 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46189 (FP_TRAPPING_EXCEPTIONS): Define.
46190 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46191 (FP_TRAPPING_EXCEPTIONS): Define.
46192 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46193 subnormals only when inexact has been signalled or underflow
46194 exceptions are enabled.
46195 (_FP_PACK_CANONICAL): Likewise.
46197 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46200 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46201 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46203 2012-05-30 Richard Henderson <rth@twiddle.net>
46205 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46206 with #ifndef NOT_IN_libc.
46208 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
46209 marked to avoid plt entry.
46211 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46214 * Makeconfig (default-abi): New macro.
46215 (abi-includes): Likewise.
46216 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
46217 $(abi-$(default-abi)-lib-soname) for soname if defined.
46218 ($(common-objpfx)gnu/lib-names.stmp): Generate from
46220 * Makefile (installed-stubs): Likewise.
46221 * include/stubs-biarch.h: Removed.
46222 * scripts/lib-names.awk: Only handle one library at a time.
46223 * scripts/soversions.awk: Remove WORDSIZE support.
46224 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46226 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46228 (syscall-list-default-condition): Likewise.
46229 (syscall-list-default-condition): Likewise.
46230 (syscall-list-includes): Likewise.
46231 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46232 syscall-list-* with abi-*. Handle undefined abi-variants.
46233 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46234 * sysdeps/unix/sysv/linux/i386/Implies: New file.
46235 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46236 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46237 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46238 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46240 (syscall-list-32-options): Likewise.
46241 (syscall-list-32-condition): Likewise.
46242 (syscall-list-64-options): Likewise.
46243 (syscall-list-64-condition): Likewise.
46244 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46246 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46249 (abi-64-ld-soname): New macro.
46250 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46251 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46254 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46255 * sysdeps/x86_64/x32/shlib-versions: Likewise.
46257 2012-05-30 Joseph Myers <joseph@codesourcery.com>
46259 * sysdeps/unix/sysv/linux/kernel-features.h
46260 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46261 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46262 include <kernel-features.h>.
46263 [!__NR_ftruncate64]: Remove conditional code.
46264 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46265 [__NR_ftruncate64]: Make code unconditional.
46266 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46267 * sysdeps/unix/sysv/linux/truncate64.c: Do not
46268 include <kernel-features.h>.
46269 [!__NR_ftruncate64]: Remove conditional code.
46270 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46271 [__NR_ftruncate64]: Make code unconditional.
46272 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46274 include <kernel-features.h>.
46275 [!__NR_ftruncate64]: Remove conditional code.
46276 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46277 [__NR_ftruncate64]: Make code unconditional.
46278 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46280 include <kernel-features.h>.
46281 [!__NR_ftruncate64]: Remove conditional code.
46282 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46283 [__NR_ftruncate64]: Make code unconditional.
46284 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46286 * configure.in (libc_cv_fpie): Weaken to a compile test using
46287 LIBC_TRY_CC_OPTION.
46288 * configure: Regenerated.
46290 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46305 2012-05-27 David S. Miller <davem@davemloft.net>
46307 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46309 (__Q_simulate_exceptions): Return void. Change to simulate
46310 exceptions by writing into the %fsr.
46311 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46312 (__Qp_handle_exceptions): Likewise.
46314 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46315 __Qp_handle_exceptions.
46316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46317 __Qp_handle_exceptions.
46318 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46319 as unused and give dummy FP_RND_NEAREST initializer.
46320 (FP_INHIBIT_RESULTS): Define.
46321 (___Q_simulate_exceptions): Update declaration.
46322 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46324 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46325 as unused and give dummy FP_RND_NEAREST initializer.
46326 (__Qp_handle_exceptions): Update declaration.
46327 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46330 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
46332 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46333 the temporary FPU control word.
46334 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46335 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46336 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46337 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46338 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46339 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46340 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46341 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46342 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46343 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46344 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46346 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46348 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46351 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
46353 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46354 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46355 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46356 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46358 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46359 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46362 2012-05-27 Ulrich Drepper <drepper@gmail.com>
46364 * po/h.po: Update from translation team.
46366 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
46368 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46370 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46371 handling of denormals.
46372 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46373 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46374 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46375 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46376 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46377 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46378 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46381 2012-05-26 Marek Polacek <polacek@redhat.com>
46384 * math/libm-test.inc (fma_test): Don't always expect underflow
46387 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46390 * elf/tst-execstack.c: Include stackinfo.h.
46391 (do_test): Adjust test case to ensure that pthread_getattr_np
46392 behaviour remains the same after marking stack executable.
46394 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46396 * sysdeps/unix/sysv/linux/kernel-features.h
46397 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46398 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46400 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46401 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46402 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46404 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46405 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46407 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
46409 * configure.in: Define the default includes to being none.
46410 * configure: Regenerated.
46412 2012-05-25 Roland McGrath <roland@hack.frob.com>
46414 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46415 * sysdeps/x86_64/setjmp.S: Likewise.
46416 * sysdeps/i386/bsd-setjmp.S: Likewise.
46417 * sysdeps/i386/bsd-_setjmp.S: Likewise.
46418 * sysdeps/i386/setjmp.S: Likewise.
46419 * sysdeps/i386/__longjmp.S: Likewise.
46420 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46421 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46423 * include/stap-probe.h: New file.
46424 * configure.in: Handle --enable-systemtap.
46425 * configure: Regenerated.
46426 * config.h.in (USE_STAP_PROBE): New #undef.
46427 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46428 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46429 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46431 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46434 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46435 to 2.4.0 where earlier.
46436 * sysdeps/unix/sysv/linux/configure: Regenerated.
46437 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46438 <kernel-features.h>.
46439 [__ASSUME_32BITUIDS]: Make code unconditional.
46440 [!__ASSUME_32BITUIDS]: Remove conditional code.
46441 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46442 <kernel-features.h>.
46443 [__ASSUME_32BITUIDS]: Make code unconditional.
46444 [!__ASSUME_32BITUIDS]: Remove conditional code.
46445 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46446 [__ASSUME_32BITUIDS]: Make code unconditional.
46447 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46448 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46449 <kernel-features.h>.
46450 [__ASSUME_32BITUIDS]: Make code unconditional.
46451 [!__ASSUME_32BITUIDS]: Remove conditional code.
46452 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46453 <kernel-features.h>.
46454 [__ASSUME_32BITUIDS]: Make code unconditional.
46455 [!__ASSUME_32BITUIDS]: Remove conditional code.
46456 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46457 <kernel-features.h>.
46458 [__ASSUME_32BITUIDS]: Make code unconditional.
46459 [!__ASSUME_32BITUIDS]: Remove conditional code.
46460 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46461 <kernel-features.h>.
46462 [__ASSUME_32BITUIDS]: Make code unconditional.
46463 [!__ASSUME_32BITUIDS]: Remove conditional code.
46464 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46465 <kernel-features.h>.
46466 [__ASSUME_32BITUIDS]: Make code unconditional.
46467 [!__ASSUME_32BITUIDS]: Remove conditional code.
46468 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46469 <kernel-features.h>.
46470 [__ASSUME_32BITUIDS]: Make code unconditional.
46471 [!__ASSUME_32BITUIDS]: Remove conditional code.
46472 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46473 <kernel-features.h>.
46474 [__ASSUME_32BITUIDS]: Make code unconditional.
46475 [!__ASSUME_32BITUIDS]: Remove conditional code.
46476 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46477 <kernel-features.h>.
46478 [__ASSUME_32BITUIDS]: Make code unconditional.
46479 [!__ASSUME_32BITUIDS]: Remove conditional code.
46480 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46481 <kernel-features.h>.
46482 [__ASSUME_32BITUIDS]: Make code unconditional.
46483 [!__ASSUME_32BITUIDS]: Remove conditional code.
46484 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46485 <kernel-features.h>.
46486 [__ASSUME_32BITUIDS]: Make code unconditional.
46487 [!__ASSUME_32BITUIDS]: Remove conditional code.
46488 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46489 <kernel-features.h>.
46490 [__NR_setresgid] (__setresgid): Do not declare.
46491 [__ASSUME_32BITUIDS]: Make code unconditional.
46492 [!__ASSUME_32BITUIDS]: Remove conditional code.
46493 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46494 <kernel-features.h>.
46495 [__NR_setresuid] (__setresuid): Do not declare.
46496 [__ASSUME_32BITUIDS]: Make code unconditional.
46497 [!__ASSUME_32BITUIDS]: Remove conditional code.
46498 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46499 <kernel-features.h>.
46500 [__ASSUME_32BITUIDS]: Make code unconditional.
46501 [!__ASSUME_32BITUIDS]: Remove conditional code.
46502 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46503 <kernel-features.h>.
46504 [__ASSUME_32BITUIDS]: Make code unconditional.
46505 [!__ASSUME_32BITUIDS]: Remove conditional code.
46506 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46507 <kernel-features.h>.
46508 [__ASSUME_32BITUIDS]: Make code unconditional.
46509 [!__ASSUME_32BITUIDS]: Remove conditional code.
46510 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46511 <kernel-features.h>.
46512 [__ASSUME_32BITUIDS]: Make code unconditional.
46513 [!__ASSUME_32BITUIDS]: Remove conditional code.
46514 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46515 <kernel-features.h>.
46516 [__ASSUME_32BITUIDS]: Make code unconditional.
46517 [!__ASSUME_32BITUIDS]: Remove conditional code.
46518 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46519 <kernel-features.h>.
46520 [__ASSUME_32BITUIDS]: Make code unconditional.
46521 [!__ASSUME_32BITUIDS]: Remove conditional code.
46522 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46523 <kernel-features.h>.
46524 [__ASSUME_32BITUIDS]: Make code unconditional.
46525 [!__ASSUME_32BITUIDS]: Remove conditional code.
46526 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46527 <kernel-features.h>.
46528 [__ASSUME_32BITUIDS]: Make code unconditional.
46529 [!__ASSUME_32BITUIDS]: Remove conditional code.
46530 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46531 <kernel-features.h>.
46532 [__ASSUME_32BITUIDS]: Make code unconditional.
46533 [!__ASSUME_32BITUIDS]: Remove conditional code.
46534 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46535 <kernel-features.h>.
46536 [__ASSUME_32BITUIDS]: Make code unconditional.
46537 [!__ASSUME_32BITUIDS]: Remove conditional code.
46538 * sysdeps/unix/sysv/linux/kernel-features.h
46539 (__ASSUME_SETRESUID_SYSCALL): Remove.
46540 (__ASSUME_SETRESGID_SYSCALL): Likewise.
46541 (__ASSUME_32BITUIDS): Likewise.
46542 (__ASSUME_LDT_WORKS): Likewise.
46543 (__ASSUME_O_DIRECTORY): Likewise.
46544 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46545 architecture but not kernel version.
46546 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46547 (__ASSUME_MMAP2_SYSCALL): Likewise.
46548 (__ASSUME_STAT64_SYSCALL): Likewise.
46549 (__ASSUME_IPC64): Likewise.
46550 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46551 <kernel-features.h>.
46552 [__ASSUME_32BITUIDS]: Make code unconditional.
46553 [!__ASSUME_32BITUIDS]: Remove conditional code.
46554 * sysdeps/unix/sysv/linux/opendir.c: Do not include
46555 <kernel-features.h>.
46556 [__ASSUME_O_DIRECTORY]: Make code unconditional.
46557 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46558 132096]: Remove conditional code.
46559 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46560 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46561 <kernel-features.h>.
46562 [__ASSUME_32BITUIDS]: Make code unconditional.
46563 [!__ASSUME_32BITUIDS]: Remove conditional code.
46564 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46565 <kernel-features.h>.
46566 [__ASSUME_32BITUIDS]: Make code unconditional.
46567 [!__ASSUME_32BITUIDS]: Remove conditional code.
46568 * sysdeps/unix/sysv/linux/setegid.c: Do not include
46569 <kernel-features.h>.
46570 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46572 (__setresgid): Do not declare.
46573 [__ASSUME_32BITUIDS]: Make code unconditional.
46574 [!__ASSUME_32BITUIDS]: Remove conditional code.
46575 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46576 <kernel-features.h>.
46577 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46579 (__setresuid): Do not declare.
46580 [__ASSUME_32BITUIDS]: Make code unconditional.
46581 [!__ASSUME_32BITUIDS]: Remove conditional code.
46582 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46583 <kernel-features.h>.
46584 [__ASSUME_32BITUIDS]: Make code unconditional.
46585 [!__ASSUME_32BITUIDS]: Remove conditional code.
46586 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46587 <kernel-features.h>.
46588 [__ASSUME_32BITUIDS]: Make code unconditional.
46589 [!__ASSUME_32BITUIDS]: Remove conditional code.
46591 2012-05-25 Richard Henderson <rth@twiddle.net>
46593 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46594 dl_hwcap to ifunc resolver.
46595 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46597 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46598 dl_hwcap to ifunc resolver.
46599 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46601 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46604 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46605 for |x| <= 2**-26, not 2**-57.
46606 * math/libm-test.inc (acos_test): Do not allow spurious underflow
46609 2012-05-24 Jeff Law <law@redhat.com>
46611 * stdio-common/Makefile (tests): Add bug25.
46612 * stdio-common/bug25.c: New test.
46614 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46617 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46618 multiple of MALLOC_ALIGNMENT in size.
46619 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46621 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46623 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46625 (FILENAME_MAX): Use macro-int-constant.
46626 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
46627 (_IOFBF): Use macro-int-constant.
46628 (_IOLBF): Likewise.
46629 (_IONBF): Likewise.
46630 (SEEK_CUR): Likewise.
46631 (SEEK_END): Likewise.
46632 (SEEK_SET): Likewise.
46633 (TMP_MAX): Likewise.
46634 (EOF): Use macro-int-constant. Require < 0.
46635 (NULL): Use macro-constant. Require == 0.
46636 (stdin): Require type to be FILE *.
46637 (stdout): Likewise.
46638 (stderr): Likewise.
46639 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46640 macro-int-constant.
46641 (EXIT_SUCCESS): Likewise.
46642 (NULL): Use macro-constant. Require == 0.
46643 (RAND_MAX): Use macro-int-constant.
46644 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46645 [C99-based standards] (strtof): Require function.
46646 [C99-based standards] (strtold): Likewise.
46647 [C99-based standards] (strtoll): Likewise.
46648 [C99-based standards] (strtoull): Likewise.
46649 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46650 [ISO || ISO99 || ISO11] (limits.h): Likewise.
46651 [ISO || ISO99 || ISO11] (math.h): Likewise.
46652 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46653 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46654 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46656 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
46659 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46660 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46661 * intl/dgettext.c (DCGETTEXT): Likewise.
46662 * intl/gettext.c (DCGETTEXT): Likewise.
46663 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46664 * posix/regex_internal.h (gettext): Likewise.
46665 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46666 Remove declaration.
46667 * include/argz.h (__argz_count_internal)
46668 (__argz_stringify_internal): Remove declaration.
46669 (__argz_count, __argz_stringify): Declare hidden proto.
46670 * intl/dcgettext.c: Remove use of INTDEF.
46671 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46672 * string/argz-stringify.c: Likewise.
46673 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46674 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46675 Declare hidden proto.
46676 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46677 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46678 Declare hidden proto.
46679 * include/stdio.h (__asprintf_internal): Don't declare.
46680 (__asprintf): Don't define as macro. Declare hidden proto.
46681 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46682 (__fsetlocking): Declare hidden proto.
46683 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46684 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46686 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46687 (_IO_setlinebuf): Remove use of INTUSE.
46688 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46689 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46690 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46691 Remove declaration.
46692 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46693 (_IO_do_flush): Remove use of INTUSE.
46694 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46695 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46696 (_IO_adjust_column, _IO_least_wmarker)
46697 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46698 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46699 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46700 (_IO_default_doallocate, _IO_wdefault_doallocate)
46701 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46702 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46703 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46704 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46705 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46706 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46707 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46708 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46709 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46710 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46711 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46712 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46713 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46715 (_IO_flush_all_internal, _IO_adjust_column_internal)
46716 (_IO_default_uflow_internal, _IO_default_finish_internal)
46717 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46718 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46719 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46720 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46721 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46722 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46723 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46724 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46725 (_IO_file_close_internal, _IO_file_close_it_internal)
46726 (_IO_file_underflow_internal, _IO_file_overflow_internal)
46727 (_IO_file_init_internal, _IO_file_attach_internal)
46728 (_IO_file_fopen_internal, _IO_file_read_internal)
46729 (_IO_file_sync_internal, _IO_file_seek_internal)
46730 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46731 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46732 (_IO_str_underflow_internal, _IO_str_overflow_internal)
46733 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46734 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46735 (_IO_list_all_internal, _IO_link_in_internal)
46736 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46737 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46738 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46739 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46740 (_IO_do_write_internal, _IO_padn_internal)
46741 (_IO_getline_info_internal, _IO_getline_internal)
46742 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46743 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46744 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46745 (_IO_vfscanf_internal, _IO_vfprintf_internal)
46746 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46747 (_IO_init_internal, _IO_un_link_internal): Don't declare.
46748 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46749 with libc_hidden_ver, remove use of INTUSE.
46750 * libio/genops.c: Likewise.
46751 * libio/freopen.c: Likewise.
46752 * libio/freopen64.c: Likewise.
46753 * libio/iofclose.c: Likewise.
46754 * libio/iofdopen.c: Likewise.
46755 * libio/iofflush.c: Likewise.
46756 * libio/iofflush_u.c: Likewise.
46757 * libio/iofgets.c: Likewise.
46758 * libio/iofgets_u.c: Likewise.
46759 * libio/iofopen.c: Likewise.
46760 * libio/iofopncook.c: Likewise.
46761 * libio/iofread.c: Likewise.
46762 * libio/iofread_u.c: Likewise.
46763 * libio/ioftell.c: Likewise.
46764 * libio/iofwrite.c: Likewise.
46765 * libio/iogetline.c: Likewise.
46766 * libio/iogets.c: Likewise.
46767 * libio/iogetwline.c: Likewise.
46768 * libio/iopadn.c: Likewise.
46769 * libio/iopopen.c: Likewise.
46770 * libio/ioseekoff.c: Likewise.
46771 * libio/ioseekpos.c: Likewise.
46772 * libio/iosetbuffer.c: Likewise.
46773 * libio/iosetvbuf.c: Likewise.
46774 * libio/ioungetc.c: Likewise.
46775 * libio/ioungetwc.c: Likewise.
46776 * libio/iovdprintf.c: Likewise.
46777 * libio/iovsprintf.c: Likewise.
46778 * libio/iovsscanf.c: Likewise.
46779 * libio/memstream.c: Likewise.
46780 * libio/obprintf.c: Likewise.
46781 * libio/oldfileops.c: Likewise.
46782 * libio/oldiofclose.c: Likewise.
46783 * libio/oldiofdopen.c: Likewise.
46784 * libio/oldiofopen.c: Likewise.
46785 * libio/oldiopopen.c: Likewise.
46786 * libio/oldstdfiles.c: Likewise.
46787 * libio/putc.c: Likewise.
46788 * libio/setbuf.c: Likewise.
46789 * libio/setlinebuf.c: Likewise.
46790 * libio/stdfiles.c: Likewise.
46791 * libio/strops.c: Likewise.
46792 * libio/vasprintf.c: Likewise.
46793 * libio/vscanf.c: Likewise.
46794 * libio/vsnprintf.c: Likewise.
46795 * libio/vswprintf.c: Likewise.
46796 * libio/wfiledoalloc.c: Likewise.
46797 * libio/wfileops.c: Likewise.
46798 * libio/wgenops.c: Likewise.
46799 * libio/wmemstream.c: Likewise.
46800 * libio/wstrops.c: Likewise.
46801 * libio/__fpurge.c: Likewise.
46802 * libio/__fsetlocking.c: Likewise.
46803 * assert/assert.c: Likewise.
46804 * debug/fgets_chk.c: Likewise.
46805 * debug/fgets_u_chk.c: Likewise.
46806 * debug/fread_chk.c: Likewise.
46807 * debug/fread_u_chk.c: Likewise.
46808 * debug/gets_chk.c: Likewise.
46809 * debug/obprintf_chk.c: Likewise.
46810 * debug/vasprintf_chk.c: Likewise.
46811 * debug/vdprintf_chk.c: Likewise.
46812 * debug/vsnprintf_chk.c: Likewise.
46813 * debug/vsprintf_chk.c: Likewise.
46814 * malloc/mtrace.c: Likewise.
46815 * misc/error.c: Likewise.
46816 * misc/syslog.c: Likewise.
46817 * stdio-common/asprintf.c: Likewise.
46818 * stdio-common/fxprintf.c: Likewise.
46819 * stdio-common/getw.c: Likewise.
46820 * stdio-common/isoc99_fscanf.c: Likewise.
46821 * stdio-common/isoc99_scanf.c: Likewise.
46822 * stdio-common/isoc99_vfscanf.c: Likewise.
46823 * stdio-common/isoc99_vscanf.c: Likewise.
46824 * stdio-common/isoc99_vsscanf.c: Likewise.
46825 * stdio-common/printf-prs.c: Likewise.
46826 * stdio-common/printf_fp.c: Likewise.
46827 * stdio-common/printf_fphex.c: Likewise.
46828 * stdio-common/printf_size.c: Likewise.
46829 * stdio-common/putw.c: Likewise.
46830 * stdio-common/scanf.c: Likewise.
46831 * stdio-common/sprintf.c: Likewise.
46832 * stdio-common/tmpfile.c: Likewise.
46833 * stdio-common/vfprintf.c: Likewise.
46834 * stdio-common/vfscanf.c: Likewise.
46835 * stdlib/strfmon_l.c: Likewise.
46836 * sunrpc/openchild.c: Likewise.
46837 * sunrpc/xdr_stdio.c: Likewise.
46838 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46839 * sysdeps/mach/hurd/tmpfile.c: Likewise.
46841 2012-05-24 Roland McGrath <roland@hack.frob.com>
46843 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46845 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46846 in the third column, to generate for the shared library an IFUNC
46847 that uses _dl_vdso_vsym.
46848 * Makerules (COMPILE.c, compile-stdin.c): New variables.
46849 * Makeconfig (object-suffixes-noshared): New variable.
46851 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46852 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46853 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46854 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46857 * include/sys/time.h (__gettimeofday): Remove macro.
46858 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46859 * time/gettimeofday.c (__gettimeofday): Remove #undef.
46861 (__gettimeofday): Add libc_hidden_def.
46862 (gettimeofday): Add libc_hidden_weak.
46863 * sysdeps/mach/gettimeofday.c: Likewise.
46864 * sysdeps/posix/gettimeofday.c: Likewise.
46865 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46866 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46867 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46868 (__gettimeofday_internal): Remove strong_alias.
46869 (__gettimeofday): Add libc_hidden_def.
46870 (gettimeofday): Add libc_hidden_weak.
46871 * sysdeps/unix/syscalls.list (gettimeofday):
46872 Remove __gettimeofday_internal alias.
46874 2012-05-24 Daniel Jacobowitz <drow@false.org>
46875 H.J. Lu <hongjiu.lu@intel.com>
46878 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46879 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46880 (largebin_index_32_big): New.
46881 (largebin_index): Use it for 16-byte alignment.
46882 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
46883 correction with front_misalign.
46885 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46913 * scripts/data/c++-types-x32-linux-gnu.data: New file.
46914 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46916 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46920 * math/libm-test.inc (exp_test): Add test from bug 14036.
46921 (pow_test): Add test from bug 10846.
46923 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46925 (special_function): Do not include flags in test name.
46926 (parse_args): Likewise.
46927 * sysdeps/i386/fpu/libm-test-ulps: Update.
46928 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46929 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46930 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46933 * math/gen-libm-test.pl (%beautify): Add entries for underflow
46935 * math/libm-test.inc ("Philosophy"): Update comment about
46937 (UNDERFLOW_EXCEPTION): New macro.
46938 (UNDERFLOW_EXCEPTION_OK): Likewise.
46939 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46940 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46941 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46942 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46943 (INVALID_EXCEPTION_OK): Update value.
46944 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46945 (OVERFLOW_EXCEPTION_OK): Likewise.
46946 (IGNORE_ZERO_INF_SIGN): Likewise.
46947 (test_exceptions): Handle underflow exceptions.
46948 (acos_test): Update for underflow exception expectations.
46949 (cexp_test): Likewise.
46950 (clog_test): Likewise.
46951 (clog10_test): Likewise.
46952 (csqrt_test): Likewise.
46953 (ctan_test): Likewise.
46954 (ctanh_test): Likewise.
46955 (exp_test): Likewise.
46956 (exp10_test): Likewise.
46957 (exp2_test): Likewise.
46958 (expm1_test): Likewise.
46959 (fma_test): Likewise.
46960 (j0_test): Likewise.
46961 (jn_test): Likewise.
46962 (nexttoward_test): Likewise.
46963 (pow_test): Likewise.
46964 (scalbn_test): Likewise.
46965 (scalbln_test): Likewise.
46966 (tan_test): Likewise.
46967 (y1_test): Likewise.
46968 * sysdeps/i386/fpu/libm-test-ulps: Update.
46969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46971 2012-05-23 David S. Miller <davem@davemloft.net>
46973 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46974 (__libc_sigaction): Remove unused local variables.
46976 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46978 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46980 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
46982 mktime: avoid signed integer overflow
46983 * time/mktime.c (__mktime_internal): Do not mishandle the case
46984 where diff == INT_MIN.
46986 mktime: simplify computation of average
46987 * time/mktime.c (ranged_convert): Use new time_t_avg function
46988 instead of rolling our own (probably-slower) code.
46990 mktime: do not assume signed right shift propagates sign bit
46991 * time/mktime.c (isdst_differ): New static function.
46992 (__mktime_internal): No need to normalize tm_isdst now.
46993 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46996 mktime: merge another wrapv change from gnulib
46997 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46998 from some compilers.
47000 mktime: remove incorrect attempt at unusual arithmetics
47001 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47002 The code didn't really work on such machines anyway.
47003 (TYPE_MINIMUM): Assume two's complement.
47004 (twos_complement_arithmetic): Verify that long_int and time_t
47005 are two's complement (or unsigned, in the latter case).
47007 mktime: check signed shifts on long_int and time_t, too
47008 * time/mktime.c (SHR): Check that shifts work as desired
47009 on the types long_int and time_t too, as SHR is used on
47012 mktime: do not assume 'long' is wide enough
47013 * time/mktime.c (verify): Move decl up.
47014 (long_int): New type.
47015 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47016 to remove assumption in the code that 'long' is wide enough to
47017 store year values. This assumption is not true on x32 and on
47018 some non-glibc platforms.
47020 mktime: merge wrapv change from gnulib
47021 * time/mktime.c (WRAPV): New macro.
47022 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47023 (guess_time_tm, __mktime_internal): Do not assume that signed
47024 integer overflow wraps around; modern compilers generate code
47025 where this assumption is no longer valid.
47027 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47029 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47030 Replace "jmp L(pseudo_end)" with "ret".
47031 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47034 2012-05-23 Andreas Jaeger <aj@suse.de>
47036 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47037 * sysdeps/unix/sysv/linux/poll.c: Remove file.
47039 2012-05-23 Andreas Jaeger <aj@suse.de>
47040 Maximilian Attems <max@stro.at>
47042 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47045 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47047 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47048 code so that pseudo_end is just ret and the stack pointer is
47049 correct also for static library in error case.
47051 2012-05-23 Joseph Myers <joseph@codesourcery.com>
47053 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47054 move to syscalls.list.
47055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47060 * manual/install.texi (Running make install): Do not mention Linux
47061 kernel version for which pt_chown is not needed.
47062 (Linux): Do not mention problems with nscd with 2.0 kernels.
47063 * INSTALL: Regenerated.
47065 2012-05-23 Andreas Jaeger <aj@suse.de>
47067 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47068 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47070 * sysdeps/unix/sysv/linux/s390/bits/mman.h
47071 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47072 * sysdeps/unix/sysv/linux/sh/bits/mman.h
47073 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47074 * sysdeps/unix/sysv/linux/i386/bits/mman.h
47075 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47076 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47077 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47078 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47079 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47080 * sysdeps/unix/sysv/linux/bits/in.h
47081 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47083 2012-05-22 Roland McGrath <roland@hack.frob.com>
47085 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47086 (PREPARE_VERSION): Just use assert instead, it will be elided
47087 under [NDEBUG] anyway.
47089 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47091 * sysdeps/unix/sysv/linux/Makefile: Include
47092 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47093 (sysdep_routines): Remove sysctl.
47094 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47095 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47096 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47097 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47098 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47100 2012-05-22 Andreas Jaeger <aj@suse.de>
47102 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47103 that pseudo_end is just ret and the stack pointer is correct also
47104 for static library in error case.
47106 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
47109 * nss/nsswitch.c (defconfig_entries): New variable.
47110 (__nss_database_lookup): Don't leak defconfig entries.
47111 (nss_parse_service_list): Don't leak on error paths.
47112 (free_database_entries): New function.
47113 (free_defconfig): New function.
47114 (free_mem): Move common code to free_database_entries.
47116 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47118 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47120 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47122 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47123 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47124 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47126 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47127 (INTERNAL_SYSCALL_TYPES): Likewise.
47128 (LOAD_ARGS_TYPES_[1-6]): Likewise.
47129 (LOAD_REGS_TYPES_[1-6]): Likewise.
47130 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47131 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47133 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47135 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47136 copysignl for GLIBC_2_0.
47137 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47138 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47139 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47140 logbl for GLIBC_2_0.
47141 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47142 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47144 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47146 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47147 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47149 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47152 * time/mktime.c: Update copyright years.
47154 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
47156 mktime: merge comment-quoting-style change from gnulib
47157 * time/mktime.c: Quote 'like this' in comments.
47158 The GNU coding standards suggest that we no longer quote `like this',
47159 as "`" and "'" are typically rendered asymmetrically nowadays.
47160 The typical gnulib style is to quote 'like this' when quoting
47161 code, and "like this" when quoting English.
47163 * time/mktime.c (compile-command): Add "-I.".
47165 mktime: merge mktime-internal.h change from gnulib
47166 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47168 mktime: merge time_r change from gnulib
47169 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47171 mktime: merge DEBUG change from gnulib
47172 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47173 case system <time.h> has a #define.
47175 mktime: merge <sys/types.h> change from gnulib
47176 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47177 since <time.t> is now guaranteed to define time_t.
47179 mktime: merge HAVE_CONFIG_H change from gnulib
47180 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47182 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47187 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47189 (struct rusage): Use anonymous union to pad each field to
47192 2012-05-21 David S. Miller <davem@davemloft.net>
47194 * Makefules (o-iterator): Remove .s cases.
47195 (compile-command.s): Delete.
47196 (COMPILE.s): Delete.
47197 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47199 2012-05-21 Joseph Myers <joseph@codesourcery.com>
47201 * configure.in (libc_cv_predef_stack_protector): Only consider
47202 "foobar" and "__stack_chk_fail" lines in libc_undefs.
47203 * configure: Regenerated.
47205 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47207 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47208 New macro. Use R*LP on int and pointer.
47209 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47210 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47211 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47212 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47214 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47215 [__WORDSIZE_TIME64_COMPAT32] instead of
47216 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47217 (struct utmp): Likewise.
47218 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47219 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47221 (__WORDSIZE_TIME64_COMPAT32): This.
47222 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47223 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47224 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47225 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47226 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47227 (__WORDSIZE_TIME64_COMPAT32): New macro.
47229 2012-05-21 Andreas Jaeger <aj@suse.de>
47231 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47232 only if [SHARED]. Add prototype for __wcschr_ia32.
47234 2012-05-21 Roland McGrath <roland@hack.frob.com>
47236 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47237 of %rbp unmolested in the jmp_buf while mangling the low bits.
47238 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47239 unmolested high bits of %rbp while demangling the low bits.
47240 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47242 2012-05-21 Andreas Jaeger <aj@suse.de>
47244 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47245 * sunrpc/svc_simple.c: Use it for registerrpc.
47246 * sunrpc/xcrypt.c: Use it for passwd2des.
47248 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47250 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47252 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47253 Don't define if [__SYSCALL_WORDSIZE != 32].
47254 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47257 2012-05-21 Bruno Haible <bruno@clisp.org>
47258 Andreas Jaeger <aj@suse.de>
47260 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47261 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47262 inptr and inend for must_buffer_ch.
47263 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47264 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47265 * stdio-common/Makefile (tests): Remove bug15.
47266 (bug15-ENV): Remove macro.
47267 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47270 2012-05-19 Andreas Jaeger <aj@suse.de>
47271 Roland McGrath <roland@hack.frob.com>
47273 * manual/contrib.texi: Completely rewritten. It contains now an
47274 alphabetical list of contributors and their contributions.
47276 2012-05-21 Richard Henderson <rth@twiddle.net>
47278 * misc/getauxval.c (__getauxval): Use unsigned long int.
47279 * misc/sys/auxv.h: Include <sys/cdefs.h>.
47280 (getauxval): Use unsigned long int.
47282 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47284 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47286 2012-05-21 Roland McGrath <roland@hack.frob.com>
47288 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47289 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47290 __alignof__ (long double).
47292 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47296 2012-05-20 Richard Henderson <rth@twiddle.net>
47298 * misc/getauxval.c: New file.
47299 * misc/sys/auxv.h: New file.
47300 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47301 (routines): Add getauxval.
47302 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47303 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47304 * elf/dl-sysdep.c (_dl_auxv): Remove.
47305 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47306 * elf/dl-support.c (_dl_auxv): New variable.
47307 (_dl_aux_init): Initialize it.
47308 * manual/startup.texi (Auxiliary Vector): New node.
47309 * sysdeps/generic/bits/hwcap.h: New file.
47310 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47311 * sysdeps/powerpc/sysdep.h: ... here. Include it.
47312 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47313 * sysdeps/sparc/sysdep.h: ... here. Include it.
47314 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47315 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47321 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47327 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47331 2012-05-19 David S. Miller <davem@davemloft.net>
47333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47335 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47338 * math/s_ccosh.c: Include <float.h>
47339 (__ccosh): Avoid internal overflow calculating sinh and cosh
47340 values before multiplying by sin and cos values.
47341 * math/s_ccoshf.c: Likewise.
47342 * math/s_ccoshl.c: Likewise.
47343 * math/s_csin.c: Likewise.
47344 * math/s_csinf.c: Likewise.
47345 * math/s_csinl.c: Likewise.
47346 * math/s_csinh.c: Likewise.
47347 * math/s_csinhf.c: Likewise.
47348 * math/s_csinhl.c: Likewise.
47349 * math/libm-test.inc (ccos_test): Add more tests.
47350 (ccosh_test): Likewise.
47351 (csin_test): Likewise.
47352 (csinh_test): Likewise.
47353 * sysdeps/i386/fpu/libm-test-ulps: Update.
47354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47356 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
47358 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47359 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47361 * sysdeps/x86_64/x32/_itoa.h: Add comment.
47363 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47365 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47366 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47367 * sysdeps/powerpc/soft-fp/Versions: Likewise.
47368 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47369 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47370 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47371 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47372 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47373 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47374 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47375 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47376 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47377 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47378 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47379 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47380 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47381 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47382 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47383 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47384 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47385 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47386 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47387 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47388 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47389 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47390 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47391 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47392 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47393 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47394 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47395 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47397 2012-05-18 Andreas Jaeger <aj@suse.de>
47399 * csu/.gitignore: Delete.
47401 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47403 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47404 (timex): Use __syscall_slong_t.
47406 2012-05-18 Andreas Jaeger <aj@suse.de>
47407 Carlos O'Donell <carlos_odonell@mentor.com>
47409 * manual/install.texi (Configuring and compiling): Update
47410 description about files modified in the source directory.
47411 * INSTALL: Regenerated.
47413 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47415 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47416 value. Use "or" to set return value to -1.
47417 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47418 negate return value.
47420 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47422 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47423 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47424 failure if the compiler has Graphite support disabled.
47425 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47427 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47428 (CFLAGS-memmove.c): Likewise.
47429 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47432 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47434 * sysdeps/x86_64/x32/_itoa.h: New file.
47436 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47437 getdents system call only if kernel and user dirents have the
47438 same d_ino and d_off.
47440 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47441 LLONG_MAX != LONG_MAX.
47442 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47443 (_fitoa_word): Likewise.
47445 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47447 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47448 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47449 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47451 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47452 include <bits/wordsize.h>. Check __x86_64__ instead of
47454 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47455 if __x86_64__ is defined. Use anonymous union on fpstate.
47457 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47460 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
47462 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47463 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47464 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47465 Refer to _rtld_local_ro instead of _rtld_global_ro.
47466 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47468 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47470 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47472 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47473 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47474 of _rtld_global, and rtld_progname instead of _dl_argv[0].
47476 * sysdeps/powerpc/powerpc32/dl-machine.c
47477 (__elf_machine_runtime_setup) [PROF]: Don't reference
47480 2012-05-18 Andreas Jaeger <aj@suse.de>
47482 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47483 function only available for GCCs before 3.4 since GCC 3.4
47484 introduced a builtin.
47486 (llrintf): Likewise.
47487 (llrint): Likewise.
47494 (nearbyint): Likewise.
47495 (nearbyintf): Likewise.
47499 (floorf): Likewise.
47501 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47503 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47504 on both fields and cast pointer to __syscall_ulong_t.
47506 * bits/types.h (__fsword_t): New type.
47507 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47508 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47509 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47510 (__FSWORD_T_TYPE): Likewise.
47511 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47512 (__FSWORD_T_TYPE): Likewise.
47513 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47514 (__FSWORD_T_TYPE): Likewise.
47515 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47516 (__FSWORD_T_TYPE): Likewise.
47517 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47518 __SWORD_TYPE with __fsword_t.
47519 (statfs64): Likewise.
47521 2012-05-17 David S. Miller <davem@davemloft.net>
47523 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47525 2012-05-17 Andreas Jaeger <aj@suse.de>
47527 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47530 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47532 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47534 2012-05-17 Andreas Jaeger <aj@suse.de>
47536 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47539 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47541 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47543 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47545 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47546 * sysdeps/x86_64/tst-mallocalign1.c: New file.
47548 2012-05-17 Andreas Jaeger <aj@suse.de>
47549 Carlos O'Donell <carlos_odonell@mentor.com>
47552 * sysdeps/x86_64/multiarch/init-arch.h
47553 (bit_YMM_Usable): Rename to...
47554 (bit_AVX_Usable): ... this.
47555 (bit_FMA4_Usable): New macro.
47556 (bit_XMM_state): New macro.
47557 (bit_YMM_state): New macro.
47558 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47559 [__ASSEMBLER__] (index_AVX_Usable): ... this.
47560 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47561 (CPUID_OSXSAVE): New macro.
47562 (CPUID_AVX): New macro.
47563 (CPUID_FMA4): New macro.
47564 (index_YMM_Usable): Rename to...
47565 (index_AVX_Usable): ... this.
47566 (HAS_AVX): Use HAS_ARCH_FEATURE.
47567 (HAS_FMA4): Likewise.
47568 (HAS_YMM_USABLE): Remove.
47569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47570 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47572 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47573 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47574 * sysdeps/x86_64/multiarch/Makefile: Likewise.
47575 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47576 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47578 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47580 * math/libm-test.c: Support platforms without multiple rounding modes.
47581 * math/bug-nextafter.c: Support platforms without FP exceptions.
47582 * math/bug-nexttoward.c: Likewise.
47583 * math/test-fenv.c: Likewise.
47584 * math/test-misc.c: Likewise.
47585 * stdlib/bug-getcontext.c: Likewise.
47587 2012-05-17 Andreas Jaeger <aj@suse.de>
47589 * manual/examples/search.c (critter_cmp): Change signature to
47591 * manual/string.texi (Collation Functions): Likewise.
47593 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47595 * bits/types.h: Fold copyright years.
47596 * bits/typesizes.h: Likewise.
47597 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47598 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47599 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47600 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47601 * time/time.h: Likewise.
47603 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
47606 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47607 in instead of returning them. Return void.
47608 (__libc_mallinfo): Accumulate over all arenas.
47609 (__malloc_stats): Adjust for change in int_mallinfo interface.
47611 2012-05-16 Roland McGrath <roland@hack.frob.com>
47614 * configure.in (NM): Add AC_CHECK_TOOL for it.
47615 (libc_extra_cflags): New substituted variable.
47616 Check for -fstack-protector being used implicitly.
47617 * configure: Regenerated.
47618 * config.make.in (config-extra-cflags): New variable,
47619 gets @libc_extra_cflags@.
47620 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47623 * configure.in: Check for _FORTIFY_SOURCE being predefined.
47624 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47625 * configure: Regenerated.
47626 * config.make.in (CPPUNDEFS): New substituted variable.
47627 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47628 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47629 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47631 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47633 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47634 (mq_attr): Use __syscall_slong_t.
47636 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47638 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47639 Check __x86_64__ instead of __WORDSIZE.
47640 (_STAT_VER_LINUX): Likewise.
47641 (stat): Check __x86_64__ instead of __WORDSIZE. Use
47642 __syscall_ulong_t and __syscall_slong_t.
47643 (stat64): Likewise.
47645 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47647 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47649 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47651 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47653 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47655 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47658 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47659 include <bits/wordsize.h>. Check __x86_64__ instead of
47661 (greg_t): Use "__extension__ long long int" if __x86_64__ is
47663 (mcontext_t): Replace "unsigned long" with "unsigned long long".
47665 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47666 include <bits/wordsize.h>. Check __x86_64__ instead of
47668 (user_regs_struct): Use "__extension__ unsigned long long"
47669 instead of "unsigned long" if __x86_64__ is defined.
47670 (user): Likewise. Pad after pointer field if __ILP32__ is
47673 2012-05-16 Joseph Myers <joseph@codesourcery.com>
47675 * configure.in (makeinfo): Require version 4.5 or later. Allow
47677 * configure: Regenerated.
47678 * manual/install.texi (texinfo): Increase version requirement to
47680 * INSTALL: Regenerated.
47682 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47684 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47686 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47688 * sysdeps/x86_64/x32/ffs.c: New file.
47690 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47692 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47693 defined. Use __syscall_ulong_t.
47694 (shminfo): Use __syscall_ulong_t.
47695 (shm_info): Likewise.
47697 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47700 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47702 (msgqnum_t): Use __syscall_ulong_t.
47703 (msglen_t): Likewise.
47704 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
47707 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47708 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47710 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47712 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47713 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47715 * sysvipc/sys/msg.h (msgbuf): Replace long int with
47718 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47719 include <bits/wordsize.h>. Check __x86_64__ instead of
47722 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47723 "unsigned long long int" if __x86_64__ is defined.
47724 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47726 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47727 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47728 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47730 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47732 (GET_PC): Cast to uintptr_t first.
47733 (GET_FRAME): Likewise.
47734 (GET_STACK): Likewise.
47736 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47737 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47738 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47739 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47740 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47741 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47742 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47743 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47744 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47745 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47746 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47747 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47748 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47749 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47750 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47751 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47752 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47753 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47754 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47755 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47756 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47757 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47758 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47759 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47760 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47761 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47762 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47763 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47764 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47766 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
47768 * Makerules (+depfiles): Also collect depfiles from .oS in
47770 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47771 .oS, $(libnldbl-routines)).
47773 * Makerules (native-compile-mkdep-flags): Define.
47774 * sunrpc/Makefile (extra-objs): Add $(addprefix
47775 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47776 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47777 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
47778 calling $(make-target-directory).
47780 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47782 * bits/types.h (__snseconds_t): Removed.
47783 * time/time.h (struct timespec): Replace __snseconds_t with
47785 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47786 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47788 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47789 (__SNSECONDS_T_TYPE): Likewise.
47790 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47791 (__SNSECONDS_T_TYPE): Likewise.
47792 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47793 (__SNSECONDS_T_TYPE): Likewise.
47795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47797 * sysdeps/mach/hurd/bits/typesizes.h
47798 (__SYSCALL_SLONG_TYPE): New macro.
47799 (__SYSCALL_ULONG_TYPE): Likewise.
47801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47803 * bits/types.h (__syscall_slong_t): New type.
47804 (__syscall_ulong_t): Likewise.
47806 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47807 (__SYSCALL_ULONG_TYPE): Likewise.
47808 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47809 (__SYSCALL_SLONG_TYPE): Likewise.
47810 (__SYSCALL_ULONG_TYPE): Likewise.
47811 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47812 (__SYSCALL_SLONG_TYPE): Likewise.
47813 (__SYSCALL_ULONG_TYPE): Likewise.
47814 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47815 (__SYSCALL_SLONG_TYPE): Likewise.
47816 (__SYSCALL_ULONG_TYPE): Likewise.
47818 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47820 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47821 Add sigaltstack-offsets.sym.
47822 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47823 <sigaltstack-offsets.h>.
47824 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
47825 longjmp_msg pointer.
47826 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
47827 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47829 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47831 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47833 * elf/stackguard-macros.h: Remove file.
47834 * sysdeps/generic/stackguard-macros.h: New file.
47835 * sysdeps/i386/stackguard-macros.h: Likewise.
47836 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47837 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47838 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47839 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47840 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47841 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47842 * sysdeps/x86_64/stackguard-macros.h: Likewise.
47843 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47844 <elf/stackguard-macros.h>.
47847 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47848 __aligned__ in attribute.
47849 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47850 (gregset_t): Likewise.
47852 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47854 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47855 * sysdeps/x86_64/64/Implies-after: Here. New file.
47856 * sysdeps/x86_64/x32/Implies-after: New file.
47858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47860 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47861 and access return value for _dl_profile_fixup. Use R10_LP to
47864 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47866 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47870 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47871 * sysdeps/x86_64/x32/sysdep.h: New file.
47873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47875 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47876 * sysdeps/x86_64/setjmp.S: Likewise.
47878 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47880 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47881 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47882 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47883 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47884 remove unused global constant.
47886 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
47888 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47889 include of <not-cancel.h>.
47891 2012-05-15 Roland McGrath <roland@hack.frob.com>
47893 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47895 2012-05-15 Jeff Law <law@redhat.com>
47896 Andreas Jaeger <aj@suse.de>
47899 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47901 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47902 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47903 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47904 code changing __hst_map_handle.map.
47906 2012-05-15 Roland McGrath <roland@hack.frob.com>
47908 * configure.in (sysnames): Look for Implies-before and Implies-after
47910 * configure: Regenerated.
47912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47914 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47915 8-byte data alignment with LP_SIZE alignment.
47917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47919 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47924 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47928 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47929 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47930 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47932 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47936 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47937 (stackinfo_sub_sp): Likewise.
47939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47941 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47946 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47951 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47956 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47960 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47961 into R11_LP and load __x86_64_shared_cache_size_half into
47964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47966 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47969 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47971 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47973 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47975 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47977 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47978 powerpc32/power7/fpu/s_logb.c via #include.
47979 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47980 powerpc32/power7/fpu/s_logbf.c via #include.
47981 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47982 powerpc32/power7/fpu/s_logbl.c via #include.
47984 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47986 * README.libm: Remove file.
47988 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47990 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47991 count for x32. Use R*_LP and omit operand-size suffix.
47993 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47995 * shlib-versions: Move x86_64-.*-linux.* entries to ...
47996 * sysdeps/x86_64/64/shlib-versions: Here. New file.
47997 * sysdeps/x86_64/x32/shlib-versions: New file.
47999 2012-05-14 Roland McGrath <roland@hack.frob.com>
48001 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48002 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48003 Use _dl_fatal_printf instead.
48005 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48007 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48008 set if not set by the user. Do not allow for being unset.
48009 * sysdeps/unix/sysv/linux/configure: Regenerated.
48011 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48013 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48014 the `q' suffix from lea and replace .quad with ASM_ADDR.
48016 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48018 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48019 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
48021 (PTR_DEMANGLE): Likewise.
48023 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48025 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48027 (ASM_ADDR): Likewise.
48028 (RAX_LP): Likewise.
48029 (RBP_LP): Likewise.
48030 (RBX_LP): Likewise.
48031 (RCX_LP): Likewise.
48032 (RDI_LP): Likewise.
48033 (RSI_LP): Likewise.
48034 (RSP_LP): Likewise.
48037 (R10_LP): Likewise.
48038 (R10_LP): Likewise.
48039 (R11_LP): Likewise.
48040 (R12_LP): Likewise.
48041 (R13_LP): Likewise.
48042 (R14_LP): Likewise.
48043 (R15_LP): Likewise.
48045 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48047 * sysdeps/x86_64/x32/dl-machine.h: New file.
48049 2012-05-14 Andreas Jaeger <aj@suse.de>
48051 * manual/Makefile (subdir): Remove export of subdir.
48052 (all): Remove target.
48053 (.PHONY): Remove all from list.
48054 (mkinstalldirs): Remove.
48055 (.PHONY): Remove installdirs from list.
48056 ($(inst_infodir)/libc.info): Use make-target-directory.
48057 (installdirs): Remove.
48058 (subdir_%): Remove.
48059 (glibc-targets): Remove.
48062 ($(objpfx)stubs ../po/manual.pot): Remove.
48063 ($(objpfx)stamp%): Remove.
48064 (make-target-directory): Remove.
48065 (subdir_install): Remove.
48066 (routines): Remove.
48073 * manual/.gitignore: Remove, it's not needed anymore.
48074 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48076 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48078 (texis): Renamed to $(objpfx)texis.
48079 (texis-path): New, contains path to generated files.
48080 (chapters.%): Use texis-path for complete path, add extra argument
48082 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48083 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48084 (summary,texi, stamp-summary): Use complete path of
48085 files. Generate files in build dir.
48086 (dir-add.texi): Build in build dir.
48087 (libm-err.texi,stamp-libm-err): Likewise.
48088 (version.texi, stamp-version): Likewise.
48089 (.%c.texi): Likewise.
48090 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48091 (mostlyclean): Remove target.
48092 (realclean): Remove target.
48093 (generated): Add new variable with contents from mostlyclean and
48094 realclean, remove entries duplicated in common-mostlyclean, add
48095 stamp-libm-err and stamp-version.
48096 (generated-dirs): Add libc directory.
48097 ($(inst_infodir)/libc.info): Install files from build dir.
48099 * manual/install.texi (Configuring and compiling): Adjust since
48100 the info files are not part of the tar ball anymore.
48102 2012-05-14 Andreas Jaeger <aj@suse.de>
48104 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48107 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48110 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48111 to 2.2.0 where earlier.
48112 * sysdeps/unix/sysv/linux/configure: Regenerated.
48113 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48114 Remove conditional code.
48115 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48116 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48117 Remove conditional code.
48118 [!__NR_lchown]: Likewise.
48119 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48120 [__NR_lchown]: Likewise.
48121 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48122 comment referencing __ASSUME_LCHOWN_SYSCALL.
48123 * sysdeps/unix/sysv/linux/i386/sigaction.c
48124 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48125 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48126 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48127 Remove conditional code.
48128 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48129 (__protocol_available): Remove #if 0 code.
48130 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48132 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48133 * sysdeps/unix/sysv/linux/kernel-features.h
48134 (__ASSUME_GETCWD_SYSCALL): Don't define.
48135 (__ASSUME_REALTIME_SIGNALS): Likewise.
48136 (__ASSUME_PREAD_SYSCALL): Likewise.
48137 (__ASSUME_PWRITE_SYSCALL): Likewise.
48138 (__ASSUME_POLL_SYSCALL): Likewise.
48139 (__ASSUME_LCHOWN_SYSCALL): Likewise.
48140 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48142 (__ASSUME_SIOCGIFNAME): Don't define.
48143 (__ASSUME_MSG_NOSIGNAL): Likewise.
48144 (__ASSUME_SENDFILE): Define unconditionally.
48145 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48146 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48148 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48149 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48150 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48151 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48152 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48153 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48154 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48156 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48157 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48159 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48160 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48162 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48163 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48165 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48166 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48168 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48169 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48171 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48172 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48174 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48175 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48177 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48178 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48179 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48180 Remove conditional code.
48181 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48182 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48183 Remove conditional code.
48184 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48185 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48186 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48187 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48188 Remove conditional code.
48189 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48190 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48191 Remove conditional code.
48192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48193 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48194 Remove conditional code.
48195 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48196 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48197 Remove conditional code.
48198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48199 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48200 Remove conditional code.
48201 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48202 * sysdeps/unix/sysv/linux/sh/pwrite64.c
48203 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48204 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48205 * sysdeps/unix/sysv/linux/sigaction.c
48206 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48207 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48208 * sysdeps/unix/sysv/linux/sigpending.c
48209 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48210 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48211 * sysdeps/unix/sysv/linux/sigprocmask.c
48212 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48213 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48214 * sysdeps/unix/sysv/linux/sigsuspend.c
48215 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48216 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48217 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48218 (__libc_missing_rt_sigs): Remove.
48219 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48220 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48221 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48222 Remove conditional code.
48223 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48224 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48226 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48227 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48228 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48229 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48231 2012-05-14 Andreas Jaeger <aj@suse.de>
48233 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48234 it's not used in glibc.
48235 (__coshm1): Likewise.
48236 (__acosh1p): Likewise.
48239 * manual/string.texi (Copying and Concatenation): Add missing
48240 variable in concat example.
48241 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48243 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48246 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48247 __builtin_clzl with __builtin_clzll.
48249 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48252 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48255 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48257 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48258 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48259 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48260 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48262 2012-05-14 Mike Frysinger <vapier@gentoo.org>
48264 * NEWS: Update ia64 info.
48266 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
48268 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48271 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
48273 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48274 * sysdeps/unix/syscalls.list (dup3): Likewise.
48275 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48276 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48278 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
48280 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48281 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48283 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
48285 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48287 (TLS_IE): Use mov/add instead of movq/addq to load thread
48289 (TLS_GD_PREFIX): New.
48292 2012-05-11 David S. Miller <davem@davemloft.net>
48294 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48295 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48296 (_FPU_SETCW): Likewise.
48298 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48300 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48301 is 32-byte aligned.
48303 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
48306 * iconvdata/gb18030.c: Update tables.
48307 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
48308 characters specially.
48309 (BODY for TO_LOOP): Add encoding of missing ranges.
48311 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
48314 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48315 * sysdeps/mach/hurd/dup3.c: Likewise.
48316 * sysdeps/mach/hurd/readlinkat.c: Likewise.
48317 * sysdeps/powerpc/memmove.c:: Likewise.
48319 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48321 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48322 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48324 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48326 * elf/elf.h (R_X86_64_RELATIVE64): New.
48327 (R_X86_64_NUM): Updated.
48328 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48329 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
48330 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48331 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48332 tst-quad1pie tst-quad2pie
48333 (modules-names): Add tst-quadmod1 tst-quadmod2.
48334 ($(objpfx)tst-quad1): New dependency.
48335 ($(objpfx)tst-quad2): Likewise.
48336 ($(objpfx)tst-quad1pie): Likewise.
48337 ($(objpfx)tst-quad2pie): Likewise.
48338 * sysdeps/x86_64/tst-quad1.c: New file.
48339 * sysdeps/x86_64/tst-quad1pie.c: New file.
48340 * sysdeps/x86_64/tst-quad2.c: Likewise.
48341 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48342 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48343 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48344 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48345 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48347 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48349 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48350 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48351 * streams/stropts.h (t_scalar_t): Define type.
48353 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48354 (_PATH_PRESERVE): Set to "/var/lib".
48355 (_PATH_RWHODIR): Set to "/var/spool/rwho".
48357 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48360 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48361 if __dir_mkfile succeeded.
48363 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48364 checking for _hurd_dtablesize. Unlock it right after having
48365 finished _hurd_dtable allocation.
48367 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48369 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48370 * sysdeps/mach/hurd/configure: Regenerated.
48371 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48372 special-casing to...
48373 * sysdeps/gnu/configure.in: ... this new file.
48374 * sysdeps/unix/sysv/linux/configure: Regenerated.
48375 * sysdeps/gnu/configure: New generated file.
48377 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48378 for Linux: use nsec instead of usec, as well as:
48379 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48380 members of type struct timespec.
48381 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48383 (struct stat64): Likewise.
48384 (_STATBUF_ST_NSEC): New macro.
48385 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48387 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48388 __strtoul_internal rather than strtoul.
48390 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48392 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48395 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48397 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48398 which preserves existing values.
48399 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48401 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48403 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48404 TIMEOUT values. Return EINVAL for NFDS values either negative or
48405 greater than FD_SETSIZE.
48407 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48409 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48410 allocated, call __vm_protect to finish enabling the existing space, and
48411 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48412 allocate the remainder.
48414 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48416 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48417 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
48419 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48421 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48422 sysdeps/mach/hurd/readlink.c.
48424 * posix/tst-sysconf.c (posix_options): Only use
48425 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48426 _POSIX_SYNCHRONIZED_IO when they are defined
48427 * sysdeps/mach/hurd/bits/posix_opt.h:
48428 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48429 (_XOPEN_REALTIME): Undefine macro.
48430 (_XOPEN_REALTIME_THREADS): Undefine macro.
48431 (_XOPEN_SHM): Undefine macro.
48432 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48434 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48436 (_POSIX_ASYNC_IO): Undefine macro.
48437 (_POSIX_PRIORITIZED_IO): Undefine macro.
48438 (_POSIX_SPIN_LOCKS): Define macro to -1.
48440 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48441 SA_NODEFER, SA_RESETHAND.
48442 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48443 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48446 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48448 * elf/Makefile (pldd-modules): Define unconditionally.
48450 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48452 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48454 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48456 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48457 Return ENOENT when name is empty.
48458 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48460 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48462 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48464 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48466 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48468 Fix mlock in all cases except non-readable pages.
48469 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48470 instead of VM_PROT_ALL as parameter to __vm_wire function.
48472 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48473 (__mkdir): When path is `/', just fail with EEXIST.
48474 * sysdeps/mach/hurd/mkdirat.c: Likewise.
48476 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48478 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48479 <sys/uio.h> (for writev).
48480 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48481 and <sys/param.h> (for MIN).
48483 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48485 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48486 REQUESTED_TIME. Properly set the remaining time and return EINTR
48489 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48491 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48492 Depend on against $(link-rpcuserlibs).
48494 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48496 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48497 (__libc_stack_end): Do not use attribute_relro.
48498 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48499 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48500 to libthread-provided value.
48501 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48504 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48507 * bits/libc-lock.h (__libc_once_get): New macro.
48508 * sysdeps/mach/bits/libc-lock.h: Likewise.
48509 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48510 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48511 instead of using implementation details.
48513 * libio/fileops.c: Unconditionally include <kernel-features.h>.
48514 * libio/freopen.c: Likewise.
48515 * libio/freopen64.c: Likewise.
48516 * misc/syslog.c: Likewise.
48517 * nscd/connections.c: Likewise.
48518 * nscd/netgroupcache.c: Likewise.
48519 * sysdeps/posix/getcwd.c: Likewise.
48521 2012-05-10 Roland McGrath <roland@hack.frob.com>
48523 * math/w_ilogbf.c: Add #include <limits.h>.
48525 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48527 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48528 path instead of returning without unlocking.
48530 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48531 immediate-write ioctls.
48532 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48534 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48536 * sysdeps/mach/hurd/i386/init-first.c (init): Use
48537 __builtin_frame_address instead of making assumptions about the
48538 location of the return address relative to DATA. Force early load of
48539 the return address.
48540 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48541 __builtin_frame_address.
48544 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48545 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
48546 implement dup3 and do some further code clean-ups.
48547 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48548 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48550 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48552 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48554 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48555 HURD_CRITICAL_END around holding _hurd_dtable_lock.
48556 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48557 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48558 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48561 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48562 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
48563 when handler == SIG_ERR, not when handler != SIG_ERR.
48565 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48567 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48568 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48571 accept4 for GNU Hurd.
48572 * include/sys/socket.h (__libc_accept4): New prototype.
48573 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
48574 to implement __libc_accept4.
48575 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48577 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48579 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48580 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48581 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48582 signal-defines.sym.
48584 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48586 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48588 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48590 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48591 assertion on O_CLOEXEC flag.
48592 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48593 * hurd/intern-fd.c: Likewise.
48594 * hurd/port2fd.c: Likewise.
48596 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48599 * bits/in.h (IPV6_PKTINFO): Define new macro.
48600 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48602 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48607 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48608 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48609 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48610 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48611 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48612 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48613 * math/libm-test.inc (logb_test) : Additional logb tests.
48615 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
48616 Andreas Jaeger <aj@suse.de>
48618 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48619 * configure: Regenerated.
48620 * config.h.in (LINK_OBSOLETE_RPC): New macro.
48621 * config.make.in (link-obsolete-rpc): New substituted variable.
48622 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48623 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48624 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48625 (shared-only-routines): Don't set it under [link-obsolete-rpc],
48626 so that libc.a contains the symbols.
48627 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48628 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48629 * sunrpc/auth_none.c: Likewise.
48630 * sunrpc/auth_unix.c: Likewise.
48631 * sunrpc/authdes_prot.c: Likewise.
48632 * sunrpc/authuxprot.c: Likewise.
48633 * sunrpc/clnt_gen.c: Likewise.
48634 * sunrpc/clnt_perr.c: Likewise.
48635 * sunrpc/clnt_raw.c: Likewise.
48636 * sunrpc/clnt_simp.c: Likewise.
48637 * sunrpc/clnt_tcp.c: Likewise.
48638 * sunrpc/clnt_udp.c: Likewise.
48639 * sunrpc/clnt_unix.c: Likewise.
48640 * sunrpc/des_crypt.c: Likewise.
48641 * sunrpc/des_soft.c: Likewise.
48642 * sunrpc/get_myaddr.c: Likewise.
48643 * sunrpc/key_call.c: Likewise.
48644 * sunrpc/key_prot.c: Likewise.
48645 * sunrpc/netname.c: Likewise.
48646 * sunrpc/pm_getmaps.c: Likewise.
48647 * sunrpc/pm_getport.c: Likewise.
48648 * sunrpc/pmap_clnt.c: Likewise.
48649 * sunrpc/pmap_prot.c: Likewise.
48650 * sunrpc/pmap_prot2.c: Likewise.
48651 * sunrpc/pmap_rmt.c: Likewise.
48652 * sunrpc/publickey.c: Likewise.
48653 * sunrpc/rpc_cmsg.c: Likewise.
48654 * sunrpc/rpc_common.c: Likewise.
48655 * sunrpc/rpc_dtable.c: Likewise.
48656 * sunrpc/rpc_prot.c: Likewise.
48657 * sunrpc/rpc_thread.c: Likewise.
48658 * sunrpc/rtime.c: Likewise.
48659 * sunrpc/svc.c: Likewise.
48660 * sunrpc/svc_auth.c: Likewise.
48661 * sunrpc/svc_raw.c: Likewise.
48662 * sunrpc/svc_run.c: Likewise.
48663 * sunrpc/svc_tcp.c: Likewise.
48664 * sunrpc/svc_udp.c: Likewise.
48665 * sunrpc/svc_unix.c: Likewise.
48666 * sunrpc/svcauth_des.c: Likewise.
48667 * sunrpc/xcrypt.c: Likewise.
48668 * sunrpc/xdr.c: Likewise.
48669 * sunrpc/xdr_array.c: Likewise.
48670 * sunrpc/xdr_float.c: Likewise.
48671 * sunrpc/xdr_intXX_t.c: Likewise.
48672 * sunrpc/xdr_mem.c: Likewise.
48673 * sunrpc/xdr_rec.c: Likewise.
48674 * sunrpc/xdr_ref.c: Likewise.
48675 * sunrpc/xdr_sizeof.c: Likewise.
48676 * sunrpc/xdr_stdio.c: Likewise.
48678 2012-05-10 Roland McGrath <roland@hack.frob.com>
48680 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48681 change. Update copyright years.
48683 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48685 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48687 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
48688 Joseph Myers <joseph@codesourcery.com>
48689 Paul Pluzhnikov <ppluzhnikov@google.com>
48692 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48694 [cross-compiling] (extra-libs): Likewise.
48695 [cross-compiling] (extra-libs-others): Likewise.
48696 [cross-compiling] (librpcsvc-routines): Likewise.
48697 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48698 [cross-compiling] (omit-deps): Likewise.
48699 (sunrpc-CPPFLAGS): New variable.
48700 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48701 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48702 (cross-rpcgen-objs): New variable.
48703 (extra-objs): Append $(cross-rpcgen-objs).
48704 ($(cross-rpcgen-objs)): New rule.
48705 ($(objpfx)cross-rpcgen): Likewise.
48706 (rpcgen-cmd): Define to use $(built-program-file). Expand
48708 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48709 ($(objpfx)x%.stmp): Likewise.
48710 * sunrpc/proto.h [IS_IN_build] (_): Define.
48711 [IS_IN_build] (_libc_intl_domainname): Likewise.
48713 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48715 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48716 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48717 and R_X86_64_TPOFF64.
48719 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48721 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48722 sysdeps/unix/sysv/syscalls.list.
48725 * sysdeps/unix/sysv/syscalls.list: Remove file.
48727 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
48730 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48731 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48732 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48733 (__LC_IDENTIFICATION): Make these macros useful in #if
48734 expressions, as required by C99.
48736 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
48738 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48739 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
48742 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
48744 * stdlib/longlong.h: Updated from GCC.
48746 2012-05-09 Andreas Jaeger <aj@suse.de>
48748 * nscd/nscd.c (run_modes): Make named enum, reorder so that
48749 default is first entry.
48750 (run_mode): Set type.
48751 (main): Remove informal message about syslog.
48752 (options): Fix typo.
48755 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48758 (llrintf): Likewise.
48759 (llrint): Likewise.
48762 (nearbyint): Likewise.
48763 (nearbyintf): Likewise.
48765 2012-05-09 Andreas Jaeger <aj@suse.de>
48766 Pedro Alves <palves@redhat.com>
48768 * nscd/nscd.c (run_mode): Use enum.
48769 (main): Cleanup coding style issue.
48771 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
48772 Andreas Jaeger <aj@suse.de>
48774 * nscd/nscd.c (go_background): Replaced with...
48775 (run_mode): ... this.
48776 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48777 (options): Add -F --foreground.
48778 (main): Implement it.
48779 (parse_opt): Parse it.
48781 2012-05-09 Andreas Jaeger <aj@suse.de>
48784 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48785 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48786 -Wconversion warning.
48787 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48790 2012-05-09 Joseph Myers <joseph@codesourcery.com>
48792 * conform/data/locale.h-data (NULL): Use macro-constant. Require
48794 (LC_ALL): Use macro-int-constant.
48795 (LC_COLLATE): Likewise.
48796 (LC_CTYPE): Likewise.
48797 (LC_MESSAGES): Likewise.
48798 (LC_MONETARY): Likewise.
48799 (LC_NUMERIC): Likewise.
48800 (LC_TIME): Likewise.
48801 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48802 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48803 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48804 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48806 [C99-based standards] (float_t): Expect type.
48807 [C99-based standards] (double_t): Expect type.
48808 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
48810 [C99-based standards] (HUGE_VALL): Likewise.
48811 [C99-based standards] (INFINITY): Likewise.
48812 [C99-based standards] (NAN): Likewise.
48813 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48814 [C99-based standards] (FP_NAN): Likewise.
48815 [C99-based standards] (FP_NORMAL): Likewise.
48816 [C99-based standards] (FP_SUBNORMAL): Likewise.
48817 [C99-based standards] (FP_ZERO): Likewise.
48818 [C99-based standards] (FP_FAST_FMA): Use
48819 optional-macro-int-constant. Specify type. Require == 1.
48820 [C99-based standards] (FP_FAST_FMAF): Likewise.
48821 [C99-based standards] (FP_FAST_FMAL): Likewise.
48822 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48823 [C99-based standards] (FP_ILOGBNAN): Likewise.
48824 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48826 [C99-based standards] (MATH_ERREXCEPT): Likewise.
48827 [C99-based standards] (math_errhandling): Specify type.
48828 [ISO99 || ISO11] (signgam): Do not allow.
48829 [non-C99-based standards] (copysignf): Do not allow.
48830 [non-C99-based standards] (exp2f): Likewise.
48831 [non-C99-based standards] (log2f): Likewise.
48832 [non-C99-based standards] (modff): Allow.
48833 [non-C99-based standards] (erff): Do not allow.
48834 [non-C99-based standards] (erfcf): Likewise.
48835 [non-C99-based standards] (gammaf): Likewise.
48836 [non-C99-based standards] (hypotf): Likewise.
48837 [non-C99-based standards] (j0f): Likewise.
48838 [non-C99-based standards] (j1f): Likewise.
48839 [non-C99-based standards] (jnf): Likewise.
48840 [non-C99-based standards] (lgammaf): Likewise.
48841 [non-C99-based standards] (tgammaf): Likewise.
48842 [non-C99-based standards] (y0f): Likewise.
48843 [non-C99-based standards] (y1f): Likewise.
48844 [non-C99-based standards] (ynf): Likewise.
48845 [non-C99-based standards] (isnanf): Likewise.
48846 [non-C99-based standards] (acoshf): Likewise.
48847 [non-C99-based standards] (asinhf): Likewise.
48848 [non-C99-based standards] (atanhf): Likewise.
48849 [non-C99-based standards] (cbrtf): Likewise.
48850 [non-C99-based standards] (expm1f): Likewise.
48851 [non-C99-based standards] (ilogbf): Likewise.
48852 [non-C99-based standards] (log1pf): Likewise.
48853 [non-C99-based standards] (logbf): Likewise.
48854 [non-C99-based standards] (nextafterf): Likewise.
48855 [non-C99-based standards] (remainderf): Likewise.
48856 [non-C99-based standards] (rintf): Likewise.
48857 [non-C99-based standards] (scalbf): Likewise.
48858 [non-C99-based standards] (copysignl): Likewise.
48859 [non-C99-based standards] (exp2l): Likewise.
48860 [non-C99-based standards] (log2l): Likewise.
48861 [non-C99-based standards] (modfl): Allow.
48862 [non-C99-based standards] (erfl): Do not allow.
48863 [non-C99-based standards] (erfcl): Likewise.
48864 [non-C99-based standards] (gammal): Likewise.
48865 [non-C99-based standards] (hypotl): Likewise.
48866 [non-C99-based standards] (j0l): Likewise.
48867 [non-C99-based standards] (j1l): Likewise.
48868 [non-C99-based standards] (jnl): Likewise.
48869 [non-C99-based standards] (lgammal): Likewise.
48870 [non-C99-based standards] (tgammal): Likewise.
48871 [non-C99-based standards] (y0l): Likewise.
48872 [non-C99-based standards] (y1l): Likewise.
48873 [non-C99-based standards] (ynl): Likewise.
48874 [non-C99-based standards] (isnanl): Likewise.
48875 [non-C99-based standards] (acoshl): Likewise.
48876 [non-C99-based standards] (asinhl): Likewise.
48877 [non-C99-based standards] (atanhl): Likewise.
48878 [non-C99-based standards] (cbrtl): Likewise.
48879 [non-C99-based standards] (expm1l): Likewise.
48880 [non-C99-based standards] (ilogbl): Likewise.
48881 [non-C99-based standards] (log1pl): Likewise.
48882 [non-C99-based standards] (logbl): Likewise.
48883 [non-C99-based standards] (nextafterl): Likewise.
48884 [non-C99-based standards] (remainderl): Likewise.
48885 [non-C99-based standards] (rintl): Likewise.
48886 [non-C99-based standards] (scalbl): Likewise.
48887 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48888 [non-C99-based standards] (FP_*): Do not allow.
48889 [C99-based standards] (FP_*): Change to
48890 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48891 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48893 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48894 (SIG_ERR): Likewise.
48895 [X/Open-based standards] (SIG_HOLD): Likewise.
48896 (SIG_IGN): Likewise.
48897 (SIGABRT): Use macro-int-constant. Specify type. Require
48899 (SIGFPE): Likewise.
48900 (SIGILL): Likewise.
48901 (SIGINT): Likewise.
48902 (SIGSEGV): Likewise.
48903 (SIGTER): Likewise.
48904 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48905 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48906 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48907 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48908 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48909 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48910 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48911 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48912 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48913 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48914 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48915 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48916 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48917 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48918 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48919 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48920 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48921 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48922 [X/Open-based standards] (SIGTRAP): Likewise.
48923 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48924 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48925 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48926 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48927 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48930 2012-05-08 Ian Wienand <ianw@vmware.com>
48933 * time/tzset.c (__tzset_parse_tz): Update default rules for
48934 daylight time changes in the Energy Policy Act of 2005.
48936 2012-05-09 Andreas Jaeger <aj@suse.de>
48939 * elf/ldconfig.c (parse_conf): Change string to make clear that
48940 ldconfig only issued a warning if ld.so.conf does not exist.
48942 2012-05-08 David S. Miller <davem@davemloft.net>
48944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48945 movxtod instead of popping the value on the stack.
48947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48949 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
48951 * config.h.in: Add HAVE_ARM_PCS_VFP.
48953 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
48956 * include/features.h: Warn if user requests __FORTIFY_SOURCE
48957 checking but the checks are disabled for any reason.
48959 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
48961 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48962 and ELF64_R_TYPE with ELFW(R_TYPE).
48964 2012-05-08 Joseph Myers <joseph@codesourcery.com>
48966 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48967 (ulimit): Likewise.
48969 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48970 (settimeofday): Likewise.
48972 2012-05-08 Mike Frysinger <vapier@gentoo.org>
48974 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
48975 a struct th_u2 inside the union, and move tu_block/tu_code into
48976 a new th_u3 union of tu_block/tu_code inside of that. Move
48977 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
48978 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
48979 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48980 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48981 (th_stuff): Change to th_u1.tu_stuff.
48983 (th_msg): Change to th_u1.th_u2.tu_data.
48985 2012-05-07 David S. Miller <davem@davemloft.net>
48987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48990 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48991 (SETUP_PIC_REG): Use it.
48992 (SETUP_PIC_REG_LEAF): Use it.
48994 2012-05-07 Joseph Myers <joseph@codesourcery.com>
48998 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49000 (EXPL_FINITE): Likewise.
49001 (FLDLOG): Likewise.
49002 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49003 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49005 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49007 (EXPL_FINITE): Likewise.
49008 (FLDLOG): Likewise.
49009 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49010 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49012 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
49013 test of -max_value argument for long double.
49014 * sysdeps/i386/fpu/libm-test-ulps: Update.
49015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49017 2012-05-06 David S. Miller <davem@davemloft.net>
49019 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49020 quad soft-float symbols whose references which are compiler
49022 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49024 2012-05-06 Joseph Myers <joseph@codesourcery.com>
49028 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49030 (EXPL_FINITE): Likewise.
49031 (FLDLOG): Likewise.
49034 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49035 Adjust comments for base varying.
49036 (__expl_finite): Change alias to EXPL_FINITE.
49037 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49039 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49040 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49041 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49042 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49043 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49045 (EXPL_FINITE): Likewise.
49046 (FLDLOG): Likewise.
49049 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49050 Adjust comments for base varying.
49051 (__expl_finite): Change alias to EXPL_FINITE.
49052 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
49054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49057 * math/libm-test.inc (check_float_internal): Correct ulp
49058 calculation for subnormal expected results.
49060 2012-05-06 Andreas Jaeger <aj@suse.de>
49062 * Makeconfig (+math-flags): New, set to -frounding-math.
49063 (+cflags): Add +math-flags so that all of glibc gets compiled with
49066 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49068 2012-05-05 Joseph Myers <joseph@codesourcery.com>
49070 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49076 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49077 (__ieee754_expl): Allow for and saturate large arguments.
49078 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49079 (u_threshold): Likewise.
49080 (__exp): Call __ieee754_exp before checking for overflow and
49082 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49083 (u_threshold): Likewise.
49084 (__expf): Call __ieee754_expf before checking for overflow and
49086 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49087 (u_threshold): Likewise.
49088 (__expl): Call __ieee754_expl before checking for overflow and
49090 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49091 (__ieee754_expl): Allow for and saturate large arguments.
49092 * math/libm-test.inc (exp_test): Add another test. Do not allow
49093 missing overflow exception on overflow.
49094 (expm1_test): Do not allow missing overflow exception on overflow.
49096 * sysdeps/i386/fpu/e_expl.c: Move to ...
49097 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
49098 rather than using inline asm.
49099 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49100 * sysdeps/x86_64/fpu/e_expl.S: Copy from
49101 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49103 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49106 (signal): Likewise.
49110 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49112 * sysdeps/unix/syscalls.list (adjtime): Add entry from
49113 sysdeps/unix/common/syscalls.list.
49114 (fchmod): Likewise.
49115 (fchown): Likewise.
49116 (ftruncate): Likewise.
49117 (getrusage): Likewise.
49118 (gettimeofday): Likewise.
49119 (setpgid): Likewise.
49120 (setregid): Likewise.
49121 (setreuid): Likewise.
49122 (sigaction): Likewise.
49123 (truncate): Likewise.
49124 (vhangup): Likewise.
49125 * sysdeps/unix/common/syscalls.list: Remove file.
49126 * sysdeps/unix/bsd/Implies: Don't include unix/common.
49127 * sysdeps/unix/sysv/linux/Implies: Likewise.
49129 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
49131 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49133 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49137 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49140 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49143 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49146 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49149 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49152 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49155 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49159 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49163 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49166 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49170 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49174 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49176 * sysdeps/unix/common/bits/dirent.h: Remove file.
49177 * sysdeps/unix/common/bits/fcntl.h: Likewise.
49179 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49180 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49181 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49182 * sysdeps/unix/bsd/isatty.c: Likewise.
49183 * sysdeps/unix/bsd/tcdrain.c: Likewise.
49184 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49185 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49187 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49190 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49191 long double comparison inaccuracies.
49192 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49195 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
49197 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49198 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49200 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49203 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49204 nonzero digits before rounding a hex value.
49205 * stdlib/tst-strtod.c (tests): Add another test.
49207 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49209 * sysdeps/s390/fpu/libm-test-ulps: Update.
49211 2012-05-03 Andreas Jaeger <aj@suse.de>
49213 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49214 does not get optimized out.
49215 (malloc_opt_barrier): New.
49217 2012-05-03 Andreas Jaeger <aj@suse.de>
49218 Roland McGrath <roland@hack.frob.com>
49220 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49221 intermediate file deletion.
49222 (generated): Add .symlist files.
49224 2012-05-03 Joseph Myers <joseph@codesourcery.com>
49227 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49228 Redirect under this condition.
49229 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49230 [__USE_GNU] (__dprintf_chk): Not under this condition.
49231 [__USE_GNU] (__vdprintf_chk): Likewise.
49232 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49233 under this condition.
49234 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49235 [__USE_XOPEN2K8] (dprintf): Define under this condition.
49236 [__USE_XOPEN2K8] (vdprintf): Likewise.
49237 [__USE_GNU] (__dprintf_chk): Not under this condition.
49238 [__USE_GNU] (__vdprintf_chk): Likewise.
49239 [__USE_GNU] (dprintf): Likewise.
49240 [__USE_GNU] (vdprintf): Likewise.
49242 2012-05-03 Roland McGrath <roland@hack.frob.com>
49244 * elf/Makefile (common-generated): Set this instead of generated for
49245 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
49246 $(all-built-dso)-derived lists.
49248 2012-05-03 Andreas Jaeger <aj@suse.de>
49250 * sysdeps/i386/fpu/libm-test-ulps: Update.
49253 * FAQ.in: Likewise.
49254 * scripts/gen-FAQ.pl: Likewise.
49255 * manual/install.texi (Installation): Point to online location of
49257 * Makefile (files-for-dist): Remove FAQ.
49260 2012-05-02 Allan McRae <allan@archlinux.org>
49262 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49263 (LDFLAGS-reldepmod5.so): Likewise.
49264 (LDFLAGS-reldep6mod1.so): Likewise.
49265 (LDFLAGS-reldep6mod4.so): Likewise.
49266 (LDFLAGS-reldep8mod3.so): Likewise.
49267 (LDFLAGS-unload4mod1.so): Likewise.
49268 (LDFLAGS-unload4mod2.so): Likewise.
49269 (LDFLAGS-tst-initorder): Likewise.
49270 (LDFLAGS-tst-initordera2.so): Likewise.
49271 (LDFLAGS-tst-initordera3.so): Likewise.
49272 (LDFLAGS-tst-initordera4.so): Likewise.
49273 (LDFLAGS-tst-initorderb2.so): Likewise.
49274 (LDFLAGS-noload): Likewise.
49275 (LDFLAGS-next): Likewise.
49276 (LDFLAGS-order2mod1.so): Likewise.
49277 (LDFLAGS-order2mod2.so): Likewise.
49278 (LDFLAGS-tst-initorder2): Likewise.
49279 (LDFLAGS-tst-initorder2a.so): Likewise.
49280 (LDFLAGS-tst-initorder2b.so): Likewise.
49281 (LDFLAGS-tst-initorder2c.so): Likewise.
49282 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49284 2012-05-02 David S. Miller <davem@davemloft.net>
49286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49288 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
49291 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49293 2012-05-02 Andreas Jaeger <aj@suse.de>
49295 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49296 since we manipulate rounding mode.
49297 (CPPFLAGS-test-idouble.c): Likewise.
49298 (CPPFLAGS-test-ifloat.c): Likewise.
49299 (CFLAGS-test-ldouble.c): Likewise.
49300 (CFLAGS-test-double.c): Likewise.
49301 (CFLAGS-test-float.c): Likewise.
49302 (CFLAGS-test-misc.c): Likewise.
49303 (CFLAGS-test-test-fenv.c): Likewise.
49305 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49309 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49310 comparisons to determine direction to adjust input.
49312 2012-05-01 Roland McGrath <roland@hack.frob.com>
49314 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49315 output to the target.
49317 * scripts/localplt.awk: New file.
49318 * elf/Makefile ($(objpfx)check-localplt): Target removed.
49319 (check-localplt-CFLAGS): Variable removed.
49320 ($(all-built-dso:=.jmprel)): New static pattern rule.
49321 (generated): Add those targets.
49322 (localplt-built-dso): New variable.
49323 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49325 * elf/check-localplt.c: File removed.
49327 * scripts/check-execstack.awk: New file.
49328 * elf/Makefile ($(objpfx)check-execstack): Target removed.
49329 (check-execstack-CFLAGS): Variable removed.
49330 ($(objpfx)check-execstack.h): Target removed.
49331 ($(objpfx)execstack-default): New target.
49332 (generated): Add that instead of check-execstack.h.
49333 ($(all-built-dso:=.phdr)): New static pattern rule.
49334 (generated): Add those targets.
49335 * elf/check-execstack.c: File removed.
49337 * scripts/check-textrel.awk: New file.
49338 * elf/Makefile ($(objpfx)check-textrel): Target removed.
49339 (check-textrel-CFLAGS): Variable removed.
49340 (all-built-dso): Use := to define.o
49341 ($(all-built-dso:=.dyn)): New static pattern rule.
49342 (generated): Add those targets.
49343 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49344 * config.make.in (READELF): New substituted variable.
49345 * elf/check-textrel.c: File removed.
49347 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49349 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49351 * conform/data/ctype.h-data [C99-based standards] (isblank):
49353 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49354 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49355 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49356 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49357 Specify type. Require positive value.
49358 (EILSEQ): Likewise.
49359 (ERANGE): Likewise.
49360 [ISO || POSIX] (EILSEQ): Do not expect.
49361 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49362 Specify type. Require positive value.
49363 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49364 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49365 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49366 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49367 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49368 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49369 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49370 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49371 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49372 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49373 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49374 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49375 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49376 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49377 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49378 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49379 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49380 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49381 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49382 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49383 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49384 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49385 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49386 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49387 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49388 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49389 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49390 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49391 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49392 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49393 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49394 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49395 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49396 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49397 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49398 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49399 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49400 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49401 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49402 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49403 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49404 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49405 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49406 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49407 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49408 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49409 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49410 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49411 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49412 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49413 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49414 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49415 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49416 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49417 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49418 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49419 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49420 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49421 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49422 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49423 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49424 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49425 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49426 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49427 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49428 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49429 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49430 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49431 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49432 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49433 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49434 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49435 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49436 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49437 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49438 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49439 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49441 (FLT_ROUNDS): Expect as macro, not constant.
49442 (FLT_MANT_DIG): Use macro-int-constant.
49443 (DBL_MANT_DIG): Likewise.
49444 (LDBL_MANT_DIG): Likewise.
49445 (FLT_DIG): Likewise.
49446 (DBL_DIG): Likewise.
49447 (LDBL_DIG): Likewise.
49448 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
49449 (DBL_MIN_EXP): Likewise.
49450 (LDBL_MIN_EXP): Likewise.
49451 (FLT_MAX_EXP): Use macro-int-constant.
49452 (DBL_MAX_EXP): Likewise.
49453 (LDBL_MAX_EXP): Likewise.
49454 (FLT_MAX_10_EXP): Likewise.
49455 (DBL_MAX_10_EXP): Likewise.
49456 (LDBL_MAX_10_EXP): Likewise.
49457 (FLT_MAX): Use macro-constant.
49458 (DBL_MAX): Likewise.
49459 (LDBL_MAX): Likewise.
49460 (FLT_EPSILON): Use macro-constant. Give upper bound.
49461 (DBL_EPSILON): Likewise.
49462 (LDBL_EPSILON): Likewise.
49463 (FLT_MIN): Likewise.
49464 (DBL_MIN): Likewise.
49465 (LDBL_MIN): Likewise.
49466 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49467 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49468 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49469 [ISO11] (FLT_HAS_SUBNORM): Likewise.
49470 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49471 [ISO11] (DBL_DECIMAL_DIG): Likewise.
49472 [ISO11] (FLT_DECIMAL_DIG): Likewise.
49473 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49474 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49475 [ISO11] (FLT_TRUE_MIN): Likewise.
49476 [ISO11] (LDBL_TRUE_MIN): Likewise.
49477 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49478 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49479 (SCHAR_MIN): Use macro-int-constant. Specify type.
49480 (SCHAR_MAX): Likewise.
49481 (UCHAR_MAX): Likewise.
49482 (CHAR_MIN): Likewise.
49483 (CHAR_MAX): Likewise.
49484 (MB_LEN_MAX): Use macro-int-constant.
49485 (SHRT_MIN): Use macro-int-constant. Specify type.
49486 (SHRT_MAX): Likewise.
49487 (USHRT_MAX): Likewise.
49488 (INT_MAX): Likewise.
49489 (INT_MIN): Use macro-int-constant. Specify type. Make upper
49491 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
49493 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49495 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
49496 bound negative. Suffix upper bound with "L".
49497 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49499 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49501 [C99-based standards] (LLONG_MAX): Likewise.
49502 [C99-based standards] (ULLONG_MAX): Likewise.
49503 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
49505 [ISO11] (max_align_t): Require type.
49506 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49508 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49509 from $CFLAGS, without defining away __attribute__ calls.
49510 (checknamespace): Use $CFLAGS_namespace.
49512 * conform/conformtest.pl (@keywords): Only include C99 keywords
49513 for standards based on C99 or C11.
49515 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49517 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49520 * conform/conformtest.pl: Handle "macro-int-constant" and test for
49521 usability of symbols in #if.
49523 * conform/conformtest.pl: If macro or constant types start
49524 "promoted:", expect the symbol to be of the following type
49525 promoted by the integer promotions.
49527 * conform/conformtest.pl: Parse all "constant" and "macro" lines
49528 in one place. Also handle "macro-constant".
49530 * conform/conformtest.pl: Only accept expected macro values with
49531 "==". Parse all "macro" lines in one place.
49532 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49534 * conform/conformtest.pl: Handle braced types on "constant" lines
49535 instead of handling "typed-constant".
49536 * conform/data/signal.h-data: Use "constant" instead of
49539 * conform/conformtest.pl: Handle "optional-" at start of lines in
49540 one place rather than duplicating several cases. Handle each
49541 format of "macro" line with initial "optional-".
49543 * conform/conformtest.pl: Only accept expected constant or
49544 optional-constant values with "==". Parse all "constant" lines in
49545 one place. Parse all "optional-constant" lines in one place.
49546 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49547 * conform/data/fmtmsg.h-data: Likewise.
49548 * conform/data/netinet/in.h-data: Likewise.
49549 * conform/data/tar.h-data: Likewise.
49550 * conform/data/limits.h-data: Use "==" form on "constant" and
49551 "optional-constant" lines.
49553 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49554 Use -std=c99 for XOPEN2K.
49555 (@knownproblems): Remove.
49556 (newtoken): Don't check %isknown.
49558 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49559 Do not expect macro.
49560 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49561 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49562 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49563 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49564 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49565 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49566 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49567 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49568 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49569 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49570 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49571 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49572 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49573 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49574 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49575 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49576 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49577 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49578 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49579 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49580 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49581 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49582 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49583 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49584 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49585 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49586 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49587 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49588 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49589 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49590 [XPG3] (acosh): Likewise.
49591 [XPG3] (asinh): Likewise.
49592 [XPG3] (atanh): Likewise.
49593 [XPG3] (cbrt): Likewise.
49594 [XPG3] (expm1): Likewise.
49595 [XPG3] (ilogb): Likewise.
49596 [XPG3] (log1p): Likewise.
49597 [XPG3] (logb): Likewise.
49598 [XPG3] (nextafter): Likewise.
49599 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49600 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49601 [XPG3] (remainder): Likewise.
49602 [XPG3] (rint): Likewise.
49603 [XPG3 || XPG4 || UNIX98] (round): Likewise.
49604 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49605 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49606 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49607 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49608 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49609 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49610 [UNIX98 || XOPEN2K] (scalb): Expect.
49611 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49612 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49613 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49614 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49615 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49616 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49617 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49618 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49619 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49620 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49621 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49622 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49623 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49624 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49625 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49626 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49627 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49628 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49629 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49630 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49631 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49632 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49633 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49634 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49635 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49636 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49637 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49638 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49639 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49640 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49641 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49642 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49643 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49644 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49645 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49646 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49647 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49648 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49649 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49650 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49651 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49652 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49653 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49654 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49655 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49656 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49657 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49658 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49659 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49660 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49661 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49662 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49663 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49664 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49665 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49666 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49667 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49668 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49669 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49670 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49671 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49672 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49673 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49674 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49675 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49676 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49677 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49678 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49679 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49680 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49681 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49682 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49683 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49684 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49685 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49686 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49687 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49688 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49689 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49690 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49691 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49692 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49693 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49694 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49695 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49696 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49697 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49698 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49699 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49700 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49701 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49702 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49703 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49704 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49705 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49706 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49707 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49708 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49709 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49710 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49711 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49712 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49713 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49714 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49715 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49716 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49717 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49718 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49719 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49720 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49721 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49722 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49723 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49724 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49725 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49726 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49727 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49728 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49729 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49730 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49731 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49732 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49733 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49734 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49735 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49736 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49737 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49738 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49739 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49740 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49741 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49742 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49743 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49744 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49745 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49746 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49747 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49749 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49750 _XOPEN_SOURCE_EXTENDED for XPG4.
49752 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49754 * Makeconfig (localtime): Remove variable.
49755 (inst_localtime-file): Likewise.
49757 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49778 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49782 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49783 comparisons to determine direction to adjust input.
49784 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49785 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49786 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49788 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49790 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49792 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49793 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49795 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49797 * math/libm-test.inc (nexttoward_test): Add more tests.
49799 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49802 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49803 in version GLIBC_2.1, not GLIBC_2.0.
49804 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49807 2012-04-30 Joseph Myers <joseph@codesourcery.com>
49810 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49812 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49813 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49814 * math/libm-test.inc (acos_test): Add more tests.
49815 (asin_test): Likewise.
49816 * sysdeps/i386/fpu/libm-test-ulps: Update.
49817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49820 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49822 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49823 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49824 * math/libm-test.inc (acos_test_tonearest): New function.
49825 (acos_test_towardzero): Likewise.
49826 (acos_test_downward): Likewise.
49827 (acos_test_upward): Likewise.
49828 (asin_test_tonearest): Likewise.
49829 (asin_test_towardzero): Likewise.
49830 (asin_test_downward): Likewise.
49831 (asin_test_upward): Likewise.
49832 (main): Call the new functions.
49833 * sysdeps/i386/fpu/libm-test-ulps: Update.
49834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49838 * math/e_exp10.c: Include <float.h>.
49839 (__ieee754_exp10): Handle underflow here rather than multiplying
49840 large negative argument by M_LN10.
49841 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49843 * math/e_exp10l.c: Include <float.h>.
49844 (__ieee754_exp10l): Handle underflow here rather than multiplying
49845 large negative argument by M_LN10l.
49846 * math/libm-test.inc (exp10_test): Add another test. Do not allow
49847 spurious overflow exception on underflow.
49849 2012-04-29 Marek Polacek <polacek@redhat.com>
49851 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49852 (__fortify_function): New macro.
49853 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49854 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49855 __extern_always_inline.
49856 * libio/bits/stdio2.h: Likewise.
49857 * libio/bits/stdio.h: Likewise.
49858 * string/string.h: Likewise.
49859 * string/bits/string3.h: Likewise.
49860 * include/stdio.h: Likewise.
49861 * stdlib/bits/stdlib.h: Likewise.
49862 * stdlib/stdlib.h: Likewise.
49863 * rt/bits/mqueue2.h: Likewise.
49864 * rt/mqueue.h: Likewise.
49865 * posix/bits/unistd.h: Likewise.
49866 * posix/unistd.h: Likewise.
49867 * io/bits/poll2.h: Likewise.
49868 * io/bits/fcntl2.h: Likewise.
49869 * io/fcntl.h: Likewise.
49870 * io/sys/poll.h: Likewise.
49871 * misc/bits/syslog.h: Likewise.
49872 * misc/bits/syslog-ldbl.h: Likewise.
49873 * misc/sys/syslog.h: Likewise.
49874 * socket/bits/socket2.h: Likewise.
49875 * socket/sys/socket.h: Likewise.
49876 * debug/tst-chk1.c: Likewise.
49877 * wcsmbs/bits/wchar2.h: Likewise.
49878 * wcsmbs/bits/wchar-ldbl.h: Likewise.
49879 * wcsmbs/wchar.h: Likewise.
49881 2012-04-29 Andreas Jaeger <aj@suse.de>
49883 * Makerules (tests): Remove enable-check-abi protection.
49884 (check-abi-warn): Remove.
49885 (check-abi-%): Remove check-abi-warn usage.
49887 * configure.in: Remove check-abi configure option.
49888 * configure: Regenerated.
49889 * config.make.in (enable-check-abi): Remove.
49891 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
49894 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49895 double functions to double *_finite functions.
49898 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49899 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49901 * stdio-common/Makefile (tests): Add tst-sprintf3.
49902 * stdio-common/tst-sprintf3.c: New file.
49904 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49905 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49907 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49909 * conform/conformtest.pl: Remove duplicate typed-constant
49912 2012-04-28 David S. Miller <davem@davemloft.net>
49914 * Makerules (%.abilist): Add vpath on sysdep_dirs.
49915 (check-abi-%): Remove AWK script prerequisite and explicit
49917 (check-abi): Rewrite to just diff the symlist with the abilist.
49918 (config-tls, config-abi-config): Delete, no longer used.
49919 (update-abi-%): Remove AWK script and explicit abilist directory.
49920 (update-abi): Rewrite to simply compare and conditionally copy the
49921 symlist and the sysdep abilist file. Remove update-abi-config
49923 * abilist/ld.abilist: Remove.
49924 * abilist/libBrokenLocale.abilist: Remove.
49925 * abilist/libanl.abilist: Remove.
49926 * abilist/libcrypt.abilist: Remove.
49927 * abilist/libdl.abilist: Remove.
49928 * abilist/librt.abilist: Remove.
49929 * abilist/libthread_db.abilist: Remove.
49930 * abilist/libutil.abilist: Remove.
49931 * scripts/extract-abilist.awk: Remove.
49932 * scripts/merge-abilist.awk: Remove.
49933 * sysdeps/generic/libcidn.abilist: New file.
49934 * sysdeps/generic/libnss_compat.abilist: New file.
49935 * sysdeps/generic/libnss_db.abilist: New file.
49936 * sysdeps/generic/libnss_dns.abilist: New file.
49937 * sysdeps/generic/libnss_files.abilist: New file.
49938 * sysdeps/generic/libnss_hesiod.abilist: New file.
49939 * sysdeps/generic/libnss_nis.abilist: New file.
49940 * sysdeps/generic/libnss_nisplus.abilist: New file.
49941 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49942 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49943 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49945 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49946 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49947 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49948 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49949 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49950 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49951 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49952 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49953 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49955 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49956 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49957 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49958 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49960 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49961 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49962 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49963 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49964 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49965 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49967 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49968 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49969 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49971 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49976 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50074 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50075 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50076 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50078 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50079 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50080 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50081 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50082 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50083 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50084 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50085 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50086 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50087 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50139 2012-04-28 Joseph Myers <joseph@codesourcery.com>
50141 * conform/conformtest.pl: Fix typo in handling typed-constant from
50144 2012-04-27 Joseph Myers <joseph@codesourcery.com>
50146 * README: Cut down references to pre-2.6 Linux kernels and
50147 Linuxthreads. Update lists of configurations in libc and ports
50148 and sort alphabetically. Say "or newer" with Linux kernel version
50151 * config.h.in [IS_IN_build]: Allow compiling without optimization.
50153 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
50156 * math/libm-test.inc (logb_test_downward): New test to expose
50157 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50160 2012-04-27 Joseph Myers <joseph@codesourcery.com>
50163 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50165 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50166 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50168 2012-04-26 Joseph Myers <joseph@codesourcery.com>
50170 * sysdeps/unix/i386/brk.S: Remove file.
50171 * sysdeps/unix/i386/dl-brk.S: Likewise.
50172 * sysdeps/unix/i386/pipe.S: Likewise.
50173 * sysdeps/unix/i386/sigreturn.S: Likewise.
50174 * sysdeps/unix/i386/syscall.S: Likewise.
50175 * sysdeps/unix/i386/vfork.S: Likewise.
50176 * sysdeps/unix/i386/wait.S: Likewise.
50178 * sysdeps/unix/common/tcsendbrk.c: Move to ...
50179 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50181 * configure.in (arm*-none*): Do not allow without
50182 --enable-hacker-mode.
50183 (netbsd*): Remove case setting base_os.
50184 (386bsd*): Likewise.
50185 (freebsd*): Likewise.
50188 (sunos*): Likewise.
50189 (ultrix*): Likewise.
50190 (newsos*): Likewise.
50191 (dynix*): Likewise.
50197 (minix*): Likewise.
50198 (irix4*): Likewise.
50199 (irix6*): Likewise.
50200 (solaris[2-9]*): Likewise.
50202 * configure: Regenerated.
50204 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50207 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50208 overflow or cancellation in calculating denominator.
50209 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50210 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50211 down expression to avoid unexpected rounding in newer GCCs.
50212 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50214 2012-04-26 David S. Miller <davem@davemloft.net>
50216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50217 long-double compat symbols.
50218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50232 2012-04-25 David S. Miller <davem@davemloft.net>
50234 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50235 HWCAP_* values only after the memory barriers have been defined.
50236 (atomic_full_barrier): Define.
50237 (atomic_read_barrier): Define.
50238 (atomic_write_barrier): Define.
50240 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50242 * shlib-versions: Add libgcc_s version information.
50243 * sysdeps/generic/libgcc_s.h: Remove.
50244 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50246 * sysdeps/gnu/unwind-resume.c: Likewise.
50247 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50249 2012-04-25 David S. Miller <davem@davemloft.net>
50251 * sysdeps/unix/sparc/brk.S: Delete.
50252 * sysdeps/unix/sparc/dl-brk.S: Delete.
50253 * sysdeps/unix/sparc/pipe.S: Delete.
50254 * sysdeps/unix/sparc/sysdep.S: Delete.
50255 * sysdeps/unix/sparc/sysdep.h: Delete.
50256 * sysdeps/unix/sparc/vfork.S: Delete.
50257 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50258 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50259 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50260 (ret_ERRVAL, r0, r1, MOVE): Define.
50261 (JUMPTARGET): Remove.
50262 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50263 sysdeps/unix/sparc/sysdep.h
50264 (ENTRY, END): Remove.
50265 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50267 2012-04-25 Joseph Myers <joseph@codesourcery.com>
50269 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50270 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50273 * timezone/README: Update upstream location and email address for
50275 * timezone/zdump.c: Update from tzcode 2012b.
50276 * timezone/zic.c: Likewise.
50278 * configure.in (libc_cv_as_needed): Remove test.
50279 * configure: Regenerated.
50280 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50281 conditional definition.
50282 [$(have-as-needed) != yes] (no-as-needed): Likewise.
50283 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50284 * config.make.in (have-as-needed): Remove variable.
50286 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
50287 Paul Pluzhnikov <ppluzhnikov@google.com>
50289 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50292 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
50294 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50295 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50296 * sysdeps/sh/strlen.S: Likewise.
50298 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50300 * sysdeps/unix/fork.S: Remove file.
50301 * sysdeps/unix/i386/fork.S: Likewise.
50302 * sysdeps/unix/sparc/fork.S: Likewise.
50304 * sysdeps/unix/system.c: Remove file.
50305 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50307 * sysdeps/unix/getegid.S: Remove file.
50308 * sysdeps/unix/geteuid.S: Likewise.
50310 2012-04-24 Roland McGrath <roland@hack.frob.com>
50312 * scripts/check-localplt.awk: New file.
50313 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50315 * scripts/data/localplt-generic.data: Add a comment.
50317 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50318 NODE when __dir_mkfile failed.
50319 * sysdeps/mach/hurd/symlinkat.c: Likewise.
50320 Reported by Ludovic Courtès <ludo@gnu.org>.
50322 2012-04-24 Andreas Jaeger <aj@suse.de>
50324 * Makerules (common-clean): Also remove gen-as-const-headers
50327 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50329 * Makerules (native-compile): Do not change working directory for
50330 build. Use $(OUTPUT_OPTION) in command.
50331 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50333 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50336 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50337 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50338 * math/libm-test.inc (floor_test): Add more tests.
50339 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50341 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50343 * sysdeps/unix/getdents.c: Remove file.
50344 * sysdeps/unix/sysv/getdents.c: Likewise.
50345 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50347 * sysdeps/unix/syscalls.list (madvise): Add syscall from
50348 sysdeps/unix/mman/syscalls.list.
50350 (mprotect): Likewise.
50352 (munmap): Likewise.
50353 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50354 * sysdeps/unix/mman/syscalls.list: Remove.
50355 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50357 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50358 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50359 * configure: Regenerated.
50360 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50361 $(libgcc_s_suffix).
50362 * config.make.in (libgcc_s_suffix): Remove variable.
50364 2012-04-23 Joseph Myers <joseph@codesourcery.com>
50366 * sysdeps/unix/sysv/gethostname.c: Move to ...
50367 * sysdeps/posix/gethostname.c: ... here.
50369 * sysdeps/unix/execve.S: Remove file.
50371 * sysdeps/unix/_exit.S: Remove file.
50373 2012-04-23 Andreas Jaeger <aj@suse.de>
50376 * manual/Makefile: Remove make dist support, there's no
50377 need for a stand-alone documentation tar ball.
50378 (TEXI2DVI): Define always, it's not in Makeconfig.
50381 (edition): Removed.
50382 (glibc-doc-$(edition).tar): Removed
50386 (ETAGS): Remove, it's in Makeconfig.
50387 (move-if-change): Remove, it's in Makeconfig.
50389 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
50392 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50393 (strtod, strtof, strtold, strtol, strtoul, strtoq)
50394 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50395 (strtod_l, strtof_l, strtold_l): Remove __wur.
50396 It is not necessarily an error to ignore strtol's return value.
50397 One can reliably look at the stored endptr to decide whether
50398 the number had valid syntax.
50400 2012-04-21 Andreas Jaeger <aj@suse.de>
50403 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50405 2012-04-21 Joseph Myers <joseph@codesourcery.com>
50407 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50408 * sysdeps/unix/sysv/Versions: Remove file.
50410 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
50413 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50415 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
50418 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50419 version from __vm86.
50421 2012-04-20 Joseph Myers <joseph@codesourcery.com>
50423 * sysdeps/unix/common/lxstat.c: Remove file.
50424 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50426 * sysdeps/unix/sysv/Makefile: Remove file.
50428 * sysdeps/unix/sysv/direct.h: Remove file.
50430 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50431 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50432 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50433 * sysdeps/unix/sysv/bits/signum.h: Likewise.
50434 * sysdeps/unix/sysv/bits/stat.h: Likewise.
50435 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50436 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50438 * sysdeps/unix/sysv/setrlimit.c: Remove file.
50440 * sysdeps/unix/xmknod.c: Remove file.
50441 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50443 * sysdeps/unix/sysv/settimeofday.c: Remove file.
50445 * sysdeps/unix/sysv/i386/time.S: Remove file.
50447 * sysdeps/unix/fxstat.c: Remove file.
50448 * sysdeps/unix/xstat.c: Likewise.
50449 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50451 * sysdeps/unix/sysv/sigaction.c: Remove file.
50453 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50454 (sysdep_headers): Remove variable.
50455 [termio.h not in sysdep_headers] (generated): Likewise.
50456 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50457 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50458 * sysdeps/unix/sysv/tcdrain.c: Likewise.
50459 * sysdeps/unix/sysv/tcflow.c: Likewise.
50460 * sysdeps/unix/sysv/tcflush.c: Likewise.
50461 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50462 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50463 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50464 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50465 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50467 * sysdeps/unix/siglist.c: Remove file.
50469 * sysdeps/unix/getppid.S: Remove file.
50471 * sysdeps/unix/mkdir.c: Remove file.
50472 * sysdeps/unix/rmdir.c: Likewise.
50474 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
50476 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50478 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50479 errlist-compat value.
50481 2012-04-18 David S. Miller <davem@davemloft.net>
50483 * sysdeps/generic/memcopy.h (reg_char): Delete.
50484 * debug/strcat_chk.c: Use char, not reg_char.
50485 * debug/strcpy_chk.c: Likewise.
50486 * debug/strncat_chk.c: Likewise.
50487 * debug/strncpy_chk.c: Likewise.
50488 * string/memchr.c: Likewise.
50489 * string/memrchr.c: Likewise.
50490 * string/rawmemchr.c: Likewise.
50491 * string/strcat.c: Likewise.
50492 * string/strchr.c: Likewise.
50493 * string/strchrnul.c: Likewise.
50494 * string/strcmp.c: Likewise.
50495 * string/strcpy.c: Likewise.
50496 * string/strncat.c: Likewise.
50497 * string/strncmp.c: Likewise.
50498 * string/strncpy.c: Likewise.
50500 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50502 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50503 __builtin_memcopy is called when src and dest ranges are known to not
50506 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50508 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50509 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50510 fwd_align_merge macro call.
50511 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50512 bwd_align_merge macro call.
50513 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50515 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50517 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50518 bwd_align_merge macros.
50519 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50520 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50521 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50523 2012-04-18 David S. Miller <davem@davemloft.net>
50525 * sysdeps/sparc/sparc64/memcopy.h: Delete.
50527 2012-04-18 Andreas Jaeger <aj@suse.de>
50530 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50531 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50532 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50534 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50535 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50536 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50538 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50539 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50540 Adjust for changed ldbl-128 files.
50542 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50543 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50544 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50546 2012-04-17 David S. Miller <davem@davemloft.net>
50548 * sysdeps/sparc/sparc32/memcopy.h: Delete.
50550 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
50552 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50553 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50554 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50555 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50556 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50557 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50559 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50562 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50563 * math/libm-test.inc: Add ilogb errno and exception tests.
50564 * math/w_ilogb.c: New file: ilogb wrapper.
50565 * math/w_ilogbf.c: New file: ilogbf wrapper.
50566 * math/w_ilogbl.c: New file: ilogbl wrapper.
50567 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50568 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50569 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50570 exception being thrown with 0.0 as argument.
50571 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50572 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50573 exception being thrown with 0.0 as argument.
50574 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50575 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50576 exception being thrown with 0.0 as argument.
50577 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50578 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50579 exception being thrown with 0.0 as argument.
50580 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50581 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50582 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50583 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50584 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50585 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50586 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50587 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50588 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50590 2012-04-17 Petr Baudis <pasky@ucw.cz>
50592 * include/sys/uio.h: Change __vector to __iovec to avoid clash
50595 2012-04-16 Marek Polacek <polacek@redhat.com>
50597 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50599 2012-04-16 Marek Polacek <polacek@redhat.com>
50601 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50602 operands of fdivp instruction.
50604 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50606 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50607 * elf/tst-auditmod3b.c: Likewise.
50608 * elf/tst-auditmod4b.c: Likewise.
50609 * elf/tst-auditmod5b.c: Likewise.
50610 * elf/tst-auditmod6b.c: Likewise.
50611 * elf/tst-auditmod6c.c: Likewise.
50612 * elf/tst-auditmod7b.c: Likewise.
50613 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50614 * sysdeps/x86_64/preconfigure.in: Likewise.
50615 * sysdeps/x86_64/preconfigure: Regenerated.
50617 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50619 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50622 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
50624 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50625 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50627 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
50630 * locale/iso-639.def: Fix gl language name. Spotted by
50633 2012-04-12 Roland McGrath <roland@hack.frob.com>
50636 * libio/libio.h (__io_write_fn): Update comment.
50638 2012-04-12 Petr Baudis <pasky@ucw.cz>
50641 * stdio.texi (Hook Functions): The user provided writer function
50642 is not allowed to return -1.
50644 2012-04-11 David S. Miller <davem@davemloft.net>
50646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50648 2012-04-11 Mike Frysinger <vapier@gentoo.org>
50650 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50651 Add a leading slash to rtkaio.
50653 2012-04-11 Jim Meyering <meyering@redhat.com>
50656 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50657 It is not necessarily an error to ignore fwrite's return
50658 value. One can reliably use ferror to test for errors after
50661 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50663 * bits/types.h (__snseconds_t): New type.
50664 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50666 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50667 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50668 (__SNSECONDS_T_TYPE): Likewise.
50669 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50670 (__SNSECONDS_T_TYPE): Likewise.
50671 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50672 (__SNSECONDS_T_TYPE): Likewise.
50674 2012-04-10 Andreas Jaeger <aj@suse.de>
50677 * manual/time.texi (Processor Time): Return type of times is
50678 elapsed real time since an arbitrary point in the past.
50679 (CPU Time): Move CLK_TCK from here...
50680 (Processor Time): ...to here. Correct description.
50681 * manual/conf.texi (Constants for Sysconf): Correct description of
50684 2012-04-10 David S. Miller <davem@davemloft.net>
50687 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50688 where the is a gap between DT_REL(A) and DT_JMPREL.
50690 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50692 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50693 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50694 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50696 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50698 * elf/dl-support.c (_dl_inhibit_cache): New variable.
50699 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50700 (dl_main): Handle --inhibit-cache.
50701 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50703 * elf/dl-load.c (_dl_map_object): Use it.
50704 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50706 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50709 * sysdeps/i386/fpu/e_powl.S (p78): New object.
50710 (__ieee754_powl): Saturate large exponents rather than testing for
50711 overflow of y*log2(x).
50712 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50713 * math/libm-test.inc (pow_test): Do not permit spurious overflow
50717 * math/s_ctan.c: Include <float.h>.
50718 (__ctan): Avoid internal overflow or cancellation in calculating
50720 * math/s_ctanf.c: Likewise.
50721 * math/s_ctanl.c: Likewise.
50722 * math/s_ctanh.c: Likewise.
50723 * math/s_ctanhf.c: Likewise.
50724 * math/s_ctanhl.c: Likewise.
50725 * math/libm-test.inc (ctan_test): Add more tests.
50726 (ctanh_test): Likewise.
50727 * sysdeps/i386/fpu/libm-test-ulps: Update.
50728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50730 2012-04-09 Andreas Jaeger <aj@suse.de>
50733 * manual/filesys.texi (Directory Entries): Mention that d_namlen
50734 is an optional BSD extension.
50737 * manual/stdio.texi (Opening Streams): Document additional fopen
50740 2012-04-09 Roland McGrath <roland@hack.frob.com>
50742 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50743 %eax without telling the compiler.
50745 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
50748 * manual/install.texi: Use sourceware.org.
50750 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50753 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50754 (__ieee754_pow): Generate overflow and underflow using huge*huge
50755 and tiny*tiny rather than just returning constant infinity or zero
50756 for large exponents.
50757 * math/libm-test.inc (pow_test): Require overflow exceptions for
50758 applicable cases of large exponents.
50761 * sysdeps/i386/fpu/e_pow.S (p10): New object.
50762 (__ieee754_pow): Use iterative multiplication algorithm only for
50763 integer exponents with absolute value below 1024. Check for odd
50764 integer exponents when using algorithm for real exponents.
50765 * math/libm-test.inc (pow_test): Add more tests.
50766 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50768 2012-04-08 Joseph Myers <joseph@codesourcery.com>
50771 * math/libm-test.inc (exp_test): Do not allow overflow exception
50774 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
50777 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50778 instead of __kernel_standard_f.
50780 2012-04-08 Mike Frysinger <vapier@gentoo.org>
50782 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50783 * sysdeps/x86_64/memset_chk.S: Likewise.
50785 2012-04-08 Andreas Jaeger <aj@suse.de>
50788 * manual/startup.texi (Environment Access): Describe return value
50789 for putenv and setenv.
50792 * manual/filesys.texi (Directory Entries): Add description for
50796 * manual/filesys.texi (Directory Entries): Clarify that it's file
50797 system not operating system in the description of DT_UNKNOWN.
50800 * manual/syslog.texi (closelog): Fix reference, it's openlog.
50802 2012-04-08 Stephen Compall <s11@member.fsf.org>
50805 * manual/llio.texi (Opening and Closing Files): Add cross
50806 reference to explain mode argument.
50808 2012-04-07 Mike Frysinger <vapier@gentoo.org>
50810 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50811 * sysdeps/x86_64/memset_chk.S: Likewise.
50813 2012-04-07 David S. Miller <davem@davemloft.net>
50815 * elf/elf.h (R_SPARC_WDISP10): Define.
50816 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50818 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50819 R_SPARC_SIZE64 and R_SPARC_H34.
50821 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
50823 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50824 conditions and remove no longer applicable assertion.
50826 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50828 * bits/byteswap.h: Include <features.h>.
50829 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50830 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50832 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50834 * bits/byteswap.h (__bswap_16): Removed.
50835 Include <bits/byteswap-16.h> to get __bswap_16.
50836 * sysdeps/i386/bits/byteswap.h: Likewise.
50837 * sysdeps/s390/bits/byteswap.h: Likewise.
50838 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50839 * bits/byteswap-16.h: New file.
50840 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50841 * sysdeps/s390/bits/byteswap-16.h: Likewise.
50842 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50843 * string/Makefile (headers): Add bits/byteswap-16.h.
50845 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50848 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50850 * nss/Makefile (tests-static, tests): Add tst-nss-static.
50851 * nss/tst-nss-static.c: New.
50853 2012-04-06 Robert Millan <rmh@gnu.org>
50856 * manual/llio.texi (File Position Primitive): lseek
50857 refers to WHENCE when it really means OFFSET.
50859 2012-04-06 Andreas Jaeger <aj@suse.de>
50861 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50862 strncmp declarations.
50864 * abilist/libc.abilist: Add __poll and __ppoll.
50866 2012-04-05 David S. Miller <davem@davemloft.net>
50868 * scripts/check-local-headers.sh: Accept a host triplet in the
50869 path matched by the exclude regexp.
50871 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50873 * sysdeps/powerpc/powerpc32/dl-machine.h
50874 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50875 * sysdeps/s390/s390-32/dl-machine.h
50876 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50877 * sysdeps/sparc/sparc32/dl-machine.h
50878 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50879 * sysdeps/sparc/sparc64/dl-machine.h
50880 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50882 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50884 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50885 undefined symbol errors.
50887 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50890 2012-04-05 Michael Matz <matz@suse.de>
50893 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50895 2012-04-05 Andreas Jaeger <aj@suse.de>
50898 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50901 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50903 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50904 which ROUND is no valid rounding mode.
50906 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50908 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50910 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50912 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50914 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50915 an exception using FPU order intentionally.
50917 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50919 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50920 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50921 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50922 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50924 2012-04-05 Simon Josefsson <simon@josefsson.org>
50927 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50928 EINVAL when BUFLEN is too smal.
50930 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
50933 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50934 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50936 2012-04-03 Andreas Jaeger <aj@suse.de>
50939 * manual/setjmp.texi (System V contexts): Fix sentence.
50942 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50943 New macro for this case.
50944 [!__GNUC__] (__bswap_64): New inline function for this case.
50945 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50946 * bits/byteswap.h: Likewise.
50947 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50948 ull, guard with __GLIBC_HAVE_LONG_LONG.
50950 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50951 __GLIBC_HAVE_LONG_LONG.
50953 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50954 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50956 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50959 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50960 inptr and inend, rather than using last_ch.
50962 2012-04-02 David S. Miller <davem@davemloft.net>
50964 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50965 * stdio-common/printf-parse.h (read_int): Change return type to
50966 'int', return -1 on INT_MAX overflow.
50967 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50968 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
50969 overflows INT_MAX. Check for overflow of in-format-string precision
50970 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
50971 SIZE_MAX not INT_MAX for integer overflow test.
50972 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50973 skip the construct in the format string but do not record anything.
50974 * stdio-common/bug22.c: Adjust to test both width/prevision
50975 INT_MAX overflow as well as total length INT_MAX overflow. Check
50976 explicitly for proper errno values.
50978 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
50980 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50982 * string/test-strcmp.c [! WIDE]: Likewise.
50983 * time/tst-mktime2.c: Likewise for INT_MAX.
50984 * string/test-string.h: #include <sys/param.h> for MIN.
50986 * csu/init-first.c (__libc_init_first): Call __ctype_init.
50987 * sysdeps/i386/init-first.c (init): Likewise.
50988 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50989 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50990 * sysdeps/sh/init-first.c (init): Likewise.
50992 2012-04-01 Ulrich Drepper <drepper@gmail.com>
50994 * po/ru.po: Update from translation team.
50995 * po/vi.po: Likewise.
50997 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50999 * resolv/nss_dns/dns-host.c: Merge copyright years.
51001 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51003 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51004 Optimize memcpy with prefetch if
51005 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
51006 src, dst pointers have unequal 16 byte alignments.
51008 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51011 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51012 from a CNAME entry and return the minimum ttl for the query.
51013 (gaih_getanswer_slice): Likewise.
51015 2012-03-30 Jeff Law <law@redhat.com>
51017 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51019 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51020 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51022 * resolv/nss_dns/dns-host.c: Update copyright year.
51024 2012-03-30 Ulrich Drepper <drepper@gmail.com>
51026 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51027 requests to save a system call. Fix check that all bytes are sent.
51029 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51030 comments for sendmmsg.
51032 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51035 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51036 with only 1 character between 0x0041 and 0x01b0.
51037 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51038 * wcsmbs/tst-mbsnrtowcs.c: New file.
51040 2012-03-29 David S. Miller <davem@davemloft.net>
51042 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51043 small copies by hand.
51045 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51048 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51049 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51052 2012-03-28 David S. Miller <davem@davemloft.net>
51054 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51055 that branches into memcpy.
51056 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51057 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51058 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51059 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51060 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51062 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51063 implementation too.
51064 * sysdeps/sparc/mempcpy.S: New file.
51066 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51067 the IFUNC routine in the libc case.
51068 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51070 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51071 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51072 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51073 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51074 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51075 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51076 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51077 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51079 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51080 loop to 256 bytes instead of 64 bytes and fix test signedness.
51082 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51083 * sysdeps/sparc/sparc32/Makefile: rather than here...
51084 * sysdeps/sparc/sparc64/Makefile: and here.
51086 2012-03-28 Ulrich Drepper <drepper@gmail.com>
51088 * malloc/mallocbug.c: Avoid warnings about unused variables.
51090 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51093 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51094 in the right place. Discard and retry query if response is
51095 larger than input buffer size.
51097 2012-03-28 Joseph Myers <joseph@codesourcery.com>
51102 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51103 x for large integer exponent.
51104 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51105 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
51106 sign of result as needed afterwards.
51107 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51108 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51109 result for underflowing pow the same as for overflow.
51110 (__kernel_standard_l): Handle powl overflow and underflow here
51111 rather than calling __kernel_standard.
51112 * math/libm-test.inc (pow_test): Add more tests.
51127 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51128 * sysdeps/ieee754/k_standard.c: Include <float.h>.
51129 (__kernel_standard_l): New function.
51130 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51132 * math/w_acosl.c (__acosl): Likewise.
51133 * math/w_asinl.c (__asinl): Likewise.
51134 * math/w_atan2l.c (__atan2l): Likewise.
51135 * math/w_atanhl.c (__atanhl): Likewise.
51136 * math/w_coshl.c (__coshl): Likewise.
51137 * math/w_exp10l.c (__exp10l): Likewise.
51138 * math/w_exp2l.c (__exp2l): Likewise.
51139 * math/w_fmodl.c (__fmodl): Likewise.
51140 * math/w_hypotl.c (__hypotl): Likewise.
51141 * math/w_j0l.c (__j0l, __y0l): Likewise.
51142 * math/w_j1l.c (__j1l, __y1l): Likewise.
51143 * math/w_jnl.c (__jnl, __ynl): Likewise.
51144 * math/w_lgammal.c (__lgammal): Likewise.
51145 * math/w_log10l.c (__log10l): Likewise.
51146 * math/w_log2l.c (__log2l): Likewise.
51147 * math/w_logl.c (__logl): Likewise.
51148 * math/w_powl.c (__powl): Likewise.
51149 * math/w_remainderl.c (__remainderl): Likewise.
51150 * math/w_scalbl.c (sysv_scalbl): Likewise.
51151 * math/w_sinhl.c (__sinhl): Likewise.
51152 * math/w_sqrtl.c (__sqrtl): Likewise.
51153 * math/w_tgammal.c (__tgammal): Likewise.
51154 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51155 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51156 * math/libm-test.inc (acos_test): Add more tests.
51157 (acosh_test): Likewise.
51158 (asin_test): Likewise.
51159 (atanh_test): Likewise.
51160 (exp_test): Likewise.
51161 (exp10_test): Likewise.
51162 (exp2_test): Likewise.
51163 (expm1_test): Likewise.
51164 (lgamma_test): Likewise.
51165 (log_test): Likewise.
51166 (log10_test): Likewise.
51167 (log1p_test): Likewise.
51168 (log2_test): Likewise.
51169 (pow_test): Do not allow some spurious overflow exceptions.
51170 (sqrt_test): Add more tests.
51171 (tgamma_test): Likewise.
51172 (y0_test): Likewise.
51173 (y1_test): Likewise.
51174 (yn_test): Likewise.
51176 2012-03-27 Anton Blanchard <anton@samba.org>
51178 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51180 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51181 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51182 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51184 2012-03-27 David S. Miller <davem@davemloft.net>
51186 * conform/Makefile: Run run-conformtest.sh using $(BASH).
51188 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51189 have-as-vis3 check.
51191 2012-03-27 Andreas Jaeger <aj@suse.de>
51193 * sysdeps/x86_64/elf/configure.in: Moved to ...
51194 * sysdeps/x86_64/configure.in: ... here.
51195 * sysdeps/x86_64/elf/start.S: Moved to ...
51196 * sysdeps/x86_64/start.S: ... here.
51197 * sysdeps/x86_64/elf/configure: Delete.
51199 * sysdeps/x86_64/configure.in: Merge contents from
51200 sysdeps/i386/configure.in (without i686 check).
51202 * sysdeps/i386/elf/Versions: Merge into ...
51203 * sysdeps/i386/Versions: ... this.
51204 * sysdeps/i386/elf/Versions: Delete file.
51205 * sysdeps/i386/elf/start.S: Moved to ...
51206 * sysdeps/i386/start.S: ...here.
51207 * sysdeps/i386/elf/configure.in: Merge into...
51208 * sysdeps/i386/configure.in: ...here.
51209 * sysdeps/i386/elf/configure.in: Delete file.
51210 * sysdeps/i386/elf/configure: Delete file.
51212 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51213 * debug/backtracesyms.c: ... here.
51214 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51215 * debug/backtracesymsfd.c: ... here.
51216 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51217 * sysdeps/generic/ifunc-sel.h: ... here.
51219 * sysdeps/unix/i386/start.c: Delete file.
51220 * sysdeps/unix/sparc/start.c: Delete file.
51221 * sysdeps/unix/start.c: Delete file.
51223 * sysdeps/sh/elf/configure.in: Moved to ...
51224 * sysdeps/sh/configure.in: ... here.
51225 * sysdeps/sh/elf/start.S: Moved to ...
51226 * sysdeps/sh/start.S: ... here.
51227 * sysdeps/sh/elf/configure: Delete file.
51229 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51230 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51231 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51232 * sysdeps/powerpc/powerpc64/entry.h: ... here.
51233 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51234 * sysdeps/powerpc/powerpc64/start.S: here.
51235 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51236 * sysdeps/powerpc/powerpc64/Makefile: ... this.
51237 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51238 * sysdeps/powerpc/powerpc64/configure.in: ... this.
51239 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51241 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51242 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51243 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51244 * sysdeps/powerpc/powerpc32/start.S: ... here.
51245 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51246 * sysdeps/powerpc/powerpc32/configure.in: ... this.
51247 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51249 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51250 * sysdeps/powerpc/ifunc-sel.h: ... here.
51251 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51252 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51254 * sysdeps/sparc/elf/configure.in: Moved to ...
51255 * sysdeps/sparc/configure.in: ... here.
51256 * sysdeps/sparc/elf/configure: Delete file.
51257 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51258 * sysdeps/sparc/sparc32/start.S: ... here.
51259 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51260 * sysdeps/sparc/sparc64/start.S: ... here.
51261 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51262 * sysdeps/sparc/sparc32/Makefile: ... this.
51263 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51264 * sysdeps/sparc/sparc64/Makefile: ... this.
51266 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51267 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51268 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51269 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51270 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51271 * sysdeps/s390/s390-32/setjmp.S: ... here.
51272 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51273 * sysdeps/s390/s390-32/configure.in: ... here.
51274 * sysdeps/s390/s390-32/elf/configure: Delete file.
51275 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51276 * sysdeps/s390/s390-32/start.S: ... here.
51278 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51279 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51280 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51281 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51282 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51283 * sysdeps/s390/s390-64/setjmp.S: ... here.
51284 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51285 * sysdeps/s390/s390-64/configure.in: ... here
51286 * sysdeps/s390/s390-64/elf/configure: Delete file.
51287 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51288 * sysdeps/s390/s390-64/start.S: ... here.
51289 * sysdeps/s390/s390-64/elf/configure: Delete.
51291 * configure.in: Remove support for elf directories in sysdeps.
51293 * configure: Regenerated.
51294 * sysdeps/i386/configure: Regenerated.
51295 * sysdeps/powerpc/powerpc32/configure: Regenerated.
51296 * sysdeps/powerpc/powerpc64/configure: Regenerated.
51297 * sysdeps/s390/s390-32/configure: Regenerated.
51298 * sysdeps/s390/s390-64/configure: Regenerated.
51299 * sysdeps/sh/configure: Regenerated.
51300 * sysdeps/sparc/configure: Regenerated.
51301 * sysdeps/x86_64/configure: Regenerated.
51303 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
51305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51307 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51308 denormal result into account.
51310 2012-03-25 Roland McGrath <roland@hack.frob.com>
51312 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51313 Reported by Allan McRae <allan@archlinux.org>.
51315 2012-03-23 Jeff Law <law@redhat.com>
51317 * nss/getnssent.c (__nss_getent): Fix typo.
51319 2012-03-23 David S. Miller <davem@davemloft.net>
51321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51323 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
51325 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51326 to pad to uint64_t for each field.
51327 (dl_tls_index): Replace unsigned long with uint64_t.
51329 2012-03-23 Daniel Jacobowitz <dmj@google.com>
51330 Paul Pluzhnikov <ppluzhnikov@google.com>
51333 * grp/Makefile (otherlibs): Don't set it.
51334 * inet/Makefile (otherlibs): Likewise.
51335 * login/Makefile (otherlibs): Likewise.
51336 * nscd/Makefile (otherlibs): Likewise.
51337 * posix/Makefile (otherlibs): Likewise.
51338 * pwd/Makefile (otherlibs): Likewise.
51339 * rt/Makefile (otherlibs): Likewise.
51340 * sunrpc/Makefile (otherlibs): Likewise.
51341 * nss/Makefile (otherlibs): Likewise.
51342 Add libnss_files to routines and static-only-routines.
51343 ($(objpfx)getent): Remove rule.
51344 * resolv/Makefile: Add libnss_dns and libresolv to routines and
51345 static-only-routines.
51347 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51350 * math/s_cexp.c: Include <float.h>.
51351 (__cexp): Handle exp result overflowing not necessarily
51352 overflowing both real and imaginary parts of result.
51353 * math/s_cexpf.c: Likewise.
51354 * math/s_cexpl.c: Likewise.
51355 * math/libm-test.inc (cexp_test): Add more tests.
51356 * sysdeps/i386/fpu/libm-test-ulps: Update.
51357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51359 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51361 * include/link.h (ELFW): New macro.
51362 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51363 Replace ELF64_R_TYPE with ELFW(R_TYPE).
51365 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51367 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51370 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51372 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51374 (struct La_x32_retval): Likewise.
51376 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51378 * sysdeps/x86_64/preconfigure.in: New file.
51379 * sysdeps/x86_64/preconfigure: New generated file.
51381 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51384 * math/e_exp2l.c: Include <float.h>.
51385 (__ieee754_exp2l): Handle overflow and underflow cases
51386 separately. Only pass fractional part of argument to
51388 * math/libm-test.inc (exp2_test): Add more tests.
51390 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51391 negating x to take absolute value.
51392 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51394 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51395 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51397 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51398 computing low part if x was negated.
51399 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51401 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51403 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51404 la_x32_gnu_pltexit.
51405 (pltexit): Cast int_retval to ptrdiff_t.
51406 * elf/tst-auditmod3b.c: Likewise.
51407 * elf/tst-auditmod4b.c: Likewise.
51408 * elf/tst-auditmod5b.c: Likewise.
51409 * elf/tst-auditmod6b.c: Likewise.
51410 * elf/tst-auditmod6c.c: Likewise.
51411 * elf/tst-auditmod7b.c: Likewise.
51413 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51414 and x32_gnu_pltexit.
51416 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51417 __ELF_NATIVE_CLASS.
51418 (La_x32_regs): New macro.
51419 (La_x32_retval): Likewise.
51420 (la_x32_gnu_pltenter): New function prototype.
51421 (la_x32_gnu_pltexit): Likewise.
51423 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
51425 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51430 * configure.in (libc_cv_cc_nofma): Check for option to disable
51431 generation of FMA instructions.
51432 * configure: Regenerate.
51433 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51434 * sysdeps/ieee754/dbl-64/Makefile: New file.
51435 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51436 Remove brandred-fma4.
51437 (CFLAGS-brandred-fma4.c): Remove.
51438 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51439 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51441 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51444 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51446 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51447 LLONG_MAX != LONG_MAX.
51448 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51449 (_fitoa_word): Likewise.
51450 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51451 LLONG_MAX != LONG_MAX.
51452 * stdio-common/_itowa.h: Include <_itoa.h>.
51453 (_itowa_word): Use _ITOA_WORD_TYPE on value.
51454 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
51455 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
51456 only if not defined.
51457 (_ITOA_WORD_TYPE): Likewise.
51458 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51459 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51461 2012-03-21 David S. Miller <davem@davemloft.net>
51463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51465 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51467 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51468 of x86_64 when setting libc_cv_slibdir, libdir and
51470 * sysdeps/unix/sysv/linux/configure: Regenerated.
51472 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51474 * manual/lang.texi (Old Varargs): Remove section.
51475 (How Variadic): Update menu.
51476 (va_start): Do not mention varargs.h.
51478 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51479 Joseph Myers <joseph@codesourcery.com>
51481 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51483 * configure: Regenerated.
51485 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51487 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51488 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51491 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51494 * Makefile (files-for-dist): Remove NOTES.
51495 (NOTES): Remove rule.
51496 * README: Don't refer to NOTES.
51497 * manual/creature.texi: Don't include macros.texi.
51498 * manual/intro.texi (creature.texi): Remove comment referring to
51501 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51502 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51503 * configure: Regenerated.
51504 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51505 LIBC_TRY_CC_OPTION.
51506 (libc_cv_as_i686): Likewise.
51507 (libc_cv_cc_avx): Likewise.
51508 (libc_cv_cc_sse2avx): Likewise.
51509 (libc_cv_cc_fma4): Likewise.
51510 (libc_cv_cc_novzeroupper): Likewise.
51511 * sysdeps/i386/configure: Regenerated.
51514 * sysdeps/i386/fpu/s_cexp.S: Remove.
51515 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51516 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51517 * math/libm-test.inc (cexp_test): Add more tests.
51518 * sysdeps/i386/fpu/libm-test-ulps: Update.
51519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51521 2012-03-21 Allan McRae <allan@archlinux.org>
51523 * timezone/Makefile: Do not install iso3166.tab and zone.tab
51525 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51528 * math/w_exp2.c: Do not include <float.h>.
51529 (o_threshold, u_threshold): Remove.
51530 (__exp2): Calculate result before checking finiteness and calling
51532 * math/w_exp2f.c: Likewise.
51533 * math/w_exp2l.c: Likewise.
51534 * math/libm-test.inc (exp2_test): Require overflow exception for
51538 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51539 range of signed 64-bit integers before using fistpll. Remove
51540 checks for whether integers fit in mantissa bits.
51541 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51542 the range of signed 32-bit integers before using fistpl. Remove
51543 checks for whether integers fit in mantissa bits.
51544 * sysdeps/i386/fpu/e_powl.S (p64): New object.
51545 (__ieee754_powl): Test for y outside the range of signed 64-bit
51546 integers before using fistpll. Reduce 64-bit values to 63-bit
51548 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51549 divide-by-zero is raised for zero to large negative powers.
51550 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51551 (__ieee754_powl): Test for y outside the range of signed 64-bit
51552 integers before using fistpll. Reduce 64-bit values to 63-bit
51554 * math/libm-test.inc (pow_test): Add more tests.
51556 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51558 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51559 <stdio-common/_itoa.h>.
51560 * debug/segfault.c: Likewise.
51561 * elf/dl-cache.c: Likewise.
51562 * elf/dl-minimal.c: Likewise.
51563 * elf/dl-misc.c: Likewise.
51564 * elf/dl-sysdep.c: Likewise.
51565 * elf/dl-version.c: Likewise.
51566 * elf/rtld.c: Likewise.
51567 * hurd/hurdsock.c: Likewise.
51568 * hurd/lookup-retry.c: Likewise.
51569 * malloc/malloc.c: Likewise.
51570 * malloc/mtrace.c: Likewise.
51571 * nscd/nscd_getgr_r.c: Likewise.
51572 * nscd/nscd_getpw_r.c: Likewise.
51573 * nscd/nscd_getserv_r.c: Likewise.
51574 * posix/getopt_init.c: Likewise.
51575 * posix/wordexp.c: Likewise.
51576 * stdio-common/_itoa.c: Likewise.
51577 * stdio-common/printf_fphex.c: Likewise.
51578 * stdio-common/vfprintf.c: Likewise.
51579 * string/_strerror.c: Likewise.
51580 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51581 * sysdeps/i386/i686/hp-timing.h: Likewise.
51582 * sysdeps/mach/_strerror.c: Likewise.
51583 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51584 * sysdeps/mach/hurd/sethostid.c: Likewise.
51585 * sysdeps/mach/hurd/xmknodat.c: Likewise.
51586 * sysdeps/mach/xpg-strerror.c: Likewise.
51587 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51588 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51589 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51590 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51591 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51592 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51593 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51594 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51595 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51596 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51597 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51598 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51599 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51600 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51601 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51602 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51603 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51604 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51605 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51606 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51607 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51609 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51611 * stdio-common/_itoa.h: Moved to ...
51612 * sysdeps/generic/_itoa.h: Here.
51614 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51616 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51617 instead of "_itoa.h" and "_itowa.h".
51618 * stdio-common/vfprintf.: Likewise.
51620 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51622 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51624 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51625 (__signbit): Likwise.
51626 (llrintf): Likwise.
51629 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51631 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51634 2012-03-20 Joseph Myers <joseph@codesourcery.com>
51636 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51637 OVERFLOW_EXCEPTION_OK.
51638 * math/libm-test.inc ("Philosophy"): Update comment about
51640 (OVERFLOW_EXCEPTION): Define.
51641 (OVERFLOW_EXCEPTION_OK): Likewise.
51642 (INVALID_EXCEPTION_OK): Renumber.
51643 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51644 (IGNORE_ZERO_INF_SIGN): Likewise.
51645 (test_exceptions): Handle FE_OVERFLOW.
51646 (exp10_test): Expect overflow exceptions.
51647 (exp2_test): Likewise.
51648 (expm1_test): Likewise.
51649 (nextafter_test): Likewise.
51650 (pow_test): Likewise.
51651 (scalbn_test): Likewise.
51652 (scalbln_test): Likewise.
51654 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51656 * sysdeps/x86_64/bits/atomic.h
51657 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51659 (atomic_exchange_acq): Likewise.
51660 (__arch_exchange_and_add_body): Likewise.
51661 (__arch_add_body): Likewise.
51662 (atomic_add_negative): Likewise.
51663 (atomic_add_zero): Likewise.
51665 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51667 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51668 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51670 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51672 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51673 Check __x86_64__ instead of __WORDSIZE.
51675 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51677 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51679 2012-03-19 David S. Miller <davem@davemloft.net>
51681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51683 * sysdeps/sparc/fpu/fenv_private.h: New file.
51684 * sysdeps/sparc/fpu/math_private.h: Use it.
51685 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51687 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51688 (libc_feholdexcept_setroundl): Remove.
51689 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51691 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51692 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51694 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51696 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51697 int64_t instead of long int.
51698 (INSERT_WORDS64): Likwise.
51700 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51702 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51703 _Unwind_GetCFA return to _Unwind_Ptr first.
51705 2012-03-19 Joseph Myers <joseph@codesourcery.com>
51708 * math/s_clog.c: Include <float.h>.
51709 (__clog): Scale large or subnormal inputs.
51710 * math/s_clogf.c: Likewise.
51711 * math/s_clogl.c: Likewise.
51712 * math/s_clog10.c: Include <float.h>.
51713 (M_LOG10_2): Define.
51714 (__clog10): Scale large or subnormal inputs.
51715 * math/s_clog10f.c: Likewise.
51716 * math/s_clog10l.c: Likewise.
51717 * math/libm-test.inc (clog_test): Add more tests.
51718 (clog10_test): Likewise.
51719 * sysdeps/i386/fpu/libm-test-ulps: Update.
51720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51723 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51725 * math/libm-test.inc (atan2_test): Add another test.
51727 * Makerules (common-objdir-compile): Remove.
51728 * sysdeps/unix/Makefile (config-generated): Do not add
51729 $(unix-generated) to variable.
51730 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51731 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51733 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51735 [generic bits/local_lim.h] (before-compile): Do not append to
51737 [generic bits/local_lim.h] (common-generated): Likewise.
51738 [generic sys/param.h] (before-compile): Do not append to variable.
51739 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51740 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51741 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51742 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51744 [generic sys/param.h] (sys/param.h-includes): Remove variable.
51745 [generic sys/param.h] (sys/param.h-includes): Remove rule.
51746 [generic sys/param.h] ($(addprefix
51747 $(common-objpfx),$(sys/param.h-includes))): Likewise.
51748 [generic sys/param.h] (common-generated): Do not append to
51750 [generic sys/param.h] (sysdep_headers): Likewise.
51751 [generic bits/errno.h] (before-compile): Do not append to
51753 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51755 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51756 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51757 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51758 [generic bits/errno.h] (common-generated): Do not append to
51760 [generic bits/ioctls.h] (before-compile): Do not append to
51762 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51764 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51765 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51766 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51768 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51769 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51770 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51771 [generic bits/ioctls.h] (common-generated): Do not append to
51773 [generic sys/syscall.h] (syscall.h): Remove variable.
51774 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51776 [generic sys/syscall.h] (before-compile): Do not append to
51778 [generic sys/syscall.h] (common-generated): Likewise.
51779 * sysdeps/unix/errnos-tmpl.c: Remove file.
51780 * sysdeps/unix/errnos.awk: Likewise.
51781 * sysdeps/unix/ioctls-tmpl.c: Likewise.
51782 * sysdeps/unix/ioctls.awk: Likewise.
51783 * sysdeps/unix/mk-local_lim.c: Likewise.
51784 * sysdeps/unix/snarf-ioctls: Likewise.
51786 2012-03-19 Richard Henderson <rth@twiddle.net>
51788 * sysdeps/i386/fpu/fenv_private.h: New file.
51789 * sysdeps/i386/fpu/math_private.h: Use it.
51790 (math_opt_barrier, math_force_eval): Remove.
51791 (libc_feholdexcept_setround_53bit): Remove.
51792 (libc_feupdateenv_53bit): Remove.
51793 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51794 (math_opt_barrier, math_force_eval): Remove.
51795 (libc_feholdexcept): Remove.
51796 (libc_feholdexcept_setround): Remove.
51797 (libc_fetestexcept, libc_fesetenv): Remove.
51798 (libc_feupdateenv_test): Remove.
51799 (libc_feupdateenv, libc_feholdsetround): Remove.
51800 (libc_feresetround): Remove.
51802 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51803 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51805 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51806 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51807 (libc_feupdateenv_testl): New.
51808 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51809 (libc_feupdateenv_testf): New.
51810 (libc_feupdateenv): Use libc_feupdateenv_test.
51811 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51812 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51814 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51815 (libc_feholdsetroundf, libc_feholdsetroundl): New.
51816 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51817 (libc_feresetround_noex): New.
51818 (libc_feresetround_noexf): New.
51819 (libc_feresetround_noexl): New.
51820 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51821 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51822 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51823 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51825 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51826 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51828 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51829 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51830 SET_RESTORE_ROUND_NOEX.
51831 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51832 SET_RESTORE_ROUND_NOEXF.
51833 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51834 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51835 (libc_feholdsetroundf): New.
51836 (libc_feresetround, libc_feresetroundf): New.
51838 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51839 (libc_feholdexcept_setround_53bit): Convert from macro to function.
51840 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
51842 * sysdeps/generic/math_private.h: Include <fenv.h>.
51843 (default_libc_feholdexcept): New.
51844 (default_libc_feholdexcept_setround): New.
51845 (default_libc_fesetenv, default_libc_feupdateenv): New.
51846 (libc_feholdexcept): Only define if undefined.
51847 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51848 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51849 (libc_feholdexcept_setroundl): Likewise.
51850 (libc_feholdexcept_setround_53bit): Likewise.
51851 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51852 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51853 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51854 (libc_feupdateenv_53bit): Likewise.
51855 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51856 (libc_feholdexcept): Convert from macro to inline function.
51857 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51858 (libc_fesetenv, libc_feupdateenv): Likewise.
51860 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51861 not previously defined.
51862 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51863 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51864 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51865 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51866 * sysdeps/ieee754/flt-32/math_private.h: New file.
51867 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51868 math_private.h below SET_FLOAT_WORD.
51869 (__isnan, __isinf_ns, __finite): Remove.
51870 (__isnanf, __isinf_nsf, __finitef): Remove.
51872 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
51874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51876 2012-03-17 David S. Miller <davem@davemloft.net>
51879 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51882 2012-03-16 David S. Miller <davem@davemloft.net>
51884 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51888 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51890 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51891 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51892 sysdep_routines when subdir is sysvipc.
51893 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51894 __getshmlba helper.
51896 * sysdeps/sparc/fpu/libm-test/ulps: Update.
51898 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51900 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51903 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51905 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51906 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51907 (__lround): Renamed to ...
51908 (__llround): This. Replace long int with long long int.
51909 Define lround functions as aliases of llround functions.
51910 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51912 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51914 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51915 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
51916 adresses to uintptr_t. Replace "long int" and "unsigned long
51917 int" with "greg_t" on va_arg.
51919 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51921 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51922 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51924 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51925 Move e_machine check before EI_CLASS check. Handle x32
51926 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51927 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51928 SKIP_EM_IA_64 and include
51929 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51931 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51932 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51933 (add_system_dir): New macro.
51935 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51936 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51938 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51949 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51951 * math/w_j0f.c (j0f): Likewise.
51953 * math/w_j0l.c (__j0l): Likewise.
51955 * math/w_j1.c (j1): Likewise.
51957 * math/w_j1f.c (j1f): Likewise.
51959 * math/w_j1l.c (__j1l): Likewise.
51961 * math/w_jn.c (jn): Likewise.
51963 * math/w_jnf.c (jnf): Likewise.
51965 * math/w_jnl.c (__jnl): Likewise.
51967 * math/libm-test.inc (j0_test): Add more tests.
51968 (j1_test): Likewise.
51969 (jn_test): Likewise. Add trailing semicolon to existing test.
51970 (y0_test): Likewise.
51971 (y1_test): Likewise.
51972 * sysdeps/i386/fpu/libm-test-ulps: Update.
51973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51977 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51978 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51979 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51980 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51981 (__tanl): Set errno for infinite argument.
51982 * sysdeps/i386/fpu/mptan.c: Remove.
51983 * sysdeps/i386/fpu/s_tan.S: Likewise.
51984 * sysdeps/i386/fpu/s_tanl.S: Likewise.
51985 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51986 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51987 * math/libm-test.inc (tan_test): Add more tests and enable more
51988 tests for double and long double.
51989 * sysdeps/i386/fpu/libm-test-ulps: Update.
51990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51992 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
51994 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51995 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51997 2012-03-16 Roland McGrath <roland@hack.frob.com>
51999 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52000 * configure.in: Use it for both main tree and add-ons.
52001 * configure: Regenerated.
52003 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52005 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52007 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52009 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52013 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52014 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52015 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52016 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52017 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52019 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52020 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52021 != 0 for prec == 2.
52022 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52023 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52024 * sysdeps/i386/fpu/s_cosl.S: Likewise.
52025 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52026 * sysdeps/i386/fpu/s_sinl.S: Likewise.
52027 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52028 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52029 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52030 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52031 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52032 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52033 * math/libm-test.inc (cos_test): Add more tests and enable more
52034 tests for long double.
52035 (sin_test): Likewise.
52036 (sincos_test): Likewise.
52037 * sysdeps/i386/fpu/libm-test-ulps: Update.
52038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52040 2012-03-16 David S. Miller <davem@davemloft.net>
52042 * sysdeps/sparc/fpu/math_private.h: New file.
52044 2012-03-15 David S. Miller <davem@davemloft.net>
52046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52056 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52060 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52061 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52063 * sysdeps/sparc/sparc-ifunc.h: New file.
52064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52089 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52090 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52091 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52092 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52093 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52098 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52099 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52100 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52102 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52103 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52104 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52105 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52106 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52107 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52109 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
52111 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52115 2012-03-15 Andreas Jaeger <aj@suse.de>
52118 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52119 ieee754/flt-32 implementation for sin, cos and sincos.
52120 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52121 * sysdeps/i386/fpu/s_cosf.S: Likewise.
52122 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52123 * sysdeps/i386/fpu/s_sinf.S: Likewise.
52124 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52125 ieee754/flt-32 implementation for tan.
52127 * math/libm-test.inc (cos_test): Enable some large input tests for
52129 (sin_test): Likewise.
52130 (sincos_test): Likewise.
52131 (tan_test): Add tests for large input.
52133 * sysdeps/i386/fpu/libm-test-ulps: Update.
52135 2012-03-15 Andreas Jaeger <aj@suse.de>
52138 * math/libm-test.inc (cos_test): Add more test cases.
52139 (sin_test): Likewise.
52140 (sincos_test): Likewise.
52142 2012-03-15 Andreas Jaeger <aj@suse.de>
52145 * math/libm-test.inc (cos_test): Add a test case for large input
52147 (sin_test): Likewise.
52148 (sincos_test): Likewise.
52150 2012-03-15 Andreas Jaeger <aj@suse.de>
52151 Joseph Myers <joseph@codesourcery.com>
52154 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52155 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52156 * sysdeps/i386/fpu/branred.c: Likewise.
52157 * sysdeps/i386/fpu/dosincos.c: Likewise.
52158 * sysdeps/i386/fpu/mpa.c: Likewise.
52159 * sysdeps/i386/fpu/s_cos.S: Likewise.
52160 * sysdeps/i386/fpu/s_sin.S: Likewise.
52161 * sysdeps/i386/fpu/s_sincos.S: Likewise.
52162 * sysdeps/i386/fpu/sincos32.c: Likewise.
52164 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52166 (libc_feupdateenv_53bit): Define.
52167 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52169 (libc_feupdateenv_53bit): Define.
52171 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52172 53 bit (without extend i386 double precision).
52174 * math/libm-test.inc (sincos_test): Add tests for large input.
52178 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52180 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
52182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52184 2012-03-15 David S. Miller <davem@davemloft.net>
52186 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52187 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52188 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52189 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52213 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52214 fmin/fmax sysdep routines.
52215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52217 2012-03-14 David S. Miller <davem@davemloft.net>
52219 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52220 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52221 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52222 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52223 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52224 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52225 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52226 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52227 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52228 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52239 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52240 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52241 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52242 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52243 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52244 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52245 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52246 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52247 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52291 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52296 * sysdeps/sparc/configure.in: New file.
52297 * sysdeps/sparc/configure: Generate.
52298 * configure.in (libc_cv_sparc_as_vis3): Substitute.
52299 * configure: Regenerate.
52300 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52301 * config.make.in (have-as-vis3): New.
52302 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52303 available use -Av9d instead of -Av9a.
52304 * sysdeps/sparc/sparc64/Makefile: Likewise.
52305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52314 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52315 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52316 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52317 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52318 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52320 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52321 fzeros/fnegs to load 0x80000000 into a float register instead of
52323 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52325 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52329 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52330 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52331 ($(inst_includedir)/bits/syscall.h): Remove rule.
52332 ($(objpfx)bits/syscall.d): Include instead of
52333 $(objpfx)syscall-list.d.
52334 (generated): Change syscall-list.h and syscall-list.d to
52335 bits/syscall.h and bits/syscall.d.
52337 2012-03-14 Roland McGrath <roland@hack.frob.com>
52340 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52342 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52345 * math/s_csqrt.c: Include <float.h>.
52346 (__csqrt): Scale large or subnormal inputs.
52347 * math/s_csqrtf.c: Likewise.
52348 * math/s_csqrtl.c: Likewise.
52349 * math/libm-test.inc (csqrt_test): Add more tests.
52350 * sysdeps/i386/fpu/libm-test-ulps: Update.
52351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52354 * math/libm-test.inc (hypot_test): Add more tests.
52356 2012-03-13 David S. Miller <davem@davemloft.net>
52359 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52360 double-precision for the calculation instead of scaling.
52362 2012-03-13 Joseph Myers <joseph@codesourcery.com>
52364 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52365 manipulate bits before adding and subtracting TWO52[sx].
52366 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52367 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52369 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52371 2012-03-13 David S. Miller <davem@davemloft.net>
52373 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52374 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52375 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52376 rtld-global-offsets.h
52377 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52379 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52382 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52384 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52385 'err' in the ifdef scope in which it is actually used.
52387 * nss/nss_db/db-init.c: Include string.h
52389 2012-03-12 David S. Miller <davem@davemloft.net>
52391 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52392 masking out of the most significant byte of random value used.
52393 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52394 Fix coding style in previous change.
52396 * sysdeps/unix/sysv/linux/kernel-features.h
52397 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52398 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52400 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52403 2012-03-11 David S. Miller <davem@davemloft.net>
52405 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52406 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52407 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52408 for 'resultvar' otherwise things get truncated on 64-bit.
52410 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52411 Fix masking out of the most significant byte of random value used.
52413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52415 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
52417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52419 2012-03-09 David S. Miller <davem@davemloft.net>
52421 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52422 variables with appropriate CPP guards.
52423 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52424 from the frame pointer, not the stack pointer. Correct layout
52425 comments. Fix test on resulting framesize and the management of
52426 the outregs buffer for pltexit. Preserve floating point return
52427 values across _dl_call_pltexit call.
52428 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52429 framesize and the management of the outregs buffer for pltexit.
52430 Preserve floating point return values across _dl_call_pltexit
52432 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52433 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52434 (la_sparc64_gnu_pltexit): New functions.
52435 (print_exit): Fix format string for return register value.
52437 2012-03-10 Joseph Myers <joseph@codesourcery.com>
52439 * sunrpc/Makefile (others): Add rpcgen.
52440 ($(objpfx)rpcgen): Remove special build rule and dependency on
52442 * sunrpc/rpcgen.c: New file.
52444 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
52447 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52448 * stdio-common/bug-vfprintf-nargs.c: Likewise.
52449 * sysdeps/i386/crti.S: Likewise.
52450 * sysdeps/i386/crtn.S: Likewise.
52451 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52452 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52453 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52454 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52455 * sysdeps/sh/crti.S: Likewise.
52456 * sysdeps/sh/crtn.S: Likewise.
52457 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52460 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52462 * locale/programs/locfile-kw.gperf: Likewise.
52463 * locale/programs/charmap-kw.h: Regenerated.
52464 * locale/programs/locfile-kw.h: Likewise.
52467 * intl/plural.y: Replace FSF snail mail address with URL.
52468 * intl/plural.c: Regenerated.
52470 2012-03-09 Richard Henderson <rth@twiddle.net>
52472 * include/math_private.h: Remove file.
52473 * math/math_private.h: Move file ...
52474 * sysdeps/generic/math_private.h: ... here.
52476 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52477 * sysdeps/powerpc/fpu/math_private.h: Likewise.
52478 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52480 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52481 and <math_private.h>.
52482 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52483 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52484 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52485 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52486 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52487 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52488 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52489 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52490 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52491 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52492 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52493 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52494 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52495 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52496 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52497 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52498 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52499 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52500 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52501 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52502 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52503 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52504 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52505 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52506 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52507 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52508 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52509 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52510 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52511 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52512 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52513 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52514 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52515 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52516 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52517 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52518 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52519 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52520 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52521 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52522 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52523 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52524 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52525 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52526 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52527 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52528 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52529 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52530 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52531 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52532 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52533 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52534 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52535 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52536 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52537 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52538 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52539 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52540 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52541 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52542 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52543 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52544 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52545 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52546 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52547 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52548 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52549 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52550 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52551 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52552 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52553 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52554 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52555 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52556 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52557 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52558 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52559 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52560 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52561 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52562 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52563 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52564 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52565 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52566 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52567 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52568 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52569 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52570 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52571 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52572 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52573 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52574 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52575 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52576 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52577 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52578 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52579 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52580 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52581 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52582 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52583 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52584 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52585 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52586 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52587 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52588 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52589 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52590 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52591 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52592 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52593 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52594 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52595 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52596 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52597 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52598 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52599 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52600 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52601 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52602 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52603 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52604 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52605 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52606 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52607 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52608 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52609 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52610 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52611 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52612 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52613 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52614 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52615 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52616 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52617 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52618 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52619 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52620 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52621 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52622 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52623 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52624 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52625 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52626 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52627 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52628 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52629 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52630 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52631 * sysdeps/ieee754/k_standard.c: Likewise.
52632 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52633 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52634 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52635 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52636 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52637 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52638 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52639 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52640 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52641 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52642 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52643 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52644 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52645 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52646 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52647 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52648 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52649 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52650 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52651 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52652 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52653 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52654 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52655 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52656 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52657 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52658 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52659 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52660 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52661 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52662 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52663 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52664 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52665 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52666 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52667 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52668 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52669 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52670 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52671 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52672 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52673 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52674 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52675 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52676 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52677 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52678 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52679 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52680 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52681 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52682 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52683 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52684 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52685 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52686 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52687 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52688 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52689 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52690 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52691 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52692 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52693 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52694 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52695 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52696 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52697 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52698 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52699 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52700 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52701 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52702 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52703 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52704 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52705 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52706 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52707 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52708 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52709 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52710 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52711 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52712 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52713 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52714 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52715 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52716 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52717 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52718 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52719 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52720 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52721 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52722 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52723 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52724 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52725 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52726 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52727 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52728 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52729 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52730 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52731 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52732 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52733 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52734 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52735 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52736 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52737 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52738 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52739 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52740 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52741 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52742 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52743 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52744 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52745 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52746 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52747 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52748 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52749 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52750 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52751 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52752 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52753 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52754 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52755 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52756 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52757 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52758 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52759 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52760 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52761 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52762 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52763 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52764 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52765 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52766 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52767 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52768 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52769 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52770 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52771 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52772 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52773 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52774 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52775 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52776 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52777 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52778 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52779 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52780 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52781 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52782 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52783 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52784 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52785 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52786 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52787 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52788 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52789 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52790 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52791 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52792 * sysdeps/ieee754/s_lib_version.c: Likewise.
52793 * sysdeps/ieee754/s_matherr.c: Likewise.
52794 * sysdeps/ieee754/s_signgam.c: Likewise.
52795 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52796 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52797 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52798 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52799 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52800 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52801 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52802 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52803 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52804 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52805 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52806 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52807 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52808 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52809 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52810 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52811 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52812 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52813 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52814 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52815 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52817 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52819 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52820 * sunrpc/rpc_main.c: Likewise.
52821 * sunrpc/rpc_svcout.c: Likewise.
52823 2012-03-09 David S. Miller <davem@davemloft.net>
52825 * include/math_private.h: New file.
52827 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52829 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52830 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52831 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52832 from <bits/socket_type.h>.
52833 (enum __socket_type): Don't define here.
52834 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52836 bits/socket_type.h.
52839 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52840 checking __USE_GNU.
52842 * Makerules ($(inst_includedir)/%.h): New rule.
52843 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52844 (install-others): Remove variable setting.
52845 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52847 2012-03-08 Richard Henderson <rth@twiddle.net>
52849 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52850 from macro to inline function; merge with the
52851 !__LIBC_INTERNAL_MATH_INLINES version.
52852 (__ieee754_sqrtf): Likewise.
52854 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52855 to inline function.
52856 (__rintf, __floor, __floorf): Likewise.
52858 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52859 macro to inline function.
52860 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52862 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52863 not <math/math_private.h>.
52865 2012-03-08 David S. Miller <davem@davemloft.net>
52867 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52869 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52871 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
52873 * resolv/gai_misc.c (handle_requests): Fix struct timespec
52875 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52876 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52878 2012-03-08 Ulrich Drepper <drepper@gmail.com>
52880 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
52881 be defined individually, they must be defined as a block. Define
52882 S for printing a string instead of hidint the different by using a
52883 macro for adding the 'l'.
52884 * stdio-common/tst-fphex-wide.c: Adjust.
52886 2012-03-07 Marek Polacek <polacek@redhat.com>
52888 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52890 2012-03-08 Marek Polacek <polacek@redhat.com>
52893 * stdio-common/Makefile (tests): Add tst-fphex-wide.
52894 * stdio-common/tst-fphex.c: Define a few macros to make the
52895 test reusable. Use them.
52896 * stdio-common/tst-fphex-wide.c: New file.
52898 2012-03-08 Joseph Myers <joseph@codesourcery.com>
52901 * manual/macros.texi (gnusystems): New macro.
52902 (nongnusystems): Likewise.
52903 (gnulinuxhurdsystems): Likewise.
52904 (gnuhurdsystems): Likewise..
52905 (gnulinuxsystems): Likewise.
52906 * manual/charset.texi: Use new macros or @theglibc{} to refer to
52907 variants of the GNU system, not "GNU system".
52908 * manual/conf.texi: Likewise.
52909 * manual/errno.texi: Likewise. Update example of errno macro
52911 * manual/filesys.texi: Likewise.
52912 (getumask): Document as specific to GNU/Hurd.
52913 * manual/install.texi: Likewise. Reword some references to
52915 * manual/intro.texi: Likewise.
52916 * manual/io.texi: Likewise.
52917 (File Name Portability): Detail which constraints are inapplicable
52918 to all GNU systems and which are only inapplicable to GNU/Hurd.
52919 * manual/job.texi: Likewise.
52920 * manual/llio.texi: Likewise.
52921 (O_NOCTTY): Document as present on GNU/Linux.
52922 * manual/maint.texi: Likewise.
52923 * manual/memory.texi: Likewise.
52924 * manual/pattern.texi: Likewise.
52925 * manual/pipe.texi: Likewise.
52926 * manual/process.texi: Likewise.
52927 * manual/resource.texi: Likewise.
52928 (RUSAGE_CHILDREN): Remove statement about specifying a particular
52930 * manual/setjmp.texi: Likewise.
52931 * manual/signal.texi: Likewise.
52932 * manual/startup.texi: Likewise.
52933 * manual/stdio.texi: Likewise.
52934 * manual/terminal.texi: Likewise.
52935 (ONLCR): Document as POSIX.
52936 (OXTABS): Document availability on GNU/Linux as XTABS.
52937 (ONOEOT): Document availability separately from other bits.
52938 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52939 * manual/time.texi: Likewise.
52940 * manual/users.texi: Likewise.
52941 * INSTALL: Regenerated.
52942 * sysdeps/gnu/errlist.c: Regenerated.
52944 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52945 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52946 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
52948 * configure: Regenerated.
52950 2012-03-07 Joseph Myers <joseph@codesourcery.com>
52952 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52953 default includes instead of AC_HEADER_CHECK.
52954 * sysdeps/i386/configure: Regenerated.
52957 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52958 * math/s_cacoshf.c (__cacoshf): Likewise.
52959 * math/s_cacoshl.c (__cacoshl): Likewise.
52960 * math/s_casinh.c (__casinh): Set signs of result from argument.
52961 * math/s_casinhf.c (__casinhf): Likewise.
52962 * math/s_casinhl.c (__casinhl): Likewise.
52963 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52964 (casinh_test): Add more tests.
52965 * sysdeps/i386/fpu/libm-test-ulps: Update.
52966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52968 2012-03-07 Ulrich Drepper <drepper@gmail.com>
52970 * po/zh_TW.po: Update from translation team.
52972 * login/Makefile (distribute): Remove variable.
52973 * catgets/Makefile: Likewise.
52974 * mach/Makefile: Likewise.
52975 * malloc/Makefile: Likewise.
52976 * misc/Makefile: Likewise.
52977 * iconv/Makefile: Likewise.
52978 * nscd/Makefile: Likewise.
52979 * hurd/Makefile: Likewise.
52980 * manual/Makefile: Likewise.
52981 * locale/Makefile: Likewise.
52982 * intl/Makefile: Likewise.
52983 * conform/Makefile: Likewise.
52984 * nss/Makefile: Likewise.
52985 * time/Makefile: Likewise.
52986 * soft-fp/Makefile: Likewise.
52987 * dirent/Makefile: Likewise.
52988 * gmon/Makefile: Likewise.
52989 * po/Makefile: Likewise.
52990 * rt/Makefile: Likewise.
52991 * socket/Makefile: Likewise.
52992 * math/Makefile: Likewise.
52993 * signal/Makefile: Likewise.
52994 * debug/Makefile: Likewise.
52995 * elf/Makefile: Likewise.
52996 * timezone/Makefile: Likewise.
52997 * stdlib/Makefile: Likewise.
52998 * iconvdata/Makefile: Likewise.
52999 * sunrpc/Makefile: Likewise.
53000 * io/Makefile: Likewise.
53001 * argp/Makefile: Likewise.
53002 * inet/Makefile: Likewise.
53003 * hesiod/Makefile: Likewise.
53004 * grp/Makefile: Likewise.
53005 * csu/Makefile: Likewise.
53006 * wctype/Makefile: Likewise.
53007 * crypt/Makefile: Likewise.
53008 * libio/Makefile: Likewise.
53009 * string/Makefile: Likewise.
53010 * nis/Makefile: Likewise.
53011 * resolv/Makefile: Likewise.
53012 * stdio-common/Makefile: Likewise.
53013 * wcsmbs/Makefile: Likewise.
53014 * dlfcn/Makefile: Likewise.
53015 * posix/Makefile: Likewise.
53018 * timezone/Makefile: Don't install timezone files, just the programs
53021 2012-03-06 Ulrich Drepper <drepper@gmail.com>
53023 * nss/databases.def: Add missing gshadow entry.
53025 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
53027 2012-03-06 Marek Polacek <polacek@redhat.com>
53030 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53031 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53032 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53033 * stdio-common/tst-long-dbl-fphex.c: New file.
53035 2012-03-06 David S. Miller <davem@davemloft.net>
53037 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53038 (set_obp_int): New function.
53039 (get_obp_int): New function.
53040 (__get_clockfreq_via_dev_openprom): Likewise.
53041 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53042 Avoid unused variable warnings on 'val' and use builtin_expect.
53043 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53045 (INLINE_CLONE_SYSCALL): Likewise.
53047 2012-03-05 David S. Miller <davem@davemloft.net>
53049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53051 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
53053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53055 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53056 only for |x| >= 40.
53057 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53059 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
53061 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53062 Replace gettimeofday with __vdso_gettimeofday.
53064 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53065 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53066 __vdso_clock_gettime and __vdso_getcpu.
53068 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53069 time with __vdso_time.
53071 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53073 * manual/lang.texi (size_t): Note types to which size_t may be
53074 equivalent with the GNU C Library, but do not describe when
53075 differences between them are significant.
53077 2012-03-05 Andreas Jaeger <aj@suse.de>
53079 * sysdeps/i386/fpu/libm-test-ulps: Update.
53081 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53084 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53085 (__ieee754_pow): Save and restore rounding mode and use
53086 round-to-nearest for main computations.
53087 * math/libm-test.inc (pow_test_tonearest): New function.
53088 (pow_test_towardzero): Likewise.
53089 (pow_test_downward): Likewise.
53090 (pow_test_upward): Likewise.
53091 (main): Call the new functions.
53092 * sysdeps/i386/fpu/libm-test-ulps: Update.
53093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53096 * math/libm-test.inc (cosh_test_tonearest): New function.
53097 (cosh_test_towardzero): Likewise.
53098 (cosh_test_downward): Likewise.
53099 (cosh_test_upward): Likewise.
53100 (sinh_test_tonearest): Likewise.
53101 (sinh_test_towardzero): Likewise.
53102 (sinh_test_downward): Likewise.
53103 (sinh_test_upward): Likewise.
53104 (main): Call the new functions.
53105 * sysdeps/i386/fpu/libm-test-ulps: Update.
53106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53108 2012-03-05 Tom de Vries <tom@codesourcery.com>
53110 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53111 default stack guard is set in last bytes.
53112 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53114 2012-03-05 Kees Cook <keescook@chromium.org>
53116 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53119 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53120 possibly allocate from heap instead of stack.
53121 * stdio-common/bug-vfprintf-nargs.c: New file.
53122 * stdio-common/Makefile (tests): Add nargs overflow test.
53124 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
53126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53128 2012-03-03 Marek Polacek <polacek@redhat.com>
53130 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53131 * math/math_private.h: Likewise.
53132 * stdlib/tst-strtod.c: Likewise.
53133 * sysdeps/i386/i486/bits/atomic.h: Likewise.
53134 * sysdeps/x86_64/bits/atomic.h: Likewise.
53136 2012-03-02 David S. Miller <davem@davemloft.net>
53138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53142 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53143 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53144 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53145 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53147 2012-03-02 Roland McGrath <roland@hack.frob.com>
53150 * manual/examples/README: New file, says the example source files
53151 can be used under GPL>=2.
53152 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53153 line containing just "*/".
53154 * manual/examples/add.c: Add copyright header (GPL>=2).
53155 * manual/examples/argp-ex1.c: Likewise.
53156 * manual/examples/argp-ex2.c: Likewise.
53157 * manual/examples/argp-ex3.c: Likewise.
53158 * manual/examples/argp-ex4.c: Likewise.
53159 * manual/examples/atexit.c: Likewise.
53160 * manual/examples/db.c: Likewise.
53161 * manual/examples/dir.c: Likewise.
53162 * manual/examples/dir2.c: Likewise.
53163 * manual/examples/execinfo.c: Likewise.
53164 * manual/examples/filecli.c: Likewise.
53165 * manual/examples/filesrv.c: Likewise.
53166 * manual/examples/fmtmsgexpl.c: Likewise.
53167 * manual/examples/genpass.c: Likewise.
53168 * manual/examples/inetcli.c: Likewise.
53169 * manual/examples/inetsrv.c: Likewise.
53170 * manual/examples/isockad.c: Likewise.
53171 * manual/examples/longopt.c: Likewise.
53172 * manual/examples/memopen.c: Likewise.
53173 * manual/examples/memstrm.c: Likewise.
53174 * manual/examples/mkfsock.c: Likewise.
53175 * manual/examples/mkisock.c: Likewise.
53176 * manual/examples/mygetpass.c: Likewise.
53177 * manual/examples/pipe.c: Likewise.
53178 * manual/examples/popen.c: Likewise.
53179 * manual/examples/rprintf.c: Likewise.
53180 * manual/examples/search.c: Likewise.
53181 * manual/examples/select.c: Likewise.
53182 * manual/examples/setjmp.c: Likewise.
53183 * manual/examples/sigh1.c: Likewise.
53184 * manual/examples/sigusr.c: Likewise.
53185 * manual/examples/stpcpy.c: Likewise.
53186 * manual/examples/strdupa.c: Likewise.
53187 * manual/examples/strftim.c: Likewise.
53188 * manual/examples/strncat.c: Likewise.
53189 * manual/examples/subopt.c: Likewise.
53190 * manual/examples/swapcontext.c: Likewise.
53191 * manual/examples/termios.c: Likewise.
53192 * manual/examples/testopt.c: Likewise.
53193 * manual/examples/testpass.c: Likewise.
53194 * manual/examples/timeval_subtract.c: Likewise.
53197 * manual/time.texi (Elapsed Time): Move timeval_subtract example
53199 * manual/timeval_subtract.c.texi: ... here, new file.
53201 2012-03-02 David S. Miller <davem@davemloft.net>
53203 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53205 2012-03-02 Joseph Myers <joseph@codesourcery.com>
53208 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53209 (__sin): Save and restore rounding mode and use round-to-nearest
53210 for all computations.
53211 (__cos): Save and restore rounding mode and use round-to-nearest
53212 for all computations.
53213 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53215 (tan): Save and restore rounding mode and use round-to-nearest for
53217 * math/libm-test.inc (cos_test_tonearest): New function.
53218 (cos_test_towardzero): Likewise.
53219 (cos_test_downward): Likewise.
53220 (cos_test_upward): Likewise.
53221 (sin_test_tonearest): Likewise.
53222 (sin_test_towardzero): Likewise.
53223 (sin_test_downward): Likewise.
53224 (sin_test_upward): Likewise.
53225 (tan_test_tonearest): Likewise.
53226 (tan_test_towardzero): Likewise.
53227 (tan_test_downward): Likewise.
53228 (tan_test_upward): Likewise.
53229 (main): Call the new functions.
53230 * sysdeps/i386/fpu/libm-test-ulps: Update.
53231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53234 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53235 small n, then large n, before computing and testing k+n.
53236 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53237 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53239 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53241 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53242 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53243 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53244 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53245 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53246 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53247 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53248 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53249 * math/libm-test.inc (scalbn_test): Add more tests.
53250 (scalbln_test): Likewise.
53252 * manual/filesys.texi (mode_t): Describe constraints on size and
53253 signedness, not exact equivalence to a particular type.
53255 (ino64_t): Likewise.
53257 (nlink_t): Likewise.
53258 (blkcnt_t): Likewise.
53259 (blkcnt64_t): Likewise.
53260 * manual/llio.texi (off_t): Likewise.
53263 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53264 (__ieee754_exp): Save and restore rounding mode and use
53265 round-to-nearest for all computations.
53266 * math/libm-test.inc (exp_test_tonearest): New function.
53267 (exp_test_towardzero): Likewise.
53268 (exp_test_downward): Likewise.
53269 (exp_test_upward): Likewise.
53270 (main): Call the new functions.
53271 * sysdeps/i386/fpu/libm-test-ulps: Update.
53272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53274 2012-03-01 Chris Demetriou <cgd@google.com>
53276 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53277 have predictable order.
53279 2012-03-01 David S. Miller <davem@davemloft.net>
53281 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53283 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53284 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53285 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53286 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53288 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53289 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53290 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53292 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53293 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53294 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53295 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53296 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53300 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53301 * sysdeps/sparc/fpu/libm-test-ulps: to here.
53302 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53304 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53305 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53306 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53307 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53308 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53309 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53310 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53311 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53312 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53313 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53314 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53315 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53316 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53317 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53318 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53319 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53320 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53321 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53322 * sysdeps/sparc/elf/configure: Regenerated.
53324 2012-03-01 Joseph Myers <joseph@codesourcery.com>
53326 * configure.in (AS, LD): Require binutils 2.20 or later.
53327 * configure: Regenerated.
53328 * manual/install.texi (Tools for Compilation): Give binutils 2.20
53329 as required minimum version.
53330 * INSTALL: Regenerated.
53334 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53335 before squaring exponent.
53336 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53337 bottom long double and 27 bits of top long double before squaring
53339 * math/libm-test.inc (erfc_test): Add more tests.
53340 * sysdeps/i386/fpu/libm-test-ulps: Update.
53341 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53344 2012-03-01 Kai Tietz <ktietz@redhat.com>
53346 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53347 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53348 containing bit-fields.
53349 * soft-fp/extended.h (_FP_UNION_E): Likewise.
53350 * soft-fp/single.h (_FP_UNION_S): Likewise.
53351 * soft-fp/double.h (_FP_UNION_D): Likewise.
53353 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53356 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53357 not include ../strcmp.S.
53358 [USE_AS_STRNCASECMP_L]: Likewise.
53359 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53360 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53361 * sysdeps/i386/i686/multiarch/strncase_l-c.c
53362 (__strncasecmp_l_ia32): Define as alias to
53363 __strncasecmp_l_nonascii.
53366 * math/libm-test.inc (expm1_test): Add test for bug 5794.
53367 * sysdeps/i386/fpu/libm-test-ulps: Update.
53368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53370 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53373 2012-02-29 Jeff Law <law@redhat.com>
53375 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53376 out of bounds read.
53378 2012-02-29 Marek Polacek <polacek@redhat.com>
53381 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53382 * elf/Makefile: Add rules to run tst-unused-dep.out.
53384 2012-02-28 David S. Miller <davem@davemloft.net>
53386 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53387 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53388 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53389 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53390 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53391 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53393 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53395 * math/libm-test.inc (llround_test): Move one test from
53396 lround_test. Use TEST_f_L in moved test.
53397 (lround_test): Move misplaced test to llround_test. Add testcase
53400 2012-02-28 Ulrich Drepper <drepper@gmail.com>
53402 * sysdeps/x86_64/fpu/e_expf.S: New file.
53403 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53405 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
53408 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53409 of remain_len that may cause incomplete multi-byte character and
53411 * posix/bug-regex33.c: New file.
53412 * posix/Makefile (tests): Add bug-regex33.
53414 2012-02-28 Joseph Myers <joseph@codesourcery.com>
53416 * manual/macros.texi: New file.
53417 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53418 * manual/libc.texinfo: Include macros.texi.
53419 * manual/creatute.texi: Likewise.
53420 * manual/install.texi: Likewise.
53421 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53422 @glibcadj{} in references to the GNU C Library.
53423 * manual/charset.texi: Likewise.
53424 * manual/conf.texi: Likewise.
53425 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
53426 when not using those macros.
53427 * manual/creature.texi: Likewise.
53428 * manual/crypt.texi: Likewise.
53429 * manual/errno.texi: Likewise.
53430 * manual/filesys.texi: Likewise.
53431 * manual/header.texi: Likewise.
53432 * manual/install.texi: Likewise.
53433 * manual/intro.texi: Likewise.
53434 * manual/io.texi: Likewise.
53435 * manual/job.texi: Likewise.
53436 * manual/lang.texi: Likewise.
53437 * manual/libc.texiinfo: Likewise.
53438 * manual/llio.texi: Likewise.
53439 * manual/locale.texi: Likewise.
53440 * manual/maint.texi: Likewise.
53441 * manual/math.texi: Likewise.
53442 * manual/memory.texi: Likewise.
53443 * manual/message.texi: Likewise.
53444 * manual/nss.texi: Likewise.
53445 * manual/pattern.texi: Likewise.
53446 * manual/process.texi: Likewise.
53447 * manual/resource.texi: Likewise.
53448 * manual/search.texi: Likewise.
53449 * manual/setjmp.texi: Likewise.
53450 * manual/signal.texi: Likewise.
53451 * manual/socket.texi: Likewise.
53452 * manual/startup.texi: Likewise.
53453 * manual/stdio.texi: Likewise.
53454 * manual/string.texi: Likewise.
53455 * manual/sysinfo.texi: Likewise.
53456 * manual/syslog.texi: Likewise.
53457 * manual/terminal.texi: Likewise.
53458 * manual/time.texi: Likewise.
53459 * manual/users.texi: Likewise.
53460 * INSTALL: Regenerated.
53461 * NOTES: Regenerated.
53462 * sysdeps/gnu/errlist.c: Regenerated.
53464 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
53466 * include/dirent.h: Include <dirstream.h> before
53469 2012-02-28 David S. Miller <davem@davemloft.net>
53471 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53472 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53473 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53474 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53476 2012-02-27 David S. Miller <davem@davemloft.net>
53478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53480 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53481 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53484 frame pointer instead of stack pointer relative arg slot.
53485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53486 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53487 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53489 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
53492 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53494 2012-02-27 David S. Miller <davem@davemloft.net>
53496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53500 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53501 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53502 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53503 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53505 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53507 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53508 later. Allow versions 5-9.
53509 * configure: Regenerated.
53510 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53511 required minimum version and 4.6 as recommended version. Do not
53512 mention bugs in GCC 2.7 and 2.8.
53513 * INSTALL: Regenerated.
53515 2012-02-27 David S. Miller <davem@davemloft.net>
53517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53521 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53522 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53523 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53524 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53526 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53527 manipulate bits before adding and subtracting TWO112[sx].
53528 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53530 2012-02-27 Roland McGrath <roland@hack.frob.com>
53533 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53534 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53535 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53536 being in POSIX, because they are in 1003.1-2008.
53538 * rt/tst-aio.c: Include <fcntl.h>.
53539 * rt/tst-aio7.c: Likewise.
53540 * rt/tst-aio64.c: Likewise.
53542 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53544 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53546 * manual/install.texi (--with-headers): Describe headers as
53547 interface headers, not private headers.
53548 (Specific advice for GNU/Linux systems): Describe use of headers
53549 from "make headers_install", not private headers from older
53551 * INSTALL: Regenerated.
53552 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53554 * sysdeps/unix/sysv/linux/configure: Regenerated.
53556 * manual/llio.texi (fclean): Remove documentation.
53558 * manual/Makefile (libc-texi-generated): New variable. Include
53560 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53561 $(libc-texi-generated), not duplicated list of files.
53562 (version.texi, stamp-version): New rules.
53563 (realclean): Remove $(libc-texi-generated), not individual files
53564 from that list. Do not remove dir-add.texinfo.
53565 * manual/libc.texinfo: Comment out uses of edition numbers and
53566 references to printed manual. Remove last-updated dates.
53567 (EDITION): Comment out.
53569 (VERSION, UPDATED): Remove.
53570 (version.texi): Include.
53572 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
53574 * sysdeps/posix/spawni.c: Include <signal.h>.
53575 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53576 * sysdeps/pthread/aio_fsync.c: Likewise.
53578 2012-02-26 Ulrich Drepper <drepper@gmail.com>
53580 * conform/Makefile (tests): Run only when not cross-compiling and
53581 when fast-check is not defined.
53583 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53584 * conform/data/limits.h-data: Fixes for POSIX2008.
53585 * conform/run-conformtest.sh: Run all tests.
53586 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53588 * include/bits/dlfcn.h: Likewise.
53589 * include/langinfo.h: Likewise.
53590 * include/monetary.h: Likewise.
53591 * include/sys/poll.h: Likewise.
53593 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53595 * posix/spawn.h: Define __need_sigset_t.
53596 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53597 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53598 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
53599 to get sigevent_t only.
53600 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53601 only for __USE_GNU.
53602 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53603 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53604 process_vm_writev only for __USE_GNU.
53605 * termios/termios.h: Declare tcgetsid also for POSIX2008.
53607 * conform/Makefile: For now ignore errors from run-conformtest.
53608 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
53609 POSIX to avoid namespace pollution. Don't prepend headers.
53610 * conform/data/aio.h-data: Fixes for POSIX testing.
53611 * conform/data/fcntl.h-data: Likewise.
53612 * conform/data/glob.h-data: Likewise.
53613 * conform/data/grp.h-data: Likewise.
53614 * conform/data/pthread.h-data: Likewise.
53615 * conform/data/pwd.h-data: Likewise.
53616 * conform/data/signal.h-data: Likewise.
53617 * conform/data/spawn.h-data: Likewise.
53618 * conform/data/stdio.h-data: Likewise.
53619 * conform/data/stdlib.h-data: Likewise.
53620 * conform/data/stropts.h-data: Likewise.
53621 * conform/data/sys/mman.h-data: Likewise.
53622 * conform/data/sys/stat.h-data: Likewise.
53623 * conform/data/sys/types.h-data: Likewise.
53624 * conform/data/sys/wait.h-data: Likewise.
53625 * conform/data/time.h-data: Likewise.
53626 * conform/data/unistd.h-data: Likewise.
53627 * conform/data/utime.h-data: Likewise.
53629 * io/sys/stat.h: fchmod was always in POSIX.
53630 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53631 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53632 * rt/aio.h: Define __need_timespec before including <time.h>.
53633 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53634 struct. Add forward declaration of pthread_attr_t and use it in
53636 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53637 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53638 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53639 always remove CLK_TCK definition.
53641 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
53643 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53645 2012-02-25 Ulrich Drepper <drepper@gmail.com>
53647 * conform/run-conformtest.sh: New file.
53648 * conform/Makefile: Run run-conformtest for tests.
53649 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
53652 * conform/data/uchar.h-data: New file.
53653 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53654 * conform/data/arpa/inet.h-data: Likewise.
53655 * conform/data/assert.h-data: Likewise.
53656 * conform/data/complex.h-data: Likewise.
53657 * conform/data/cpio.h-data: Likewise.
53658 * conform/data/ctype.h-data: Likewise.
53659 * conform/data/dirent.h-data: Likewise.
53660 * conform/data/dlfcn.h-data: Likewise.
53661 * conform/data/errno.h-data: Likewise.
53662 * conform/data/fcntl.h-data: Likewise.
53663 * conform/data/float.h-data: Likewise.
53664 * conform/data/fmtmsg.h-data: Likewise.
53665 * conform/data/fnmatch.h-data: Likewise.
53666 * conform/data/ftw.h-data: Likewise.
53667 * conform/data/glob.h-data: Likewise.
53668 * conform/data/grp.h-data: Likewise.
53669 * conform/data/iconv.h-data: Likewise.
53670 * conform/data/inttypes.h-data: Likewise.
53671 * conform/data/langinfo.h-data: Likewise.
53672 * conform/data/libgen.h-data: Likewise.
53673 * conform/data/limits.h-data: Likewise.
53674 * conform/data/locale.h-data: Likewise.
53675 * conform/data/math.h-data: Likewise.
53676 * conform/data/monetary.h-data: Likewise.
53677 * conform/data/mqueue.h-data: Likewise.
53678 * conform/data/ndbm.h-data: Likewise.
53679 * conform/data/net/if.h-data: Likewise.
53680 * conform/data/netdb.h-data: Likewise.
53681 * conform/data/netinet/in.h-data: Likewise.
53682 * conform/data/nl_types.h-data: Likewise.
53683 * conform/data/poll.h-data: Likewise.
53684 * conform/data/pthread.h-data: Likewise.
53685 * conform/data/pwd.h-data: Likewise.
53686 * conform/data/regex.h-data: Likewise.
53687 * conform/data/sched.h-data: Likewise.
53688 * conform/data/search.h-data: Likewise.
53689 * conform/data/semaphore.h-data: Likewise.
53690 * conform/data/setjmp.h-data: Likewise.
53691 * conform/data/signal.h-data: Likewise.
53692 * conform/data/spawn.h-data: Likewise.
53693 * conform/data/stdarg.h-data: Likewise.
53694 * conform/data/stdio.h-data: Likewise.
53695 * conform/data/stdlib.h-data: Likewise.
53696 * conform/data/string.h-data: Likewise.
53697 * conform/data/strings.h-data: Likewise.
53698 * conform/data/stropts.h-data: Likewise.
53699 * conform/data/sys/ipc.h-data: Likewise.
53700 * conform/data/sys/mman.h-data: Likewise.
53701 * conform/data/sys/msg.h-data: Likewise.
53702 * conform/data/sys/resource.h-data: Likewise.
53703 * conform/data/sys/select.h-data: Likewise.
53704 * conform/data/sys/sem.h-data: Likewise.
53705 * conform/data/sys/shm.h-data: Likewise.
53706 * conform/data/sys/socket.h-data: Likewise.
53707 * conform/data/sys/stat.h-data: Likewise.
53708 * conform/data/sys/statvfs.h-data: Likewise.
53709 * conform/data/sys/time.h-data: Likewise.
53710 * conform/data/sys/timeb.h-data: Likewise.
53711 * conform/data/sys/times.h-data: Likewise.
53712 * conform/data/sys/types.h-data: Likewise.
53713 * conform/data/sys/uio.h-data: Likewise.
53714 * conform/data/sys/un.h-data: Likewise.
53715 * conform/data/sys/utsname.h-data: Likewise.
53716 * conform/data/sys/wait.h-data: Likewise.
53717 * conform/data/syslog.h-data: Likewise.
53718 * conform/data/tar.h-data: Likewise.
53719 * conform/data/termios.h-data: Likewise.
53720 * conform/data/utime.h-data: Likewise.
53721 * conform/data/utmpx.h-data: Likewise.
53722 * conform/data/varargs.h-data: Likewise.
53723 * conform/data/wchar.h-data: Likewise.
53724 * conform/data/wctype.h-data: Likewise.
53725 * conform/data/wordexp.h-data: Likewise.
53727 * include/stropts.h: New file.
53728 * include/uchar.h: New file.
53729 * include/aio.h: Changes to allow conformtest.pl to use the headers.
53730 * include/assert.h: Likewise.
53731 * include/ctype.h: Likewise.
53732 * include/dirent.h: Likewise.
53733 * include/dlfcn.h: Likewise.
53734 * include/fcntl.h: Likewise.
53735 * include/fnmatch.h: Likewise.
53736 * include/glob.h: Likewise.
53737 * include/grp.h: Likewise.
53738 * include/libio.h: Likewise.
53739 * include/locale.h: Likewise.
53740 * include/math.h: Likewise.
53741 * include/net/if.h: Likewise.
53742 * include/netdb.h: Likewise.
53743 * include/netinet/in.h: Likewise.
53744 * include/pthread.h: Likewise.
53745 * include/pwd.h: Likewise.
53746 * include/regex.h: Likewise.
53747 * include/sched.h: Likewise.
53748 * include/search.h: Likewise.
53749 * include/setjmp.h: Likewise.
53750 * include/signal.h: Likewise.
53751 * include/stdio.h: Likewise.
53752 * include/stdlib.h: Likewise.
53753 * include/string.h: Likewise.
53754 * include/sys/cdefs.h: Likewise.
53755 * include/sys/mman.h: Likewise.
53756 * include/sys/msg.h: Likewise.
53757 * include/sys/resource.h: Likewise.
53758 * include/sys/select.h: Likewise.
53759 * include/sys/socket.h: Likewise.
53760 * include/sys/stat.h: Likewise.
53761 * include/sys/statvfs.h: Likewise.
53762 * include/sys/time.h: Likewise.
53763 * include/sys/times.h: Likewise.
53764 * include/sys/uio.h: Likewise.
53765 * include/sys/utsname.h: Likewise.
53766 * include/sys/wait.h: Likewise.
53767 * include/termios.h: Likewise.
53768 * include/time.h: Likewise.
53769 * include/ulimit.h: Likewise.
53770 * include/unistd.h: Likewise.
53771 * include/utime.h: Likewise.
53772 * include/wchar.h: Likewise.
53773 * include/wctype.h: Likewise.
53774 * include/wordexp.h: Likewise.
53776 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53778 * time/time.h: TIME_UTC must be a macro.
53779 Make timespec_get available for ISO C11 only as well.
53781 2012-02-24 Ulrich Drepper <drepper@gmail.com>
53783 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53784 Reported by Peng Haitao <penght@cn.fujitsu.com>.
53786 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53788 * configure.in: Use -o not -a in test for unsupported multi-arch.
53790 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53792 * manual/texinfo.tex: Update to version 2012-01-19.16.
53794 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53796 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53798 2012-02-24 Roland McGrath <roland@hack.frob.com>
53801 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53802 * manual/fdl-1.3.texi: New file.
53803 * manual/fdl-1.1.texi: File removed.
53806 * manual/libc.texinfo (FDL_VERSION): New @set.
53807 Use it for mention of FDL in cover text.
53808 (Documentation License): Use it in @include file name.
53810 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53811 Roland McGrath <roland@hack.frob.com>
53814 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53815 (not LONG_LONG_MAX and LONG_LONG_MIN.
53816 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53817 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
53819 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53821 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53825 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53826 manipulate bits before adding and subtracting TWO23[sx].
53827 * math/libm-test.inc (nearbyint_test): Add more tests.
53829 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53832 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53833 bits before adding and subtracting TWO23[sx].
53834 * math/libm-test.inc (rint_test): Add more tests.
53835 (rint_test_tonearest): Likewise.
53836 (rint_test_towardzero): Likewise.
53837 (rint_test_downward): Likewise.
53838 (rint_test_upward: Likewise.
53840 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53843 * include/stdc-predef.h: New file. Extracted from features.h.
53844 * include/features.h: Include stdc-predef.h.
53845 * Makefile (headers): Add stdc-predef.h.
53846 * CONFORMANCE (Compiler limitations): Update.
53848 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53850 * manual/libc.texinfo (VERSION, UPDATED): Revert.
53852 2012-02-21 David S. Miller <davem@davemloft.net>
53854 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53855 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53857 2012-02-20 David S. Miller <davem@davemloft.net>
53859 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53860 using a normal save/restore sequence, rather than allocating a
53861 dummy stack frame just to store a frame pointer and restore.
53862 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53864 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53866 * manual/install.texi: Fix stray word in line-wrapped comment.
53868 2012-02-20 David S. Miller <davem@davemloft.net>
53870 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53871 both binutils and gcc support GOTDATA.
53873 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53874 "rd %pc" in the PIC register setup sequences.
53876 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53877 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53878 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53879 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53880 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53881 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53882 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53883 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53884 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53885 (SYSCALL_ERROR_HANDLER): Likewise.
53886 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53887 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53888 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53889 (SYSCALL_ERROR_HANDLER): Likewise.
53891 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53892 (HAVE_GCC_GOTDATA): New.
53893 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53894 relocation support in both binutils and gcc.
53895 * sysdeps/sparc/elf/configure: Regenerate.
53897 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53898 * sysdeps/sparc/sparc32/elf/configure: Delete.
53899 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53900 * sysdeps/sparc/sparc64/elf/configure: Delete.
53901 * sysdeps/sparc/elf/configure.in: New file.
53902 * sysdeps/sparc/elf/configure: Generate.
53904 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53905 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53906 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53907 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53908 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53910 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53912 * manual/install.texi: Do not mention specific glibc version
53914 * manual/libc.texinfo (VERSION, UPDATED): Update.
53915 (@copying): Use @copyright{} and range of years.
53917 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53920 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53921 [crti.S not in sysdirs] (generated): Do not append.
53922 [crti.S not in sysdirs] (omit-deps): Likewise.
53923 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53924 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53925 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53926 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53927 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53929 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53930 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53931 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53932 * csu/defs.awk: Remove file.
53933 * sysdeps/generic/initfini.c: Likewise.
53934 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53936 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53939 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53941 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53942 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53943 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53944 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53945 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53946 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53948 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53949 (__EPOLL_PACKED): Define to empty if not defined by
53951 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53955 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53957 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53958 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53959 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53960 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53962 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53966 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53968 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53970 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53971 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53972 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53975 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
53977 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53978 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53980 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
53982 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53983 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53985 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53987 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53990 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
53992 * math/w_acos.c: Use non-signaling floating-point comparisons.
53993 * math/w_acosf.c: Likewise.
53994 * math/w_acosh.c: Likewise.
53995 * math/w_acoshf.c: Likewise.
53996 * math/w_acoshl.c: Likewise.
53997 * math/w_acosl.c: Likewise.
53998 * math/w_asin.c: Likewise.
53999 * math/w_asinf.c: Likewise.
54000 * math/w_asinl.c: Likewise.
54001 * math/w_atanh.c: Likewise.
54002 * math/w_atanhf.c: Likewise.
54003 * math/w_atanhl.c: Likewise.
54004 * math/w_exp2.c: Likewise.
54005 * math/w_exp2f.c: Likewise.
54006 * math/w_exp2l.c: Likewise.
54007 * math/w_j0.c: Likewise.
54008 * math/w_j0f.c: Likewise.
54009 * math/w_j0l.c: Likewise.
54010 * math/w_j1.c: Likewise.
54011 * math/w_j1f.c: Likewise.
54012 * math/w_j1l.c: Likewise.
54013 * math/w_jn.c: Likewise.
54014 * math/w_jnf.c: Likewise.
54015 * math/w_log.c: Likewise.
54016 * math/w_log10.c: Likewise.
54017 * math/w_log10f.c: Likewise.
54018 * math/w_log10l.c: Likewise.
54019 * math/w_log2.c: Likewise.
54020 * math/w_log2f.c: Likewise.
54021 * math/w_log2l.c: Likewise.
54022 * math/w_logf.c: Likewise.
54023 * math/w_logl.c: Likewise.
54024 * math/w_sqrt.c: Likewise.
54025 * math/w_sqrtf.c: Likewise.
54026 * math/w_sqrtl.c: Likewise.
54027 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54028 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54029 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54030 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54031 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54033 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54036 * manual/string.texi (strnlen): Use correct parameter name in
54037 equivalent expression.
54039 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54042 * manual/users.texi (seteuid): Consistently use neweuid for
54045 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54048 * manual/nss.texi (Services in the NSS configuration): Correct
54049 list of services in example configuration file.
54051 2012-02-19 Nick Bowler <nbowler@draconx.ca>
54054 * manual/arith.texi: Remove statements about negative zero
54055 behaving identically to zero.
54057 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54060 * manual/install.texi: Do not document upgrading from libc5.
54062 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54065 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54067 2012-02-18 David S. Miller <davem@davemloft.net>
54069 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54070 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54071 %o7 across the call.
54072 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54074 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54075 SETUP_PIC_REG_LEAF.
54076 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54077 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54078 * sysdeps/sparc/crtn.S: Likewise.
54080 2012-02-17 Ulrich Drepper <drepper@gmail.com>
54082 * aout/Makefile: Remove.
54084 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
54087 * manual/examples/argp-ex1.c (main): Format definition in GNU
54089 * manual/examples/argp-ex2.c (main): Likewise.
54090 * manual/examples/argp-ex3.c (main): Likewise.
54091 * manual/examples/argp-ex4.c (main): Likewise.
54092 * manual/examples/longopt.c (main): Use new-style prototype
54094 * manual/examples/strncat.c (main): Specify return type and use
54095 (void) for arguments.
54096 * manual/examples/subopt.c (main): Use char **argv argument.
54098 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54101 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54104 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
54107 * manual/string.texi (strchr): Change when strchrnul is
54110 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
54113 * manual/locale.texi (setlocale): Document LOCPATH.
54115 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54118 * manual/process.texi (execle): Move @dots{} before last argument.
54120 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
54123 * manual/charset.texi (Generic Charset Conversion): Fix typo
54124 (LC_TYPE -> LC_CTYPE).
54126 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
54129 * manual/arith.texi (scalbn): Use @var{} on parameter names.
54130 (scalbnf): Likewise.
54131 (scalbnl): Likewise.
54132 (scalbln): Likewise.
54133 (scalblnf): Likewise.
54134 (scalblnl): Likewise.
54135 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54136 (vwarnx): Likewise.
54139 * manual/filesys.texi (telldir): Use braces around return type.
54140 * manual/llio.texi (mmap): Add space after comma.
54141 (mmap64): Likewise.
54142 * manual/math.texi (jn): Use @var{} on parameter names.
54148 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54150 * manual/resource.texi (ulimit): Use @dots{} instead of literal
54152 (sched_get_priority_min): Remove semicolon on @deftypefun line.
54153 (sched_get_priority_max): Likewise.
54154 * manual/signal.texi (sigvec): Add space after comma.
54155 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54157 (if_indextoname): Likewise.
54158 (if_freenameindex): Likewise.
54159 (sendto): Use ',' instead of '.' in prototype.
54160 * manual/startup.texi (syscall): Use @dots{} instead of literal
54162 * manual/stdio.texi (__fpending): Separate initial words of
54163 paragraph from @deftypefun line.
54164 * manual/syslog.texi (syslog): Use @dots{} instead of literal
54166 (vsyslog): Use @var{} on parameter names.
54167 * manual/terminal.texi (stty): Use @var{} on parameter names.
54168 * manual/users.texi (getutmp): Use @var{} on parameter names.
54169 (getutmpx): Likewise.
54171 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54174 * manual/stdio.texi (fopen): Fix typos in description of
54177 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
54180 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54181 get clock_id definition.
54183 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
54186 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54187 (madvise): Cast every argument to void on its own.
54189 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54192 * manual/startup.texi (Exit Status): Fix typo.
54194 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54197 * manual/examples/argp-ex1.c: Include <stdlib.h>.
54198 * manual/examples/argp-ex2.c: Likewise.
54199 * manual/examples/argp-ex3.c: Likewise.
54201 2012-02-16 Richard Henderson <rth@redhat.com>
54203 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54204 * sysdeps/s390/s390-32/initfini.c: Remove.
54205 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54206 * sysdeps/s390/s390-64/initfini.c: Remove.
54208 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54210 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54211 compiler output for sysdeps/generic/initfini.c.
54212 * sysdeps/sh/elf/initfini.c: Remove file.
54214 2012-02-16 David S. Miller <davem@davemloft.net>
54217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54219 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54220 * sysdeps/sparc/crti.S: New file.
54221 * sysdeps/sparc/crtn.S: New file.
54222 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54223 * sysdeps/sparc/sparc64/Makefile: Likewise.
54225 2012-02-15 Mike Frysinger <vapier@gentoo.org>
54228 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54230 2012-02-15 Roland McGrath <roland@hack.frob.com>
54233 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54235 * mach/devstream.c (cookie_io_functions_t): Macro removed.
54236 (write, read, close): Likewise.
54237 Patch by Aurelien Jarno <aurelien@aurel32.net>.
54239 2012-02-15 Joseph Myers <joseph@codesourcery.com>
54241 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54242 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54243 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54244 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54246 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54250 2012-02-14 Marek Polacek <polacek@redhat.com>
54252 * sysdeps/x86_64/crti.S: New file.
54253 * sysdeps/x86_64/crtn.S: New file.
54254 * sysdeps/x86_64/elf/initfini.c: Remove file.
54256 2012-02-13 Joseph Myers <joseph@codesourcery.com>
54258 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54259 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54260 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54261 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54263 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54267 2012-02-13 Joseph Myers <joseph@codesourcery.com>
54269 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54270 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54271 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54272 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54274 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54278 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
54280 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54281 __feraiseexcept instead of feraiseexcept.
54283 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54284 nanosleep invocations.
54285 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54286 strings, and add error checking for a nanosleep invocations.
54288 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
54290 Replace FSF snail mail address with URLs, as per GNU coding standards.
54291 Most of the snail mail addresses were wrong anyway, and omitting
54292 them makes the source code easier to maintain. Almost all of the
54293 changes are to license notices and to locale LC_IDENTIFICATION
54294 addresses, except for this one:
54295 * manual/libc.texinfo: In "Published by", give the FSF's URL,
54296 not its snail mail address.
54298 2012-02-09 Richard Henderson <rth@twiddle.net>
54300 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54301 of kernel-features.h.
54303 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54305 2012-02-08 Marek Polacek <polacek@redhat.com>
54307 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54308 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54309 * sysdeps/gnu/_G_config.h: Likewise.
54310 * sysdeps/generic/_G_config.h: Likewise.
54312 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
54314 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54318 * sysdeps/powerpc/powerpc32/crti.S: New file.
54319 * sysdeps/powerpc/powerpc32/crtn.S: New file.
54320 * sysdeps/powerpc/powerpc64/crti.S: New file.
54321 * sysdeps/powerpc/powerpc64/crtn.S: New file.
54323 * Makeconfig (have-initfini): Don't set.
54324 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54325 * configure.in (nopic_initfini): Don't substitute.
54326 * config.h.in (HAVE_INITFINI): Don't #undef.
54327 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54328 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54330 2012-02-08 Joseph Myers <joseph@codesourcery.com>
54332 Support crti.S and crtn.S provided directly by architectures.
54333 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54334 [crti.S in sysdirs] (omit-deps): Likewise.
54335 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54336 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54337 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54338 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54339 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54340 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54341 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54342 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54343 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54344 compiler output for sysdeps/generic/initfini.c.
54345 * sysdeps/i386/elf/Makefile: Remove file.
54346 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54348 2012-02-07 Marek Polacek <polacek@redhat.com>
54350 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54351 * sysdeps/gnu/_G_config.h: Likewise.
54352 * sysdeps/mach/hurd/_G_config.h: Likewise.
54354 2012-02-07 Marek Polacek <polacek@redhat.com>
54356 * math/Makefile (tests): Add tst-CMPLX2.
54357 * math/tst-CMPLX2.c: New file.
54359 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
54361 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54363 * math/libm-test.inc (jn_test): Add missing L suffix.
54365 2012-02-06 Marek Polacek <polacek@redhat.com>
54367 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54368 * sysdeps/i386/fpu/e_powf.S: Likewise.
54369 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54370 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54371 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54372 * sysdeps/i386/fpu/e_pow.S: Likewise.
54373 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54374 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54375 * sysdeps/i386/fpu/s_expm1.S: Likewise.
54376 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54377 * sysdeps/i386/fpu/e_log2.S: Likewise.
54378 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54379 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54380 * sysdeps/i386/fpu/e_powl.S: Likewise.
54381 * sysdeps/i386/fpu/s_log1p.S: Likewise.
54382 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54383 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54384 * sysdeps/i386/fpu/e_logl.S: Likewise.
54385 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54386 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54387 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54388 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54389 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54390 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54391 * sysdeps/i386/fpu/e_log.S: Likewise.
54392 * sysdeps/i386/fpu/s_cexp.S: Likewise.
54393 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54394 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54395 * sysdeps/i386/fpu/e_logf.S: Likewise.
54396 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54397 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54398 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54399 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54400 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54401 * sysdeps/i386/fpu/e_log10.S: Likewise.
54402 * sysdeps/i386/fpu/s_frexp.S: Likewise.
54403 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54404 * sysdeps/i386/fpu/s_asinh.S: Likewise.
54405 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54406 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54407 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54408 * sysdeps/i386/asm-syntax.h: Likewise.
54409 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54410 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54411 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54412 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54413 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54414 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54415 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54416 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54417 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54418 * sysdeps/powerpc/sysdep.h: Likewise.
54419 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54420 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54422 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54425 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54427 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54429 * sysdeps/i386/sysdep.h: Include <features.h>.
54430 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54433 2012-02-05 Joseph Myers <joseph@codesourcery.com>
54435 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54437 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54440 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54442 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54443 (SETUP_PIC_REG): Use GET_PC_THUNK.
54444 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54447 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54449 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54450 for non-PIC compilation.
54451 (SETUP_PIC_REG): Add .p2align directive.
54452 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54453 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54454 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54455 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54456 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54457 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54458 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54459 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54460 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54461 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54462 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54463 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54464 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54465 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54466 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54467 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54468 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54469 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54470 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54471 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54472 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54473 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54474 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54475 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54476 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54477 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54478 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54479 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54480 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54481 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54482 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54483 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54484 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54485 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54486 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54487 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54488 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54489 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54490 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54491 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54492 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54494 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54496 * math/tst-CMPLX.c: Include <stdio.h>.
54498 2012-01-31 Joseph Myers <joseph@codesourcery.com>
54500 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54502 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54503 * sysdeps/sparc/bits/mathdef.h: Likewise.
54505 2012-01-31 Marek Polacek <polacek@redhat.com>
54507 * libio/libio.h: Don't define _PARAMS.
54508 * locale/programs/config.h: Don't define PARAMS.
54509 * stdlib/strtol_l.c: Likewise.
54510 (__strtol_l): Remove PARAMS from the prototype.
54512 2012-01-31 Ulrich Drepper <drepper@gmail.com>
54514 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
54515 names. Just use the correct names. Remove unnecessary wrapper
54517 * malloc/arena.c: Likewise.
54518 * malloc/hooks.c: Likewise.
54520 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54521 ARENA_TEST says not to. Simplify test for creation of a new arena.
54522 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54524 2012-01-30 Ulrich Drepper <drepper@gmail.com>
54526 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54528 (update_get_addr): New function.
54529 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54530 GET_ADDR_MODULE parameter.
54532 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54534 * crypt/cert.c: Remove __STDC__ conditionals.
54535 * crypt/crypt-entry.c: Likewise.
54536 * crypt/crypt_util.c: Likewise.
54537 * libio/filedoalloc.c: Likewise.
54538 * libio/fileops.c: Likewise.
54539 * libio/genops.c: Likewise.
54540 * libio/iofclose.c: Likewise.
54541 * libio/iofdopen.c: Likewise.
54542 * libio/iofopen.c: Likewise.
54543 * libio/iofopen64.c: Likewise.
54544 * libio/iogetdelim.c: Likewise.
54545 * libio/iopopen.c: Likewise.
54546 * libio/obprintf.c: Likewise.
54547 * libio/oldfileops.c: Likewise.
54548 * libio/oldiofclose.c: Likewise.
54549 * libio/oldiofdopen.c: Likewise.
54550 * libio/oldiofopen.c: Likewise.
54551 * libio/oldiopopen.c: Likewise.
54552 * libio/wfiledoalloc.c: Likewise.
54553 * libio/wgenops.c: Likewise.
54554 * locale/programs/xmalloc.c: Likewise.
54555 * misc/syslog.c: Likewise.
54556 * stdio-common/xbug.c: Likewise.
54557 * string/memchr.c: Likewise.
54558 * string/memcmp.c: Likewise.
54559 * string/memrchr.c: Likewise.
54560 * string/rawmemchr.c: Likewise.
54561 * sysdeps/posix/getcwd.c: Likewise.
54562 * time/strftime_l.c: Likewise.
54564 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54566 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54567 * config.make.in (config-cflags-sse2avx): Define.
54568 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54571 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
54573 * scripts/config.guess: Update from upstream config git repository.
54574 * scripts/config.sub: Likewise.
54576 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
54578 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54580 (R_TILEPRO_*, R_TILEGX_*): New macros.
54582 * scripts/firstversions.awk: Fix bug in version range handling.
54584 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54586 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54588 * include/sys/epoll.h: New file.
54589 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54592 2012-01-28 Ulrich Drepper <drepper@gmail.com>
54594 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54595 Avoid unnecessary __WORDSIZE == 64 test.
54596 (fmaxf): Use VEX format if possible.
54601 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54602 * math/math_private.h: Remove libc_fegetround* and
54604 * sysdeps/i386/configure.in: Check for -msse2avx.
54605 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54606 also if SSE2AVX is defined.
54607 Remove libc_fegetround* and libc_fesetround*.
54608 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54609 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
54610 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54612 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54613 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54614 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54615 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54616 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54618 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54620 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54622 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54624 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54626 2012-01-27 Ulrich Drepper <drepper@gmail.com>
54629 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54631 * Makeconfig (libm): Define.
54632 * elf/Makefile: Add rules to build and run tst-relsort1.
54633 * elf/tst-relsort1.c: New file.
54634 * elf/tst-relsort1mod1.c: New file.
54635 * elf/tst-relsort1mod2.c: New file.
54637 2012-01-27 Joseph Myers <joseph@codesourcery.com>
54639 * math/s_ldexp.c: Remove __STDC__ conditionals.
54640 * math/s_ldexpf.c: Likewise.
54641 * math/s_ldexpl.c: Likewise.
54642 * math/s_nextafter.c: Likewise.
54643 * math/s_nexttowardf.c: Likewise.
54644 * math/s_significand.c: Likewise.
54645 * math/s_significandf.c: Likewise.
54646 * math/s_significandl.c: Likewise.
54647 * math/w_jnl.c: Likewise.
54648 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54649 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54650 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54651 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54652 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54653 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54654 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54655 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54656 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54657 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54658 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54659 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54660 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54661 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54662 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54663 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54664 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54665 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54666 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54667 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54668 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54669 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54670 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54671 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54672 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54673 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54674 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54675 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54676 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54677 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54678 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54679 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54680 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54681 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54682 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54683 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54684 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54685 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54686 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54687 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54688 * sysdeps/ieee754/k_standard.c: Likewise.
54689 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54690 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54691 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54692 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54693 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54694 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54695 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54696 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54697 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54698 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54699 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54700 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54701 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54702 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54703 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54704 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54705 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54706 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54707 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54708 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54709 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54710 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54711 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54712 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54713 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54714 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54715 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54716 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54717 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54718 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54719 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54720 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54721 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54722 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54723 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54724 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54725 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54726 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54727 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54728 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54729 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54730 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54731 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54732 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54733 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54734 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54735 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54736 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54737 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54738 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54739 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54740 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54741 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54742 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54743 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54744 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54745 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54746 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54747 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54748 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54749 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54750 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54751 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54752 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54753 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54754 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54755 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54756 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54757 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54758 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54759 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54760 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54761 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54762 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54763 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54764 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54765 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54766 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54767 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54768 * sysdeps/ieee754/s_matherr.c: Likewise.
54769 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54770 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54771 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54772 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54774 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54776 * crypt/md5.h: Remove __STDC__ conditionals.
54777 * libio/libioP.h: Likewise.
54778 * locale/programs/config.h: Likewise.
54779 * sysdeps/generic/sysdep.h: Likewise.
54780 * sysdeps/i386/asm-syntax.h: Likewise.
54781 * sysdeps/s390/asm-syntax.h: Likewise.
54782 * sysdeps/unix/sysdep.h: Likewise.
54783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54786 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54788 * libio/libio.h: Remove __STDC__ conditionals.
54789 * malloc/obstack.h: Likewise.
54790 * math/complex.h: Likewise.
54791 * math/math.h: Likewise.
54792 * sysdeps/generic/_G_config.h: Likewise.
54793 * sysdeps/gnu/_G_config.h: Likewise.
54794 * sysdeps/mach/hurd/_G_config.h: Likewise.
54795 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54796 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54797 * sysdeps/sparc/bits/mathdef.h: Likewise.
54799 2012-01-26 Ulrich Drepper <drepper@gmail.com>
54802 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54803 Clean up HAS_* macros.
54804 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54805 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54807 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54809 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54810 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54811 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54812 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54813 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54815 2012-01-25 Joseph Myers <joseph@codesourcery.com>
54817 * elf/tst-unique3.cc (gets): Remove declaration.
54818 * elf/tst-unique3lib.cc (gets): Likewise.
54819 * elf/tst-unique3lib2.cc (gets): Likewise.
54820 * elf/tst-unique4.cc (gets): Likewise.
54822 2012-01-24 Ulrich Drepper <drepper@gmail.com>
54824 * include/stdio.h: Add C++ protection. Add gets declarations and
54826 * debug/tst-chk1.c: Don't declare gets here.
54827 * stdio-common/tst-gets.c: Likewise.
54829 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54831 * posix/glob: Remove directory.
54833 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54835 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54837 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
54839 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54840 of the non-standard EPFNOSUPPORT.
54842 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
54844 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54845 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54846 ANYWHERE set to 1 only on KERN_NO_SPACE error.
54848 2012-01-21 Ulrich Drepper <drepper@gmail.com>
54850 * wcsmbs/uchar.h: Test __STDC_VERSION__.
54852 2012-01-20 Ulrich Drepper <drepper@gmail.com>
54854 * nscd/aicache.c (addhstaiX): Do not cache negative results of
54856 * nscd/grpcache.c (cache_addgr): Likewise.
54857 * nscd/hstcache.c (cache_addhst): Likewise.
54858 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54859 * nscd/pwdcache.c (cache_addpw): Likewise.
54860 * nscd/servicescache.c (cache_addserv): Likewise.
54862 2012-01-16 Ulrich Drepper <drepper@gmail.com>
54864 * malloc/malloc.c: Various cleanups.
54865 * malloc/hooks.c: Likewise.
54867 * stdlib/Makefile (tests): Add bug-fmtmsg1.
54868 * stdlib/bug-fmtmsg1.c: New file.
54870 * stdlib/fmtmsg.c (init): Add missing unlock.
54871 Patch by Peng Haitao <penght@cn.fujitsu.com>.
54873 2012-01-12 Marek Polacek <polacek@redhat.com>
54875 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54878 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54880 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54881 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54882 macro to ensure uniqueness of label name.
54883 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54884 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54886 2012-01-11 Ulrich Drepper <drepper@gmail.com>
54888 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54890 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54891 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54892 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54893 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54895 2012-01-10 Ulrich Drepper <drepper@gmail.com>
54897 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54899 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54900 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54901 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54903 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54905 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54906 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54907 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54908 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54910 * math/bits/math-finite.h: Add ldexp support.
54912 2012-01-10 Marek Polacek <polacek@redhat.com>
54914 * locale/programs/localedef.h (show_archive_content): Add noreturn
54917 2012-01-09 Ulrich Drepper <drepper@gmail.com>
54919 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54921 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54923 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54925 * io/Makefile (headers): Add bits/poll2.h.
54927 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
54929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54930 typo #include statement.
54932 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54934 * include/sys/cdefs.h: Define __attribute_alloc_size.
54935 * catgets/gencat.c: Add alloc_size attribute and apply consistently
54936 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54937 * elf/pldd.c: Likewise.
54938 * iconv/iconv_charmap.c: Likewise.
54939 * iconv/iconvconfig.c: Likewise.
54940 * iconv/strtab.c: Likewise.
54941 * locale/programs/locale.c: Likewise.
54942 * locale/programs/localedef.h: Likewise.
54943 * locale/programs/simple-hash.c: Likewise.
54944 * nscd/nscd.h: Likewise.
54945 * nss/makedb.c: Likewise.
54946 * sysdeps/generic/ldconfig.h: Likewise.
54947 * locale/programs/localedef.c: Remove xmalloc prototype.
54948 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54950 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54952 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54955 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54957 * math/Makefile (tests): Add tst-CMPLX.
54958 * math/tst-CMPLX.c: New file.
54960 * math/complex.h (CMPLXL): Fix typo.
54962 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54963 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54965 * debug/tst-chk1.c: Add poll and ppoll tests.
54966 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54967 * include/sys/poll.h: Add hidden proto for ppoll.
54968 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54969 * sysdeps/mach/hurd/ppoll.c: Likewise.
54970 * io/ppoll.c: Likewise.
54971 * debug/poll_chk.c: New file.
54972 * debug/ppoll_chk.c: New file.
54973 * include/bits/poll2.h: New file.
54974 * io/bits/poll2.h: New file.
54977 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54979 * configure.in: static is always set to yes. Remove.
54980 * config.make.in: Don't set build-static.
54981 * Makeconfig: Remove use of build-static.
54982 * dlfcn/Makefile: Likewise.
54983 * elf/Makefile: Likewise.
54984 * math/Makefile: Likewise.
54985 * misc/Makefile: Likewise.
54986 * nptl/Makefile: Likewise.
54987 * sysdeps/mach/hurd/Makefile: Likewise.
54989 * configure.in: PWD_P is not used anymore.
54990 * config.make.in: Remove PWD_P entry.
54992 * configure.in: Remove last remnants of RANLIB.
54993 No need to check for signed size_t anymore.
54994 Don't set libc_commonpagesize and libc_relro_required here for Alpha
54996 Remove __builtin_expect test because we require at least gcc 3.4.
54997 * aclocal.m4: Likewise.
54999 * wcsmbs/mbrtoc16.c: Implement using towc function.
55000 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55001 * wcsmbs/wcsmbsload.c: Likewise.
55002 * iconv/gconv_simple.c: Likewise.
55003 * iconv/gconv_int.h: Likewise.
55004 * iconv/gconv_builtin.h: Likewise.
55005 * iconv/iconv_prog.c: Remove CHAR16 handling.
55007 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55009 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55011 * configure.in: Remove --with-elf and --enable-bounded options.
55012 Dont set base_machine for ia64. More non-ELF conditions removed.
55013 Remove testing and setting of leading underscore information.
55014 * config.make.in (build-bounded): Set to no.
55015 * config.h.in: Remove NO_UNDERSCORES entry.
55016 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
55018 * csu/start.c: Remove !NO_UNDERSCORE code.
55019 * locale/localeinfo.h: Likewise.
55020 * sysdeps/generic/machine-gmon.h: Likewise.
55021 * sysdeps/generic/sysdep.h: Likewise.
55022 * sysdeps/i386/sysdep.h: Likewise.
55023 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55024 * sysdeps/mach/sysdep.h: Likewise.
55025 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55026 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55027 * sysdeps/sh/sysdep.h: Likewise.
55028 * sysdeps/sparc/sparc32/alloca.S: Likewise.
55029 * sysdeps/unix/i386/sysdep.S: Likewise.
55030 * sysdeps/unix/sparc/start.c: Likewise.
55031 * sysdeps/unix/sparc/sysdep.S: Likewise.
55032 * sysdeps/unix/sparc/sysdep.h: Likewise.
55033 * sysdeps/unix/start.c: Likewise.
55034 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55035 * sysdeps/x86_64/sysdep.h: Likewise.
55037 2012-01-07 Ulrich Drepper <drepper@gmail.com>
55040 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55042 * argp/argp-fmtstream.h: Use const instead __const.
55043 * argp/argp.h: Likewise.
55044 * assert/assert.h: Likewise.
55045 * bits/fenv.h: Likewise.
55046 * bits/sched.h: Likewise.
55047 * bits/sigset.h: Likewise.
55048 * bits/sigthread.h: Likewise.
55049 * catgets/nl_types.h: Likewise.
55050 * conform/data/pthread.h-data: Likewise.
55051 * crypt/crypt-private.h: Likewise.
55052 * crypt/crypt.h: Likewise.
55053 * crypt/crypt_util.c: Likewise.
55054 * ctype/ctype.h: Likewise.
55055 * debug/execinfo.h: Likewise.
55056 * debug/mbsnrtowcs_chk.c: Likewise.
55057 * debug/mbsrtowcs_chk.c: Likewise.
55058 * debug/wcsnrtombs_chk.c: Likewise.
55059 * debug/wcsrtombs_chk.c: Likewise.
55060 * debug/wcstombs_chk.c: Likewise.
55061 * dirent/dirent.h: Likewise.
55062 * dlfcn/dlfcn.h: Likewise.
55063 * elf/neededtest4.c: Likewise.
55064 * grp/grp.h: Likewise.
55065 * gshadow/gshadow.h: Likewise.
55066 * iconv/gconv.h: Likewise.
55067 * iconv/gconv_int.h: Likewise.
55068 * iconv/gconv_simple.c: Likewise.
55069 * iconv/iconv.h: Likewise.
55070 * iconv/loop.c: Likewise.
55071 * iconv/skeleton.c: Likewise.
55072 * include/aio.h: Likewise.
55073 * include/aliases.h: Likewise.
55074 * include/argz.h: Likewise.
55075 * include/arpa/inet.h: Likewise.
55076 * include/assert.h: Likewise.
55077 * include/dirent.h: Likewise.
55078 * include/dlfcn.h: Likewise.
55079 * include/execinfo.h: Likewise.
55080 * include/fcntl.h: Likewise.
55081 * include/fenv.h: Likewise.
55082 * include/glob.h: Likewise.
55083 * include/grp.h: Likewise.
55084 * include/libintl.h: Likewise.
55085 * include/mntent.h: Likewise.
55086 * include/netdb.h: Likewise.
55087 * include/pwd.h: Likewise.
55088 * include/rpc/netdb.h: Likewise.
55089 * include/sched.h: Likewise.
55090 * include/search.h: Likewise.
55091 * include/shadow.h: Likewise.
55092 * include/signal.h: Likewise.
55093 * include/stdio.h: Likewise.
55094 * include/stdlib.h: Likewise.
55095 * include/string.h: Likewise.
55096 * include/sys/socket.h: Likewise.
55097 * include/sys/stat.h: Likewise.
55098 * include/sys/statfs.h: Likewise.
55099 * include/sys/statvfs.h: Likewise.
55100 * include/sys/syslog.h: Likewise.
55101 * include/sys/time.h: Likewise.
55102 * include/sys/uio.h: Likewise.
55103 * include/time.h: Likewise.
55104 * include/unistd.h: Likewise.
55105 * include/utmp.h: Likewise.
55106 * include/wchar.h: Likewise.
55107 * include/wctype.h: Likewise.
55108 * inet/aliases.h: Likewise.
55109 * inet/arpa/inet.h: Likewise.
55110 * inet/netinet/ether.h: Likewise.
55111 * inet/netinet/in.h: Likewise.
55112 * intl/libintl.h: Likewise.
55113 * io/bits/fcntl2.h: Likewise.
55114 * io/fcntl.h: Likewise.
55115 * io/ftw.h: Likewise.
55116 * io/sys/poll.h: Likewise.
55117 * io/sys/stat.h: Likewise.
55118 * io/sys/statfs.h: Likewise.
55119 * io/sys/statvfs.h: Likewise.
55120 * io/utime.h: Likewise.
55121 * libio/bits/stdio.h: Likewise.
55122 * libio/bits/stdio2.h: Likewise.
55123 * libio/libio.h: Likewise.
55124 * libio/libioP.h: Likewise.
55125 * libio/stdio.h: Likewise.
55126 * locale/lc-ctype.c: Likewise.
55127 * locale/locale.h: Likewise.
55128 * login/utmp.h: Likewise.
55129 * malloc/arena.c: Likewise.
55130 * malloc/malloc.c: Likewise.
55131 * malloc/malloc.h: Likewise.
55132 * malloc/mcheck.c: Likewise.
55133 * malloc/mtrace.c: Likewise.
55134 * math/bits/mathcalls.h: Likewise.
55135 * math/fenv.h: Likewise.
55136 * math/math_private.h: Likewise.
55137 * misc/bits/error.h: Likewise.
55138 * misc/bits/syslog.h: Likewise.
55139 * misc/err.h: Likewise.
55140 * misc/error.h: Likewise.
55141 * misc/fstab.h: Likewise.
55142 * misc/mntent.h: Likewise.
55143 * misc/regexp.h: Likewise.
55144 * misc/search.h: Likewise.
55145 * misc/sgtty.h: Likewise.
55146 * misc/sys/mman.h: Likewise.
55147 * misc/sys/syslog.h: Likewise.
55148 * misc/sys/uio.h: Likewise.
55149 * misc/sys/xattr.h: Likewise.
55150 * misc/ttyent.h: Likewise.
55151 * nis/rpcsvc/ypclnt.h: Likewise.
55152 * nss/nss.h: Likewise.
55153 * posix/bits/unistd.h: Likewise.
55154 * posix/fnmatch.h: Likewise.
55155 * posix/glob.h: Likewise.
55156 * posix/sched.h: Likewise.
55157 * posix/spawn.h: Likewise.
55158 * posix/sys/wait.h: Likewise.
55159 * posix/unistd.h: Likewise.
55160 * posix/wordexp.h: Likewise.
55161 * pwd/pwd.h: Likewise.
55162 * resolv/netdb.h: Likewise.
55163 * resource/sys/resource.h: Likewise.
55164 * rt/aio.h: Likewise.
55165 * rt/bits/mqueue2.h: Likewise.
55166 * rt/mqueue.h: Likewise.
55167 * shadow/shadow.h: Likewise.
55168 * signal/signal.h: Likewise.
55169 * socket/send.c: Likewise.
55170 * socket/sendto.c: Likewise.
55171 * socket/sys/socket.h: Likewise.
55172 * stdio-common/printf.h: Likewise.
55173 * stdlib/bits/stdlib.h: Likewise.
55174 * stdlib/fmtmsg.h: Likewise.
55175 * stdlib/monetary.h: Likewise.
55176 * stdlib/stdlib.h: Likewise.
55177 * stdlib/ucontext.h: Likewise.
55178 * streams/stropts.h: Likewise.
55179 * string/argz.h: Likewise.
55180 * string/bits/string2.h: Likewise.
55181 * string/string.h: Likewise.
55182 * string/strings.h: Likewise.
55183 * sunrpc/rpc/auth.h: Likewise.
55184 * sunrpc/rpc/auth_des.h: Likewise.
55185 * sunrpc/rpc/clnt.h: Likewise.
55186 * sunrpc/rpc/netdb.h: Likewise.
55187 * sunrpc/rpc/pmap_clnt.h: Likewise.
55188 * sunrpc/rpc/xdr.h: Likewise.
55189 * sysdeps/generic/inttypes.h: Likewise.
55190 * sysdeps/generic/net/if.h: Likewise.
55191 * sysdeps/generic/sys/swap.h: Likewise.
55192 * sysdeps/gnu/net/if.h: Likewise.
55193 * sysdeps/gnu/utmpx.h: Likewise.
55194 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55195 * sysdeps/i386/i486/bits/string.h: Likewise.
55196 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55197 * sysdeps/s390/bits/string.h: Likewise.
55198 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55199 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55200 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55201 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55202 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55203 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55204 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55205 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55206 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55207 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55208 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55209 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55210 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55211 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55212 * sysdeps/unix/sysv/linux/readv.c: Likewise.
55213 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55214 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55215 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55216 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55217 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55218 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55219 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55220 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55221 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55222 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55223 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55224 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55225 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55226 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55227 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55228 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55229 * sysvipc/sys/ipc.h: Likewise.
55230 * sysvipc/sys/msg.h: Likewise.
55231 * sysvipc/sys/sem.h: Likewise.
55232 * sysvipc/sys/shm.h: Likewise.
55233 * termios/termios.h: Likewise.
55234 * time/sys/time.h: Likewise.
55235 * time/time.h: Likewise.
55236 * wcsmbs/bits/wchar2.h: Likewise.
55237 * wcsmbs/uchar.h: Likewise.
55238 * wcsmbs/wchar.h: Likewise.
55239 * wctype/wctype.h: Likewise.
55242 * Makeconfig: Remove all but ELF support including AIX support.
55243 * Makerules: Likewise.
55244 * config.h.in: Likewise.
55245 * config.make.in: Likewise.
55246 * configure: Likewise.
55247 * configure.in: Likewise.
55248 * csu/Makefile: Likewise.
55249 * csu/version.c: Likewise.
55250 * debug/Makefile: Likewise.
55251 * dlfcn/Makefile: Likewise.
55252 * elf/Makefile: Likewise.
55253 * extra-lib.mk: Likewise.
55254 * iconv/Makefile: Likewise.
55255 * include/libc-symbols.h: Likewise.
55256 * include/shlib-compat.h: Likewise.
55257 * resolv/Makefile: Likewise.
55258 * resolv/res_libc.c: Likewise.
55259 * rt/Makefile: Likewise.
55260 * sysdeps/i386/asm-syntax.h: Likewise.
55261 * sysdeps/i386/sysdep.h: Likewise.
55262 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55263 * sysdeps/mach/sysdep.h: Likewise.
55264 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55265 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55266 * sysdeps/s390/asm-syntax.h: Likewise.
55267 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55268 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55269 * sysdeps/sh/sysdep.h: Likewise.
55270 * sysdeps/unix/sparc/sysdep.h: Likewise.
55271 * sysdeps/wordsize-32/divdi3.c: Likewise.
55272 * sysdeps/x86_64/sysdep.h: Likewise.
55274 * argp/Versions: Remove _argp_unlock_xxx.
55277 * abilist/ld.abilist: Update. Adjust for removal of tls option.
55278 * abilist/libBrokenLocale.abilist: Likewise.
55279 * abilist/libanl.abilist: Likewise.
55280 * abilist/libc.abilist: Likewise.
55281 * abilist/libcrypt.abilist: Likewise.
55282 * abilist/libdl.abilist: Likewise.
55283 * abilist/libm.abilist: Likewise.
55284 * abilist/libnsl.abilist: Likewise.
55285 * abilist/libpthread.abilist: Likewise.
55286 * abilist/libresolv.abilist: Likewise.
55287 * abilist/librt.abilist: Likewise.
55288 * abilist/libthread_db.abilist: Likewise.
55289 * abilist/libutil.abilist: Likewise.
55290 * abilist/libnss_db.abilist: New file.
55292 * scripts/abilist.awk: Add support for indirect functions.
55294 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55296 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55298 * shlib-versions: Remove entries for ports architectures.
55300 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
55302 * elf/stackguard-macros.h: Remove support for IA-64.
55303 * elf/tst-auditmod1.c: Likewise.
55304 * sysdeps/generic/ldsodefs.h: Likewise.
55306 * sysdeps/unix/sysv/linux/configure.in: Ports should define
55307 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55311 * configure.in: Remove --enable-omitfp support.
55313 * config.make.in: Likewise.
55314 * Makeconfig: Likewise.
55315 * manual/install.texi: Likewise.
55317 In case anyone cares, the IA-64 architecture could move to ports.
55318 * sysdeps/ia64/*: Removed.
55319 * sysdeps/unix/sysv/linux/ia64/*: Removed.
55320 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55323 * configure.in: Remove entries for unsupported architectures.
55326 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55327 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
55329 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55330 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55331 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
55332 fall back to using wcrtomb.
55333 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55334 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
55336 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55337 * wcsmbs/tst-c16c32-1.c: New file.
55339 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55342 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55344 * elf/tst-unique3.cc: Add explicit declaration of gets.
55345 * elf/tst-unique3lib.cc: Likewise.
55346 * elf/tst-unique3lib2.cc: Likewise.
55347 * elf/tst-unique4.cc: Likewise.
55349 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55351 2012-01-06 Joseph Myers <joseph@codesourcery.com>
55354 * assert/assert.h (static_assert): Don't define for C++.
55355 * libio/stdio.h (gets): Do declare for C++ <= C++11.
55356 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55358 2012-01-03 Ulrich Drepper <drepper@gmail.com>
55360 * iconv/loop.c (single loop): Fix assertion in storing of
55363 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55365 2012-01-01 Ulrich Drepper <drepper@gmail.com>
55367 * posix/getconf.c: Update copyright year.
55368 * nss/getent.c: Likewise.
55369 * nss/makedb.c: Likewise.
55370 * iconv/iconvconfig.c: Likewise.
55371 * iconv/iconv_prog.c: Likewise.
55372 * elf/ldconfig.c: Likewise.
55373 * elf/pldd.c: Likewise.
55374 * elf/sotruss.ksh: Likewise.
55375 * catgets/gencat.c: Likewise.
55376 * csu/version.c: Likewise.
55377 * elf/ldd.bash.in: Likewise.
55378 * elf/sprof.c (print_version): Likewise.
55379 * locale/programs/locale.c: Likewise.
55380 * locale/programs/localedef.c: Likewise.
55381 * login/programs/pt_chown.c: Likewise.
55382 * nscd/nscd.c (print_version): Likewise.
55383 * debug/xtrace.sh: Likewise.
55384 * malloc/memusage.sh: Likewise.
55385 * malloc/mtrace.pl: Likewise.
55386 * debug/catchsegv.sh: Likewise.
55388 2011-12-30 Jakub Jelinek <jakub@redhat.com>
55390 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55393 2011-12-24 Ulrich Drepper <drepper@gmail.com>
55396 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55397 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55399 * iconv/gconv_int.h: Likewise.
55400 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55401 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55402 from libc for GLIBC_2.16.
55403 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55404 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55405 * wcsmbs/uchar.h: Really define mbstate_t.
55406 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55407 * wcsmbs/c16rtomb.c: New file.
55408 * wcsmbs/mbrtoc16.c: New file.
55409 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55410 for C/POSIX locale.
55411 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55412 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55414 * wcsmbs/wchar.h: Add missing __restrict.
55416 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55419 * time/Makefile (routines): Add timespec_get.
55420 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55421 * time/time.h: Define TIME_UTC and declare timespec_get. Define
55422 timespec for ISO C11.
55423 * time/timespec_get.c: New file.
55424 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55425 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55428 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55429 * stdlib/stdlib.h: Declare aligned_alloc.
55430 * Versions.def: Add GLIBC_2.16 for libc.
55431 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55434 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55437 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55441 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55444 * assert/assert.h (static_assert): Define.
55446 * version.h: Update for 2.16 development version.
55449 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55452 * version.h (RELEASE): Bump for 2.15 release.
55453 * include/features.h (__GLIBC_MINOR__): Bump to 15.
55455 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55456 Patch by Marek Polacek <mpolacek@redhat.com>.
55458 * bits/byteswap.h: Protect long long constants with __extension__.
55459 * sysdeps/i386/bits/byteswap.h: Likewise.
55460 * sysdeps/ia64/bits/byteswap.h: Likewise.
55461 * sysdeps/s390/bits/byteswap.h: Likewise.
55462 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55464 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55467 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55468 destination buffer.
55469 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55471 2011-12-23 Marek Polacek <polacek@redhat.com>
55473 * elf/dl-addr.c (determine_info): Add inline keyword.
55474 * elf/tst-auditmod4b.c (check_avx): Likewise.
55475 * elf/tst-auditmod6b.c (check_avx): Likewise.
55476 * elf/tst-auditmod6c.c (check_avx): Likewise.
55477 * elf/tst-auditmod7b.c (check_avx): Likewise.
55479 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55481 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55484 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55487 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55488 processing for last bytes.
55490 2011-08-06 Bruno Haible <bruno@clisp.org>
55493 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55494 U+0385, not to U+1FEE.
55497 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55498 entry for U+00A5 U+0301.
55500 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55503 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55504 buffer for the output is too small.
55506 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55510 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55511 SSE flags if possible.
55513 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55516 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55517 processing for last bytes.
55519 2011-12-22 Joseph Myers <joseph@codesourcery.com>
55521 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55522 (syscall-list-default-options, syscall-list-default-condition)
55523 (syscall-list-includes): Define.
55524 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55525 list of ABIs and options and #if conditions for each ABI. Do not
55526 handle common syscalls between ABIs specially.
55527 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55529 (syscall-list-variants, syscall-list-32bit-options)
55530 (syscall-list-32bit-condition, syscall-list-64bit-options)
55531 (syscall-list-64bit-condition): Define.
55532 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55533 (syscall-list-variants, syscall-list-32bit-options)
55534 (syscall-list-32bit-condition, syscall-list-64bit-options)
55535 (syscall-list-64bit-condition): Define.
55536 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55538 (syscall-list-variants, syscall-list-32bit-options)
55539 (syscall-list-32bit-condition, syscall-list-64bit-options)
55540 (syscall-list-64bit-condition): Define.
55541 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55543 (syscall-list-variants, syscall-list-32bit-options)
55544 (syscall-list-32bit-condition, syscall-list-64bit-options)
55545 (syscall-list-64bit-condition): Define.
55547 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55549 * locale/iso-639.def: Add brx entry.
55552 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55553 Proposed by Mariusz_Cukr <marcukr@op.pl>.
55555 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55556 __feraiseexcept_renamed.
55558 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55561 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55562 EPOLLET with unsigned values.
55563 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55564 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55566 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55567 to large cancellation.
55568 * math/s_cacoshf.c: Likewise.
55569 * math/s_cacoshl.c: Likewise.
55571 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
55575 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55576 * math/s_cacoshf.c: Likewise.
55577 * math/s_cacoshl.c: Likewise.
55579 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55582 * iconv/gconv.h: Define __GCONV_SWAP.
55583 * iconvdata/unicode.c: The swap bit must be stored in __flags.
55584 * iconvdata/utf-16.c: Likewise.
55585 * iconvdata/utf-32.c: Likewise.
55587 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
55590 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55591 numerator after shifting it by one limb.
55593 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
55595 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55596 under [__USE_EXTERN_INLINES].
55598 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55601 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55603 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55605 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55606 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55608 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55609 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55610 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55611 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55612 for strncasecmp/strncasecmp_l compilation.
55613 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55614 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55616 2011-12-08 Marek Polacek <mpolacek@redhat.com>
55619 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55622 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55625 * time/tzfile.c (__tzfile_read): Check values from file header.
55627 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
55629 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55630 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55631 * powerpc/powerpc32/dl-start.S: Likewise.
55632 * powerpc/powerpc32/elf/start.S: Likewise.
55633 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55634 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55635 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55636 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55637 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55638 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55639 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55640 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55641 * powerpc/powerpc32/fpu/s_round.S: Likewise.
55642 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55643 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55644 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55645 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55646 * powerpc/powerpc32/memset.S: Likewise.
55647 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55648 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55649 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55650 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55651 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55652 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55653 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55654 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55655 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55656 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55657 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55658 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55659 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55661 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55663 * math/libm-test.inc: Added more nearbyint tests.
55664 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55665 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55666 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55667 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55669 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
55671 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55674 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55676 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55677 Add wcscpy-ssse3 wcscpy-c.
55678 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55679 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55680 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55681 * sysdeps/x86_64/wcschr.S: New file.
55682 * sysdeps/x86_64/wcsrchr.S: New file.
55683 * string/test-strcmp.c: Remove checking of wcscmp function for
55685 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55686 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55687 wcsrchr-sse2 wcsrchr-c.
55688 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55689 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55690 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55691 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55692 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55693 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55694 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55695 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55696 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55697 * wcsmbc/wcschr.c (WCSCHR): New macro.
55699 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55701 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55702 * wcsmbs/test-wcsrchr.c: New file.
55703 * string/test-strrchr.c: Add wcsrchr support.
55705 * wcsmbs/test-wcscpy.c: New file.
55706 * string/test-strcpy.c: Add wcscpy support.
55709 2011-12-10 Ulrich Drepper <drepper@gmail.com>
55711 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55714 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
55717 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55719 2011-12-04 Ulrich Drepper <drepper@gmail.com>
55721 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55722 Minor optimizations.
55724 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55725 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55726 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55728 2011-12-03 Ulrich Drepper <drepper@gmail.com>
55730 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55731 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55732 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55733 for gcc to avoid warnings.
55734 * inet/Makefile (tests): Add tst-checks.
55735 * inet/tst-checks.c: New file.
55737 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55740 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55743 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55744 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55746 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55748 2011-12-02 Ulrich Drepper <drepper@gmail.com>
55750 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55753 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55755 2011-11-29 Joseph Myers <joseph@codesourcery.com>
55757 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55758 conditional on GCC version.
55759 (__arch_compare_and_exchange_val_8_acq)
55760 (__arch_compare_and_exchange_val_16_acq)
55761 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55762 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55763 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55765 2011-12-02 Joseph Myers <joseph@codesourcery.com>
55767 * sysdeps/sh/backtrace.c: New file.
55769 2011-12-02 Andreas Schwab <schwab@redhat.com>
55771 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
55774 2011-12-01 Andreas Schwab <schwab@redhat.com>
55776 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55777 falling back to utime.
55779 2011-11-30 Andreas Schwab <schwab@redhat.com>
55781 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55782 expectations for float.
55784 2011-11-29 Andreas Schwab <schwab@redhat.com>
55786 * locale/weight.h (findidx): Add parameter len.
55787 * locale/weightwc.h (findidx): Likewise.
55788 * posix/fnmatch_loop.c (FCT): Adjust caller.
55789 * posix/regcomp.c (build_equiv_class): Likewise.
55790 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55791 * posix/regexec.c (check_node_accept_bytes): Likewise.
55792 * string/strcoll_l.c (STRCOLL): Likewise.
55793 * string/strxfrm_l.c (STRXFRM): Likewise.
55795 2011-11-17 Ulrich Drepper <drepper@gmail.com>
55797 * Makefile.in: Remove CVSOPT handling.
55798 * configure.in: Remove use of AC_REVISION.
55799 * iconvdata/Makefile (distribute): No need to filter out CVS.
55800 * scripts/list-sources.sh: Remove CVS, subversion and monotone
55803 2011-11-16 Andreas Schwab <schwab@redhat.com>
55805 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55806 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55807 [USE_AS_STRNCASECMP_L]: Likewise.
55808 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55809 NO_TLS_DIRECT_SEG_REFS.
55810 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55811 Fix argument offsets for non-PIC.
55812 [USE_AS_STRNCASECMP_L]: Likewise.
55813 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55814 NO_TLS_DIRECT_SEG_REFS.
55816 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55818 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55820 * locale/loadlocale.c (_nl_load_locale): Likewise.
55822 2011-11-15 Andreas Schwab <schwab@redhat.com>
55824 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55825 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55826 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55827 (SYSCALL_GETTIME): Set errno on error.
55829 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55830 count references to noai6ai_cached.
55832 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55834 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55836 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55837 FD_CLOEXEC for /proc/self/maps.
55839 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55840 FD_CLOEXEC for /proc/meminfo.
55842 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55845 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
55846 FD_CLOEXEC for given file.
55848 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55850 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55851 FD_CLOEXEC for /etc/hosts.
55852 (_gethtent): Likewise.
55854 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55856 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55857 cancellation and set FD_CLOEXEC for /etc/netgroup.
55859 * nss/nss_files/files-key.c (search): Don't allow cancellation when
55860 reading /etc/publickey.
55862 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55863 allow cancellation when reading /etc/group.
55865 * nss/nss_files/files-alias.c (internal_setent): Don't allow
55867 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
55869 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55870 when using data file.
55872 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55874 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55875 (write_nis_obj): Use "c" and "e" in fopen.
55877 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55879 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55881 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55883 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55885 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55888 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55890 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55892 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55894 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55895 file parsing and set FD_CLOEXEC.
55897 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55899 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55901 2011-11-14 Andreas Schwab <schwab@redhat.com>
55903 * malloc/arena.c (arena_get2): Don't call reused_arena when
55904 _int_new_arena failed.
55906 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55908 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55909 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55910 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55911 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55912 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55913 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55914 to compile strcasecmp and strncasecmp.
55915 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55916 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55918 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55920 2011-11-13 Ulrich Drepper <drepper@gmail.com>
55922 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55923 locale-defines.sym to gen-as-const-headers.
55924 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55925 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55926 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55927 to compile strcasecmp and strncasecmp.
55928 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55929 strcasecmp_l and strncasecmp_l.
55930 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55931 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55932 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55933 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55934 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55935 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55936 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55937 * sysdeps/i386/i686/multiarch/strncase.S: New file.
55938 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55939 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55940 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55942 2011-11-12 Ulrich Drepper <drepper@gmail.com>
55944 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55945 result of SYSDEP_GETTIME_CPU to retval.
55946 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55947 parameter list to macro. Remove trailing semicolon. Adjust users.
55949 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55952 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55954 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55956 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55957 from unused variable.
55959 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55961 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55964 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55967 * sunrpc/rpc_prot.c (rejected): Fix case value.
55969 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55970 unsigned long long int to avoid warnings in shift.
55972 * posix/regex_internal.c (re_string_reconstruct): Actually use result
55974 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55977 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55978 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55979 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55981 * nis/nis_table.c (nis_list): Use variable of correct type for
55982 result of __follow_path call.
55984 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55986 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55987 of math functions ceil, trunc, floor, round, and sqrt, when
55988 avaliable on the platform.
55989 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55991 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55992 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55993 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55995 2011-10-30 Marek Polacek <mpolacek@redhat.com>
55997 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55998 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56000 2011-11-11 Roland McGrath <roland@hack.frob.com>
56002 * include/unistd.h: Fix __readlink return type.
56003 Reported by Chris Metcalf <cmetcalf@tilera.com>.
56005 2011-11-11 Ulrich Drepper <drepper@gmail.com>
56007 * stdlib/ucontext.h: Undo last change for makecontext.
56009 2011-11-11 Andreas Schwab <schwab@redhat.com>
56011 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56013 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56014 * setjmp/setjmp.h: Mark functions as non-leaf.
56015 * setjmp/bits/setjmp2.h: Likewise.
56016 * stdlib/ucontext.h: Likewise.
56018 2011-11-10 Andreas Schwab <schwab@redhat.com>
56020 * malloc/arena.c (_int_new_arena): Don't increment narenas.
56021 (reused_arena): Don't check arena limit.
56022 (arena_get2): Atomically check arena limit.
56024 2011-11-08 Ulrich Drepper <drepper@gmail.com>
56026 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56027 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56029 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56032 2011-11-07 Andreas Schwab <schwab@redhat.com>
56034 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56035 handler when locking.
56037 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56038 Fix size of allocated buffer.
56040 2011-11-04 Andreas Schwab <schwab@redhat.com>
56043 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56044 declarations for long double functions.
56045 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56047 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56049 2011-11-03 Andreas Schwab <schwab@redhat.com>
56051 * nscd/nscd.c (main): Don't start AVC thread until credentials are
56054 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56057 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
56059 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56061 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
56063 * include/alloca.h (stackinfo_alloca_round): Define.
56064 (extend_alloca): Use it.
56065 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56066 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56069 * scripts/check-local-headers.sh: Ignore libaudit.h.
56071 * nscd/Makefile (extra-objs): Make recursively expanded.
56073 2011-11-01 Ulrich Drepper <drepper@gmail.com>
56075 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56076 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56078 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56079 * posix/tst-rfc3484-2.c: Likewise.
56080 * posix/tst-rfc3484-3.c: Likewise.
56082 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56084 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56086 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56087 process_vm_writev from libc using GLIBC_2.15 version.
56089 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56091 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
56093 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56096 2011-10-31 Ulrich Drepper <drepper@gmail.com>
56099 * nss/getent.c (initgroups_keys): Show error message in case no group
56102 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56103 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56104 __bump_nl_timestamp.
56105 * nscd/connections (nscd_init): When host database is served open
56106 netlink socket and request notification about configuration changes.
56107 (main_loop_poll): Track netlink file descriptor and bump timestamp
56108 in case data becomes available.
56109 (main_loop_epoll): Likewise.
56110 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56111 (database_pers_head): Add extra_data fileds.
56112 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56113 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56114 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56116 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56117 in6ai data, call __free_in6ai.
56118 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56119 Add -DHAVE_NETLINK.
56120 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
56121 interface information. Reuse previous data if netlink timestamp
56123 (__bump_nl_timestamp): New function.
56124 (__free_in6ai): New function.
56126 2011-10-30 Ulrich Drepper <drepper@gmail.com>
56128 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56129 close_not_cancel_no_status here.
56130 (__check_pf): Reorganize code a bit to not call close twice if OOM.
56132 2011-10-29 Ulrich Drepper <drepper@gmail.com>
56135 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56138 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56139 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56140 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56142 2011-07-03 Andreas Jaeger <aj@suse.de>
56145 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56146 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56147 * math/libm-test.inc (sin_test): Add test case.
56149 2011-10-29 Ulrich Drepper <drepper@gmail.com>
56152 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56153 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56155 * elf/chroot_canon.c (chroot_canon): Cleanups.
56157 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56160 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56161 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56163 * string/test-strchr.c: Make usable for strchrnul testing.
56164 * string/test-strchrnul.c: New file.
56165 * string/Makefile (strop-tests): Add strchrnul.
56167 * po/it.po: Update from translation team.
56168 * po/es.po: Likewise.
56170 2011-10-28 Ulrich Drepper <drepper@gmail.com>
56172 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56173 the three constants needed as parameters. Drop the others.
56174 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56175 __m128i_strloadu_tolower.
56176 Create and initialize variable zero and use it in all the places
56177 where _mm_setzero_si128 was used.
56179 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56180 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56181 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56182 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56184 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56185 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56186 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56187 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56188 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56189 __mpranred, __mptan.
56190 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56191 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56192 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56193 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56194 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56195 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56196 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56197 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56198 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56200 2011-10-28 Andreas Schwab <schwab@redhat.com>
56202 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56203 redefine if SHARED.
56204 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56207 wide char related routines to wcsmbs subdir.
56209 2011-10-27 Andreas Schwab <schwab@redhat.com>
56212 * misc/sys/cdefs.h (__THROWNL): Define.
56213 * posix/unistd.h: Use __THREADNL instead of __THREAD
56214 for memory synchronization functions.
56216 2011-10-26 Roland McGrath <roland@hack.frob.com>
56219 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56221 * manual/stdio.texi (Obstack Streams): Node removed.
56223 2011-10-26 Andreas Schwab <schwab@redhat.com>
56225 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56226 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56227 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56229 * math/math_private.h (math_force_eval): Allow non-addressable
56231 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56233 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56235 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56236 file is not needed.
56238 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56239 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56240 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56241 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56242 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56243 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56244 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56245 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56247 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56248 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56249 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56250 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56251 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56252 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56253 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56254 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56255 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56256 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56257 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56258 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56259 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56260 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56261 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56262 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56263 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56264 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56265 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56267 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56268 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
56270 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56271 place. Use VEX encoding when compiling for AVX.
56273 2011-10-25 Andreas Schwab <schwab@redhat.com>
56275 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56276 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56278 * string/test-strchr.c (do_test): Don't generate NUL bytes.
56280 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56282 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56283 useless if() expression.
56284 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56285 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56286 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56287 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56288 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56289 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56290 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56291 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56292 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56293 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56294 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56295 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56296 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56297 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56298 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56299 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56300 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56301 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56302 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56304 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56306 2011-10-25 Andreas Schwab <schwab@redhat.com>
56308 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56310 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56312 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56314 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56315 .text section. Avoid duplicate constants.
56316 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56317 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56318 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56319 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56320 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56321 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56322 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56323 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56324 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56325 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56326 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56327 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56328 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56329 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56330 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56331 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56332 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56333 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56334 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56335 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56336 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56337 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56338 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56339 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56340 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56341 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56342 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56343 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56344 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56345 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56346 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56347 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56348 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56349 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56350 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56351 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56352 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56353 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56354 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56355 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56356 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56357 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56358 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56359 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56360 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56362 2011-10-24 Ulrich Drepper <drepper@gmail.com>
56364 * sysdeps/x86_64/dla.h: Move to ...
56365 * sysdeps/x86_64/fpu/dla.h: ...here.
56366 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56367 situations. Use __builtin_fma only for gcc 4.6 and up.
56369 * config.make.in: Add have-mfma4 entry.
56370 * configure.in: Substitute libc_cv_cc_fma4.
56371 * math/Makefile (dbl-only-routines): Add sincostab.
56372 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56373 Use __sincostab not sincos.
56374 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56376 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56379 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
56381 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
56382 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
56383 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56384 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56386 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56387 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56389 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
56390 define aliases when function name is a macro.
56391 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56392 sysdeps/ieee754/dbl-64/sincos.tbl.
56393 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56394 fma4-enabled routines.
56395 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56396 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56397 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56398 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56399 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56400 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56401 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56402 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56403 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56404 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56405 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56406 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56407 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56408 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56409 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56410 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56411 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56412 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56413 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56414 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56415 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56416 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56417 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56418 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56419 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56420 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56421 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56422 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56423 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56424 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56426 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56428 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56429 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56430 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56431 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56432 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56433 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56434 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56435 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56437 2011-10-24 Andreas Schwab <schwab@redhat.com>
56439 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56441 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56443 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56445 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56447 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56449 * string/strnlen.c: Don't define STRNLEN, reverse logic.
56450 Remove unused variable magic_bits.
56451 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56453 * string/strnlen.c: Define and use STRNLEN macro.
56454 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56455 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56456 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56457 * wcsmbs/wcslen.c: Define and use WCSLEN.
56458 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56459 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56460 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56461 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56462 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56463 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56464 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56466 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56469 strnlen-sse2-no-bsf.
56470 Rename strlen-no-bsf to strlen-sse2-no-bsf.
56471 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56472 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56473 Add strnlen support.
56474 (USE_AS_STRNLEN): New macro.
56475 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56476 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56477 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56478 * sysdeps/x86_64/wcslen.S: New file.
56480 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
56482 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56483 XMM-moves are used for copying on small sizes.
56485 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56487 * wcsmbs/Makefile (strop-tests): Add wcschr.
56488 * wcsmbs/test-wcschr.c: New file.
56489 * string/test-strchr.c: Update.
56490 Add wcschr support.
56493 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56495 * wcsmbs/Makefile (strop-tests): Add wcslen.
56496 * wcsmbs/test-wcslen.c: New file.
56497 * string/test-strlen.c: Update.
56498 Add wcslen support.
56501 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56503 * po/it.po: Update from translation team.
56505 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56507 * sysdeps/x86_64/wcscmp.S: Update.
56508 Fix wrong comparison semantics.
56509 wcscmp shall use signed comparison not unsigned.
56510 Don't use substraction to avoid overflow bug.
56511 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56512 * wcsmbc/wcscmp.c: Likewise.
56513 * string/test-strcmp.c: Likewise.
56514 Add new tests to check cases with negative values.
56516 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56518 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56519 * sysdeps/x86_64/dla.h: ...here. New file.
56520 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56521 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56523 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56524 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56525 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56526 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56527 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56528 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56530 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
56532 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56533 __ynl_finite aliases.
56535 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56539 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56541 [DLA_FMA] (EMULV): Use DLA_FMA.
56542 [DLA_FMA] (MUL12): Use EMULV.
56543 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56544 that are not needed.
56545 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56546 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56547 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56548 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56549 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56550 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56551 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56553 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
56555 * math/s_nan.c: Undef __nan.
56556 * math/s_nanf.c: Undef __nanf.
56557 * math/s_nanl.c: Undef __nanl.
56558 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56561 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56563 * math/s_catan.c: Add branch predictions.
56564 * math/s_catanf.c: Likewise.
56565 * math/s_catanh.c: Likewise.
56566 * math/s_catanhf.c: Likewise.
56567 * math/s_catanhl.c: Likewise.
56568 * math/s_catanl.c: Likewise.
56569 * math/s_cexp.c: Likewise.
56570 * math/s_cexpf.c: Likewise.
56571 * math/s_cexpl.c: Likewise.
56572 * math/s_clog.c: Likewise.
56573 * math/s_clog10.c: Likewise.
56574 * math/s_clog10f.c: Likewise.
56575 * math/s_clog10l.c: Likewise.
56576 * math/s_clogf.c: Likewise.
56577 * math/s_clogl.c: Likewise.
56578 * math/s_csqrt.c: Likewise.
56579 * math/s_csqrtf.c: Likewise.
56580 * math/s_csqrtl.c: Likewise.
56581 * math/s_ctanf.c: Likewise.
56582 * math/s_ctanh.c: Likewise.
56583 * math/s_ctanhf.c: Likewise.
56584 * math/s_ctanhl.c: Likewise.
56585 * math/s_ctanl.c: Likewise.
56587 * math/math_private.h: Define __nan, __nanf, __nanl.
56588 * math/s_cacosh.c: Include <math_private.h>.
56589 * math/s_cacoshl.c: Likewise.
56590 * math/s_casinh.c: Likewise.
56591 * math/s_casinhf.c: Likewise.
56592 * math/s_casinhl.c: Likewise.
56593 * math/s_ccos.c: Rely entire on ccosh.
56594 * math/s_ccosf.c: Rely entire on ccoshf.
56595 * math/s_ccosl.c: Rely entirely on ccoshl.
56596 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
56597 Remove tests for FE_INVALID.
56598 * math/s_ccoshf.c: Likewise.
56599 * math/s_ccoshl.c: Likewise.
56600 * math/s_csin.c: Likewise.
56601 * math/s_csinf.c: Likewise.
56602 * math/s_csinh.c Likewise.
56603 * math/s_csinhf.c: Likewise.
56604 * math/s_csinhl.c: Likewise.
56605 * math/s_csinl.c: Likewise.
56606 * math/s_ctan.c: Likewise.
56607 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56608 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56609 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56611 2011-10-21 Ulrich Drepper <drepper@gmail.com>
56613 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56614 compilation problems.
56616 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56619 2011-10-20 Ulrich Drepper <drepper@gmail.com>
56621 * sysdeps/i386/configure.in: Test for -mfma4 option.
56622 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56623 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56624 COMMON_CPUID_INDEX_80000001.
56625 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56626 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56627 use it if FMA3 is not supported.
56628 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56630 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56631 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56633 2011-10-20 Andreas Schwab <schwab@redhat.com>
56636 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56637 it would create a cycle with a link time dependency.
56639 2011-10-19 Ulrich Drepper <drepper@gmail.com>
56641 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56643 * string/Makefile (strop-tests): Add rawmemchr.
56644 * string/test-rawmemchr.c: New file.
56646 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56647 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
56648 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
56649 when compiling str{,n}casecmp and when AVX is available. Hook up
56650 new optimized code in initializers.
56652 2011-10-19 Andreas Schwab <schwab@redhat.com>
56654 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56655 __feraiseexcept instead of feraiseexcept.
56657 2011-10-18 Ulrich Drepper <drepper@gmail.com>
56659 * math/math_private.h: Define defaults for libc_fetestexcept and
56661 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56662 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56663 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56664 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56665 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56666 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56667 libc_fetestexcept and libc_feupdateenv.
56669 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56670 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56671 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56672 * sysdeps/x86_64/fpu/math_private.h: Define special version of
56673 libc_feholdexcept_setround.
56675 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56676 Add s_nearbyint-c and s_nearbyintf-c.
56677 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56678 nearbyintf inlines.
56679 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56680 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56681 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56682 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56684 * math/math_private.h: Define defaults for libc_fegetround,
56685 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56686 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56687 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56688 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56689 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56690 standard functions.
56691 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56692 Remove comments and hacks for old compiler versions.
56693 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56694 libc_fegetround, libc_fesetround, libc_feholdexcept, and
56695 libc_feholdexceptl.
56697 2011-10-18 Andreas Schwab <schwab@redhat.com>
56699 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56700 (__feraiseexcept_renamed): Add __NTH.
56701 (feraiseexcept): Add __NTH. Rename local variables to fix
56702 namespace violations.
56704 2011-10-17 Ulrich Drepper <drepper@gmail.com>
56706 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56708 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56710 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56711 recently added interfaces.
56712 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56714 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56715 about macro parameter expansion.
56717 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56718 __NO_MATH_INLINES is defined. Cleanups.
56720 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56721 and __floorf is target has SSE4.1.
56722 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56723 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56724 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56725 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56727 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56729 (floorf): Likewise.
56731 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56733 2011-10-17 Andreas Schwab <schwab@redhat.com>
56735 * misc/sys/cdefs.h: Fix last change.
56737 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56740 2011-10-16 Ulrich Drepper <drepper@gmail.com>
56742 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56744 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56745 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56746 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56747 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56748 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56749 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56750 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56751 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56752 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56753 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56754 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56755 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56756 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56757 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56758 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56759 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56760 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56761 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56762 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56763 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56764 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56765 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56767 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56768 ceil, ceilf, floor, floorf.
56770 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56771 Perform IRELATIVE relocations last.
56773 * elf/do-rel.h: Add another parameter nrelative, replacing the
56774 local variable with the same name. Change name of the function
56775 to end in Rel or Rela (uppercase).
56776 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56777 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
56778 elf_dynamic_do_##reloc function.
56780 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56782 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56783 is sufficient, at least on modern CPUs.
56785 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56787 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56788 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56790 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56792 * math/bits/math-finite.h: Add entries for exp.
56793 * math/e_expl.c: Add __*_finite alias.
56794 * sysdeps/i386/fpu/e_exp.S: Likewise.
56795 * sysdeps/i386/fpu/e_expf.S: Likewise.
56796 * sysdeps/i386/fpu/e_expl.c: Likewise.
56797 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56798 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56799 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56800 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56801 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56802 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56803 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56805 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56806 is sufficient, at least on modern CPUs.
56808 * ctype/ctype-info.c (__ctype_init): Define.
56809 * include/ctype.h (__ctype_init): Declare.
56810 (__ctype_b_loc): The variable is always initialized.
56811 (__ctype_toupper_loc): Likewise.
56812 (__ctype_tolower_loc): Likewise.
56813 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56814 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56816 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
56818 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56820 * configure.in: Also look in $cxxmachine/include for C++ system
56823 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56825 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56826 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56827 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56828 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
56829 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56830 (USE_AS_WMEMCMP): New macro.
56832 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56833 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56834 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56835 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56836 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56837 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56838 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56839 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56840 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56841 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56842 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56843 (USE_AS_WMEMCMP): New macro.
56844 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56845 * sysdeps/string/test-memcmp.c: Update.
56846 Fix simple_wmemcmp.
56848 * wcsmbs/wmemcmp.c: Update.
56849 (WMEMCMP): New macro.
56852 2011-10-12 Andreas Jaeger <aj@suse.de>
56855 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56857 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56859 * libio/iofwide.c (do_length): Avoid warning.
56861 * ctype/ctype.h (__isctype_f): Add missing __THROW.
56863 2011-10-14 Ulrich Drepper <drepper@gmail.com>
56865 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56867 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56868 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56869 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56870 * sysdeps/i386/i686/fpu/e_log.S: New file.
56871 * sysdeps/i386/i686/fpu/e_logf.S: New file.
56872 * sysdeps/i386/i686/fpu/e_logl.S: New file.
56874 * ctype/ctype.h: Add support for inlined isXXX functions when
56875 compiling C++ code.
56877 2011-10-14 Andreas Schwab <schwab@redhat.com>
56879 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56881 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56883 2011-10-13 Roland McGrath <roland@hack.frob.com>
56886 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56888 2011-10-13 Andreas Schwab <schwab@redhat.com>
56890 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56891 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56894 * sysdeps/x86_64/memrchr.S: Check for zero size.
56896 * string/stratcliff.c: Add memrchr tests.
56898 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56900 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56901 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56902 rawmemchr-sse2 rawmemchr-sse2-bsf.
56903 * sysdeps/i386/i686/multiarch/memchr.S: New file.
56904 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56905 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56906 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56907 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56908 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56909 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56910 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56911 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56912 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56913 * string/memrchr.c (MEMRCHR): New macro.
56915 2011-10-12 Ulrich Drepper <drepper@gmail.com>
56917 Add integration with gcc's -ffinite-math-only and optimize wrapper
56919 * Versions.def: Define GLIBC_2.15 version for libm.
56920 * math/Makefile (headers): Add bits/math-finite.h.
56921 * math/bits/math-finite.h: New file.
56922 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56923 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56924 * math/e_acoshl.c: Add __*_finite alias.
56925 * math/e_acosl.c: Likewise.
56926 * math/e_asinl.c: Likewise.
56927 * math/e_atan2l.c: Likewise.
56928 * math/e_atanhl.c: Likewise.
56929 * math/e_coshl.c: Likewise.
56930 * math/e_exp10.c: Likewise.
56931 * math/e_exp10f.c: Likewise.
56932 * math/e_exp10l.c: Likewise.
56933 * math/e_exp2l.c: Likewise.
56934 * math/e_fmodl.c: Likewise.
56935 * math/e_gammal_r.c: Likewise.
56936 * math/e_hypotl.c: Likewise.
56937 * math/e_j0l.c: Likewise.
56938 * math/e_j1l.c: Likewise.
56939 * math/e_jnl.c: Likewise.
56940 * math/e_lgammal_r.c: Likewise.
56941 * math/e_log10l.c: Likewise.
56942 * math/e_log2l.c: Likewise.
56943 * math/e_logl.c: Likewise.
56944 * math/e_powl.c: Likewise.
56945 * math/e_sinhl.c: Likewise.
56946 * math/e_sqrtl.c: Likewise.
56947 * math/e_scalb.c: Completely rewritten and optimized.
56948 * math/e_scalbf.c: Likewise.
56949 * math/e_scalbl.c: Likewise.
56950 * math/w_acos.c: Likewise.
56951 * math/w_acosf.c: Likewise.
56952 * math/w_acosl.c: Likewise.
56953 * math/w_acosh.c: Likewise.
56954 * math/w_acoshf.c: Likewise.
56955 * math/w_acoshl.c: Likewise.
56956 * math/w_asin.c: Likewise.
56957 * math/w_asinf.c: Likewise.
56958 * math/w_asinl.c: Likewise.
56959 * math/w_atan2.c: Likewise.
56960 * math/w_atan2f.c: Likewise.
56961 * math/w_atan2l.c: Likewise.
56962 * math/w_atanh.c: Likewise.
56963 * math/w_atanhf.c: Likewise.
56964 * math/w_atanhl.c: Likewise.
56965 * math/w_exp10.c: Likewise.
56966 * math/w_exp10f.c: Likewise.
56967 * math/w_exp10l.c: Likewise.
56968 * math/w_fmod.c: Likewise.
56969 * math/w_fmodf.c: Likewise.
56970 * math/w_fmodl.c: Likewise.
56971 * math/w_j0.c: Likewise.
56972 * math/w_j0f.c: Likewise.
56973 * math/w_j0l.c: Likewise.
56974 * math/w_j1.c: Likewise.
56975 * math/w_j1f.c: Likewise.
56976 * math/w_j1l.c: Likewise.
56977 * math/w_jn.c: Likewise.
56978 * math/w_jnf.c: Likewise.
56979 * math/w_log.c: Likewise.
56980 * math/w_logf.c: Likewise.
56981 * math/w_logl.c: Likewise.
56982 * math/w_log10.c: Likewise.
56983 * math/w_log10f.c: Likewise.
56984 * math/w_log10l.c: Likewise.
56985 * math/w_log2.c: Likewise.
56986 * math/w_log2f.c: Likewise.
56987 * math/w_log2l.c: Likewise.
56988 * math/w_pow.c: Likewise.
56989 * math/w_powf.c: Likewise.
56990 * math/w_powl.c: Likewise.
56991 * math/w_remainder.c: Likewise.
56992 * math/w_remainderf.c: Likewise.
56993 * math/w_remainderl.c: Likewise.
56994 * math/w_scalb.c: Likewise.
56995 * math/w_scalbf.c: Likewise.
56996 * math/w_scalbl.c: Likewise.
56997 * math/w_sqrt.c: Likewise.
56998 * math/w_sqrtf.c: Likewise.
56999 * math/w_sqrtl.c: Likewise.
57000 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57001 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
57003 * math/math_private.h: Declare __kernel_standard_f.
57004 * math/w_cosh.c: Remove cruft and optimize a bit.
57005 * math/w_coshf.c: Likewise.
57006 * math/w_coshl.c: Likewise.
57007 * math/w_exp2.c: Likewise.
57008 * math/w_exp2f.c: Likewise.
57009 * math/w_exp2l.c: Likewise.
57010 * math/w_hypot.c: Likewise.
57011 * math/w_hypotf.c: Likewise.
57012 * math/w_hypotl.c: Likewise.
57013 * math/w_lgamma.c: Likewise.
57014 * math/w_lgamma_r.c: Likewise.
57015 * math/w_lgammaf.c: Likewise.
57016 * math/w_lgammaf_r.c: Likewise.
57017 * math/w_lgammal.c: Likewise.
57018 * math/w_lgammal_r.c: Likewise.
57019 * math/w_sinh.c: Likewise.
57020 * math/w_sinhf.c: Likewise.
57021 * math/w_sinhl.c: Likewise.
57022 * math/w_tgamma.c: Likewise.
57023 * math/w_tgammaf.c: Likewise.
57024 * math/w_tgammal.c: Likewise.
57025 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57026 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57027 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57028 Minor optimizations. Pretty printing. Remove cruft.
57029 * sysdeps/i386/fpu/e_acosf.S: Likewise.
57030 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57031 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57032 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57033 * sysdeps/i386/fpu/e_acosl.c: Likewise.
57034 * sysdeps/i386/fpu/e_asin.S: Likewise.
57035 * sysdeps/i386/fpu/e_asinf.S: Likewise.
57036 * sysdeps/i386/fpu/e_atan2.S: Likewise.
57037 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57038 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57039 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57040 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57041 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57042 * sysdeps/i386/fpu/e_exp10.S: Likewise.
57043 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57044 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57045 * sysdeps/i386/fpu/e_exp2.S: Likewise.
57046 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57047 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57048 * sysdeps/i386/fpu/e_fmod.S: Likewise.
57049 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57050 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57051 * sysdeps/i386/fpu/e_hypot.S: Likewise.
57052 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57053 * sysdeps/i386/fpu/e_log.S: Likewise.
57054 * sysdeps/i386/fpu/e_log10.S: Likewise.
57055 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57056 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57057 * sysdeps/i386/fpu/e_log2.S: Likewise.
57058 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57059 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57060 * sysdeps/i386/fpu/e_logf.S: Likewise.
57061 * sysdeps/i386/fpu/e_logl.S: Likewise.
57062 * sysdeps/i386/fpu/e_pow.S: Likewise.
57063 * sysdeps/i386/fpu/e_powf.S: Likewise.
57064 * sysdeps/i386/fpu/e_powl.S: Likewise.
57065 * sysdeps/i386/fpu/e_remainder.S: Likewise.
57066 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57067 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57068 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57069 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57070 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57071 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57072 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57073 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57074 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57075 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57077 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57078 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57079 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57080 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57081 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57082 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57083 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57084 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57085 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57086 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57087 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57088 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57089 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57090 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57091 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57092 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57093 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57094 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57095 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57096 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57097 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57098 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57099 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57100 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57101 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57102 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57103 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57104 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57105 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57106 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57107 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57108 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57109 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57110 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57111 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57112 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57113 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57114 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57115 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57116 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57117 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57118 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57119 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57120 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57121 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57122 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57123 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57124 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57125 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57126 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57127 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57128 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57129 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57130 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57131 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57132 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57133 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57134 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57135 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57136 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57137 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57138 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57139 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57140 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57141 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57142 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57143 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57144 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57145 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57146 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57147 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57148 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57149 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57150 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57151 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57152 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57153 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57154 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57155 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57156 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57157 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57158 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57159 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57160 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57161 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57162 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57163 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57164 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57165 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57166 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57167 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57168 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57169 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57170 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57171 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57172 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57173 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57174 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57175 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57176 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57177 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57178 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57179 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57180 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57181 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57182 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57183 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57184 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
57185 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57186 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57187 (__isnanf): Likewise.
57188 (__isinf_ns): Likewise.
57189 (__isinf_nsf): Likewise.
57190 (__finite): Likewise.
57191 (__finitef): Likewise.
57192 (__ieee754_sqrt): Define as macro.
57193 (__ieee754_sqrtf): Define as macro.
57194 (__ieee754_sqrtl): Define as macro.
57195 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57197 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57198 __FINITE_MATH_ONLY__ consistent.
57199 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57201 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
57203 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57206 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57208 2011-10-09 Ulrich Drepper <drepper@gmail.com>
57210 * po/ja.po: Update from translation team.
57212 2011-10-08 Roland McGrath <roland@hack.frob.com>
57214 * locale/programs/locarchive.c (prepare_address_space): New function.
57215 (create_archive, enlarge_archive, open_archive): Use it.
57217 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57218 inside [SHARED], where it is used.
57220 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57222 * nss/getent.c (netgroup_keys): Remove unused variable.
57223 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57225 2011-10-08 Ulrich Drepper <drepper@gmail.com>
57227 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57228 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57229 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57230 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57231 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57232 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57233 * math/Makefile (libm-calls): Add s_isinf_ns.
57234 * math/divtc3.c: Use __isinf_nsl instead of isinf.
57235 * math/multc3.c: Likewise.
57236 * math/s_casin.c: Likewise.
57237 * math/s_casinf.c: Likewise.
57238 * math/s_casinl.c: Likewise.
57239 * math/s_ccos.c: Likewise.
57240 * math/s_ccosf.c: Likewise.
57241 * math/s_ccosl.c: Likewise.
57242 * math/s_ctan.c: Likewise.
57243 * math/s_ctanf.c: Likewise.
57244 * math/s_ctanh.c: Likewise.
57245 * math/s_ctanhf.c: Likewise.
57246 * math/s_ctanhl.c: Likewise.
57247 * math/s_ctanl.c: Likewise.
57248 * math/w_fmod.c: Likewise.
57249 * math/w_fmodf.c: Likewise.
57250 * math/w_fmodl.c: Likewise.
57251 * math/w_remainder.c: Likewise.
57252 * math/w_remainderf.c: Likewise.
57253 * math/w_remainderl.c: Likewise.
57254 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57255 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57256 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57257 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57258 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57259 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57260 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57261 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57263 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57265 * stdio-common/printf_fphex.c: Likewise.
57266 * stdio-common/printf_size.c: Likewise.
57268 * math/e_exp10.c: Include math_private.h using <...> not "...".
57269 * math/e_exp10f.c: Likewise.
57270 * math/e_exp10l.c: Likewise.
57271 * math/e_exp2l.c: Likewise.
57272 * math/e_j0l.c: Likewise.
57273 * math/e_j1l.c: Likewise.
57274 * math/e_jnl.c: Likewise.
57275 * math/e_lgammal_r.c: Likewise.
57276 * math/e_rem_pio2l.c: Likewise.
57277 * math/e_scalb.c: Likewise.
57278 * math/e_scalbf.c: Likewise.
57279 * math/e_scalbl.c: Likewise.
57280 * math/k_cosl.c: Likewise.
57281 * math/k_sinl.c: Likewise.
57282 * math/k_tanl.c: Likewise.
57283 * math/s_cacoshf.c: Likewise.
57284 * math/s_catan.c: Likewise.
57285 * math/s_catanf.c: Likewise.
57286 * math/s_catanh.c: Likewise.
57287 * math/s_catanhf.c: Likewise.
57288 * math/s_catanhl.c: Likewise.
57289 * math/s_catanl.c: Likewise.
57290 * math/s_ccosh.c: Likewise.
57291 * math/s_ccoshf.c: Likewise.
57292 * math/s_ccoshl.c: Likewise.
57293 * math/s_cexp.c: Likewise.
57294 * math/s_cexpf.c: Likewise.
57295 * math/s_cexpl.c: Likewise.
57296 * math/s_clog.c: Likewise.
57297 * math/s_clog10.c: Likewise.
57298 * math/s_clog10f.c: Likewise.
57299 * math/s_clog10l.c: Likewise.
57300 * math/s_clogf.c: Likewise.
57301 * math/s_clogl.c: Likewise.
57302 * math/s_csin.c: Likewise.
57303 * math/s_csinf.c: Likewise.
57304 * math/s_csinh.c: Likewise.
57305 * math/s_csinhf.c: Likewise.
57306 * math/s_csinhl.c: Likewise.
57307 * math/s_csinl.c: Likewise.
57308 * math/s_csqrt.c: Likewise.
57309 * math/s_csqrtf.c: Likewise.
57310 * math/s_csqrtl.c: Likewise.
57311 * math/s_ctan.c: Likewise.
57312 * math/s_ctanf.c: Likewise.
57313 * math/s_ctanh.c: Likewise.
57314 * math/s_ctanhf.c: Likewise.
57315 * math/s_ctanhl.c: Likewise.
57316 * math/s_ctanl.c: Likewise.
57317 * math/s_ldexp.c: Likewise.
57318 * math/s_ldexpf.c: Likewise.
57319 * math/s_ldexpl.c: Likewise.
57320 * math/s_significand.c: Likewise.
57321 * math/s_significandf.c: Likewise.
57322 * math/s_significandl.c: Likewise.
57323 * math/w_acos.c: Likewise.
57324 * math/w_acosf.c: Likewise.
57325 * math/w_acosh.c: Likewise.
57326 * math/w_acoshf.c: Likewise.
57327 * math/w_acoshl.c: Likewise.
57328 * math/w_acosl.c: Likewise.
57329 * math/w_asin.c: Likewise.
57330 * math/w_asinf.c: Likewise.
57331 * math/w_asinl.c: Likewise.
57332 * math/w_atan2.c: Likewise.
57333 * math/w_atan2f.c: Likewise.
57334 * math/w_atan2l.c: Likewise.
57335 * math/w_atanh.c: Likewise.
57336 * math/w_atanhf.c: Likewise.
57337 * math/w_atanhl.c: Likewise.
57338 * math/w_cosh.c: Likewise.
57339 * math/w_coshf.c: Likewise.
57340 * math/w_coshl.c: Likewise.
57341 * math/w_dremf.c: Likewise.
57342 * math/w_exp10.c: Likewise.
57343 * math/w_exp10f.c: Likewise.
57344 * math/w_exp10l.c: Likewise.
57345 * math/w_exp2.c: Likewise.
57346 * math/w_exp2f.c: Likewise.
57347 * math/w_fmod.c: Likewise.
57348 * math/w_fmodf.c: Likewise.
57349 * math/w_fmodl.c: Likewise.
57350 * math/w_hypot.c: Likewise.
57351 * math/w_hypotf.c: Likewise.
57352 * math/w_hypotl.c: Likewise.
57353 * math/w_j0.c: Likewise.
57354 * math/w_j0f.c: Likewise.
57355 * math/w_j0l.c: Likewise.
57356 * math/w_j1.c: Likewise.
57357 * math/w_j1f.c: Likewise.
57358 * math/w_j1l.c: Likewise.
57359 * math/w_jn.c: Likewise.
57360 * math/w_jnf.c: Likewise.
57361 * math/w_jnl.c: Likewise.
57362 * math/w_lgamma.c: Likewise.
57363 * math/w_lgamma_r.c: Likewise.
57364 * math/w_lgammaf.c: Likewise.
57365 * math/w_lgammaf_r.c: Likewise.
57366 * math/w_lgammal.c: Likewise.
57367 * math/w_lgammal_r.c: Likewise.
57368 * math/w_log.c: Likewise.
57369 * math/w_log10.c: Likewise.
57370 * math/w_log10f.c: Likewise.
57371 * math/w_log10l.c: Likewise.
57372 * math/w_log2.c: Likewise.
57373 * math/w_log2f.c: Likewise.
57374 * math/w_log2l.c: Likewise.
57375 * math/w_logf.c: Likewise.
57376 * math/w_logl.c: Likewise.
57377 * math/w_pow.c: Likewise.
57378 * math/w_powf.c: Likewise.
57379 * math/w_powl.c: Likewise.
57380 * math/w_remainder.c: Likewise.
57381 * math/w_remainderf.c: Likewise.
57382 * math/w_remainderl.c: Likewise.
57383 * math/w_scalb.c: Likewise.
57384 * math/w_scalbf.c: Likewise.
57385 * math/w_scalbl.c: Likewise.
57386 * math/w_sinh.c: Likewise.
57387 * math/w_sinhf.c: Likewise.
57388 * math/w_sinhl.c: Likewise.
57389 * math/w_sqrt.c: Likewise.
57390 * math/w_sqrtf.c: Likewise.
57391 * math/w_sqrtl.c: Likewise.
57392 * math/w_tgamma.c: Likewise.
57393 * math/w_tgammaf.c: Likewise.
57394 * math/w_tgammal.c: Likewise.
57396 * po/ja.po: Update from translation team.
57398 2011-09-29 Andreas Jaeger <aj@suse.de>
57401 * sunrpc/netname.c (netname2host): Fix logic.
57405 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57407 * math/w_remainder.c (__remainder): Likewise.
57408 * math/w_remainderf.c (__remainderf): Likewise.
57409 * math/libm-test.inc (remainder_test): Add test cases.
57411 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57413 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
57416 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57418 * string/test-memcmp.c: Avoid unncessary #defines.
57419 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57421 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57423 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57424 Use new sse2 version for core i3 - i7 as it's faster
57425 than sse42 version.
57426 (bit_Prefer_PMINUB_for_stringop): New.
57427 * sysdeps/x86_64/rawmemchr.S: Update.
57428 Replace with faster SSE2 version.
57429 * sysdeps/x86_64/memrchr.S: New file.
57430 * sysdeps/x86_64/memchr.S: Update.
57431 Replace with faster SSE2 version.
57433 2011-09-12 Marek Polacek <mpolacek@redhat.com>
57435 * elf/dl-load.c (lose): Add cast to avoid warning.
57437 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57439 * po/ca.po: Update from translation team.
57441 * inet/getnetgrent_r.c: Hook up nscd.
57442 * nscd/Makefile (routines): Add nscd_netgroup.
57443 (nscd-modules): Add netgroupcache.
57444 (CFLAGS-netgroupcache.c): Define.
57445 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57446 (cache_search): Add const to second parameter.
57447 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57449 (dbs): Add netgrdb entry.
57450 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57451 (verify_persistent_db): Handle netgrdb.
57452 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57453 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57455 (netgroup_response_header): Define.
57456 (innetgroup_response_header): Define.
57457 (datahead): Add netgroup_response_header and innetgroup_response_header
57459 * nscd/nscd.conf: Add entries for netgroup cache.
57460 * nscd/nscd.h (dbtype): Add netgrdb.
57461 (_PATH_NSCD_NETGROUP_DB): Define.
57462 (netgroup_iov_disabled): Declare.
57463 (xmalloc, xcalloc, xrealloc): Move declarations here.
57464 (cache_search): Adjust prototype.
57465 Add netgroup-related prototypes.
57466 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57467 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57468 (__nscd_innetgr): Declare.
57469 * nscd/selinux.c (perms): Use access_vector_t as element type and
57470 add netgroup-related initializers.
57471 * nscd/netgroupcache.c: New file.
57472 * nscd/nscd_netgroup.c: New file.
57473 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57474 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57475 For four parameters use innetgr.
57476 * nss/nss_files/files-init.c: Add definition and callback for netgr.
57477 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57478 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57479 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57481 * nscd/connections.c (register_traced_file): Don't register file
57482 for disabled databases.
57484 2011-10-06 Ulrich Drepper <drepper@gmail.com>
57486 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57488 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57489 from tree and freeing node.
57491 2011-09-25 Jiri Olsa <jolsa@redhat.com>
57493 * nss/nsswitch.c (__nss_database_lookup): Handle
57494 nss_parse_service_list out of memory case.
57496 2011-09-15 Jiri Olsa <jolsa@redhat.com>
57498 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57499 out of memory case.
57501 2011-10-04 Andreas Schwab <schwab@redhat.com>
57503 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57504 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57506 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57507 elf_machine_rela, elf_machine_lazy_rel.
57508 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57509 (ELF_DYNAMIC_DO_REL): Likewise.
57510 (ELF_DYNAMIC_DO_RELA): Likewise.
57511 (ELF_DYNAMIC_RELOCATE): Likewise.
57512 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57513 to ELF_DYNAMIC_DO_REL.
57514 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57515 (dl_main): In trace mode always set __RTLD_NOIFUNC.
57516 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57518 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57519 skip_ifunc, don't call ifunc function if non-zero.
57520 (elf_machine_rela): Likewise.
57521 (elf_machine_lazy_rel): Likewise.
57522 (elf_machine_lazy_rela): Likewise.
57523 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57524 (elf_machine_lazy_rel): Likewise.
57525 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57527 (elf_machine_lazy_rel): Likewise.
57528 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57530 (elf_machine_lazy_rel): Likewise.
57531 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57532 (elf_machine_lazy_rel): Likewise.
57533 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57534 (elf_machine_lazy_rel): Likewise.
57535 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57536 (elf_machine_lazy_rel): Likewise.
57537 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57538 (elf_machine_lazy_rel): Likewise.
57539 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57540 (elf_machine_lazy_rel): Likewise.
57541 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57542 (elf_machine_lazy_rel): Likewise.
57544 2011-09-28 Ulrich Drepper <drepper@gmail.com>
57546 * nss/nss_files/files-init.c (_nss_files_init): Use static
57547 initialization for all the *_traced_file variables.
57549 2011-09-28 Andreas Schwab <schwab@redhat.com>
57551 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57553 2011-09-27 Roland McGrath <roland@hack.frob.com>
57556 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57558 2011-09-27 Andreas Schwab <schwab@redhat.com>
57560 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57561 Reread the line before reparsing it.
57563 2011-09-26 Andreas Schwab <schwab@redhat.com>
57565 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57567 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
57568 Maxim Kuvyrkov <maxim@codesourcery.com>
57569 Joseph Myers <joseph@codesourcery.com>
57571 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57572 if needed for __stack_chk_guard.
57574 2011-09-19 Roland McGrath <roland@hack.frob.com>
57576 * sysdeps/posix/spawni.c (script_execute): Always define it.
57577 It will be optimized away if unused.
57578 (maybe_script_execute): New function.
57579 (__spawni): Call it.
57581 * Makerules: Don't include tls.make.
57582 (config-tls): Always set to thread.
57583 * tls.make.c: File removed.
57585 2011-09-19 Mike Frysinger <vapier@gentoo.org>
57587 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57588 * config.make.in (CPPFLAGS-config): New substituted variable.
57590 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57592 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57595 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57596 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57598 2011-09-15 Roland McGrath <roland@hack.frob.com>
57600 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57601 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57602 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57603 (CALL_FAIL): Likewise.
57604 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57605 (CALL_FAIL): Macro removed.
57606 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57608 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57610 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57611 for __FINITE_MATH_ONLY__ == 1.
57613 2011-09-15 Andreas Schwab <schwab@redhat.com>
57615 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57616 __ieee754_sqrt instead of sqrt.
57617 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57618 __ieee754_sqrtf instead of sqrtf.
57619 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57620 __floorf instead of floorf.
57621 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57622 __floorf, __truncf instead of floorf, truncf.
57624 2011-09-14 Ulrich Drepper <drepper@gmail.com>
57626 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57628 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57629 __extern_always_inline.
57630 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57633 2011-09-14 Andreas Schwab <schwab@redhat.com>
57635 * elf/rtld.c (dl_main): Also relocate in dependency order when
57636 doing symbol dependency testing.
57638 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
57640 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57641 Always define `refsym'.
57643 2011-09-13 Andreas Schwab <schwab@redhat.com>
57645 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57646 (__FD_ELT): Renamed from __FDELT.
57647 * misc/bits/select2.h (__FD_ELT): Likewise.
57648 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57649 __FD_MASK instead of __FDELT, __FDMASK.
57650 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57652 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57655 * elf/Makefile (gen-ldd): Fix pattern.
57657 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57658 (init_tls): Likewise.
57660 2011-09-12 Ulrich Drepper <drepper@gmail.com>
57662 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57664 2011-09-12 Andreas Schwab <schwab@redhat.com>
57666 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57667 `struct cmsghdr *' instead of `void *'.
57668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57671 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
57673 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57675 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57676 ldd_rewrite_script.
57678 2011-09-11 Ulrich Drepper <drepper@gmail.com>
57680 * configure.in: Remove --with-tls option.
57681 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57682 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57683 out in case it is missing.
57684 * sysdeps/ia64/elf/configure.in: Likewise.
57685 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57686 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57687 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57688 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57689 * sysdeps/sh/elf/configure.in: Likewise.
57690 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57691 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57692 * sysdeps/x86_64/elf/configure.in: Likewise.
57693 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57694 * sysdeps/mach/hurd/tls.h: Likewise.
57697 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57700 * configure.in: Fix use of AC_INIT.
57702 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57704 2011-09-10 Ulrich Drepper <drepper@gmail.com>
57706 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57708 * malloc/hooks.c: Likewise.
57711 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
57712 variables statically.
57713 (narenas): Initialize.
57714 (list_lock): Initialize.
57715 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
57716 initializtion of main_arena and list_lock. Small cleanups.
57717 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57718 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
57719 Add initializers to main_arena and mp_.
57720 (malloc_state): Remove pagesize member. Change all users to use
57723 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57724 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
57725 is always initialized.
57727 * malloc/malloc.c: Removed unused configurations and dead code.
57728 * malloc/arena.c: Likewise.
57729 * malloc/hooks.c: Likewise.
57730 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57732 * include/tls.h: Removed. USE___THREAD must always be defined.
57733 * bits/libc-tsd.h: Don't handle !USE___THREAD.
57734 * elf/dl-libc.c: Likewise.
57735 * elf/dl-tsd.c: Likewise.
57736 * include/errno.h: Likewise.
57737 * include/netdb.h: Likewise.
57738 * include/resolv.h: Likewise.
57739 * inet/herrno-loc.c: Likewise.
57740 * inet/herrno.c: Likewise.
57741 * malloc/arena.c: Likewise.
57742 * malloc/hooks.c: Likewise.
57743 * malloc/malloc.c: Likewise.
57744 * resolv/res-state.c: Likewise.
57745 * resolv/res_libc.c: Likewise.
57746 * sysdeps/i386/dl-machine.h: Likewise.
57747 * sysdeps/ia64/dl-machine.h: Likewise.
57748 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57749 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57750 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57751 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57752 * sysdeps/sh/dl-machine.h: Likewise.
57753 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57754 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57755 * sysdeps/unix/i386/sysdep.S: Likewise.
57756 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57757 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57758 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57759 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57760 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57761 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57762 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57763 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57764 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57765 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57766 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57767 * sysdeps/x86_64/dl-machine.h: Likewise.
57768 * tls.make.c: Likewise.
57770 * configure.in: Remove --with-__thread option. Make tests for
57771 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57772 tls_model attribute fail if no support is available. Remove
57774 * Makeconfig: Adjust for dropped configure option. All features are
57776 * Makerules: Likewise.
57777 * Versions.def: Likewise.
57778 * argp/argp-fmtstream.c: Likewise.
57779 * argp/argp-fmtstream.h: Likewise.
57780 * argp/argp-help.c: Likewise.
57781 * assert/assert.c: Likewise.
57782 * config.h.in: Likewise.
57783 * config.make.in: Likewise.
57784 * configure: Likewise.
57785 * configure.in: Likewise.
57786 * csu/Versions: Likewise.
57787 * csu/init.c: Likewise.
57788 * elf/tst-audit2.c: Likewise.
57789 * elf/tst-tls10.c: Likewise.
57790 * elf/tst-tls10.h: Likewise.
57791 * elf/tst-tls11.c: Likewise.
57792 * elf/tst-tls12.c: Likewise.
57793 * elf/tst-tls14.c: Likewise.
57794 * elf/tst-tlsmod11.c: Likewise.
57795 * elf/tst-tlsmod12.c: Likewise.
57796 * elf/tst-tlsmod13.c: Likewise.
57797 * elf/tst-tlsmod13a.c: Likewise.
57798 * elf/tst-tlsmod14a.c: Likewise.
57799 * elf/tst-tlsmod15b.c: Likewise.
57800 * elf/tst-tlsmod16a.c: Likewise.
57801 * elf/tst-tlsmod16b.c: Likewise.
57802 * elf/tst-tlsmod7.c: Likewise.
57803 * elf/tst-tlsmod8.c: Likewise.
57804 * elf/tst-tlsmod9.c: Likewise.
57805 * gmon/gmon.c: Likewise.
57806 * grp/fgetgrent_r.c: Likewise.
57807 * grp/putgrent.c: Likewise.
57808 * hurd/fopenport.c: Likewise.
57809 * include/libc-symbols.h: Likewise.
57810 * include/tls.h: Likewise.
57811 * intl/gettextP.h: Likewise.
57812 * intl/loadinfo.h: Likewise.
57813 * locale/global-locale.c: Likewise.
57814 * locale/localeinfo.h: Likewise.
57815 * mach/devstream.c: Likewise.
57816 * malloc/arena.c: Likewise.
57817 * malloc/set-freeres.c: Likewise.
57818 * misc/err.c: Likewise.
57819 * misc/getttyent.c: Likewise.
57820 * misc/mntent_r.c: Likewise.
57821 * posix/getopt.c: Likewise.
57822 * posix/wordexp.c: Likewise.
57823 * pwd/fgetpwent_r.c: Likewise.
57824 * resolv/Versions: Likewise.
57825 * resolv/res_hconf.c: Likewise.
57826 * shadow/fgetspent_r.c: Likewise.
57827 * shadow/putspent.c: Likewise.
57828 * stdio-common/printf_fphex.c: Likewise.
57829 * stdio-common/tmpfile.c: Likewise.
57830 * stdlib/abort.c: Likewise.
57831 * stdlib/fmtmsg.c: Likewise.
57832 * sunrpc/auth_unix.c: Likewise.
57833 * sunrpc/clnt_perr.c: Likewise.
57834 * sunrpc/clnt_tcp.c: Likewise.
57835 * sunrpc/clnt_udp.c: Likewise.
57836 * sunrpc/clnt_unix.c: Likewise.
57837 * sunrpc/openchild.c: Likewise.
57838 * sunrpc/svc_simple.c: Likewise.
57839 * sunrpc/svc_tcp.c: Likewise.
57840 * sunrpc/svc_udp.c: Likewise.
57841 * sunrpc/svc_unix.c: Likewise.
57842 * sunrpc/xdr.c: Likewise.
57843 * sunrpc/xdr_array.c: Likewise.
57844 * sunrpc/xdr_rec.c: Likewise.
57845 * sunrpc/xdr_ref.c: Likewise.
57846 * sunrpc/xdr_stdio.c: Likewise.
57848 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57850 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57852 2011-07-03 Andreas Jaeger <aj@suse.de>
57854 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57855 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57856 regenerate with gen-libm-tests.pl.
57858 2010-05-12 Petr Baudis <pasky@suse.cz>
57861 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57862 around j0() zero points by switching to j1().
57863 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57864 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57865 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57866 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57868 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57870 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57872 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57874 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57875 Patch in part by Pavel Roskin <proski@gnu.org>.
57878 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57880 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
57881 Free memory block if necessary.
57884 * libio/genops.c (INTDEF): For string streams the _lock pointer can
57885 be NULL. Don't lock in this case.
57887 2011-09-09 Roland McGrath <roland@hack.frob.com>
57889 * elf/elf.h (ELFOSABI_GNU): New macro.
57890 (ELFOSABI_LINUX): Define to that.
57892 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
57894 * string/strncat.c (strncat): Undef the symbol in case it has been
57895 defined in bits/string.h.
57897 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57899 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57901 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57904 2011-08-17 Andreas Jaeger <aj@suse.de>
57906 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57908 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
57909 Ian Lance Taylor <iant@google.com>
57911 * math/libm-test.inc (lround_test): New testcase.
57912 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57914 2011-09-08 Ulrich Drepper <drepper@gmail.com>
57916 * Makefile: Remove support for automatic cvs check-ins.
57917 * Makerules: Likewise.
57918 * config.make.in: Likewise.
57919 * configure.in: Likewise.
57920 * intl/Makefile: Likewise.
57921 * locale/Makefile: Likewise.
57922 * po/Makefile: Likewise.
57923 * posix/Makefile: Likewise.
57924 * sysdeps/gnu/Makefile: Likewise.
57925 * sysdeps/mach/hurd/Makefile: Likewise.
57926 * sysdeps/sparc/sparc32/Makefile: Likewise.
57929 * posix/Makefile (bug-regex32-ENV): Define.
57930 Patch by John Stanley <jpsinthemix@verizon.net>.
57932 * misc/Makefile (headers): Add bits/select2.h.
57933 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57934 * misc/bits/select2.h: New file.
57935 * include/bits/select2.h: New file.
57936 * debug/Makefile (routines): Add fdelt_chk.
57937 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57938 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57940 * debug/fdelt_chk.c: New file.
57942 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
57943 * wcsmbs/test-wmemcmp.c: Likewise.
57944 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57945 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57947 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57949 * string/Makefile (strop-tests): Add memcmp.
57950 * string/test-wmemcmp.c: New file.
57951 * string/test-memcmp.c: Add wmemcmp support.
57953 2011-09-08 Roland McGrath <roland@hack.frob.com>
57956 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57959 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57960 garbage value in a __mach_port_mod_refs call in the cases of the
57961 task-self and thread-self ports.
57963 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57965 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57967 2011-09-08 Andreas Schwab <schwab@redhat.com>
57969 * elf/dl-load.c (lose): Check for non-null L.
57971 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57973 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57975 * elf/dl-libc.c (dlerror_run): Pass back error code from
57979 * elf/dl-load.c (lose): Free l_origin if it is valid.
57981 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57983 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57984 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57985 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57986 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57987 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57988 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57990 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57992 * sysdeps/powerpc/fpu/e_hypot.c: New file.
57993 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57994 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57995 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57996 * sysdeps/powerpc/fpu/k_cosf.c: New file.
57997 * sysdeps/powerpc/fpu/k_sinf.c: New file.
57998 * sysdeps/powerpc/fpu/s_cosf.c: New file.
57999 * sysdeps/powerpc/fpu/s_sinf.c: New file.
58000 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58001 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58003 2011-08-15 Alan Modra <amodra@gmail.com>
58006 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58007 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58008 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
58009 ppc_mcount to static-only-routines.
58010 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58012 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58013 __mcount_internal with usual JUMPTARGET. Remove useless nop.
58015 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
58017 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58018 for finite and infinity parameters.
58020 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58022 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58023 and add nop instructions for throughput optimization.
58024 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58026 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
58028 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58029 aligned copy for power7 with vector-scalar instructions.
58030 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58032 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
58034 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58037 2011-09-07 Andreas Schwab <schwab@redhat.com>
58040 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58043 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58045 * sysdeps/unix/sysv/linux/x86_64/init-first.c
58046 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58047 syscall wrapper around clock_gettime in __vdso_clock_gettime.
58048 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58051 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58053 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58054 Forgot to demangle the pointer.
58056 * sysdeps/i386/sysdep.h: Define atom_text_section.
58057 * sysdeps/x86_64/sysdep.h: Likewise.
58058 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58059 section with atom_text_section.
58060 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58061 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58062 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58063 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58064 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58066 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58067 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58068 already be defined. Change to take two parameters and don't assign
58069 result to variable. Adjust all users.
58070 Define INTERNAL_GETTIME if not already defined.
58071 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58073 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58074 HAVE_CLOCK_GETTIME_VSYSCALL.
58075 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58077 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58078 gettimeofday vsyscall, just use time.
58080 2011-09-06 Andreas Schwab <schwab@redhat.com>
58082 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58085 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58087 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58089 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58091 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58092 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58093 syscall if possible.
58095 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58097 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58098 e_ident. Don't pass to find_mapsXX.
58099 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58101 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58104 strchr-sse2-no-bsf strrchr-sse2-no-bsf
58105 * sysdeps/x86_64/multiarch/strchr.S: Update.
58106 Check bit_slow_BSF bit.
58107 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58108 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58109 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58111 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58114 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58116 (tryshell): Define.
58117 (__spawni): Change last parameter to be flag. Test
58118 SPAWN_XFLAGS_USE_PATH flag to use path or not.
58119 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58120 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58121 * posix/spawni.c: Likewise.
58122 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58123 * posix/spawnp.c: Likewise. Change normal version to use
58124 SPAWN_XFLAGS_USE_PATH.
58125 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58126 SPAWN_XFLAGS_TRY_SHELL.
58129 * posix/glob.h: Remove gcc 1.x support.
58132 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58134 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58136 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58137 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58139 * sysdeps/i386/i686/multiarch/strchr.S: New file.
58140 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58141 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58142 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58143 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58144 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58146 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58148 * sysdeps/x86_64/wcscmp.S: New file.
58150 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58151 wcscmp-c wcscmp-sse2
58152 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58153 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58154 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58155 * wcsmbs/wcscmp.c: Allow renaming.
58157 2011-09-05 David S. Miller <davem@davemloft.net>
58159 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58160 stack slot, rather than the struct return pointer slot.
58161 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58162 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58164 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58166 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58168 * po/ja.po: Update from translation team.
58171 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58172 kernel in 64-bit binaries.
58174 2011-09-01 David S. Miller <davem@davemloft.net>
58176 * elf/elf.h (HWCAP_SPARC_*): Move to..
58177 * sysdeps/sparc/sysdep.h: this new file and add new values.
58178 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58179 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58180 _DL_HWCAP_COUNT to 24.
58181 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58183 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58184 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58185 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58186 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58187 instead of magic constants.
58188 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58190 2011-08-31 David S. Miller <davem@davemloft.net>
58192 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58193 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58194 Reimplement to do errno handling inline.
58195 (SYSCALL_ERROR_HANDLER): New macro.
58196 (__SYSCALL_STRING): Do not do errno handling in asm.
58197 (__CLONE_SYSCALL_STRING): Delete.
58198 (__INTERNAL_SYSCALL_STRING): Delete.
58199 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58200 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58201 (PSEUDO): Reimplement to do errno handling inline.
58202 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58203 (SYSCALL_ERROR_HANDLER): New macro.
58204 (__SYSCALL_STRING): Do not do errno handling in asm.
58205 (__CLONE_SYSCALL_STRING): Delete.
58206 (__INTERNAL_SYSCALL_STRING): Delete.
58207 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58208 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58210 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58211 (inline_syscall*): Add 'err' argument.
58212 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58213 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58214 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58215 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58217 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58218 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58220 2011-08-30 Andreas Schwab <schwab@redhat.com>
58222 * elf/rtld.c (dl_main): Relocate objects in dependency order.
58224 2011-08-29 Jiri Olsa <jolsa@redhat.com>
58226 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58229 2011-08-24 David S. Miller <davem@davemloft.net>
58231 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58233 2011-08-24 Andreas Schwab <schwab@redhat.com>
58235 * elf/Makefile: Add rules to build and run unload8 test.
58236 * elf/unload8.c: New file.
58237 * elf/unload8mod1.c: New file.
58238 * elf/unload8mod1x.c: New file.
58239 * elf/unload8mod2.c: New file.
58240 * elf/unload8mod3.c: New file.
58242 * elf/dl-close.c (_dl_close_worker): Reset private search list if
58245 2011-08-23 David S. Miller <davem@davemloft.net>
58247 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58248 subtract stack bias.
58249 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58250 %sp not %fp in calculations.
58251 (_JMPBUF_UNWINDS_ADJ): Likewise.
58253 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58254 (aio_suspend): Call it to force an exception region around the
58255 AIO_MISC_WAIT() invocation.
58257 2011-08-23 Andreas Schwab <schwab@redhat.com>
58259 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58262 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
58264 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58266 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58267 and <dl-machine.h>.
58268 (Elf64_FuncDesc): Remove.
58270 2011-08-22 David S. Miller <davem@davemloft.net>
58272 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58273 sigaltstack check, add missing cfi directives.
58274 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58275 missing cfi directives, and sigaltstack handling.
58277 2011-08-16 Andreas Schwab <schwab@redhat.com>
58280 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58281 object is seen twice.
58282 * elf/dl-fini.c (_dl_sort_fini): Likewise.
58284 * elf/Makefile (distribute): Add tst-initorder2.c.
58285 (tests): Add tst-initorder2.
58286 (modules-names): Add tst-initorder2a tst-initorder2b
58287 tst-initorder2c tst-initorder2d. Add rules to build them.
58288 ($(objpfx)tst-initorder2.out): New rule.
58289 * elf/tst-initorder2.c: New file.
58290 * elf/tst-initorder2.exp: New file.
58292 2011-08-22 Andreas Schwab <schwab@redhat.com>
58294 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58296 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58297 dependencies back to end of function.
58299 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58300 $(elfobjdir)/ld.so.
58302 2011-08-21 Ulrich Drepper <drepper@gmail.com>
58304 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58305 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58306 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58307 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58308 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58309 of __vdso_gettimeofday.
58310 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58311 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
58313 (_libc_vdso_platform_setup): Remove initialization of
58314 __vdso_gettimeofday and __vdso_time.
58316 2011-08-20 Ulrich Drepper <drepper@gmail.com>
58318 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58319 and fgetc_unlocked.
58320 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58323 * elf/dl-open.c (add_to_global): Report additions to the global scope
58324 for LD_DEBUG=scopes.
58325 (dl_open_worker): Also print scope of newly loaded dependencies.
58326 (_dl_show_scope): Indicate if there is no scope.
58329 * stdio-common/Makefile (tests): Add bug24.
58330 * stdio-common/bug24.c: New file.
58332 2011-08-19 Andreas Jaeger <aj@suse.de>
58335 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58336 non-existant file when using close-on-exec mode.
58338 2011-08-20 Ulrich Drepper <drepper@gmail.com>
58340 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58341 the very first instruction.
58343 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58344 the CFI state in the end.
58345 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58346 inclusion of dl-trampoline.h.
58347 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58349 2011-08-19 Andreas Schwab <schwab@redhat.com>
58351 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58352 expectations for long double.
58354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58355 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58357 2011-08-14 David S. Miller <davem@davemloft.net>
58359 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58360 artificual limit depends upon the system page size.
58362 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58364 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58365 * resolv/Makefile: Define CFLAGS-libresolv.
58367 2011-08-17 Andreas Schwab <schwab@redhat.com>
58369 * nss/makedb.c (compute_tables): Make variables used in nested
58372 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58374 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58375 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58376 if buffer was too small.
58378 * elf/pldd.c (main): Attach to all threads in the process.
58379 Rewrite /proc handling to use *at functions.
58381 2011-08-16 Ulrich Drepper <drepper@gmail.com>
58383 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58384 specifies first scope to show.
58385 (dl_open_worker): Update callers. Move printing scope of new
58386 object to before the relocation.
58387 * elf/rtld.c (dl_main): Update _dl_show_scope call.
58388 * sysdeps/generic/ldsodefs.h: Update declaration.
58390 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58391 string for the scope number.
58393 2011-08-14 Ulrich Drepper <drepper@gmail.com>
58395 * nscd/servicescache.c (cache_addserv): Make sure written is always
58398 2011-08-14 Roland McGrath <roland@hack.frob.com>
58400 * sysdeps/i386/i486/bits/atomic.h
58401 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58402 statement expression, so as to suppress "set but not used" warning.
58403 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58405 * string/strncat.c (STRNCAT): Use prototype definition.
58407 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58408 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58410 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58411 (localedef-modules): Add localedef.
58412 (locale-modules): Add locale.
58414 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58415 * elf/rtld.c (dl_main): Invert order of assignment in last change,
58416 to avoid a warning.
58418 2011-08-14 David S. Miller <davem@davemloft.net>
58420 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58421 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58423 2011-08-13 Ulrich Drepper <drepper@gmail.com>
58425 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58426 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58427 * elf/rtld.c (dl_main): Set l_name of vDSO.
58428 Call _dl_show_scope when DL_DEBUG_SCOPES.
58429 (process_dl_debug): Recognize scopes flag and also set it for all.
58430 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58431 Declare _dl_show_scope.
58433 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58434 (do_dlopen): Pass caller_dlopen to dl_open.
58435 (__libc_dlopen_mode): Initialize caller_dlopen.
58437 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58438 of libc. Make tolower call locale-independent. Optimize a bit by
58439 using isdigit instead of isalnum.
58440 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58442 2011-08-12 Ulrich Drepper <drepper@gmail.com>
58444 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58445 was a dependency or dynamically loaded.
58447 2011-08-11 Ulrich Drepper <drepper@gmail.com>
58449 * intl/l10nflist.c: Allow architecture-specific pop function.
58450 * sysdeps/x86_64/l10nflist.c: New file.
58452 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58455 2011-08-10 Andreas Schwab <schwab@redhat.com>
58457 * include/dirent.h: Add libc_hidden_proto for scandirat and
58458 scandirat64. Don't declare __scandirat64.
58459 * dirent/scandirat.c: Add libc_hidden_def.
58460 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58461 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58463 2011-08-10 David S. Miller <davem@davemloft.net>
58465 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58467 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58468 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58469 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58471 2011-08-09 Ulrich Drepper <drepper@gmail.com>
58473 * Versions.def [libc]: Add GLIBC_2.15.
58474 * dirent/Makefile (routines): Add scandirat and scandirat64.
58475 * dirent/Versions [libc]: Export scandirat and scandirat64 for
58477 * dirent/dirent.h: Declare scandirat and scandirat64.
58478 * dirent/scandirat.c: New file.
58479 * dirent/scandirat64.c: New file.
58480 * sysdeps/wordsize-64/scandirat.c: New file.
58481 * sysdeps/wordsize-64/scandirat64.c: New file.
58482 * dirent/opendir.c: Define opendirat.
58483 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
58485 * dirent/scandir64.c: Adjust for scandir.c change.
58486 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
58487 __scandirat64, and __scandir_cancel_handler.
58488 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
58489 additional parameter and use openat instead of open (outside of ld.so).
58490 Add new __opendir as wrapper around __opendirat.
58491 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58492 here without requiring old scandirat implementation.
58494 2011-08-08 Ulrich Drepper <drepper@gmail.com>
58496 * dirent/scandir.c (cancel_handler): Renamed to
58497 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
58498 defined. Adjust users.
58499 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58500 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58502 2011-08-04 Ulrich Drepper <drepper@gmail.com>
58504 * string/test-string.h (IMPL): Use __STRING to expand name and then
58507 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
58510 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58512 * string/Makefile: Update.
58513 (strop-tests): Append strncat.
58514 * string/test-wcscmp.c: New file.
58515 New comprehensive test for wcscmp.
58516 * string/test-strcmp.c: Update.
58517 (WIDE): New define.
58519 2011-07-22 Andreas Schwab <schwab@redhat.com>
58521 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58524 2011-07-26 Andreas Schwab <schwab@redhat.com>
58526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58527 encoding to ACE if AI_IDN.
58529 2011-08-01 Jakub Jelinek <jakub@redhat.com>
58531 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58532 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58534 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58536 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58537 Fix overflow bug in strncat.
58538 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58540 * string/test-strncat.c: Update.
58541 Add new tests for checking overflow bugs.
58543 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58545 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58546 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58547 * sysdeps/i386/i686/multiarch/strcat.S: New file.
58548 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58549 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58550 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58551 * sysdeps/i386/i686/multiarch/strncat.S: New file.
58552 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58553 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58555 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58556 (USE_AS_STRCAT): Define.
58557 Add strcat and strncat support.
58558 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58560 2011-07-25 Andreas Schwab <schwab@redhat.com>
58562 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58563 __n bigger than INT_MAX+1.
58564 (__strncmp_g): Likewise.
58566 2011-07-23 Ulrich Drepper <drepper@gmail.com>
58568 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58569 * libio/stido.h: Likewise.
58571 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58573 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58576 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58577 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58578 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58579 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58580 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58583 * scripts/test-installation.pl: Don't expect libnss_test1 to be
58586 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58588 (_dl_x86_64_save_sse): Likewise.
58590 2011-07-22 Ulrich Drepper <drepper@gmail.com>
58592 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58594 (_dl_x86_64_save_sse): Likewise.
58596 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58598 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58600 2011-07-21 Andreas Schwab <schwab@redhat.com>
58602 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58604 (_dl_x86_64_save_sse): Use correct AVX check.
58606 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58608 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58609 bug in strncpy/strncat.
58610 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58612 2011-07-21 Ulrich Drepper <drepper@gmail.com>
58614 * string/tester.c (test_strcat): Add tests for different alignments
58615 of source and destination.
58616 (test_strncat): Likewise.
58618 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58621 * posix/glob.c (glob): Check passed in values before using them in
58622 expressions to avoid some overflows.
58623 (glob_in_dir): Likewise.
58626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58627 check for AVX enablement so that we don't crash with old kernels and
58629 * elf/tst-audit4.c: Add same checks here.
58630 * elf/tst-audit6.c: Likewise.
58632 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58634 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
58636 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58638 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58640 * po/cs.po: Update from translation team.
58641 * po/bg.po: Likewise.
58643 2011-07-12 Marek Polacek <mpolacek@redhat.com>
58645 * misc/sys/cdefs.h: Add support for const attribute.
58646 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58647 to gnu_dev_{major,minor,makedev} functions.
58649 2011-07-20 Marek Polacek <mpolacek@redhat.com>
58651 * intl/dcigettext.c (get_output_charset): Add missing bracket.
58653 2011-07-20 Andreas Schwab <schwab@redhat.com>
58655 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58658 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58660 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58661 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58662 register in order to avoid conflicts with the soft frame pointer
58663 being held in r11 when necessary.
58664 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58665 (INTERNAL_VSYSCALL_NCS): Likewise.
58667 2011-07-14 Marek Polacek <mpolacek@redhat.com>
58669 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58670 * elf/dl-fini.c (_dl_fini): Adjust caller.
58671 * elf/dl-close.c (_dl_close_worker): Likewise.
58672 * sysdeps/generic/ldsodefs.h: Adjust declaration.
58674 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58676 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58677 "aux_cache->nlibs < 0".
58679 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58680 in the reload-count case.
58682 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58685 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58686 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58687 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58688 * sysdeps/x86_64/multiarch/strcat.S: New file.
58689 * sysdeps/x86_64/multiarch/strncat.S: New file.
58690 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58691 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58692 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58693 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58694 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58695 (USE_AS_STRCAT): Define.
58696 Add strcat and strncat support.
58697 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58698 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58699 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58700 * string/strncat.c: Update.
58701 (USE_AS_STRNCAT): Define.
58702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58703 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58705 * sysdeps/x86_64/multiarch/init-arch.h
58706 (bit_Prefer_PMINUB_for_stringop): New.
58707 (index_Prefer_PMINUB_for_stringop): Likewise.
58708 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58709 bit_Prefer_PMINUB_for_stringop.
58711 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58713 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58715 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58716 of casting of buffer.
58717 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58718 buffer32 and buffer64.
58719 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58720 writes instead of casting of buffer.
58721 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58723 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58726 2011-07-19 Andreas Schwab <schwab@redhat.com>
58728 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58730 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58732 * nscd/nscd.c (termination_handler): Don't do anything for a database
58733 if it has not yet been initialized.
58735 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58737 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58739 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58741 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58743 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58745 * po/nl.po: Update from translation team.
58746 * po/sv.po: Likewise.
58748 2011-07-16 Roland McGrath <roland@hack.frob.com>
58750 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58751 now disallowed by GCC.
58753 * configure.in (use-default-link): Default to yes if a test -shared
58754 link meets our qualifications.
58755 * configure: Regenerated.
58757 * config.make.in (output-format): New variable.
58758 * configure.in: Check for ld --print-output-format support.
58759 * configure: Regenerated.
58760 * Makerules ($(common-objpfx)format.lds)
58761 [$(output-format) != unknown]: Just use $(output-format),
58762 instead of the linker-script munging.
58764 2011-07-14 Roland McGrath <roland@hack.frob.com>
58766 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58767 of $(common-objpfx)shlib.lds.
58768 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58770 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58771 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58773 * configure.in (-z relro check): Adjust test code to add a large
58774 writable data section after it.
58775 * configure: Regenerated.
58777 2011-07-11 Roland McGrath <roland@hack.frob.com>
58779 * configure.in (-z relro check): Fix test code to make the variable
58781 * configure: Regenerated.
58783 2011-07-11 Ulrich Drepper <drepper@gmail.com>
58785 * nscd/nscd.h (struct traced_file): Define.
58786 (struct database_dyn): Remove inotify_descr, reset_res, and filename
58787 elements. Add traced_files.
58788 (inotify_fd): Declare.
58789 (register_traced_file): Declare.
58790 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58791 (inotify_fd): Export.
58792 (resolv_conf_descr): Remove.
58793 (nscd_init): Move inotify descriptor creation to main.
58794 Don't register files for notification here.
58795 (register_traced_file): New function.
58796 (invalidate_cache): Don't use reset_res to determine whether to call
58797 res_init, go through the list of registered files.
58798 (main_loop_poll): The inotify descriptors are now stored in the
58799 structures for the traced files.
58800 (main_loop_epoll): Likewise
58801 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
58802 to __nss_disable_nscd.
58803 * nscd/cache.c (prune_cache): There is no single inotify descriptor
58804 for a database anymore. Check the records for all the registered
58806 * nss/Makefile (libnss_files-routines): Add files-init.
58807 (libnss_db-routines): Add db-init.
58808 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58809 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58810 * nss/nss_db/db-init.c: New file.
58811 * nss/nss_files/files-init.c: New file.
58812 * nss/nsswitch.c (nss_load_library): New function. Broken out of
58813 __nss_lookup_function.
58814 (__nss_lookup_function): Call nss_load_library.
58815 (nss_load_all_libraries): New function.
58816 (__nss_disable_nscd): Take parameter with callback function for files
58817 to register. Set is_nscd. Load all the DSOs for the NSS modules
58818 used for the cached services.
58819 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58820 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58821 options for features to all the files in nscd.
58823 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58825 2011-07-10 Roland McGrath <roland@hack.frob.com>
58827 * csu/elf-init.c (__libc_csu_init): Comment typo.
58829 2011-07-09 Ulrich Drepper <drepper@gmail.com>
58831 * po/pl.po: Update from translation team.
58832 * po/ja.po: Likewise.
58833 * po/ru.po: Likewise.
58834 * po/ko.po: Likewise.
58835 * po/fr.po: Likewise.
58837 2011-07-09 Roland McGrath <roland@hack.frob.com>
58839 * configure.in (.ctors/.dtors header and trailer check):
58840 Use an empirical test on a built program.
58841 * configure: Regenerated.
58843 * configure.in (-z relro check): Use an empirical test on a built DSO.
58844 Detect, but do not require, on ia64.
58845 * configure: Regenerated.
58847 * configure.in (READELF): Find it with AC_CHECK_TOOL.
58848 Update tests that use readelf to use $READELF instead.
58849 * configure: Regenerated.
58851 2011-07-08 Ulrich Drepper <drepper@gmail.com>
58853 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58854 if the result is not used.
58856 2011-07-05 Andreas Jaeger <aj@suse.de>
58859 * stdlib/tst-strtod.c: Add testcase.
58861 2011-07-07 Ulrich Drepper <drepper@gmail.com>
58863 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58864 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58865 The latter has a higher limit. Take additional parameter to pass to
58867 (__pathconf): Pass file to __statfs_link_max.
58868 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58870 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58874 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58875 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58877 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58878 (__statfs_filesize_max): Likewise.
58879 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58881 2011-07-05 Andreas Jaeger <aj@suse.de>
58883 * resolv/res_comp.c (dn_skipname): Remove unused variable.
58885 2011-07-06 Marek Polacek <mpolacek@redhat.com>
58887 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58889 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58892 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
58894 * Makefile (strop-tests): Add strncat.
58895 * string/test-strncat.c: New file.
58897 2011-06-30 Marek Polacek <mpolacek@redhat.com>
58899 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58901 2011-06-21 Andreas Jaeger <aj@suse.de>
58903 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58904 Copy rule from iconvdata/Makefile.
58906 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58909 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58910 but no long options are defined, just return 'W'.
58912 2011-06-22 Marek Polacek <mpolacek@redhat.com>
58915 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58917 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58919 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58921 (innetgr): Likewise.
58923 2011-07-05 Roland McGrath <roland@hack.frob.com>
58925 * config.make.in (install_root): Default to $(DESTDIR).
58927 2011-07-05 Ulrich Drepper <drepper@gmail.com>
58929 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58931 2011-07-02 Roland McGrath <roland@hack.frob.com>
58933 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58935 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58936 containing directory rather than embedding absolute directory names.
58938 * scripts/check-local-headers.sh: Rewritten using awk.
58939 Match by word, not by line. Print error messages for matches.
58940 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58942 * Makerules [shlib-lds-flags empty]:
58943 ($(common-objpfx)libc_pic.opts): New target.
58944 ($(common-objpfx)libc_pic.os.clean): New target.
58945 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58947 * config.make.in (OBJCOPY): New variable.
58948 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58949 * configure: Regenerated.
58951 * config.make.in (use-default-link): New variable.
58952 * configure.in (use_default_link): Grok --with-default-link to set it.
58953 * configure: Regenerated.
58954 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58955 (shlib-lds, shlib-lds-flags): Define to empty.
58957 * Makerules (shlib-lds): New variable.
58958 (shlib-lds-flags): New variable.
58959 (build-shlib, build-moduile, build-module-asneeded): Use it.
58960 ($(common-objpfx)libc.so): Use $(shlib-lds).
58961 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58962 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58964 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58965 DT_FLAGS/DT_FLAGS_1 with zero flags.
58967 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58968 linker script munging.
58970 2011-07-02 Ulrich Drepper <drepper@gmail.com>
58972 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58974 * crypt/sha512.c (sha512_process_block): Perform total addition using
58975 128-bit if possible.
58976 (__sha512_finish_ctx): Likewise.
58977 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58979 * crypt/sha256.c (SWAP64): Define.
58980 (sha256_process_block): Perform total addition using 64-bit if
58982 (__sha256_finish_ctx): Likewise.
58984 2011-07-01 Ulrich Drepper <drepper@gmail.com>
58986 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
58987 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58988 * nscd/hstcache.c (cache_addhst): Likewise.
58989 * nscd/grpcache.c (cache_addgr): Likewise.
58990 * nscd/aicache.c (addhstaiX): Likewise
58991 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58993 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
58995 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58996 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58997 * nscd/hstcache.c (cache_addhst): Likewise.
58998 * nscd/grpcache.c (cache_addgr): Likewise.
58999 * nscd/aicache.c (addhstaiX): Likewise
59001 2011-07-01 Andreas Schwab <schwab@redhat.com>
59003 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59004 domain only when needed.
59006 2011-06-30 Andreas Schwab <schwab@redhat.com>
59008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59009 is always restored.
59011 2011-06-29 Ulrich Drepper <drepper@gmail.com>
59013 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59014 are re-adding the entry.
59015 * nscd/servicescache.c (cache_addserv): Likewise.
59017 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
59019 * sysdeps/generic/dl-irel.h: fix protection against multiple
59021 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59023 2011-06-28 Ulrich Drepper <drepper@gmail.com>
59026 * malloc/memusage.sh: Fix quoting in message.
59027 * debug/xtrace.sh: Likewise.
59029 * configure.in: Remove support for --experimental-malloc option, make
59031 * config.make.in: Likewise.
59032 * malloc/Makefile: Likewise.
59034 2011-06-27 Andreas Schwab <schwab@redhat.com>
59036 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59037 two-byte characters.
59039 2011-06-27 Roland McGrath <roland@hack.frob.com>
59041 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59042 AC_CACHE_CHECK invocation.
59043 * configure: Regenerated.
59045 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59047 2011-06-27 Ulrich Drepper <drepper@gmail.com>
59050 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
59051 bit from old_res_options.
59053 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59055 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59056 value type for setfct.
59058 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
59060 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59061 __gettimeofday instead of gettimeofday.
59063 2011-06-26 Ulrich Drepper <drepper@gmail.com>
59065 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59067 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
59069 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59071 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59074 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59077 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59078 strcpy-sse2-unaligned strncpy-sse2-unaligned
59079 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59080 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59081 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59082 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59083 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59084 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59085 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59086 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59087 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59088 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59089 (STRCPY): Support SSE2 and SSSE3 versions.
59091 2011-06-24 Ulrich Drepper <drepper@gmail.com>
59094 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59095 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59096 kernels which artificially limit size of requests.
59098 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59100 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59101 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59102 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59103 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59104 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59105 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59106 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59107 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59108 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59109 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59110 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59111 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59112 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59113 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59114 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59116 Enable unaligned load optimization for Intel Core i3, i5 and i7
59118 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59120 (index_Fast_Unaligned_Load): Define.
59121 (HAS_FAST_UNALIGNED_LOAD): Define.
59123 2011-06-23 Marek Polacek <mpolacek@redhat.com>
59125 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59127 2011-06-22 Ulrich Drepper <drepper@gmail.com>
59130 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59131 until it is clear that the information is realy needed.
59132 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59134 2011-06-22 Andreas Schwab <schwab@redhat.com>
59136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59138 2011-06-22 Ulrich Drepper <drepper@gmail.com>
59140 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59141 /sys/devices/system/cpu/online if it is usable.
59143 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59144 reading the information from the /proc filesystem to once a second.
59146 2011-06-21 Andreas Jaeger <aj@suse.de>
59148 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59149 NULL after inclusion of kernel headers.
59151 2011-06-21 Ulrich Drepper <drepper@gmail.com>
59153 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59154 calls to internal_setent.
59157 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59158 addresses using gethostbyname4_r ignore IPv4 addresses.
59160 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59161 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
59163 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59165 2011-06-20 David S. Miller <davem@davemloft.net>
59167 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59169 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59171 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59172 (elf_irel): Use it.
59173 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59174 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59175 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59176 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59177 * sysdeps/x86_64/dl-irel.h: Likewise.
59179 * elf/dl-runtime.c: Use elf_ifunc_invoke.
59180 * elf/dl-sym.c: Likewise.
59182 2011-06-15 Ulrich Drepper <drepper@gmail.com>
59184 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
59185 need to dereference resplen2.
59187 2011-06-14 Andreas Schwab <schwab@redhat.com>
59189 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59191 2011-06-15 Ulrich Drepper <drepper@gmail.com>
59193 * Makeconfig: Define vardbdir and inst_vardbdir.
59194 * nss/Makefile: Add rules to install db-Makefile.
59196 * nss/nss_db/db-XXX.c: Cleanup.
59198 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59199 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59201 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59202 * nss/makedb.c: Implement -g option to specify that value strings
59203 are generated and should not be added to table iterated over for
59205 * nss/nss_db/db-initgroups.c: New file.
59207 * nss/getent.c: Add support for initgroups lookups through getgrouplist
59210 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59211 (internal_getgrouplist): Adjust to name change.
59212 Update use_initgroups_entry if this is not the first call.
59213 * nss/databases.def: Add initgroups entry.
59215 * nss/makedb.c (compute_tables): Check result of multiple hash table
59216 sizes to minimize maximum chain length.
59218 2011-06-14 Ulrich Drepper <drepper@gmail.com>
59220 * Versions.def: Add entry for libnss_db.
59221 * shlib-versions: Likewise.
59222 * nss/Makefile: Add rules to build libnss_db.
59223 * nss/Versions: Add libnss_db information. Organize libnss_files
59225 * nss/db-Makefile: Add gshadow support. Change rules for the new
59226 makedb progra. Some minor improvements to generate smaller files.
59227 * nss/nss_db/nss_db.h: Move NSS database header data structures to
59229 * nss/makedb.c: ...here.
59230 Improve database format to be smaller and require less memory at
59232 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
59234 * nss/nss_db/db-netgrp.c: Likewise.
59235 * nss/nss_db/db-open.c: Likewise.
59236 * nss/nss_files/flies-XXX.x: Adjust comments.
59237 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59238 * nss/nss_files/files-grp.c: Likewise.
59239 * nss/nss_files/files-hosts.c: Likewise.
59240 * nss/nss_files/files-network.c: Likewise.
59241 * nss/nss_files/files-proto.c: Likewise.
59242 * nss/nss_files/files-pwd.c: Likewise.
59243 * nss/nss_files/files-rpc.c: Likewise.
59244 * nss/nss_files/files-service.c: Likewise.
59245 * nss/nss_files/files-sgrp.c: Likewise.
59246 * nss/nss_files/files-spwd.c: Likewise.
59247 * nss/nss_db/db-alias.c: Removed.
59248 * nss/nss_db/dummy-db.h: Removed.
59250 2011-06-02 Ulrich Drepper <drepper@gmail.com>
59252 * nss/makedb.c: Rewritten to not use database library.
59253 * nss/Makefile: Update to build new makedb program.
59255 2011-06-14 Andreas Jaeger <aj@suse.de>
59257 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59258 memset declaration.
59260 2011-06-10 Andreas Schwab <schwab@redhat.com>
59262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59265 2011-06-10 Roland McGrath <roland@hack.frob.com>
59267 * Makerules (shlib.lds): Fail if the linker script comes out empty.
59268 * elf/Makefile ($(objpfx)ld.so): Likewise.
59270 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59271 Don't list ld.so twice in dependencies.
59273 * posix/bug-regex31.c: Include <stdlib.h>.
59275 * nscd/hstcache.c (cache_addhst): Remove unused variable.
59277 * nis/nss_compat/compat-spwd.c
59278 (getspent_next_nss_netgr): Remove unused variable.
59279 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59281 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59282 nonmembers" output to use the right array.
59284 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59286 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59288 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59289 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59290 * catgets/gencat.c (read_input_file): Likewise.
59291 * locale/programs/locarchive.c (enlarge_archive): Likewise.
59293 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59294 variable definition inside #if's controlling its use.
59296 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59298 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59300 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59302 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59305 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59307 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59308 * configure: Regenerated.
59310 * Makerules: Revert last change.
59311 * elf/Makefile: Likewise.
59313 2011-06-09 Roland McGrath <roland@hack.frob.com>
59315 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59316 * elf/Makefile ($(objpfx)librtld.os): Likewise.
59317 (reloc-link): Likewise.
59319 2011-06-09 Ulrich Drepper <drepper@gmail.com>
59321 * elf/Makefile: Add rules to build pldd.
59322 * elf/pldd.c: New file.
59323 * elf/pldd-xx.c: New file.
59325 2011-06-07 Ulrich Drepper <drepper@gmail.com>
59327 * version.h: Update for 2.15 development version.
59329 2011-06-07 David S. Miller <davem@davemloft.net>
59331 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59334 elf_machine_lazy_rel): Likewise.
59335 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59336 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59337 elf_machine_lazy_rel): Likewise.
59338 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59339 dl_hwcap via passed in argument.
59340 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59343 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59345 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
59347 2011-06-06 Roland McGrath <roland@hack.frob.com>
59350 * manual/fdl-1.1.texi: New file, verbatim from:
59351 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59352 * manual/lgpl-2.1.texi: New file, verbatim from:
59353 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59354 * manual/Makefile (licenses): New variable, list those new file names.
59356 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59358 * manual/fdl.texi: File removed.
59359 * manual/lesser.texi: File removed.
59360 * manual/libc.texinfo (Copying, Documentation License):
59361 Use new @include file names, put @appendix directive before @include.
59363 2011-06-04 Jakub Jelinek <jakub@redhat.com>
59366 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59367 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59368 (mq_open): Add __NTH.
59370 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
59372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59373 Assume Intel Core i3/i5/i7 processor if AVX is available.
59375 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59377 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59380 2011-05-31 Andreas Schwab <schwab@redhat.com>
59382 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59383 memory. Use alloca_account. Fix memory leak when retrying.
59385 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59387 * version.h (RELEASE): Bump for 2.14 release.
59388 * include/features.h (__GLIBC_MINOR__): Bump to 14.
59390 * config.make.in (RANLIB): Remove entry.
59392 2011-05-30 Ulrich Drepper <drepper@gmail.com>
59394 * po/Makefile (po-sed-cmd): Add ksh to extensions.
59395 (libc.pot): Work around missing support for .ksh extension in xgettext.
59398 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59399 if both request failed.
59400 (send_dg): In case of server errors clear resplen or *resplen2.
59403 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59404 when there are multiple maps.
59405 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59406 (_dl_fini): Remove test here.
59408 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59410 2011-05-29 Ulrich Drepper <drepper@gmail.com>
59413 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59414 bit from old_res_options.
59415 (gaih_inet): Likewise.
59418 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59421 * resolv/res_init.c (res_setoptions): Make the code more compact.
59424 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59428 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59430 * malloc/malloc.h: Mark malloc hook variables as deprecated.
59433 * malloc/malloc.h: Declare malloc hook variables as volatile.
59435 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59439 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59440 raise in the comment.
59441 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59442 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59443 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59445 2011-05-28 Ulrich Drepper <drepper@gmail.com>
59448 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59449 grow the buffers more if it already has to be sufficient.
59450 (build_wcs_upper_buffer): Likewise.
59451 * posix/regexec.c (check_matching): Likewise.
59452 (clean_state_log_if_needed): Likewise.
59453 (extend_buffers): Don't enlarge buffers beyond size of the input
59455 Patches mostly by Emil Wojak <emil@wojak.eu>.
59456 * posix/bug-regex32.c: New file.
59457 * posix/Makefile (tests): Add bug-regex32.
59459 * locale/findlocale.c (_nl_find_locale): Return right away if
59460 _nl_explode_name failed.
59461 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59463 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59465 * debug/xtrace.sh: Unify messages.
59466 * malloc/memusage.sh: Likewise.
59469 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59470 time symbol from vDSO. Substitute with vsyscall if not available.
59471 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59474 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59475 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59476 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59477 Add sendmmsg and internal_sendmmsg.
59478 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59479 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59480 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59482 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59483 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59484 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59486 2011-05-27 Ulrich Drepper <drepper@gmail.com>
59489 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59490 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
59492 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59496 * iconvdata/Makefile (tests): Add bug-iconv9.
59497 * iconvdata/bug-iconv9.c: New file.
59499 2011-05-27 Andreas Schwab <schwab@redhat.com>
59502 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59504 2011-05-25 Jakub Jelinek <jakub@redhat.com>
59506 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59507 (struct user_regs_struct): Change intcs field back to cs.
59509 2011-05-25 Ulrich Drepper <drepper@gmail.com>
59511 * po/ja.po: Update from translation team.
59513 2011-05-23 Ulrich Drepper <drepper@gmail.com>
59516 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59517 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59519 2011-05-20 Andreas Schwab <schwab@redhat.com>
59521 * stdlib/longlong.h: Update from GCC.
59523 2011-05-23 Andreas Schwab <schwab@redhat.com>
59525 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59527 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59528 Add parameter name.
59529 (__sysconf): Pass it down.
59531 2011-05-22 Ulrich Drepper <drepper@gmail.com>
59534 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59536 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59537 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59538 add in in __libc_use_alloca calls. Adjust callers.
59539 (glob): Use malloc in some situations.
59541 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59542 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59545 2011-05-21 Ulrich Drepper <drepper@gmail.com>
59547 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59548 and CLOCK_BOOTTIME_ALARM.
59551 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59554 * string/_strerror.c (__strerror_r): Print negative errors as signed
59558 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59559 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59560 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59562 * configure.in: Fix typo in redirection and correct removal of test
59563 files in two cases.
59566 * locale/setlocale.c (new_composite_name): Fix test to check for
59567 identical name of all categories.
59570 * libio/filedoalloc.c (local_isatty): New function.
59571 (_IO_file_doallocate): Use local_isatty.
59572 * stdio-common/perror.c (perror): In case a new stream is used
59573 forward the stream error.
59574 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59577 2011-05-20 Ulrich Drepper <drepper@gmail.com>
59580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59582 * include/alloca.h (extend_alloca_account): Define.
59585 * posix/regex.h: Fix comments with documentation of user-accessible
59586 fields after compilation and describe correct free'ing of pattern
59587 after re_compile_pattern.
59588 Patch by Reuben Thomas <rrt@sc3d.org>.
59590 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
59592 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59593 and -mno-altivec to prevent the compiler from using Altivec and/or
59594 VSX instructions when the corresponding registers are not available.
59596 2011-05-19 Andreas Schwab <schwab@redhat.com>
59598 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59600 2011-05-19 Ulrich Drepper <drepper@gmail.com>
59602 * libio/freopen.c (freopen): Use __dup2, not dup2.
59603 * libio/freopen64.c (freopen64): Likewise.
59605 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
59608 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59609 * math/Makefile (tests): Add test-powl.
59610 (CFLAGS-test-powl.c): Define.
59611 * math/test-powl.c: New file.
59613 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
59615 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59617 2011-05-17 Ulrich Drepper <drepper@gmail.com>
59620 * iconvdata/gb18030.c: Update to GB18020-2005.
59622 2011-05-16 Ulrich Drepper <drepper@gmail.com>
59624 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59625 RE_SYNTAX_POSIX_AWK): Update to match recent development.
59626 Patch by Aharon Robbins <arnold@skeeve.com>.
59629 * stdlib/putenv.c (putenv): Don't always create copy of the variable
59633 * misc/pselect.c (__pselect): Handle timeout value errors hidden
59634 through underflows.
59637 * misc/error.c (error_at_line): Ensure file_name and old_file_name
59638 point to strings before performing equality test for error_one_per_line
59642 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59645 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59646 (struct user_fpregs_struct): Avoid __uint*_t types.
59649 * malloc/mtrace.c (tr_where): Add additional parameter to point to
59650 symbol info. Use it instead of calling _dl_addr locally.
59651 (lock_and_info): New function.
59652 (tr_freehook): Call lock_and_info and pass symbol info as additional
59653 parameter to tr_where.
59654 (tr_mallochook): Likewise.
59655 (tr_reallochook): Likewise.
59656 (tr_memalignhook): Likewise.
59658 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
59659 used and couldn't be at all thread-safe.
59661 2011-05-15 Ulrich Drepper <drepper@gmail.com>
59663 * libio/freopen.c (freopen): Don't close old file descriptor
59664 before the new one is opened. Instead dup the new file descriptor
59665 to the old one after the new stream is created.
59666 * libio/freopen64.c (freopen64): Likewise.
59667 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59668 * libio/fileops.c (_IO_new_file_close_it): Handle new
59669 _IO_FLAGS2_NOCLOSE flag.
59670 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59671 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59672 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59673 _IO_FLAGS2_NOCLOSE flag.
59674 * include/unistd.h: Add hidden_proto for dup3.
59675 Define __have_dup3.
59676 * io/dup3.c: Define hidden symbol.
59677 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59680 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59681 when an incomplete long option is used.
59682 * posix/tst-getopt_long1.c: New file.
59683 * posix/Makefile (tests): Add tst-getopt_long1.
59686 * scripts/config.guess: Update from autoconf-2.68.
59687 * scripts/config.sub: Likewise.
59690 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59692 (has_cpuclock): ...this. New function.
59693 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59694 macro here based on has_cpuclock code.
59697 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59698 First byte (not low byte) is now always NUL.
59699 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59701 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59702 Use non-cancelable interfaces.
59705 * locale/iso-639.def: Add entry for Sorani.
59708 * include/stdlib.h: Move include protection to the right place.
59709 Define abort_msg_s. Declare __abort_msg with it.
59710 * stdlib/abort.c (__abort_msg): Adjust type.
59711 * assert/assert.c (__assert_fail_base): New function. Majority
59712 of code from __assert_fail. Allocate memory for __abort_msg with
59714 (__assert_fail): Now call __assert_fail_base.
59715 * assert/assert-perr.c: Remove bulk of implementation. Use
59716 __assert_fail_base.
59717 * include/assert.hL Declare __assert_fail_base.
59718 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59720 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59722 2011-05-14 Ulrich Drepper <drepper@gmail.com>
59726 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59727 until all modules are registered in the DTV.
59728 * elf/Makefile: Add rules to build and run tst-tls19.
59729 * elf/tst-tls19.c: New file.
59730 * elf/tst-tls19mod1.c: New file.
59731 * elf/tst-tls19mod2.c: New file.
59732 * elf/tst-tls19mod3.c: New file.
59733 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59736 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59740 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59741 two-byte sequence errors.
59742 * iconvdata/Makefile (tests): Add bug-iconv8.
59743 * iconvdata/bug-iconv8.c: New file.
59746 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59749 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59752 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59753 (dummy_getcfa): New function.
59754 (init): Get _Unwind_GetCFA address, use dummy if not found.
59755 (backtrace_helper): In recursion check, also check whether CFA changes.
59756 (__backtrace): Completely initialize arg.
59758 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59759 storing incomplete byte sequence in state object. Avoid testing for
59760 guaranteed too small input if we know there is enough data available.
59762 2011-05-11 Andreas Schwab <schwab@redhat.com>
59764 * Makeconfig (+link-pie): Indent.
59765 * Rules (binaries-pie): Define if $(have-fpie) and
59767 (binaries-shared): Also filter out $(binaries-pie).
59768 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59769 * nscd/Makefile (others-pie): Add nscd.
59770 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59771 ($(objpfx)nscd): Remove command override.
59772 * login/Makefile (others-pie): Add pt_chown.
59773 ($(objpfx)pt_chown): Remove command override.
59774 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59775 remove command overrides.
59777 2011-05-13 Ulrich Drepper <drepper@gmail.com>
59779 * libio/tst_putwc.c: Fix error messages.
59782 * libio/fileops.c (_IO_new_file_close_it): Always flush when
59783 currently writing and seek to current position when not.
59784 * libio/Makefile (tests): Add bug-fclose1.
59785 * libio/bug-fclose1.c: New file.
59787 2011-05-12 Ulrich Drepper <drepper@gmail.com>
59790 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59791 don't set DF_1_NODELETE here.
59792 (do_lookup_x): When entering new entry test for copy relocation
59793 and if necessary set DF_1_NODELETE flag.
59794 * elf/tst-unique4.cc: New file.
59795 * elf/tst-unique4.h: New file.
59796 * elf/tst-unique4lib.cc: New file.
59797 * elf/Makefile: Add rules to build and run tst-unique4.
59798 Patch by Piotr Bury <pbury@goahead.com>.
59800 2011-05-11 Ulrich Drepper <drepper@gmail.com>
59803 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59806 * misc/mntent_r.c (addmntent): Flush the stream after the output
59809 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59810 (is_trusted_path_normalize): Skip initial colon. Append slash
59811 to empty buffer. Duplicate is_trusted_path code but allow
59812 constructed patch to be prefix.
59813 (is_dst): Allow $ORIGIN followed by /.
59814 (_dl_dst_substitute): Correct clearing of check_for_trusted.
59815 Correct testing of result of is_trusted_path_normalize
59816 (decompose_rpath): Fix warning.
59818 2011-05-10 Ulrich Drepper <drepper@gmail.com>
59821 * grp/initgroups.c (internal_getgrouplist): When we found the service
59822 list through the initgroups entry in nsswitch.conf do not always
59823 continue on a successful lookup. Don't always use the
59824 __nss_group_database value if it is set.
59825 * nss/nsswitch.conf (initgroups): Change action for successful db
59826 lookup to continue for compatibility.
59828 2011-05-09 Ulrich Drepper <drepper@gmail.com>
59831 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59833 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59835 * iconvdata/tst-tables.sh: Likewise.
59836 * iconvdata/cp770.c: New file.
59837 * iconvdata/cp771.c: New file.
59838 * iconvdata/cp772.c: New file.
59839 * iconvdata/cp773.c: New file.
59840 * iconvdata/cp774.c: New file.
59841 * iconvdata/testdata/CP770: New file.
59842 * iconvdata/testdata/CP770..UTF8: New file.
59843 * iconvdata/testdata/CP771: New file.
59844 * iconvdata/testdata/CP771..UTF8: New file.
59845 * iconvdata/testdata/CP772: New file.
59846 * iconvdata/testdata/CP772..UTF8: New file.
59847 * iconvdata/testdata/CP773: New file.
59848 * iconvdata/testdata/CP773..UTF8: New file.
59849 * iconvdata/testdata/CP774: New file.
59850 * iconvdata/testdata/CP774..UTF8: New file.
59852 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59854 * iconvdata/gen-8bit-gap.sh: Likewise.
59855 * iconvdata/gen-8bit.sh: Likewise.
59857 * locale/iso-639.def: Add ary entry.
59860 * locale/C-translit.h.in: Add U20A1 transliteration.
59863 * locale/iso-639.def: Add wae entry.
59864 Patch by Kevin Bortis <bortis@translate-wae.ch>.
59867 * locale/programs/localedef.c (construct_output_path): Use ssize_t
59871 * locale/C-translit.h.in: Add entry for U20B9.
59872 Patch by pravin.d.s@gmail.com.
59874 2011-05-08 Ulrich Drepper <drepper@gmail.com>
59877 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59878 ENAMETOOLONG use generic getcwd.
59879 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
59880 in rtld. Use *stat64.
59881 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59882 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59883 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59884 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59885 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59886 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59887 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59888 __fstatat64 macros.
59889 * include/dirent.h: Add libc_hidden_proto for rewinddir.
59890 * dirent/rewinddir.c: Add libc_hidden_def.
59891 * sysdeps/mach/hurd/rewinddir.c: Likewise.
59892 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
59894 * include/dirent.h (__alloc_dir): Add flags parameter.
59895 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59896 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59898 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
59899 from fdopendir if O_CLOEXEC is already set.
59901 2011-03-15 Alan Modra <amodra@gmail.com>
59903 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59904 l_tls_firstbyte_offset non-zero. Save padding offset in
59905 l_tls_firstbyte_offset for later use.
59906 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59907 freeing static tls block.
59909 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
59911 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59912 where #ifdef was intended. The intent is to prevent ARG_MAX from
59913 being defined by the kernel headers.
59915 2011-05-07 Ulrich Drepper <drepper@gmail.com>
59918 * resolv/resolv.h: Define RES_NOTLDQUERY.
59919 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59920 no-tld-query and set RES_NOTLDQUERY.
59921 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59922 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59923 modern BIND to search name as TLD unless forbidden.
59925 2011-05-07 Petr Baudis <pasky@suse.cz>
59926 Ulrich Drepper <drepper@gmail.com>
59929 * elf/dl-load.c (fillin_rpath): Move trusted path check...
59930 (is_trusted_path): ...to here.
59931 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59932 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59933 using is_trusted_path_normalize() in setuid scripts.
59935 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59937 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59938 __BEGIN/__END_DECLS.
59940 2011-05-06 Ulrich Drepper <drepper@gmail.com>
59942 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59943 NSS_STATUS_NOTFOUND if no record was found.
59945 2011-05-05 Andreas Schwab <schwab@redhat.com>
59947 * sunrpc/Makefile (headers): Add rpc/netdb.h.
59948 (headers-not-in-tirpc): Remove rpc/netdb.h
59949 * resolv/netdb.h: Revert last change.
59951 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59953 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59954 circular dependency between libgcc.a and libc.a.
59956 2011-05-05 Andreas Schwab <schwab@redhat.com>
59958 * resolv/netdb.h: Don't include <rpc/netdb.h>.
59959 * nis/Makefile: Don't install rpcsvc/*.
59960 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59961 instead of <rpc/types.h>.
59962 (MAXHOSTNAMELEN): Define.
59964 2011-05-03 Andreas Schwab <schwab@redhat.com>
59966 * elf/ldconfig.c (add_dir): Don't crash on empty path.
59968 2011-04-28 Maciej Babinski <mbabinski@google.com>
59971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59972 gethostbyname4_r when IPv6 results are possible.
59974 2011-05-02 Ulrich Drepper <drepper@gmail.com>
59977 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59978 _PC_PIPE_BUF handling.
59980 2011-04-30 Bruno Haible <bruno@clisp.org>
59983 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59984 * resolv/netdb.h (getnameinfo): Change type of flags parameter
59986 * inet/getnameinfo.c (getnameinfo): Likewise.
59988 2011-04-29 Ulrich Drepper <drepper@gmail.com>
59990 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59991 to groups setting in database lookup.
59992 * nss/nsswitch.conf: Add initgroups entry.
59994 2011-04-22 Ulrich Drepper <drepper@gmail.com>
59997 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59999 Patch by Eric Blake <eblake@redhat.com>.
60001 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
60003 * sunrpc/Makefile (need-export-routines): Add svc_run.
60004 (routines): Remove svc_run.
60005 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60006 * sunrpc/clnt_perr.c (clnt_perrno): Export.
60007 * sunrpc/svc_run.c (svc_run): Likewise.
60008 * sunrpc/svc_udp.c (svcudp_create): Likewise.
60010 2011-04-21 Ulrich Drepper <drepper@gmail.com>
60012 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60013 problem in reallocation in last patch.
60015 2011-04-20 Ulrich Drepper <drepper@gmail.com>
60017 * sunrpc/Makefile: Move inclusion of Rules.
60019 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60021 * nss/nss_files/files-initgroups.c: New file.
60022 * nss/Makefile (libnss_files-routines): Add files-initgroups.
60023 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60024 _nss_files_initgroups_dyn.
60026 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
60028 * elf/elf.h (R_ARM_IRELATIVE): Define.
60030 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60032 * po/ru.po: Update from translation team.
60034 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60036 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60039 2011-02-06 Mike Frysinger <vapier@gentoo.org>
60042 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60043 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60044 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60045 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60046 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60048 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
60050 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60052 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60053 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60056 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60059 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60061 * stdlib/bug-getcontext.c: New file.
60062 * stdlib/Makefile: Add rules to build and run bug-getcontext.
60064 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60066 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60067 instructions into .machine "z9-109".
60068 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60069 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60071 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60073 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60074 between environment variables and auxiliary vector.
60076 2011-04-16 Ulrich Drepper <drepper@gmail.com>
60078 * Makefile: Add rules to build linkobj/libc.so.
60079 * include/libc-symbols.h: Define libc_hidden_nolink.
60080 * include/rpc/auth.h: Mark functions which are to be hidden.
60081 * include/rpc/auth_des.h: Likewise.
60082 * include/rpc/auth_unix.h: Likewise.
60083 * include/rpc/clnt.h: Likewise.
60084 * include/rpc/des_crypt.h: Likewise.
60085 * include/rpc/key_prot.h: Likewise.
60086 * include/rpc/pmap_clnt.h: Likewise.
60087 * include/rpc/pmap_prot.h: Likewise.
60088 * include/rpc/pmap_rmt.h: Likewise.
60089 * include/rpc/rpc_msg.h: Likewise.
60090 * include/rpc/svc.h: Likewise.
60091 * include/rpc/svc_auth.h: Likewise.
60092 * include/rpc/xdr.h: Likewise.
60093 * nis/Makefile: Link all DSOs against linkobj/libc.so.
60094 * nss/Makefile: Likewise.
60095 * sunrpc/Makefile: Don't install headers. Build library with normal
60096 entry points. Don't build rpcinfo. Link RPC tests appropriately.
60097 * sunrpc/auth_des.c: Hide exported symbols by default, export some
60098 for the compat linking library. Remove use of INTDEF/INTUSE.
60099 * sunrpc/auth_none.c: Likewise.
60100 * sunrpc/auth_unix.c: Likewise.
60101 * sunrpc/authdes_prot.c: Likewise.
60102 * sunrpc/authuxprot.c: Likewise.
60103 * sunrpc/clnt_gen.c: Likewise.
60104 * sunrpc/clnt_perr.c: Likewise.
60105 * sunrpc/clnt_raw.c: Likewise.
60106 * sunrpc/clnt_simp.c: Likewise.
60107 * sunrpc/clnt_tcp.c: Likewise.
60108 * sunrpc/clnt_udp.c: Likewise.
60109 * sunrpc/clnt_unix.c: Likewise.
60110 * sunrpc/des_crypt.c: Likewise.
60111 * sunrpc/des_soft.c: Likewise.
60112 * sunrpc/get_myaddr.c: Likewise.
60113 * sunrpc/key_call.c: Likewise.
60114 * sunrpc/key_prot.c: Likewise.
60115 * sunrpc/netname.c: Likewise.
60116 * sunrpc/pm_getmaps.c: Likewise.
60117 * sunrpc/pm_getport.c: Likewise.
60118 * sunrpc/pmap_clnt.c: Likewise.
60119 * sunrpc/pmap_prot.c: Likewise.
60120 * sunrpc/pmap_prot2.c: Likewise.
60121 * sunrpc/pmap_rmt.c: Likewise.
60122 * sunrpc/publickey.c: Likewise.
60123 * sunrpc/rpc_cmsg.c: Likewise.
60124 * sunrpc/rpc_common.c: Likewise.
60125 * sunrpc/rpc_dtable.c: Likewise.
60126 * sunrpc/rpc_prot.c: Likewise.
60127 * sunrpc/rpc_thread.c: Likewise.
60128 * sunrpc/rtime.c: Likewise.
60129 * sunrpc/svc.c: Likewise.
60130 * sunrpc/svc_auth.c: Likewise.
60131 * sunrpc/svc_authux.c: Likewise.
60132 * sunrpc/svc_raw.c: Likewise.
60133 * sunrpc/svc_run.c: Likewise.
60134 * sunrpc/svc_simple.c: Likewise.
60135 * sunrpc/svc_tcp.c: Likewise.
60136 * sunrpc/svc_udp.c: Likewise.
60137 * sunrpc/svc_unix.c: Likewise.
60138 * sunrpc/svcauth_des.c: Likewise.
60139 * sunrpc/xcrypt.c: Likewise.
60140 * sunrpc/xdr.c: Likewise.
60141 * sunrpc/xdr_array.c: Likewise.
60142 * sunrpc/xdr_float.c: Likewise.
60143 * sunrpc/xdr_intXX_t.c: Likewise.
60144 * sunrpc/xdr_mem.c: Likewise.
60145 * sunrpc/xdr_rec.c: Likewise.
60146 * sunrpc/xdr_ref.c: Likewise.
60147 * sunrpc/xdr_sizeof.c: Likewise.
60148 * sunrpc/xdr_stdio.c: Likewise.
60150 2011-04-10 Ulrich Drepper <drepper@gmail.com>
60153 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60154 * sysdeps/ia64/dl-tls.h: Likewise.
60155 * sysdeps/powerpc/dl-tls.h: Likewise.
60156 * sysdeps/s390/dl-tls.h: Likewise.
60157 * sysdeps/sh/dl-tls.h: Likewise.
60158 * sysdeps/sparc/dl-tls.h: Likewise.
60159 * sysdeps/x86_64/dl-tls.h: Likewise.
60160 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60162 2011-03-14 Andreas Schwab <schwab@redhat.com>
60164 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60165 rpath element also skip the following colon.
60166 (expand_dynamic_string_token): Add is_path parameter and pass
60167 down to DL_DST_REQUIRED and _dl_dst_substitute.
60168 (decompose_rpath): Call expand_dynamic_string_token with
60169 non-zero is_path. Ignore empty rpaths.
60170 (_dl_map_object_from_fd): Call expand_dynamic_string_token
60173 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
60175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60178 2011-04-09 Ulrich Drepper <drepper@gmail.com>
60181 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60182 Patch by Filipe David Manana <fdmanana@apache.org>.
60184 2011-04-07 Andreas Schwab <schwab@redhat.com>
60186 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60187 Maintain aligned stack.
60188 (CHECK_RSP): Remove unused macro.
60190 2011-04-03 Ulrich Drepper <drepper@gmail.com>
60192 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60193 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60195 2011-04-02 Ulrich Drepper <drepper@gmail.com>
60197 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60199 * include/features.h: Mention __USE_XOPEN2K8 in comment.
60201 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
60204 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60205 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60206 * sysdeps/x86_64/memmove.c: New file.
60207 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60208 (memcpy): Renamed to ...
60209 (__new_memcpy): This.
60210 (memcpy): Provide GLIBC_2_14 memcpy.
60211 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60212 (memcpy): Provide GLIBC_2_2_5 memcpy.
60214 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60217 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60219 2011-03-30 Andreas Schwab <schwab@redhat.com>
60221 * misc/syncfs.c: New file.
60222 * misc/Makefile (routines): Add syncfs.
60223 * posix/unistd.h: Declare syncfs.
60224 * sysdeps/unix/syscalls.list: Add syncfs.
60226 2011-04-01 Andreas Schwab <schwab@redhat.com>
60228 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60230 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60231 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60232 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60233 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60235 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60236 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60238 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60240 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60241 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60242 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60243 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60244 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60246 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60248 * io/Makefile: Compile fallocate.c, fallocate64.c, and
60249 sync_file_range.c with -fexceptions.
60250 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60251 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60252 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60253 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60254 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60255 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60256 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60257 sync_file_range as cancellation point
60258 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
60259 now a wrapper around __call_sync_file_range with cancellation handling.
60260 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60261 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
60262 function name to __call_sync_file_range.
60263 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60264 Add call_sync_file_range.
60266 2011-04-01 Andreas Schwab <schwab@redhat.com>
60268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60271 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60273 * iconv/iconv.h: Fix typo in comment.
60274 * io/fcntl.h: Likewise.
60275 * libio/stdio.h: Likewise.
60276 * posix/spawn.h: Likewise.
60277 * posix/unistd.h: Likewise.
60278 * stdlib/stdlib.h: Likewise.
60279 * time/time.h: Likewise.
60280 * wcsmbs/wchar.h: Likewise.
60282 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60283 open_by_handle): Add.
60284 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60285 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
60286 Augment a few comments.
60287 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60288 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60289 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60291 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60292 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60295 * io/fcntl.h (AT_EMPTY_PATH): Define.
60297 2011-03-30 Ulrich Drepper <drepper@gmail.com>
60299 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60300 * sysdeps/unix/sysv/linux/bits/time.h: New file.
60301 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60303 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
60304 * Versions.def: Add GLIBC_2.14.
60305 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60308 2011-03-22 Ulrich Drepper <drepper@gmail.com>
60310 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60312 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60314 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
60317 * string/test-strncmp.c (do_page_test): New function.
60318 (check2): Likewise.
60319 (test_main): Call check2.
60320 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60322 2011-03-20 Ulrich Drepper <drepper@gmail.com>
60325 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60326 Handle cache information in CPU leaf 4.
60327 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60329 2011-03-18 Ulrich Drepper <drepper@gmail.com>
60332 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60333 character representation.
60334 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60336 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
60338 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60339 END(__isnan) to END(__isnanf) to match function entry point/label
60340 EALIGN(__isnanf,...).
60342 2011-03-10 Jakub Jelinek <jakub@redhat.com>
60344 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60346 2011-03-10 Ulrich Drepper <drepper@gmail.com>
60349 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60350 copy from the symbol referenced in the relocation to initialize the
60352 Patch by Piotr Bury <pbury@goahead.com>.
60353 * elf/Makefile: Add rules to build and tst-unique3.
60354 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60355 * elf/tst-unique3.cc: New file.
60356 * elf/tst-unique3.h: New file.
60357 * elf/tst-unique3lib.cc: New file.
60358 * elf/tst-unique3lib2.cc: New file.
60360 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60362 2011-03-10 Mike Frysinger <vapier@gentoo.org>
60364 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60365 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
60368 2011-03-06 Ulrich Drepper <drepper@gmail.com>
60370 * elf/dl-load.c (_dl_map_object): If we are looking for the first
60371 to-be-loaded object along a path to loader is ld.so.
60373 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60374 Ulrich Drepper <drepper@gmail.com>
60376 * sysdeps/x86_64/memset.S: After aligning destination, code
60377 branches to different locations depending on the value of
60378 misalignment, when multiarch is enabled. Fix this.
60380 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60382 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60383 Set _x86_64_preferred_memory_instruction for AMD processsors.
60384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60385 Set bit_Prefer_SSE_for_memop for AMD processors.
60387 2011-03-04 Ulrich Drepper <drepper@gmail.com>
60389 * libio/fmemopen.c (fmemopen): Optimize a bit.
60391 2011-03-03 Andreas Schwab <schwab@redhat.com>
60393 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60395 2011-03-03 Roland McGrath <roland@redhat.com>
60397 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60399 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
60401 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60402 __bzero_ultra1 instead of __memset_ultra1.
60404 2011-02-23 Andreas Schwab <schwab@redhat.com>
60405 Ulrich Drepper <drepper@gmail.com>
60408 * include/link.h (struct link_map): Add l_orig_initfini.
60409 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60410 returning unsuccessfully.
60411 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60412 close of a file loaded at startup, restore the original l_initfini
60414 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60415 list, store the pointer.
60416 * elf/Makefile ($(objpfx)noload-mem): New rule.
60417 (noload-ENV): Define.
60418 (tests): Add $(objpfx)noload-mem.
60419 * elf/noload.c: Include <memcheck.h>.
60420 (main): Call mtrace. Close all opened handles.
60422 2011-02-17 Andreas Schwab <schwab@redhat.com>
60425 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60426 dependencies are missing.
60428 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
60430 Fix __if_freereq crash: Unlike the generic version which uses free,
60432 * sysdeps/mach/hurd/ifreq.h: New file.
60434 2011-01-27 Petr Baudis <pasky@suse.cz>
60435 Ulrich Drepper <drepper@gmail.com>
60438 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60439 to extend_alloca().
60440 * stdio-common/bug23.c: New file.
60441 * stdio-common/Makefile (tests): Add bug23.
60443 2010-09-28 Andreas Schwab <schwab@redhat.com>
60444 Ulrich Drepper <drepper@gmail.com>
60447 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60448 before performing relro protection. At old place add assertion
60449 to make sure nothing changed.
60451 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
60452 Glauber de Oliveira Costa <glommer@gmail.com>
60454 * elf/elf.h: Add new ARM TLS relocs.
60456 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
60458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60459 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60461 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
60463 * sysdeps/wordsize-64/tst-writev.c: New file.
60465 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
60467 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60468 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60469 insns in _dl_start to prevent a TOC reference before relocs are
60472 2011-02-15 Ulrich Drepper <drepper@gmail.com>
60475 * Makeconfig: Remove RANLIB definition.
60476 * Makerules: Don't use RANLIB.
60477 * aclocal.m4: Remove ranlib test.
60478 * configure.in: No need to check for ranlib.
60479 * elf/rtld-Rules: Don't use RANLIB.
60481 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
60483 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60485 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60486 inclusion protection macro.
60488 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60489 SIGRTMIN and SIGRTMAX and print information in that case only when
60490 SIGRTMIN is defined.
60492 2011-02-11 Jakub Jelinek <jakub@redhat.com>
60494 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60495 arginfo fn returning -1.
60497 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60498 and thousands string is zero terminated.
60500 2011-02-03 Andreas Schwab <schwab@redhat.com>
60502 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60503 sysdeps/unix/sysv/linux/bits/socket.h.
60505 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
60507 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60508 (__CPU_COUNT): Remove old macros.
60509 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60510 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60511 (__CPU_ALLOC, __CPU_FREE): Add macros.
60512 (__sched_cpualloc, __sched_cpufree): Add declarations.
60514 2011-02-05 Ulrich Drepper <drepper@gmail.com>
60516 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60517 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60518 * nscd/aicache.c (addhstaiX): Return timeout of added value.
60519 (readdhstai): Return value of addhstaiX call.
60520 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60521 (addgrbyX): Return value returned by cache_addgr.
60522 (readdgrbyname): Return value returned by addgrbyX.
60523 (readdgrbygid): Likewise.
60524 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60525 (addpwbyX): Return value returned by cache_addpw.
60526 (readdpwbyname): Return value returned by addhstbyX.
60527 (readdpwbyuid): Likewise.
60528 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60529 (addservbyX): Return value returned by cache_addserv.
60530 (readdservbyname): Return value returned by addservbyX:
60531 (readdservbyport): Likewise.
60532 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60533 (addhstbyX): Return value returned by cache_addhst.
60534 (readdhstbyname): Return value returned by addhstbyX.
60535 (readdhstbyaddr): Likewise.
60536 (readdhstbynamev6): Likewise.
60537 (readdhstbyaddrv6): Likewise.
60538 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60539 (readdinitgroups): Return value returned by addinitgroupsX.
60540 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60541 (prune_cache): Keep track of timeout value of re-added entries.
60542 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60543 * nscd/nscd.h: Adjust prototypes of readd* functions.
60545 2011-02-04 Roland McGrath <roland@redhat.com>
60547 * nis/nis_server.c (nis_servstate): Use the right name for 0.
60548 (nis_stats): Likewise.
60549 * nis/nis_modify.c (nis_modify): Likewise.
60550 * nis/nis_remove.c (nis_remove): Likewise.
60551 * nis/nis_add.c (nis_add): Likewise.
60553 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60555 * posix/fnmatch_loop.c: Add some consts.
60557 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60559 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
60562 * config.make.in (config-cflags-novzeroupper): Define.
60563 * configure.in: Substitute libc_cv_cc_novzeroupper.
60564 * elf/Makefile (AVX-CFLAGS): Define.
60565 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60566 (CFLAGS-tst-auditmod4a.c): Likewise.
60567 (CFLAGS-tst-auditmod4b.c): Likewise.
60568 (CFLAGS-tst-auditmod6b.c): Likewise.
60569 (CFLAGS-tst-auditmod6c.c): Likewise.
60570 (CFLAGS-tst-auditmod7b.c): Likewise.
60571 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60573 2011-02-02 Ulrich Drepper <drepper@gmail.com>
60575 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60576 function to the callback.
60577 Patch partly by Jiri Olsa <jolsa@redhat.com>.
60579 2011-02-02 Andreas Schwab <schwab@redhat.com>
60581 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60584 2011-01-19 Ulrich Drepper <drepper@gmail.com>
60587 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60589 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60591 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60594 * elf/Makefile: Add rules to build and run new test.
60595 * elf/tst-initorder.c: New file.
60596 * elf/tst-initorder.exp: New file.
60597 * elf/tst-initordera1.c: New file.
60598 * elf/tst-initordera2.c: New file.
60599 * elf/tst-initordera3.c: New file.
60600 * elf/tst-initordera4.c: New file.
60601 * elf/tst-initorderb1.c: New file.
60602 * elf/tst-initorderb2.c: New file.
60603 * elf/tst-order-a1.c: New file.
60604 * elf/tst-order-a2.c: New file.
60605 * elf/tst-order-a3.c: New file.
60606 * elf/tst-order-a4.c: New file.
60607 * elf/tst-order-b1.c: New file.
60608 * elf/tst-order-b2.c: New file.
60609 * elf/tst-order-main.c: New file.
60610 New test case by George Gensure <werkt0@gmail.com>.
60612 2010-10-01 Andreas Schwab <schwab@redhat.com>
60614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60615 decoding ACE if AI_CANONIDN.
60617 2011-01-18 Ulrich Drepper <drepper@gmail.com>
60619 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60621 2011-01-17 Ulrich Drepper <drepper@gmail.com>
60623 * version.h (RELEASE): Bump for 2.13 release.
60624 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60626 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60628 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60630 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60631 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60632 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60633 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60634 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60635 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60637 * posix/getconf.c: Update copyright year.
60638 * catgets/gencat.c: Likewise.
60639 * csu/version.c: Likewise.
60640 * debug/catchsegv.sh: Likewise.
60641 * debug/xtrace.sh: Likewise.
60642 * elf/ldconfig.c: Likewise.
60643 * elf/ldd.bash.in: Likewise.
60644 * elf/sprof.c (print_version): Likewise.
60645 * iconv/iconv_prog.c: Likewise.
60646 * iconv/iconvconfig.c: Likewise.
60647 * locale/programs/locale.c: Likewise.
60648 * locale/programs/localedef.c: Likewise.
60649 * malloc/memusage.sh: Likewise.
60650 * malloc/mtrace.pl: Likewise.
60651 * nscd/nscd.c (print_version): Likewise.
60652 * nss/getent.c: Likewise.
60654 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60655 PF_CAIF, and PF_ALG.
60656 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60658 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
60660 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60661 (modules-names): Use them.
60662 (ifunc-test-modules, ifunc-pie-tests): Define.
60663 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60664 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60665 (test-extras): Likewise.
60666 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60667 $(compile-command.c).
60668 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60669 (all-built-dso): Define.
60670 (check-textrel.out, check-execstack.out): Depend on it.
60672 * configure.in: Don't override --enable-multi-arch.
60674 2011-01-15 Ulrich Drepper <drepper@gmail.com>
60677 * nscd/hstcache.c (tryagain): Define.
60678 (cache_addhst): Return tryagain not notfound for temporary errors.
60679 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60682 2011-01-14 Ulrich Drepper <drepper@gmail.com>
60685 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60686 to make the syscall.
60687 * sysdeps/unix/sysv/linux/setgroups.c: New file.
60690 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60691 and fall back to matching as normal character if the string ends before
60692 the matching ']' is found. This is what POSIX requires.
60693 * posix/testfnm.c: Adjust test result.
60694 * posix/globtest.sh: Adjust test result. Add new test.
60695 * posix/tst-fnmatch.input: Likewise.
60696 * posix/tst-fnmatch2.c: Add new test.
60698 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
60700 * elf/Makefile (check-execstack): Revert last change. Depend on
60702 (check-execstack.h): New target.
60703 (generated): Add check-execstack.h.
60704 * elf/check-execstack.c: Include "check-execstack.h".
60705 (main): Revert last change.
60706 (handle_file): Return zero if GNU_STACK is absent and
60707 DEFAULT_STACK_PERMS doesn't include PF_X.
60709 2011-01-13 Ulrich Drepper <drepper@gmail.com>
60711 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60712 in child fails because the descriptor is already closed.
60713 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60714 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60715 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60718 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60722 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60723 temporary buffer used to handle multi lookups locally.
60724 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60726 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60728 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60731 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
60733 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60734 alignment for SSE2.
60736 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60739 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60740 characters. When rounding increased number of integer digits recompute
60742 * stdio-common/tst-grouping.c: New file.
60743 * stdio-common/Makefile: Add rules to build and run tst-grouping.
60745 2011-01-09 Ulrich Drepper <drepper@gmail.com>
60747 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60748 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
60750 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60752 * bits/select.h: Likewise.
60754 2011-01-08 Ulrich Drepper <drepper@gmail.com>
60756 * po/ja.po: Update from translation team.
60758 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
60761 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60762 implementation just like for lxstat, fxstatat, et al.
60764 2010-12-27 Jim Meyering <meyering@redhat.com>
60767 * posix/regexec.c (build_trtable): Return failure indication upon
60768 calloc failure. Otherwise, re_search_internal could infloop on OOM.
60770 2010-12-25 Ulrich Drepper <drepper@gmail.com>
60773 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60774 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60775 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60776 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60779 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60782 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60783 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60785 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
60787 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60788 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60789 script has SORT_BY_INIT_PRIORITY.
60790 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60791 NO_CTORS_DTORS_SECTIONS is defined.
60792 * elf/soinit.c: Likewise.
60793 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60794 NO_CTORS_DTORS_SECTIONS is defined.
60795 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60796 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60797 * sysdeps/sh/init-first.c: Likewise.
60798 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60800 2010-12-24 Ulrich Drepper <drepper@gmail.com>
60802 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60803 always use the slow path.
60805 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
60807 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60808 similar rule which adds the sysdep directories to the header search in
60809 order to pick up the correct platform stackinfo.h.
60810 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60811 perform test if it is, otherwise return successfully without testing.
60812 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60813 DEFAULT_STACK_PERMS define in stackinfo.h.
60814 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60815 defined in stackinfo.h.
60816 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60817 DEFAULT_STACK_PERMS defined in stackinfo.h.
60818 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60819 * sysdeps/ia64/stackinfo.h: Likewise.
60820 * sysdeps/s390/stackinfo.h: Likewise.
60821 * sysdeps/sh/stackinfo.h: Likewise.
60822 * sysdeps/sparc/stackinfo.h: Likewise.
60823 * sysdeps/x86_64/stackinfo.h: Likewise.
60824 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60825 PF_X for powerpc64. Retain PF_X for powerpc32.
60827 2010-12-19 Ulrich Drepper <drepper@gmail.com>
60829 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60831 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60832 GETDENTS_64BIT_ALIGNED.
60834 2010-12-14 Ulrich Drepper <dreper@gmail.com>
60836 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60838 2010-12-10 Andreas Schwab <schwab@redhat.com>
60840 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60843 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60844 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60846 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60847 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60849 2010-12-09 Ulrich Drepper <drepper@gmail.com>
60852 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60855 2010-12-09 Jakub Jelinek <jakub@redhat.com>
60857 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60859 2010-12-03 Ulrich Drepper <drepper@gmail.com>
60861 * po/it.po: Update from translation team.
60863 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
60865 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60868 2010-11-30 Ulrich Drepper <drepper@gmail.com>
60870 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60872 2010-11-24 Andreas Schwab <schwab@redhat.com>
60874 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60876 (gaih_getanswer_slice): Likewise.
60878 2010-10-20 Jakub Jelinek <jakub@redhat.com>
60880 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60882 2010-05-31 Petr Baudis <pasky@suse.cz>
60885 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60886 silently even in the chroot mode.
60888 2010-11-22 Ulrich Drepper <drepper@gmail.com>
60890 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60891 last patch a bit. Pretty printing
60893 2010-05-31 Petr Baudis <pasky@suse.cz>
60896 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60897 initialization of skip_initgroups_dyn.
60899 2010-11-19 Ulrich Drepper <drepper@gmail.com>
60901 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60902 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60904 2010-11-16 Ulrich Drepper <drepper@gmail.com>
60906 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60908 2010-11-11 Andreas Schwab <schwab@redhat.com>
60910 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60911 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60912 (tst-fnmatch-ENV): Set MALLOC_TRACE.
60913 ($(objpfx)tst-fnmatch-mem): New rule.
60914 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60915 * posix/tst-fnmatch.c (main): Call mtrace.
60917 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
60919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60920 Support Intel processor model 6 and model 0x2c.
60922 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
60924 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60927 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
60930 * string/test-strncasecmp.c (check_result): New function.
60931 (do_one_test): Use it.
60932 (check1): New function.
60933 (test_main): Use it.
60934 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60935 Support strcasecmp and strncasecmp.
60937 2010-11-08 Ulrich Drepper <drepper@gmail.com>
60940 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60941 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60943 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
60945 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60949 * sysdeps/x86_64/multiarch/bzero.S: New file.
60950 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60951 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60952 * sysdeps/x86_64/multiarch/memset.S: New file.
60953 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60955 Set bit_Prefer_SSE_for_memop for Intel processors.
60956 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60958 (index_Prefer_SSE_for_memop): Define.
60959 (HAS_PREFER_SSE_FOR_MEMOP): Define.
60961 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
60963 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60964 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60966 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
60969 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60970 (__x86_64_raw_data_cache_size_half): Likewise.
60971 (__x86_64_raw_shared_cache_size): Likewise.
60972 (__x86_64_raw_shared_cache_size_half): Likewise.
60974 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60975 (__x86_64_raw_data_cache_size_half): Likewise.
60976 (__x86_64_raw_shared_cache_size): Likewise.
60977 (__x86_64_raw_shared_cache_size_half): Likewise.
60978 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60979 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60980 and __x86_64_raw_shared_cache_size_half. Round
60981 __x86_64_data_cache_size_half, __x86_64_data_cache_size
60982 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60983 to multiple of 256 bytes.
60985 2010-11-03 Ulrich Drepper <drepper@gmail.com>
60988 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60989 of inacessible symlinks. Verify result of symlink before returning it.
60990 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60991 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60993 2010-10-28 Erich Ritz <erichritz@gmail.com>
60995 * math/math.h (isinf): Fix typo in comment.
60997 2010-11-01 Ulrich Drepper <drepper@gmail.com>
60999 * po/da.po: Update from translation team.
61001 2010-10-26 Ulrich Drepper <drepper@gmail.com>
61003 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61004 is added to the list.
61006 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61007 Ulrich Drepper <drepper@gmail.com>
61009 * elf/dl-object.c (_dl_new_object): Don't append the new object to
61010 the global list here. Move code to...
61011 (_dl_add_to_namespace_list): ...here. New function.
61012 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61013 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61014 * elf/dl-load.c (lose): Don't remove the element from the list.
61015 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61016 (_dl_map_object): Likewise.
61018 2010-10-25 Ulrich Drepper <drepper@gmail.com>
61021 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61022 into all bytes of SSE register.
61023 Patch by Richard Li <richardpku@gmail.com>.
61025 2010-10-24 Ulrich Drepper <drepper@gmail.com>
61028 * malloc/malloc.c (_int_free): Fill correct number of bytes when
61031 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
61033 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61034 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61035 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61036 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61041 2010-10-22 Andreas Schwab <schwab@redhat.com>
61043 * include/dlfcn.h (__RTLD_SECURE): Define.
61044 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
61045 mode & __RTLD_SECURE instead.
61046 (open_path): Rename preloaded parameter to secure.
61047 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61048 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61049 * elf/dl-deps.c (openaux): Likewise.
61050 * elf/rtld.c (struct map_args): Remove is_preloaded.
61051 (map_doit): Don't use it.
61052 (dl_main): Likewise.
61053 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61054 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61056 2010-09-09 Andreas Schwab <schwab@redhat.com>
61058 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61059 (sysd-rules-targets): Remove duplicates.
61060 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61061 rtld-%.$o dependency.
61063 2010-10-18 Andreas Schwab <schwab@redhat.com>
61065 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61066 _dl_map_object do it.
61068 2010-10-19 Ulrich Drepper <drepper@gmail.com>
61070 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61071 fast fma builtins, define the macros in the C99 standard.
61072 (FP_FAST_FMAF): Likewise.
61073 (FP_FAST_FMAL): Likewise.
61074 * sysdeps/x86_64/bits/mathdef.h: Likewise.
61076 * bits/mathdef.h: Update copyright year.
61077 * sysdeps/powerpc/bits/mathdef.h: Likewise.
61079 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
61081 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61082 builtins, define the macros in the C99 standard.
61083 (FP_FAST_FMAF): Likewise.
61084 (FP_FAST_FMAL): Likewise.
61085 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61087 (FP_FAST_FMAF): Likewise.
61089 2010-10-15 Jakub Jelinek <jakub@redhat.com>
61092 * math/libm-test.inc (fma_test): Some new testcases.
61093 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61094 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61095 y and infinite z. Do multiplication by C already in long double.
61096 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61097 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61098 y and infinite z. Do bitwise or of inexact bit into u.d.
61099 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61100 * sysdeps/i386/fpu/s_fmaf.S: Removed.
61101 * sysdeps/i386/fpu/s_fma.S: Removed.
61102 * sysdeps/i386/fpu/s_fmal.S: Removed.
61104 2010-10-16 Jakub Jelinek <jakub@redhat.com>
61107 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61108 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61109 computation is not scheduled after fetestexcept. Fix value
61110 of minimum denormal long double.
61112 2010-10-14 Jakub Jelinek <jakub@redhat.com>
61115 * math/libm-test.inc (fma_test): Add some more tests.
61116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61119 2010-10-15 Andreas Schwab <schwab@redhat.com>
61121 * scripts/data/localplt-s390-linux-gnu.data: New file.
61122 * scripts/data/localplt-s390x-linux-gnu.data: New file.
61124 2010-10-13 Jakub Jelinek <jakub@redhat.com>
61127 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61128 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61130 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61132 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61134 if one of x and y is very large and the other is subnormal.
61135 * sysdeps/s390/fpu/s_fmaf.c: New file.
61136 * sysdeps/s390/fpu/s_fma.c: New file.
61137 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61138 * sysdeps/powerpc/fpu/s_fma.S: New file.
61139 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61140 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61141 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61143 2010-10-12 Jakub Jelinek <jakub@redhat.com>
61146 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61148 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61149 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61150 * sysdeps/i386/i686/multiarch/s_fma.c: Include
61151 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61152 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61153 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61154 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61156 2010-10-12 Ulrich Drepper <drepper@redhat.com>
61159 * posix/regcomp.c (parse_branch): One more memory leak plugged.
61160 * posix/bug-regex31.input: Add test case.
61162 2010-10-11 Ulrich Drepper <drepper@gmail.com>
61164 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61165 * posix/bug-regex31.input: New file.
61168 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61169 (parse_sub_exp): Fix last change, use postorder.
61171 * posix/bug-regex31.c: New file.
61172 * posix/Makefile: Add rules to build and run bug-regex31.
61174 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61177 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61180 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61181 to have entries in sys_siglist.
61184 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61187 2010-10-07 Jakub Jelinek <jakub@redhat.com>
61190 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61191 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61192 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61193 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61194 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61195 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61196 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61197 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61198 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61199 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61200 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61201 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61202 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61203 * math/ftestexcept.c (fetestexcept): Likewise.
61204 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61205 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61206 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61207 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61208 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61209 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61210 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61212 2010-10-11 Ulrich Drepper <drepper@gmail.com>
61215 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61218 2010-10-06 Ulrich Drepper <drepper@gmail.com>
61220 * string/bug-strstr1.c: New file.
61221 * string/Makefile: Add rules to build and run bug-strstr1.
61223 2010-10-05 Eric Blake <eblake@redhat.com>
61226 * string/str-two-way.h (two_way_long_needle): Always clear memory
61227 when skipping input due to the shift table.
61229 2010-10-03 Ulrich Drepper <drepper@gmail.com>
61232 * malloc/mcheck.c: Handle large requests.
61235 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61236 for strncmp and strncasecmp.
61237 * string/stratcliff.c: Add tests for strcmp and strncmp.
61238 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61240 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61242 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61245 2010-09-30 Andreas Jaeger <aj@suse.de>
61247 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61248 (CGROUP_SUPER_MAGIC): Define.
61249 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61250 Handle btrfs and cgroup file systems.
61251 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61254 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
61256 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61257 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61259 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61262 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61263 trying to locate the ELF header.
61265 2010-09-27 Andreas Schwab <schwab@redhat.com>
61268 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61269 Mask out sign-bit copies when constructing f_fsid.
61271 2010-09-24 Petr Baudis <pasky@suse.cz>
61273 * debug/stack_chk_fail_local.c: Add missing licence exception.
61274 * debug/warning-nop.c: Likewise.
61276 2010-09-15 Joseph Myers <joseph@codesourcery.com>
61278 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61279 implementing getdents64 using getdents syscall, set d_type if
61280 __ASSUME_GETDENTS32_D_TYPE.
61282 2010-09-16 Andreas Schwab <schwab@redhat.com>
61284 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61285 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61287 2010-09-21 Ulrich Drepper <drepper@redhat.com>
61290 * posix/unistd.h: Undo change of feature selection for ftruncate from
61293 2010-09-20 Ulrich Drepper <drepper@redhat.com>
61295 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61298 2010-09-20 Andreas Schwab <schwab@redhat.com>
61300 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61302 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61304 2010-09-14 Andreas Schwab <schwab@redhat.com>
61306 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61307 variables after CHECK_SP call.
61308 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61310 2010-09-13 Andreas Schwab <schwab@redhat.com>
61311 Ulrich Drepper <drepper@redhat.com>
61313 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61314 re-relocationg ld.so.
61315 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61316 _dl_init_paths call.
61317 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
61320 2010-09-14 Ulrich Drepper <drepper@redhat.com>
61322 * resolv/res_init.c (__res_vinit): Count the default server we added.
61324 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
61325 Ulrich Drepper <drepper@redhat.com>
61328 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61329 (____longjmp_chk): Use %ebx for saving value across system call.
61332 2010-09-06 Andreas Schwab <schwab@redhat.com>
61334 * manual/Makefile: Don't mix pattern rules with normal rules.
61336 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
61338 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61340 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61341 * libio/iofopncook.c (_IO_cookie_init): Likewise.
61342 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61343 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61344 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61347 2010-09-04 Ulrich Drepper <drepper@redhat.com>
61350 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61351 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61353 2010-09-02 Ulrich Drepper <drepper@redhat.com>
61355 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61356 * sysdeps/x86_64/addmul_1.S: Likewise.
61357 * sysdeps/x86_64/lshift.S: Likewise.
61358 * sysdeps/x86_64/mul_1.S: Likewise.
61359 * sysdeps/x86_64/rshift.S: Likewise.
61360 * sysdeps/x86_64/sub_n.S: Likewise.
61361 * sysdeps/x86_64/submul_1.S: Likewise.
61363 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
61365 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61366 Define __sched_param instead of SCHED_* and sched_param when
61367 <bits/sched.h> is included with __need_schedparam defined.
61368 * bits/sched.h [__need_schedparam]
61369 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61370 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61371 (__defined_schedparam): Define to 1.
61372 (__sched_param): New structure, identical to sched_param.
61373 (__need_schedparam): Undefine.
61375 2010-08-31 Mike Frysinger <vapier@gentoo.org>
61377 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61378 (epoll_create1): Declare.
61380 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61382 2010-08-31 Andreas Schwab <schwab@redhat.com>
61385 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61386 shifting retval into place.
61388 2010-09-01 Ulrich Drepper <drepper@redhat.com>
61390 * nis/rpcsvc/nis.h: Update copyright notice.
61391 * nis/rpcsvc/nis.x: Likewise.
61392 * nis/rpcsvc/nis_callback.h: Likewise.
61393 * nis/rpcsvc/nis_callback.x: Likewise.
61394 * nis/rpcsvc/nis_object.x: Likewise.
61395 * nis/rpcsvc/nis_tags.h: Likewise.
61396 * nis/rpcsvc/yp.h: Likewise.
61397 * nis/rpcsvc/yp.x: Likewise.
61398 * nis/rpcsvc/ypupd.h: Likewise.
61399 * nis/yp_xdr.c: Likewise.
61400 * nis/ypupdate_xdr.c: Likewise.
61402 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
61403 mainly the body of pmap_getport. Add parameters to specify timeouts.
61404 (pmap_getport): Use __libc_rpc_getport.
61405 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61406 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61407 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61409 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
61411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61414 2010-08-27 Roland McGrath <roland@redhat.com>
61416 * sysdeps/i386/i686/multiarch/Makefile
61417 (CFLAGS-varshift.c): New variable.
61419 2010-08-27 Ulrich Drepper <drepper@redhat.com>
61421 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61422 * sysdeps/i386/i686/multiarch/varshift.c: New file.
61424 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61426 * sysdeps/x86_64/strlen.S: Minimal code improvement.
61428 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
61430 * sysdeps/x86_64/strlen.S: Unroll the loop.
61431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61432 strlen-sse2 strlen-sse2-bsf.
61433 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61434 __strlen_no_bsf if bit_Slow_BSF is set.
61435 (__strlen_sse42): Removed.
61436 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61437 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61439 2010-08-25 Roland McGrath <roland@redhat.com>
61441 * sysdeps/x86_64/multiarch/varshift.S: File removed.
61442 * sysdeps/x86_64/multiarch/varshift.c: New file.
61443 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61444 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61445 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61446 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61448 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
61450 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61451 strlen-sse2 strlen-sse2-bsf.
61452 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61453 __strlen_sse2_bsf if bit_Slow_BSF is unset.
61454 (__strlen_sse2): Removed.
61455 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61456 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61458 bit_Slow_BSF for Atom.
61459 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61460 (index_Slow_BSF): Define.
61461 (HAS_SLOW_BSF): Define.
61463 2010-08-25 Ulrich Drepper <drepper@redhat.com>
61466 * resolv/res_init.c (__res_vinit): When no server address at all
61467 is given default to loopback.
61469 2010-08-24 Roland McGrath <roland@redhat.com>
61471 * configure.in: Remove config-name.h generation.
61472 * configure: Regenerated.
61473 * config-name.in: File removed.
61474 * scripts/config-uname.sh: New file.
61475 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61476 ($(objdir)config-name.h): New target.
61478 * sunrpc/rpc_parse.h: Avoid nested comment.
61480 2010-08-24 Richard Henderson <rth@redhat.com>
61481 Ulrich Drepper <drepper@redhat.com>
61482 H.J. Lu <hongjiu.lu@intel.com>
61484 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61486 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61487 Replace _mm_srli_si128 with __m128i_shift_right. Replace
61488 _mm_alignr_epi8 with _mm_loadu_si128.
61489 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61490 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61491 (__m128i_shift_right): Removed.
61492 * sysdeps/i386/i686/multiarch/varshift.h: New file.
61493 * sysdeps/i386/i686/multiarch/varshift.S: New file.
61494 * sysdeps/x86_64/multiarch/varshift.h: New file.
61495 * sysdeps/x86_64/multiarch/varshift.S: New file.
61497 2010-08-21 Mike Frysinger <vapier@gentoo.org>
61499 * configure.in: Move assembler checks to before sysdep dir checking.
61501 2010-08-20 Petr Baudis <pasky@suse.cz>
61503 * LICENSES: Sync the sunrpc license.
61505 2010-08-19 Ulrich Drepper <drepper@redhat.com>
61507 * sunrpc/auth_des.c: Update copyright notice once again.
61508 * sunrpc/auth_none.c: Likewise.
61509 * sunrpc/auth_unix.c: Likewise.
61510 * sunrpc/authdes_prot.c: Likewise.
61511 * sunrpc/authuxprot.c: Likewise.
61512 * sunrpc/bindrsvprt.c: Likewise.
61513 * sunrpc/clnt_gen.c: Likewise.
61514 * sunrpc/clnt_perr.c: Likewise.
61515 * sunrpc/clnt_raw.c: Likewise.
61516 * sunrpc/clnt_simp.c: Likewise.
61517 * sunrpc/clnt_tcp.c: Likewise.
61518 * sunrpc/clnt_udp.c: Likewise.
61519 * sunrpc/clnt_unix.c: Likewise.
61520 * sunrpc/des_crypt.c: Likewise.
61521 * sunrpc/des_soft.c: Likewise.
61522 * sunrpc/get_myaddr.c: Likewise.
61523 * sunrpc/getrpcport.c: Likewise.
61524 * sunrpc/key_call.c: Likewise.
61525 * sunrpc/key_prot.c: Likewise.
61526 * sunrpc/openchild.c: Likewise.
61527 * sunrpc/pm_getmaps.c: Likewise.
61528 * sunrpc/pm_getport.c: Likewise.
61529 * sunrpc/pmap_clnt.c: Likewise.
61530 * sunrpc/pmap_prot.c: Likewise.
61531 * sunrpc/pmap_prot2.c: Likewise.
61532 * sunrpc/pmap_rmt.c: Likewise.
61533 * sunrpc/rpc/auth.h: Likewise.
61534 * sunrpc/rpc/auth_unix.h: Likewise.
61535 * sunrpc/rpc/clnt.h: Likewise.
61536 * sunrpc/rpc/des_crypt.h: Likewise.
61537 * sunrpc/rpc/key_prot.h: Likewise.
61538 * sunrpc/rpc/netdb.h: Likewise.
61539 * sunrpc/rpc/pmap_clnt.h: Likewise.
61540 * sunrpc/rpc/pmap_prot.h: Likewise.
61541 * sunrpc/rpc/pmap_rmt.h: Likewise.
61542 * sunrpc/rpc/rpc.h: Likewise.
61543 * sunrpc/rpc/rpc_des.h: Likewise.
61544 * sunrpc/rpc/rpc_msg.h: Likewise.
61545 * sunrpc/rpc/svc.h: Likewise.
61546 * sunrpc/rpc/svc_auth.h: Likewise.
61547 * sunrpc/rpc/types.h: Likewise.
61548 * sunrpc/rpc/xdr.h: Likewise.
61549 * sunrpc/rpc_clntout.c: Likewise.
61550 * sunrpc/rpc_cmsg.c: Likewise.
61551 * sunrpc/rpc_common.c: Likewise.
61552 * sunrpc/rpc_cout.c: Likewise.
61553 * sunrpc/rpc_dtable.c: Likewise.
61554 * sunrpc/rpc_hout.c: Likewise.
61555 * sunrpc/rpc_main.c: Likewise.
61556 * sunrpc/rpc_parse.c: Likewise.
61557 * sunrpc/rpc_parse.h: Likewise.
61558 * sunrpc/rpc_prot.c: Likewise.
61559 * sunrpc/rpc_sample.c: Likewise.
61560 * sunrpc/rpc_scan.c: Likewise.
61561 * sunrpc/rpc_scan.h: Likewise.
61562 * sunrpc/rpc_svcout.c: Likewise.
61563 * sunrpc/rpc_tblout.c: Likewise.
61564 * sunrpc/rpc_util.c: Likewise.
61565 * sunrpc/rpc_util.h: Likewise.
61566 * sunrpc/rpcinfo.c: Likewise.
61567 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61568 * sunrpc/rpcsvc/key_prot.x: Likewise.
61569 * sunrpc/rpcsvc/klm_prot.x: Likewise.
61570 * sunrpc/rpcsvc/mount.x: Likewise.
61571 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61572 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61573 * sunrpc/rpcsvc/rex.x: Likewise.
61574 * sunrpc/rpcsvc/rstat.x: Likewise.
61575 * sunrpc/rpcsvc/rusers.x: Likewise.
61576 * sunrpc/rpcsvc/sm_inter.x: Likewise.
61577 * sunrpc/rpcsvc/spray.x: Likewise.
61578 * sunrpc/rpcsvc/yppasswd.x: Likewise.
61579 * sunrpc/rtime.c: Likewise.
61580 * sunrpc/svc.c: Likewise.
61581 * sunrpc/svc_auth.c: Likewise.
61582 * sunrpc/svc_authux.c: Likewise.
61583 * sunrpc/svc_raw.c: Likewise.
61584 * sunrpc/svc_run.c: Likewise.
61585 * sunrpc/svc_simple.c: Likewise.
61586 * sunrpc/svc_tcp.c: Likewise.
61587 * sunrpc/svc_udp.c: Likewise.
61588 * sunrpc/svc_unix.c: Likewise.
61589 * sunrpc/svcauth_des.c: Likewise.
61590 * sunrpc/xcrypt.c: Likewise.
61591 * sunrpc/xdr.c: Likewise.
61592 * sunrpc/xdr_array.c: Likewise.
61593 * sunrpc/xdr_float.c: Likewise.
61594 * sunrpc/xdr_mem.c: Likewise.
61595 * sunrpc/xdr_rec.c: Likewise.
61596 * sunrpc/xdr_ref.c: Likewise.
61597 * sunrpc/xdr_sizeof.c: Likewise.
61598 * sunrpc/xdr_stdio.c: Likewise.
61600 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61603 2010-08-19 Andreas Schwab <schwab@redhat.com>
61605 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61607 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
61609 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61610 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61611 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61612 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61613 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61614 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61615 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61616 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61617 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61618 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61619 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61620 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61621 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61622 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61624 2010-07-26 Anton Blanchard <anton@samba.org>
61626 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61627 * malloc/arena.c (heap_trim): Likewise.
61629 2010-08-16 Ulrich Drepper <drepper@redhat.com>
61631 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61633 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61634 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61636 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
61638 * sysdeps/i386/elf/Makefile: New file.
61640 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61642 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61643 from fanotify_init.
61644 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61645 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61647 2010-08-15 Ulrich Drepper <drepper@redhat.com>
61649 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61651 * sysdeps/multiarch/strcmp.S: Likewise.
61653 2010-08-14 Ulrich Drepper <drepper@redhat.com>
61655 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61656 strncase_l-nonascii.
61657 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61658 Add strncase_l-ssse3.
61659 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61660 * sysdeps/x86_64/strcmp.S: Likewise.
61661 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61662 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61663 * sysdeps/x86_64/strncase.S: New file.
61664 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61665 * sysdeps/x86_64/strncase_l.S: New file.
61666 * string/Makefile (strop-tests): Add strncasecmp.
61667 * string/test-strncasecmp.c: New file.
61669 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61672 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61673 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61675 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61677 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61679 2010-08-12 Ulrich Drepper <drepper@redhat.com>
61681 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61682 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61683 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61685 2010-05-01 Alan Modra <amodra@gmail.com>
61687 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61688 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61689 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61690 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61691 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61692 tidying. Don't tail-call __sigjmp_save for static lib.
61693 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61695 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61696 (CALL_MCOUNT): Add eh info, and nop after bl.
61697 (TAIL_CALL_SYSCALL_ERROR): New macro.
61698 (PSEUDO_RET): Use it.
61699 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61700 Correct save location of integer regs and cr.
61701 (_dl_profile_resolve): Correct cr save location. Delete nops
61702 after bl when SHARED. Reduce cfi size a little by better
61703 placement of cfi directives.
61704 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61705 make a stack frame. Instead use parm save area as a temp.
61706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61707 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
61708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61709 Don't make a stack frame for parent, use parm save area.
61710 Increase child stack frame to 112 bytes. Don't save unused reg,
61711 and adjust reg usage. Set up cfi on error recovery and
61712 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61714 (__makecontext): Add dummy nop after jump to exit.
61715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61716 Use correct parm save area and cr save, reduce stack frame.
61717 Correct cfi for possible PSEUDO_RET frame setup.
61718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61719 Branch to local label emitted by PSEUDO_RET rather than
61722 2010-08-12 Andreas Schwab <schwab@redhat.com>
61725 * locale/programs/locale.c (print_assignment): New function.
61726 (show_locale_vars): Use it.
61728 2010-08-11 Ulrich Drepper <drepper@redhat.com>
61730 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61732 (struct statfs64): Likewise.
61733 (_STATFS_F_FLAGS): Define.
61734 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61735 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61736 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61737 (ST_VALID): Define locally.
61738 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61739 __statvfs_getflags, use the provided value.
61740 * sysdeps/unix/sysv/linux/kernel-features.h: Define
61741 __ASSUME_STATFS_F_FLAGS.
61743 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61745 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61746 Add sys/fanotify.h.
61747 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61748 fanotify_mask for GLIBC_2.13.
61749 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61750 fanotify_init and fanotify_mark.
61751 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61752 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61754 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61756 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61757 prlimit64 for GLIBC_2.13.
61758 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61760 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61763 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61764 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61765 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61766 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
61768 * sysdeps/unix/sysv/linux/prlimit.c: New file.
61771 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61772 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61774 * nss/Makefile: Add rules to build and run tst-nss-test1.
61775 * shlib-versions: Add entry for libnss_test1.
61776 * nss/nss_test1.c: New file.
61777 * nss/tst-nss-test1.c: New file.
61779 * nss/nsswitch.c (__nss_database_custom): Define new variable.
61780 (__nss_configure_lookup): Set appropriate entry in
61781 __nss_configure_lookup to true.
61782 * nss/nsswitch.h: Define enum with indeces of databases in
61783 databases and __nss_database_custom arrays. Declare
61784 __nss_database_custom.
61785 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61786 to avoid using nscd when custom rules are installed.
61787 * nss/getXXbyYY_r.c: Likewise.
61788 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61790 * nss/nss_files/files-parse.c: Whitespace fixes.
61792 2010-08-09 Ulrich Drepper <drepper@redhat.com>
61795 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61796 * posix/fnmatch_loop.c: Likewise.
61798 2010-07-17 Andi Kleen <ak@linux.intel.com>
61800 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61801 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61802 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61803 * Versions.def [GLIBC_2.13]: Add.
61805 2010-08-06 Ulrich Drepper <drepper@redhat.com>
61807 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61808 Also fail if tpwd after pwuid call is NULL.
61810 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
61812 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61813 when converting to ms.
61815 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61817 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61818 EOPNOTSUPP errors with ENOTTY.
61819 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61820 EOPNOTSUPP errors with ENOTTY.
61822 2010-07-31 Ulrich Drepper <drepper@redhat.com>
61824 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61825 Add strcasecmp_l-ssse3.
61826 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61828 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61829 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61830 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61832 2010-07-30 Ulrich Drepper <drepper@redhat.com>
61834 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61836 * string/Makefile (strop-tests): Add strcasecmp.
61837 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61838 strcasecmp_l-nonascii.
61839 (gen-as-const-headers): Add locale-defines.sym.
61840 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61841 * sysdeps/x86_64/strcasecmp.S: New file.
61842 * sysdeps/x86_64/strcasecmp_l.S: New file.
61843 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61844 * sysdeps/x86_64/locale-defines.sym: New file.
61845 * string/test-strcasecmp.c: New file.
61847 * string/test-strcasestr.c: Test both ends of the range of characters.
61848 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61850 2010-07-29 Roland McGrath <roland@redhat.com>
61853 * manual/locale.texi (Yes-or-No Questions): Fix example code.
61855 2010-07-27 Ulrich Drepper <drepper@redhat.com>
61857 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61860 2010-07-27 Andreas Schwab <schwab@redhat.com>
61862 * manual/memory.texi (Malloc Tunable Parameters): Document
61865 2010-07-26 Roland McGrath <roland@redhat.com>
61868 * configure.in (-fgnu89-inline check): Set and substitute
61869 gnu89_inline, not libc_cv_gnu89_inline.
61870 * configure: Regenerated.
61871 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61873 2010-07-26 Ulrich Drepper <drepper@redhat.com>
61875 * string/test-strnlen.c: New file.
61876 * string/Makefile (strop-tests): Add strnlen.
61877 * string/tester.c (test_strnlen): Add a few more test cases.
61878 * string/tst-strlen.c: Better error reporting.
61880 * sysdeps/x86_64/strnlen.S: New file.
61882 2010-07-24 Ulrich Drepper <drepper@redhat.com>
61884 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61885 lower-latency instructions.
61887 2010-07-23 Ulrich Drepper <drepper@redhat.com>
61889 * string/test-strcasestr.c: New file.
61890 * string/test-strstr.c: New file.
61891 * string/Makefile (strop-tests): Add strstr and strcasestr.
61892 * string/str-two-way.h: Don't undefine MAX.
61893 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61895 2010-07-21 Andreas Schwab <schwab@redhat.com>
61897 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61898 strcasestr-nonascii.
61899 (CFLAGS-strcasestr-nonascii.c): Define.
61900 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61901 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61902 Remove unused attribute.
61904 2010-07-20 Roland McGrath <roland@redhat.com>
61906 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61907 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
61908 ld.so.cache was broken. With it, there is no way to disable dsocaps
61909 like LD_HWCAP_MASK can disable hwcaps.
61911 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61913 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61915 2010-07-16 Ulrich Drepper <drepper@redhat.com>
61917 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61918 call in strcasestr.
61919 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61920 __strcasestr_sse42_nonascii.
61921 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61922 strcasestr-nonascii.c.
61923 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61925 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
61927 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61928 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61929 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61930 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61932 2010-07-09 Ulrich Drepper <drepper@redhat.com>
61934 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61937 2010-07-06 Andreas Schwab <schwab@redhat.com>
61940 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61943 2010-07-06 Ulrich Drepper <drepper@redhat.com>
61945 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61946 _PC_PIPE_BUF using F_GETPIPE_SZ.
61948 2010-07-05 Roland McGrath <roland@redhat.com>
61950 * manual/arith.texi (Rounding Functions): Fix rint description
61951 implicit in round description.
61953 2010-07-02 Ulrich Drepper <drepper@redhat.com>
61955 * elf/Makefile: Fix linking for a few tests to make recent linker
61958 2010-06-30 Andreas Schwab <schwab@redhat.com>
61960 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61961 $(common-objpfx)libc_nonshared.a.
61963 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
61965 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61966 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61967 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61968 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61969 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61970 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61971 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61972 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61987 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61988 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61989 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61990 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61991 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61992 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61993 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61994 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61995 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61996 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61997 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61998 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62014 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
62016 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62017 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
62018 * string/memmove.c (memmove): Renamed to ...
62019 (MEMMOVE): ...this. Default to memmove.
62020 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62021 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62023 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62024 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62025 mempcpy-ssse3-back memmove-ssse3-back.
62026 * sysdeps/x86_64/multiarch/bcopy.S: New file .
62027 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62028 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62029 * sysdeps/x86_64/multiarch/memcpy.S: New file.
62030 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62031 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62032 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62033 * sysdeps/x86_64/multiarch/memmove.c: New file.
62034 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62035 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62036 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62037 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62038 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62039 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62041 (index_Fast_Copy_Backward): Define.
62042 (HAS_ARCH_FEATURE): Define.
62043 (HAS_FAST_REP_STRING): Define.
62044 (HAS_FAST_COPY_BACKWARD): Define.
62046 2010-06-21 Andreas Schwab <schwab@redhat.com>
62048 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62049 Restore proper fallback handling.
62051 2010-06-19 Ulrich Drepper <drepper@redhat.com>
62054 * posix/group_member.c (__group_member): Correct checking loop.
62056 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62057 OOM in getpwuid_r correctly. Return error number when the caller
62058 should return, otherwise -1.
62059 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62060 call returning > 0 value.
62061 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62063 2010-06-07 Andreas Schwab <schwab@redhat.com>
62065 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62066 libc_nonshared.a from targets in modules-names.
62068 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
62070 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62073 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
62075 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62076 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62077 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62078 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62080 2010-06-02 Andreas Schwab <schwab@redhat.com>
62082 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62084 2010-06-14 Ulrich Drepper <drepper@redhat.com>
62086 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62088 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62089 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62090 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62091 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62092 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62093 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62095 2010-06-14 Roland McGrath <roland@redhat.com>
62097 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62099 2010-06-07 Jakub Jelinek <jakub@redhat.com>
62101 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62102 __REDIRECT followed by __THROW.
62103 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62104 * posix/getopt.h (getopt): Likewise.
62106 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
62108 * hurd/lookup-at.c (__file_name_lookup_at): Accept
62109 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
62110 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62112 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62113 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62115 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
62117 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62119 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
62122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62123 Properly check family and model.
62125 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
62127 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62129 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
62131 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62133 2010-05-21 Ulrich Drepper <drepper@redhat.com>
62135 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62138 2010-05-19 Andreas Schwab <schwab@redhat.com>
62140 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62143 2010-05-21 Andreas Schwab <schwab@redhat.com>
62145 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62146 and internal_recvmmsg.
62147 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62148 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62149 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62150 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62152 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62153 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62154 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62156 2010-05-20 Andreas Schwab <schwab@redhat.com>
62158 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62160 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
62162 POWER7 optimizations.
62163 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62164 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62166 2010-05-19 Ulrich Drepper <drepper@redhat.com>
62168 * version.h: Update for 2.13 development version.
62170 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
62172 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62173 exceptions. Return 0.
62175 2010-05-07 Roland McGrath <roland@redhat.com>
62177 * elf/ldconfig.c (main): Add a const.
62179 2010-05-06 Ulrich Drepper <drepper@redhat.com>
62181 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62182 (args_options): Add no-idn option.
62183 (ahosts_keys_int): Add idn_flags to ai_flags.
62184 (parse_option): Handle 'i' option to clear idn_flags.
62186 * malloc/malloc.c (_int_free): Possible race in the most recently
62187 added check. Only act on the data if no current modification
62190 See ChangeLog.17 for earlier changes.