aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-01-06* soft-fp/op-common.h (__FP_CLZ): Define using __builtin_clz,Roland McGrath2-34/+17
__builtin_clzl and __builtin_clzll.
2006-01-06* include/alloca.h (extend_alloca): Fix typoed name 'extern_alloca'.Roland McGrath1-0/+4
2006-01-062005-01-05 Mike Frysinger <vapier@gentoo.org>Roland McGrath1-1/+1
* include/alloca.h (extend_alloca): Fix typoed name 'extern_alloca'.
2006-01-06* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL):cvs/fedora-glibc-20060106T0916Ulrich Drepper2-6/+17
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* rt/Makefile (tests): Add tst-aio9 and tst-aio10.Ulrich Drepper4-3/+126
* rt/tst-aio10.c: New file.
2006-01-06* sysdeps/pthread/aio_misc.h [!DONT_USE_BOOTSTRAP_MAP]Ulrich Drepper11-19/+312
(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-05* rt/tst-aio3.c: The thread is now supposed to be created.Ulrich Drepper1-0/+4
2006-01-05The thread is now supposed to be created.Ulrich Drepper1-5/+17
2006-01-05* include/features.h: Grok _ATFILE_SOURCE and define __USE_ATFILE whenRoland McGrath6-15/+34
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* io/sys/stat.h [__USE_GNU]: Declare fchmodat.Roland McGrath7-4/+307
* 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* Makefile ($(objpfx)$(multidir)): Use mkdir -p.Roland McGrath1-0/+4
2006-01-052006-01-03 Joseph S. Myers <joseph@codesourcery.com>Roland McGrath1-1/+1
* Makefile ($(objpfx)$(multidir)): Use mkdir -p.
2006-01-05(do_test): aio_offset should be initialized, too.Ulrich Drepper1-0/+1
2006-01-04* sysdeps/powerpc/powerpc32/sysdep.h (ENTRY, EALIGN): Add cfi_startprocUlrich Drepper20-66/+124
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-04Test for lio_listio returning an error for LIO_WAIT if an IO request failed.Ulrich Drepper1-0/+38
2006-01-04* abi-tags (*-.*-syllable.*): New match, with ABI value 5.Roland McGrath5-9/+23
* elf/cache.c (print_entry): Match the Syllable ABI tag.
2006-01-042005-12-27 Roland McGrath <roland@redhat.com>Roland McGrath1-7/+7
* tst-ctype.c (main): Add some casts.
2006-01-04Fix last commit.Andreas Jaeger1-1/+1
2006-01-04* include/stdlib.h: Make even more C++ compliant.Ulrich Drepper4-17/+25
2006-01-04type to SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set.cvs/fedora-glibc-20060104T0754Ulrich Drepper1-1/+1
2006-01-04typo.Ulrich Drepper1-1/+1
2006-01-04Update.Andreas Jaeger1-0/+5
2006-01-04 Joseph S. Myers <joseph@codesourcery.com> * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Use __SYSCALL_CLOBBERS.
2006-01-04(__brk): Use __SYSCALL_CLOBBERS.Andreas Jaeger1-2/+2
2006-01-04Regenerated: autoconf configure.inUlrich Drepper1-10/+10
2006-01-04* configure.in (HAVE_LIBAUDIT): CheckUlrich Drepper3-9/+18
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* sysdeps/unix/sysv/linux/m68k/fchownat.c: Include string.h.Ulrich Drepper23-31/+1006
* 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-03lio_listio should emit an event for each individual request inUlrich Drepper9-28/+117
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* nscd/connections.c (nscd_init): Remove if block which shouldUlrich Drepper1-0/+5
have been removed as part of the -S option removal.
2006-01-03(nscd_init): Remove if block which should have been removed as part of the ↵Ulrich Drepper1-8/+1
-S option removal.
2006-01-03* scripts/check-local-headers.sh: Allow $includedir/c++.Andreas Jaeger2-1/+6
2006-01-03 Andreas Jaeger <aj@suse.de> * scripts/check-local-headers.sh: Allow $includedir/c++.
2006-01-03* posix/unistd.h (ctermid): Remove __nonnull attribute.Ulrich Drepper4-7/+16
2006-01-02* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE,cvs/fedora-glibc-20060102T2114Ulrich Drepper23-58/+197
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-01* posix/getconf.c: Update copyright year.cvs/fedora-glibc-20060102T1045Ulrich Drepper2-2/+25
* 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-01Update copyright year.Ulrich Drepper17-34/+34
2005-12-31[BZ #1395] Andreas Jaeger2-4/+11
* 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-30* resolv/res_debug.c (latlon2ul): Use ISO C function declaration.Ulrich Drepper8-119/+87
(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* sysdeps/sh/sysdep.h: Add cfi instrumentation to asm fragments.Ulrich Drepper12-18/+39
* 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* sysdeps/powerpc/powerpc64/setjmp-common.S: Make sure pointer guardUlrich Drepper7-16/+41
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* sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):Ulrich Drepper4-19/+16
Don't use _demangle parameter for now.
2005-12-30[BZ #2080]Ulrich Drepper2-2/+6
* libio/iogetwline.c (_IO_getwline_info): Move return to correct location.
2005-12-30* nscd/connections.c: Remove last remnants of -S option support.Ulrich Drepper1-0/+6
* nscd/nscd.c: Likewise. * nscd/nscd.h: Likewise.
2005-12-30Remove last remnants of -S option support.Ulrich Drepper3-51/+18
2005-12-30[BZ #1067]Andreas Jaeger1-0/+6
2005-12-30 Andreas Jaeger <aj@suse.de> [BZ #1067] * sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr for 64-bit mips kernel.
2005-12-30[BZ #1067] Andreas Jaeger1-2/+2
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr for 64-bit mips kernel.
2005-12-302005-12-08 Steven Munroe <sjmunroe@us.ibm.com>Ulrich Drepper16-98/+659
Tom Gall <tom_gall@vnet.ibm.com> * elf/rtld.c (dl_main): Initialize l_local_scope for sysinfo_map. * sysdeps/powerpc/elf/libc-start.c: Move this... * sysdeps/unix/sysv/linux/powerpc/libc-start.c: ...to here. * sysdeps/powerpc/powerpc32/dl-start.S: Add _dl_main_dispatch label. * sysdeps/powerpc/powerpc32/hp-timing.h: New file. * sysdeps/unix/sysv/linux/powerpc/Versions: New file. * sysdeps/unix/sysv/linux/clock_getres.c: If HAVE_CLOCK_GETRES_VSYSCALL is not defined, redefine INTERNAL_VSYSCALL and INLINE_VSYSCALL to INTERNAL_SYSCALL and INLINE_SYSCALL respectively. Otherwise include <bits/libc-vdso.h>. Use INLINE_VSYSCALL and INTERNAL_SYSCALL instead of the normal versions throughout the code. * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise if HAVE_CLOCK_GETTIME_VSYSCALL is defined. * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: New file. * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: New file. * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: New file. * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use vDSO. * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: New file. * sysdeps/unix/sysv/linux/powerpc/Makefile: Add dl-vdso to routines. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define INLINE_VSYSCALL, INTERNAL_VSYSCALL, INTERNAL_SYSCALL_NCS, INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, HAVE_CLOCK_GETRES_VSYSCALL, and HAVE_CLOCK_GETTIME_VSYSCALL. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2005-12-29* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h [ASSEMBLER]:Ulrich Drepper7-1/+40
Define PTR_DEMANGLE2. * sysdeps/powerpc/powerpc32/setjmp-common.S [PTR_MANGLE]: Also mangle r1. * sysdeps/powerpc/powerpc32/__longjmp-common.S [PTR_DEMANGLE]: Also demangle r1. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [PTR_MANGLE]: Mangle r0 and r1. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [PTR_DEMANGLE]: Demangle r0 and r1.
2005-12-29* sysdeps/powerpc/powerpc64/setjmp-common.S [PTR_MANGLE]: AlsoUlrich Drepper2-0/+10
mangle r1. * sysdeps/powerpc/powerpc64/__longjmp-common.S [PTR_DEMANGLE]: Also demangle r1.
2005-12-29* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S:Ulrich Drepper8-1397/+1201
Move common function to... * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Move common function to... * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Move common function to... * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym (_FRAME_BACKCHAIN, _FRAME_LR_SAVE, _FRAME_PARM_SAVE1, _FRAME_PARM_SAVE2, _FRAME_PARM_SAVE3, _FRAME_PARM_SAVE4): Remove unrelated stack frame defines.
2005-12-29* stdio-common/tstdiomisc.c [FLT_EVAL_METHOD!=2] (dbl_max):Ulrich Drepper2-1/+4
Defining as macro as before the last change.
2005-12-29* sysdeps/unix/sysv/linux/sigaction.c: If WRAPPER_INCLUDE is defined,Ulrich Drepper11-8/+103
include the named file. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.