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
Ulrich Drepper
6cac69275f
(nscd_init): Remove if block which should have been removed as part of the -S option removal.
2006-01-03 21:26:28 +00:00
Andreas Jaeger
5e1f32525a
* scripts/check-local-headers.sh: Allow $includedir/c++.
...
2006-01-03 Andreas Jaeger <aj@suse.de>
* scripts/check-local-headers.sh: Allow $includedir/c++.
2006-01-03 19:00:59 +00:00
Ulrich Drepper
35c2fd59ba
* posix/unistd.h (ctermid): Remove __nonnull attribute.
2006-01-03 16:13:21 +00:00
Ulrich Drepper
305bb37e1e
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE,
...
PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PTR_MANGLE,
PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
* sysdeps/unix/sysv/linux/sparc/bits/setjmp.h [__WORDSIZE == 64]
(_JMPBUF_UNWINDS): Don't demangle uc_mcontext.mc_fp.
* sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Mangle %fp, %sp
and %o7.
* sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Demangle %fp, %sp
and %o7.
2006-01-02 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PTR_MANGLE2):
Define.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PTR_MANGLE2):
Likewise.
* sysdeps/s390/s390-32/__longjmp.c (__longjmp): Demangle also %r15.
* sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
* sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Mangle also %r15.
* sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise.
* sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise.
* sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise.
* sysdeps/s390/bits/setjmp.h (__jmp_buf): Add __s390_jmp_buf
struct tag to make C++ happy.
2006-01-02 Ulrich Drepper <drepper@redhat.com>
* posix/Makefile ($(objpfx)annexc.out): Move -I.. to the end of
the include list.
2006-01-02 20:57:43 +00:00
Ulrich Drepper
cc792128be
* posix/getconf.c: Update copyright year.
...
* nss/getent.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* elf/ldconfig.c: Likewise.
* catgets/gencat.c: Likewise.
* csu/version.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/sprof.c (print_version): Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* nscd/nscd.c (print_version): Likewise.
* debug/xtrace.sh: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/mtrace.pl: Likewise.
* debug/catchsegv.sh: Likewise.
* resolv/res_debug.c (latlon2ul): Use ISO C function definition.
(getanswer): Use ISO C function definition.
2006-01-01 19:18:49 +00:00
Ulrich Drepper
e56bad6ce6
Update copyright year.
2006-01-01 19:15:56 +00:00
Andreas Jaeger
fd63cc3ba8
[BZ #1395 ]
...
* manual/filesys.texi (Symbolic Links): Fix description of
canonicalize_file_name based on patch by Oskar Liljeblad
<oskar@osk.mine.nu>.
2005-12-31 Andreas Jaeger <aj@suse.de>
[BZ #1395 ]
* manual/filesys.texi (Symbolic Links): Fix description of
canonicalize_file_name based on patch by Oskar Liljeblad
<oskar@osk.mine.nu>.
2005-12-31 13:11:27 +00:00
Ulrich Drepper
db0a00d3aa
* resolv/res_debug.c (latlon2ul): Use ISO C function declaration.
...
(precsize_aton): Likewise.
(precsize_ntoa): Likewise.
* resolv/gethnamaddr.c (_gethtbyname): Remove extra prototype.
(gethostbyname2): Likewise.
(gethostbyaddr): Likewise.
(getanswer): Use ISO C function declaration.
2005-12-30 22:47:37 +00:00
Ulrich Drepper
3ddf7149f0
* sysdeps/sh/sysdep.h: Add cfi instrumentation to asm fragments.
...
* sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
* sysdeps/sh/_mcount.S: Add cfi instrumentation.
* sysdeps/unix/sh/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/sh/makecontext.S: Adjust cfi_startproc.
* sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Remove now duplicate
cfi_startproc and cfi_endproc.
* sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.S: Add cfi_endproc.
2005-12-30 22:17:53 +00:00
Ulrich Drepper
5ad7714494
* sysdeps/powerpc/powerpc64/setjmp-common.S: Make sure pointer guard
...
value doesn't survive in a registers when the function returns.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
* sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2005-12-30 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
PTR_MANGLE2.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
PTR_MANGLE2 and PTR_DEMANGLE2.
* sysdeps/powerpc/powerpc64/__longjmp-common.S: Use PTR_DEMANGLE2.
* sysdeps/powerpc/powerpc64/setjmp-common.S: Use PTR_MANGLE2.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
* sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2005-12-30 Ulrich Drepper <drepper@redhat.com>
2005-12-30 21:04:04 +00:00
Ulrich Drepper
b36205c4ab
* sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):
...
Don't use _demangle parameter for now.
2005-12-30 18:29:30 +00:00
Ulrich Drepper
b5352f2d51
[BZ #2080 ]
...
* libio/iogetwline.c (_IO_getwline_info): Move return to correct
location.
2005-12-30 18:09:21 +00:00