Ulrich Drepper
c6885aa1e2
* sysdeps/pthread/aio_misc.h (AIO_MISC_WAIT): Work around gcc
...
being to clever and reloading the futex value where it shouldn't.
2006-01-08 01:52:44 +00:00
Ulrich Drepper
04454efba2
(AIO_MISC_WAIT): Work around gcc being to clever and reloading the futex value where it shouldn't.
2006-01-08 01:51:18 +00:00
Roland McGrath
ca3d773e19
[BZ #2119 ]
...
2004-08-03 Marco Gerards <marco@gnu.org>
[BZ #2119 ]
* sysdeps/mach/hurd/bits/ioctls.h (SIOCGIFHWADDR): New macro.
2006-01-07 23:29:45 +00:00
Roland McGrath
75bb74501a
[BZ #2119 ]
...
2004-08-03 Marco Gerards <marco@gnu.org>
[BZ #2119 ]
* sysdeps/mach/hurd/bits/ioctls.h (SIOCGIFHWADDR): New macro.
2006-01-07 23:29:39 +00:00
Ulrich Drepper
38cbcf0a37
* stdio-common/tstdiomisc.c (F): Use NAN to get NaN value.
2006-01-07 22:04:22 +00:00
Ulrich Drepper
a7e915610a
* elf/tst-tls8.c (do_test): Use $ORIGIN in module names.
...
2006-01-03 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/generic/sysdep.h (cfi_same_value): Define macro.
* sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve,
_dl_profile_resolve): Add CFI directives for stack and LR save.
Save LR in LRSAVE of previous frame per ABI.
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add CFI directives
for LR save.
* sysdeps/powerpc/powerpc32/lshift.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
(__makecontext, __novec_makecontext): Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Add CFI directive
for LR save to register.
* sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Add CFI directive
for stack.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
* sysdeps/powerpc/powerpc32/ppc-mcount.S: Add CFI directives for stack
and LR save.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. Don't use
negative stack addressing.
* sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
_dl_profile_resolve): Add CFI directives for stack and LR save.
* sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Add CFI directives
for stack.
* sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Add CFI
directives for stack and LR save.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Add CFI
directives for stack.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Add CFI
directives for stack.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
(__getcontext, __novec_getcontext): Add CFI directives for stack
and LR save.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
(__makecontext): Add CFI directives for stack and LR save.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
(__setcontext, __novec_setcontext): Add CFI directives for stack
and LR save.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
(__swapcontext, __novec_swapcontext): Add CFI directives for stack
and LR save.
2006-01-07 03:58:05 +00:00
Ulrich Drepper
ae4ad00acb
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include tls.h.
...
(SYSCALL_ERROR_HANDLER_ENTRY): Use %g4 instead of %g2, to avoid
the need of .register directive for it.
* configure.in (libc_cv_asm_cfi_directives): Use CFI rel offset
2047 instead of 0 in the test on sparc64.
2006-01-06 23:07:16 +00:00
Ulrich Drepper
ced368f7dc
* scripts/check-c++-types.sh: Add more pthread types.
...
* scripts/data//c++-types-i386-linux-gnu.data: Adjust.
* scripts/data//c++-types-ia64-linux-gnu.data: Likewise.
* scripts/data//c++-types-powerpc-linux-gnu.data: Likewise.
* scripts/data//c++-types-powerpc64-linux-gnu.data: Likewise.
* scripts/data//c++-types-s390-linux-gnu.data: Likewise.
* scripts/data//c++-types-s390x-linux-gnu.data: Likewise.
* scripts/data//c++-types-x86_64-linux-gnu.data: Likewise.
2006-01-06 22:58:39 +00:00
Ulrich Drepper
cbbbb1887f
* sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL_NCS):
...
Adjust for private->__private rename in tcbhead_t.
2006-01-06 22:27:53 +00:00
Ulrich Drepper
719046c10b
* sysdeps/ia64/tls.h (tcbhead_t): Rename private membe to __private.
...
* sysdeps/ia64/tcb-offsets.sym: Adjust for private->__private
rename in tcbhead_t.
2006-01-06 21:47:59 +00:00
Ulrich Drepper
d804f5df60
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_mutex_t):
...
Don't give the union a name because it changes the mangled name.
Instead name the struct for __data.
* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
* pthread_create.c (start_thread): Adjust robust mutex free loop.
* descr.h (ENQUEUE_MUTEX, DEQUEUE_MUTEX): Adjust.
2006-01-06 21:40:51 +00:00
Ulrich Drepper
74158740ea
[BZ #2114 ]
...
* ncsd/aicache.c: Don't use sendfile for records on the stack.
* nscd/grpcache.c: Likewise.
* nscd/hstcache.c: Likewise.
* nscd/initgrcache.c: Likewise.
* nscd/pwdcache.c: Likewise.
Patch by dmueller@suse.com .
2006-01-06 19:15:13 +00:00
Ulrich Drepper
eb4f408100
* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Define MADV_REMOVE.
...
* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
2006-01-06 18:11:20 +00:00
Ulrich Drepper
88cd5a422f
Define MADV_REMOVE.
2006-01-06 18:06:40 +00:00
Roland McGrath
9a2f485b8c
typo
...
2006-01-05 Mike Frysinger <vapier@gentoo.org>
2006-01-06 13:01:06 +00:00
Roland McGrath
c913bb2cc4
* Makeconfig (+gnu-stabs): Remove ancient cruft.
2006-01-06 12:44:01 +00:00
Roland McGrath
ca2e078f95
[BZ #2103 ]
...
* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_HWX25): Corrected macro
name (was typo ARPHDR_HWX25).
(ARPHRD_IEEE80211_PRISM, ARPHRD_IEEE80211_RADIOTAP): New macros.
(ARPHRD_VOID, ARPHRD_NONE): New macros.
2006-01-06 12:27:03 +00:00
Roland McGrath
4aa019cb00
* sysdeps/wordsize-32/divdi3.c (__moddi3): Add a cast.
2006-01-06 12:15:49 +00:00
Roland McGrath
d15b99ac5a
* io/fcntl.h [__USE_ATFILE] (AT_EACCESS): New macro.
...
* posix/unistd.h [__USE_ATFILE]: Declare faccessat.
* io/faccessat.c: New file.
* sysdeps/unix/sysv/linux/faccessat.c: New file.
* io/Makefile (routines): Add faccessat.
* io/Versions (libc: GLIBC_2.4): Likewise.
* io/tst-faccessat.c: New file.
* io/Makefile (tests): Add it.
* io/sys/stat.h: Likewise.
2006-01-06 12:14:26 +00:00
Roland McGrath
030219826e
* scripts/check-local-headers.sh: Revert last change.
2006-01-06 12:02:26 +00:00
Roland McGrath
cb483e04aa
* io/euidaccess.c: Add eaccess as an alias.
...
* sysdeps/mach/hurd/euidaccess.c: Likewise.
* sysdeps/posix/euidaccess.c: Likewise.
* posix/unistd.h [__USE_GNU]: Declare eaccess.
* io/Versions (libc: GLIBC_2.4): Add eaccess.
2006-01-06 11:22:10 +00:00
Roland McGrath
e7b8c7bc73
* soft-fp/Makefile (gcc-single-routines): Add unordsf2,
...
floatunsisf, floatundisf.
(gcc-double-routines): Add unorddf2, floatunsidf, floatundidf.
(gcc-quad-routines): Add unordtf2, floatunsitf, floatunditf.
* soft-fp/op-common.h (_FP_CMP_UNORD): Define.
* soft-fp/single.h (FP_CMP_UNORD_S): Define.
* soft-fp/double.h (FP_CMP_UNORD_D): Define.
* soft-fp/quad.h (FP_CMP_UNORD_Q): Define.
* soft-fp/extended.h (FP_CMP_UNORD_E): Define.
* soft-fp/unordsf2.c: New file.
* soft-fp/unorddf2.c: New file.
* soft-fp/unordtf2.c: New file.
* soft-fp/floatunsisf.c: New file.
* soft-fp/floatundisf.c: New file.
* soft-fp/floatunsidf.c: New file.
* soft-fp/floatundidf.c: New file.
* soft-fp/floatunsitf.c: New file.
* soft-fp/floatunditf.c: New file.
2006-01-06 10:47:57 +00:00
Roland McGrath
0d86378f95
* soft-fp/op-common.h (__FP_CLZ): Define using __builtin_clz,
...
__builtin_clzl and __builtin_clzll.
2006-01-06 10:37:39 +00:00
Roland McGrath
d719443fee
* include/alloca.h (extend_alloca): Fix typoed name 'extern_alloca'.
2006-01-06 09:56:05 +00:00
Roland McGrath
1aafee8730
2005-01-05 Mike Frysinger <vapier@gentoo.org>
...
* include/alloca.h (extend_alloca): Fix typoed name 'extern_alloca'.
2006-01-06 09:55:30 +00:00
Ulrich Drepper
e7ebabedca
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL):
...
Only define for 2.6.12+ on s390{,x}.
(__ASSUME_GETDENTS32_D_TYPE): Only define for 2.6.8+ on most arches
and only for 2.6.11+ on s390{,x}.
2006-01-06 07:30:36 +00:00
Ulrich Drepper
b957e86420
* rt/Makefile (tests): Add tst-aio9 and tst-aio10.
...
* rt/tst-aio10.c: New file.
2006-01-06 04:13:26 +00:00
Ulrich Drepper
679d83bac2
* sysdeps/pthread/aio_misc.h [!DONT_USE_BOOTSTRAP_MAP]
...
(struct waitlist): Don't add cond.
* sysdeps/pthread/aio_notify.c [!DONT_USE_BOOTSTRAP_MAP]
(__aio_notify): Use AIO_MISC_NOTIFY instead of pthread_cond_signal.
* sysdeps/pthread/aio_suspend.c [!DONT_USE_BOOTSTRAP_MAP]: Don't
use condvar, use AIO_MISC_WAIT.
* sysdeps/pthread/lio_listio.c: Likewise.
* rt/Makefile (tests): Add aio_suspend.
* rt/tst-aio9.c: New file.
2006-01-06 03:08:04 +00:00
Ulrich Drepper
17041e4ff0
* rt/tst-aio3.c: The thread is now supposed to be created.
2006-01-05 22:44:54 +00:00
Ulrich Drepper
22347a8b23
The thread is now supposed to be created.
2006-01-05 22:42:01 +00:00
Roland McGrath
0b8f25bbca
* include/features.h: Grok _ATFILE_SOURCE and define __USE_ATFILE when
...
it or _GNU_SOURCE is defined.
* io/fcntl.h: Protect *at and AT_* with [__USE_ATFILE] instead of
[__USE_GNU].
* libio/stdio.h: Likewise.
* posix/unistd.h: Likewise.
* time/sys/time.h: Likewise.
2006-01-05 12:25:42 +00:00
Roland McGrath
c90c5d4106
* io/sys/stat.h [__USE_GNU]: Declare fchmodat.
...
* io/fchmodat.c: New file.
* io/Makefile (routines): Add fchmodat.
* io/Versions (libc: GLIBC_2.4): Likewise.
* sysdeps/unix/sysv/linux/fchmodat.c: New file.
* io/tst-fchmodat.c: New file.
* io/Makefile (tests): Add it.
2006-01-05 10:32:47 +00:00
Roland McGrath
06dc5bf35a
* Makefile ($(objpfx)$(multidir)): Use mkdir -p.
2006-01-05 08:16:34 +00:00
Roland McGrath
a8ab5e4355
2006-01-03 Joseph S. Myers <joseph@codesourcery.com>
...
* Makefile ($(objpfx)$(multidir)): Use mkdir -p.
2006-01-05 08:16:20 +00:00
Ulrich Drepper
0af5b6adb1
(do_test): aio_offset should be initialized, too.
2006-01-05 00:26:42 +00:00
Ulrich Drepper
9759bbf188
* sysdeps/powerpc/powerpc32/sysdep.h (ENTRY, EALIGN): Add cfi_startproc
...
directive to ENTRY macros.
(END): Add cfi_endproc directive to END macro.
* sysdeps/powerpc/powerpc64/sysdep.h (ENTRY, EALIGN): Add cfi_startproc
directive to ENTRY macros.
(END, END_GEN_TB): Add cfi_endproc directive to END macros.
* sysdeps/powerpc/powerpc32/dl-start.S: Remove ENTRY()s for
_dl_start_user and _dl_main_dispatch.
* sysdeps/powerpc/powerpc32/fpu/fprrest.S: Use END macro.
* sysdeps/powerpc/powerpc32/fpu/fprsave.S: Use Likewise.
* sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
* sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
* sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
* sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Remove redundant
cfi_startproc and cfi_endproc.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2006-01-04 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/aio_misc.h (struct waitlist): Add result member.
* sysdeps/pthread/aio_notify.c (__aio_notify): For synchronous waiters,
failed I/O, and a result pointer, set value to -1.
* sysdeps/pthread/aio_suspend.c: Initialize result pointer to NULL.
* sysdeps/pthread/lio_listio.c: For LIO_WAIT, point result pointer in
wait list to local variable result. If nonzero afterwards, set errno
to EIO. For LIO_NOWAIT set result to NULL.
* rt/Makefile (tests): Add tst-aio8.
* rt/tst-aio8.c: New file.
2006-01-04 20:05:05 +00:00
Ulrich Drepper
4da28a490b
Test for lio_listio returning an error for LIO_WAIT if an IO request failed.
2006-01-04 19:34:40 +00:00
Roland McGrath
8e856b5a9a
* abi-tags (*-.*-syllable.*): New match, with ABI value 5.
...
* elf/cache.c (print_entry): Match the Syllable ABI tag.
2006-01-04 17:14:58 +00:00
Roland McGrath
e7cbb3a8c2
2005-12-27 Roland McGrath <roland@redhat.com>
...
* tst-ctype.c (main): Add some casts.
2006-01-04 17:08:58 +00:00
Andreas Jaeger
8632c0cf9f
Fix last commit.
2006-01-04 12:37:37 +00:00
Ulrich Drepper
db59b28bdd
* include/stdlib.h: Make even more C++ compliant.
2006-01-04 09:26:31 +00:00
Ulrich Drepper
b268486e60
type to SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set.
2006-01-04 07:36:31 +00:00
Ulrich Drepper
224aa5ff04
typo.
2006-01-04 07:35:13 +00:00
Andreas Jaeger
44115e991f
Update.
...
2006-01-04 Joseph S. Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/brk.c (__brk): Use
__SYSCALL_CLOBBERS.
2006-01-04 06:46:59 +00:00
Andreas Jaeger
bcd0585831
(__brk): Use __SYSCALL_CLOBBERS.
2006-01-04 06:46:45 +00:00
Ulrich Drepper
b2f97341c5
Regenerated: autoconf configure.in
2006-01-04 06:26:49 +00:00
Ulrich Drepper
943db9eb64
* configure.in (HAVE_LIBAUDIT): Check
...
audit_log_user_avc_message instead of audit_log_avc.
2006-01-04 Joseph S. Myers <joseph@codesourcery.com>
* sysdeps/ieee754/bits/nan.h: Fix typo.
2006-01-04 06:26:39 +00:00
Ulrich Drepper
b01fe5f792
* sysdeps/unix/sysv/linux/m68k/fchownat.c: Include string.h.
...
* sysdeps/sparc/sparc32/dl-machine.h (LD_SO_PRELOAD): Remove unused
define.
* sysdeps/sparc/sparc32/bits/atomic.h: Include stdint.h, add
{,u}atomic*_t typedefs.
(__sparc32_atomic_do_lock): Add __volatile and memory clobber.
(__sparc32_atomic_do_unlock): Add memory barrier.
(__sparc32_atomic_do_lock24, __sparc32_atomic_do_unlock24): Define.
[!SHARED] (__v9_compare_and_exchange_val_32_acq): Define.
(__v7_compare_and_exchange_val_acq, __v7_compare_and_exchange_bool_acq,
__v7_exchange_acq, __v7_exchange_and_add, __v7_exchange_24_rel,
__v7_compare_and_exchange_val_24_acq, __atomic_is_v9,
atomic_exchange_acq, atomic_compare_and_exchange_val_24_acq,
atomic_exchange_24_rel): Define.
[SHARED] (atomic_exchange_and_add): Define.
[!SHARED] (__ATOMIC_HWCAP_SPARC_V9): Define.
[!SHARED] (_dl_hwcap): New weak decl.
* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_exchange_24_rel,
atomic_compare_and_exchange_val_24_acq): Define.
* sysdeps/sparc/sparc64/bits/atomic.h (atomic_exchange_24_rel,
atomic_compare_and_exchange_val_24_acq): Define.
2006-01-04 00:20:45 +00:00
Ulrich Drepper
6d3aff23e2
lio_listio should emit an event for each individual request in
...
addition to the global event.
* sysdeps/pthread/lio_listio.c (lio_listio): Renamed to
lio_listio_internal. Remove mode parameter check. Only set sigevent
type ti SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set.
(__lio_listio_21): New function. Compatiblity version which sets
LIO_NO_INDIVIDUAL_EVENT before calling lio_listio_internal.
(__lio_listio_item_notify): New function.
* sysdeps/pthread/lio_listio64.c: Define __lio_listio_21 and
__lio_listio_item_notify macros.
* sysdeps/pthread/Versions: New file.
* rt/tst-aio2.c: Adjust test for new semantics of lio_listio.
* include/aio.h: Define LIO_NO_INDIVIDUAL_EVENT.
* Versions.def: Add GLIBC_2.4 for librt.
* rt/Versions: Whitespace fix.
* sysdeps/pthread/aio_misc.c: Likewise.
2006-01-03 23:19:03 +00:00
Ulrich Drepper
1c50f6b660
* nscd/connections.c (nscd_init): Remove if block which should
...
have been removed as part of the -S option removal.
2006-01-03 21:29:11 +00:00