about summary refs log tree commit diff
path: root/nptl/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile (subdir-target-args): New variable.Roland McGrath2006-02-281-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ($(all-subdirs-targets)): Use it in place of -C option. * Rules: Use $(..) instead of ../ if it's already defined. * Makeconfig (subdir-srcdirs): New variable. * csu/Makefile (all-Banner-files): Use it. * configure.in (--enable-add-ons): Set to "yes" by default. Handle absolute add-on directory names when looking for configure fragments. Also look for sysdeps/*/preconfigure fragments in add-ons. Require add-on configure to set $libc_add_on_canonical, use that in $add_ons_sfx. Substitute add_on_subdirs with computed list of subdir names each add-on configure set in libc_add_on_subdirs. * configure: Regenerated. * Makefile (%/preconfigure: %/preconfigure.in): New pattern rule. * config.make.in (add-on-subdirs): New substituted variable. * Makeconfig (all-subdirs): Include $(add-on-subdirs). Remove $(add-ons), $(sysdep-subdirs). Don't filter out $(sysdep-inhibit-subdirs). ($(common-objpfx)sysd-dirs): Target removed. Don't include it. ($(common-objpfx)sysd-sorted): Rewritten to feed Depend and Subdirs files together to gen-sorted.awk, and $(subdirs) via -v. (subdirs): Remove magic reordering for mach and hurd. * scripts/gen-sorted.awk: Use subdirs from command line. Process Subdirs and Depend files directly. Let Subdirs files use "first dir" and "inhibit dir". Always move elf to the end of the list. * hurd/Depend: New file. * sysdeps/mach/Subdirs: Use "first mach". * Makefile (dist-separate): Remove linuxthreads. (dist-separate-linuxthreads): Variable removed. (glibc-%.tar rule): Use $(sysdeps-add-ons). * Makerules ($(common-objpfx)Versions.v.i): Use $(subdirs), not $(all-subdirs). (sysdep-makefiles): Use $(sysdirs). (sysdirs): Remove export. ($(+sysdir_pfx)sysd-rules): Handle absolute directory names in $(config-sysdirs). (+sysdir_pfx): Variable removed. (sysd-rules): Use $(common-objpfx) in place of it. (sysdirs): Variable moved to ... * Makeconfig (sysdirs): ... here. Handle absolute directory names in $(config-sysdirs). (full_config_sysdirs): Variable removed. * csu/Makefile: Use $(sysdirs) in vpath directive. * math/Makefile (ulps-file): Use $(sysdirs). * sysdeps/gnu/Makefile (errlist-c): Likewise. ($(objpfx)errlist-compat.c): Likewise. * Makeconfig (all-Subdirs-files): Likewise. ($(common-objpfx)config.status): Likewise. * configure.in (sysnames): Handle absolute add-on directory names. (sysdeps_add_ons): New variable, AC_SUBST it. Compute which add-ons contributed sysdeps directories. * configure: Regenerated. * config.make.in (sysdeps-add-ons): New substituted variable. * Makerules (+sysdep_dirs, +sysdep-includes): Variables moved ... * Makeconfig: ... to here. (+sysdep_dirs): Append $(sysdeps-add-ons) here. (+includes): Remove $(objpfx) include, already in $(+sysdep_dirs). Remove $(includes). (sysdep-makeconfigs): Use $(+sysdep_dirs). ($(common-objpfx)shlib-versions.v.i): Likewise. * Makeconfig: Remove hair to set Makeconfig-add-on. * sysdeps/unix/Makefile (sysdirs): Remove export. (asm_CPP): Variable removed. ($(common-objpfx)sysd-syscalls): Pass them directly for the script. * sysdeps/posix/Makefile: New file. * Makerules (L_tmpnam, TMP_MAX, L_ctermid, L_cuserid): Set non-posix values here with ?=. * stdlib/gen-mpn-copy: File removed. * stdlib/Makefile (distribute): Remove it. * configure.in: Don't grok --with-gmp. * configure: Regenerated. * configure.in (libc_cv_idn): Don't check it; libidn/configure does it. * configure: Regenerated. * bare: Directory removed, saved in ports repository.
* * sysdeps/generic/pt-raise.c: Moved to ...Roland McGrath2006-02-271-0/+7
| | | | | | * pt-raise.c: ... here. * sysdeps/generic/lowlevellock.h: Moved to ... * lowlevellock.h: ... here.
* * descr.h (struct pthread): Add final member `end_padding'.Roland McGrath2006-02-241-0/+10
| | | | | | | | | (PTHREAD_STRUCT_END_PADDING): Use it. 2006-02-20 Roland McGrath <roland@redhat.com> * sysdeps/mips: Directory removed, saved in ports repository. * sysdeps/unix/sysv/linux/mips: Likewise.
* Amend log entry with omitted file.Roland McGrath2006-02-211-0/+1
| | | | * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
* typoRoland McGrath2006-02-201-1/+1
| | | | * pthreadP.h: Define PTHREAD_MUTEX_INCONSISTENT instead of
* * tst-robust1.c: Add second mutex to check that the mutex list isUlrich Drepper2006-02-181-0/+5
| | | | handled correctly.
* * include/atomic.h (atomic_and, atomic_or): Define.Ulrich Drepper2006-02-171-0/+12
|
* * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Add lll_robust_mutex_* cvs/fedora-glibc-20060217T1609Ulrich Drepper2006-02-171-0/+6
| | | | | definitions. * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: New file.
* * sysdeps/unix/sysv/linux/x86_64/lowlevellock.hUlrich Drepper2006-02-171-0/+7
| | | | | | (lll_robust_mutex_unlock): Avoid unnecessary wakeups. * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_mutex_unlock): Likewise.
* * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Define MADV_DONTFORKUlrich Drepper2006-02-151-0/+23
| | | | | | | | | | | | and MADV_DOFORK. * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
* * sysdeps/unix/sysv/linux/not-cancel.h (__openat_not_cancel,Ulrich Drepper2006-02-151-0/+27
| | | | | | | __openat64_not_cancel): Remove prototypes. (__openat_nocancel, __openat64_nocancel): New prototypes or defines. (openat_not_cancel, openat_not_cancel_3, openat64_not_cancel, openat64_not_cancel_3): Use them.
* * allocatestack.c (allocate_stack): Initialize robust_list. cvs/fedora-glibc-20060213T0650Ulrich Drepper2006-02-131-0/+12
| | | | | | | | | | | | | * init.c (__pthread_initialize_minimal_internal): Likewise. * descr.h (struct xid_command): Pretty printing. (struct pthread): Use __pthread_list_t or __pthread_slist_t for robust_list. Adjust macros. * pthread_create.c (start_thread): Adjust robust_list handling. * phtread_mutex_unlock.c: Don't allow unlocking from any thread but the owner for all robust mutex types. * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Define __pthread_list_t and __pthread_slist_t. Use them in pthread_mutex_t. * sysdeps/pthread/pthread.h: Adjust mutex initializers.
* * sysdeps/unix/sysv/linux/i386/not-cancel.h: Define openat_not_cancel,Ulrich Drepper2006-02-121-0/+5
| | | | openat_not_cancel_3, openat64_not_cancel, and openat64_not_cancel_3.
* * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_futex_wait,Ulrich Drepper2006-02-081-0/+5
| | | | lll_futex_timedwait, lll_wait_tid): Add "memory" clobber.
* * sysdeps/sh/sh4/__longjmp.S: Demangle also r14 and r15.Ulrich Drepper2006-01-201-0/+6
| | | | | | | | | | * sysdeps/sh/sh3/__longjmp.S: Likewise. * sysdeps/sh/sh4/setjmp.S: Mangle also r14 and r15. * sysdeps/sh/sh3/setjmp.S: Likewise. * sysdeps/unix/sysv/linux/sh/sysdep.h [__ASSEMBLER__] (PTR_MANGLE): Add temporary register as the second parameter. (PTR_DEMANGLE): Likewize. (PTR_MANGLE2, PTR_DEMANGLE2): Define.
* * include/fcntl.h: Declare __have_atfcts.Ulrich Drepper2006-01-201-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/faccessat.c: Use syscall if available. * sysdeps/unix/sysv/linux/fchmodat.c: Likewise. * sysdeps/unix/sysv/linux/fchownat.c: Likewise. * sysdeps/unix/sysv/linux/futimesat.c: Likewise. * sysdeps/unix/sysv/linux/linkat.c: Likewise. * sysdeps/unix/sysv/linux/mkdirat.c: Likewise. * sysdeps/unix/sysv/linux/openat.c: Likewise. * sysdeps/unix/sysv/linux/readlinkat.c: Likewise. * sysdeps/unix/sysv/linux/renameat.c: Likewise. * sysdeps/unix/sysv/linux/symlinkat.c: Likewise. * sysdeps/unix/sysv/linux/unlinkat.c: Likewise. * sysdeps/unix/sysv/linux/xmknodat.c: Likewise. * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PSELECT, __ASSUME_PPOLL, and __ASSUME_ATFCTS if possible. * io/ppoll.c: New file. * io/Makefile (routines): Add ppoll. (CFLAGS-ppoll.c): Define. * io/Versions: Export ppoll for GLIBC_2.4. * io/sys/poll.h: Declare ppoll. * sysdeps/unix/sysv/linux/ppoll.c: New file. * misc/pselect.c: Make it possible to include this file to define the generic code as a static function. * sysdeps/unix/sysv/linux/pselect.c: New file.
* [BZ #2167]Andreas Jaeger2006-01-181-1/+1
| | | | | Update. [BZ #2167]
* [BZ #2167] * sysdeps/unix/sysv/linux/mips/bits/pthreadtypes.h ↵Andreas Jaeger2006-01-181-0/+7
| | | | | | | | | | | (pthread_mutex_t): Follow changes for other archs. Based on patch by Jim Gifford <patches@jg555.com>. 2006-01-18 Andreas Jaeger <aj@suse.de> [BZ #838] * sysdeps/unix/sysv/linux/mips/bits/pthreadtypes.h (pthread_mutex_t): Follow changes for other archs. Based on patch by Jim Gifford <patches@jg555.com>.
* * sysdeps/alpha/tls.h (tcbhead_t): Rename member to __private.Ulrich Drepper2006-01-131-0/+4
|
* * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...Roland McGrath2006-01-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/powerpc/jmpbuf-unwind.h: ... here. * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/alpha/jmpbuf-unwind.h: ... here. * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/sparc/sparc32/jmpbuf-unwind.h: ... here. * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/i386/jmpbuf-unwind.h: ... here. * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/x86_64/jmpbuf-unwind.h: ... here. * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/sh/jmpbuf-unwind.h: ... here. * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/hppa/jmpbuf-unwind.h: ... here, new file. * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/mips/jmpbuf-unwind.h: ... here. * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/m68k/jmpbuf-unwind.h: ... here, new file. * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/s390/jmpbuf-unwind.h: ... here. * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/ia64/jmpbuf-unwind.h: ... here. * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... * sysdeps/sparc/sparc64/jmpbuf-unwind.h: ... here. * sysdeps/ia64/jmpbuf-unwind.h: New file, moved from nptl/.
* * sysdeps/alpha/jmpbuf-unwind.h: New file, moved from nptl/.Roland McGrath2006-01-101-0/+12
| | | | | | | | | | | * sysdeps/i386/jmpbuf-unwind.h: New file, moved from nptl/. * sysdeps/mips/jmpbuf-unwind.h: New file, moved from nptl/. * sysdeps/powerpc/jmpbuf-unwind.h: New file, moved from nptl/. * sysdeps/s390/jmpbuf-unwind.h: New file, moved from nptl/. * sysdeps/sh/jmpbuf-unwind.h: New file, moved from nptl/. * sysdeps/sparc/sparc32/jmpbuf-unwind.h: New file, moved from nptl/. * sysdeps/sparc/sparc64/jmpbuf-unwind.h: New file, moved from nptl/. * sysdeps/x86_64/jmpbuf-unwind.h: New file, moved from nptl/.
* * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_mutex_t):Roland McGrath2006-01-091-0/+10
| | | | | | | | | Don't give the union a name because it changes the mangled name. Instead name the struct for __data. * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h (pthread_mutex_t): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h (pthread_mutex_t): Likewise.
* * tst-initializers1-c89.c: New file.Roland McGrath2006-01-091-0/+10
| | | | | | | | | | | * tst-initializers1-c99.c: New file. * tst-initializers1-gnu89.c: New file. * tst-initializers1-gnu99.c: New file. * Makefile (tests): Add them. (CFLAGS-tst-initializers1-c89.c): New variable. (CFLAGS-tst-initializers1-c99.c): New variable. (CFLAGS-tst-initializers1-gnu89.c): New variable. (CFLAGS-tst-initializers1-gnu99.c): New variable.
* * sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise.Roland McGrath2006-01-091-0/+1
|
* * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): AddRoland McGrath2006-01-091-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stack bias to mc_fp field. * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (struct kernel_stat): Rename st_[amc]time fields to st_[amc]time_sec. (struct kernel_stat64): New type. (_HAVE___UNUSED1, _HAVE___UNUSED2, _HAVE_STAT___UNUSED1, _HAVE_STAT___UNUSED2, _HAVE_STAT___UNUSED3, _HAVE_STAT___UNUSED4, _HAVE_STAT___UNUSED5, _HAVE_STAT___PAD1, _HAVE_STAT___PAD2, _HAVE_STAT64___UNUSED1, _HAVE_STAT64___UNUSED2, _HAVE_STAT64___UNUSED3, _HAVE_STAT64___UNUSED4, _HAVE_STAT64___UNUSED5, _HAVE_STAT64___PAD1, _HAVE_STAT64___PAD2): Remove. * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Include i386 version. * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: New file. * sysdeps/unix/sysv/linux/sparc/bits/stat.h (struct stat, struct stat64): Add nsec resolution for 64-bit code like already done for 32-bit code. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL): Don't define for sparc64. (__ASSUME_STAT64_SYSCALL): Only define for sparc64 for >= 2.6.12 kernels. * scripts/data/c++-types-sparc-linux-gnu.data: New file. * scripts/data/c++-types-sparc64-linux-gnu.data: New file. * scripts/data/c++-types-alpha-linux-gnu.data: Adjust.
* * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS_ADJ): AddUlrich Drepper2006-01-091-0/+5
| | | | stack bias to mc_ftp field.
* being too clever and reloading the futex value where it shouldn't.Ulrich Drepper2006-01-091-1/+1
|
* * sysdeps/pthread/aio_misc.h (AIO_MISC_WAIT): Work around gccUlrich Drepper2006-01-081-0/+5
| | | | being to clever and reloading the futex value where it shouldn't.
* * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include tls.h.Ulrich Drepper2006-01-061-0/+5
| | | | | | | (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.
* * scripts/check-c++-types.sh: Add more pthread types.Ulrich Drepper2006-01-061-0/+5
| | | | | | | | | | * 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.
* * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL_NCS): cvs/fedora-glibc-20060106T2148Ulrich Drepper2006-01-061-1/+1
| | | | Adjust for private->__private rename in tcbhead_t.
* * sysdeps/ia64/tls.h (tcbhead_t): Rename private membe to __private.Ulrich Drepper2006-01-061-0/+4
| | | | | * sysdeps/ia64/tcb-offsets.sym: Adjust for private->__private rename in tcbhead_t.
* * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_mutex_t):Ulrich Drepper2006-01-061-0/+12
| | | | | | | | | | | 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.
* * sysdeps/pthread/aio_misc.h [!DONT_USE_BOOTSTRAP_MAP]Ulrich Drepper2006-01-061-0/+8
| | | | | | | | | | | (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.
* * Makefile ($(objpfx)$(multidir)): Use mkdir -p.Roland McGrath2006-01-051-0/+4
|
* * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY, EALIGN): Add cfi_startprocUlrich Drepper2006-01-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * include/stdlib.h: Make even more C++ compliant.Ulrich Drepper2006-01-041-0/+4
|
* * sysdeps/unix/sysv/linux/m68k/fchownat.c: Include string.h.Ulrich Drepper2006-01-041-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * posix/unistd.h (ctermid): Remove __nonnull attribute.Ulrich Drepper2006-01-031-0/+5
|
* * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE, cvs/fedora-glibc-20060102T2114Ulrich Drepper2006-01-021-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * posix/getconf.c: Update copyright year. cvs/fedora-glibc-20060102T1045Ulrich Drepper2006-01-011-0/+4
| | | | | | | | | | | | | | | | | | | | | * 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.
* * resolv/res_debug.c (latlon2ul): Use ISO C function declaration.Ulrich Drepper2005-12-301-0/+6
| | | | | | | | | | (precsize_aton): Likewise. (precsize_ntoa): Likewise. * resolv/gethnamaddr.c (_gethtbyname): Remove extra prototype. (gethostbyname2): Likewise. (gethostbyaddr): Likewise. (getanswer): Use ISO C function declaration.
* * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):Ulrich Drepper2005-12-301-0/+5
| | | | Don't use _demangle parameter for now.
* * sysdeps/unix/sysv/linux/sigaction.c: If WRAPPER_INCLUDE is defined,Ulrich Drepper2005-12-291-0/+6
| | | | | | | | | | 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.
* * Makefile (tests): Add tst-signal7.Ulrich Drepper2005-12-281-0/+5
| | | | * tst-signal7.c: New file.
* * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.hRoland McGrath2005-12-281-0/+14
| | | | | | | | | | | | | | | | | | | | | | (PTR_MANGLE): Fix cast. * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument DEMANGLE, and pass SP value through it. * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Likewise. * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Pass inline demangler function to _JMPBUF_UNWINDS. * sysdeps/mach/hurd/jmp-unwind.c (demangle_ptr): New function. (_longjmp_unwind): Pass it to _JMPBUF_UNWINDS.
* * sysdeps/unix/sysv/linux/sparc/bits/errno.h: Define EOWNERDEADUlrich Drepper2005-12-271-1/+12
| | | | | | | | | | and ENOTRECOVERABLE if not already defined. * sysdeps/unix/sysv/linux/alpha/bits/errno.h: Likewise. 2005-12-27 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/alpha/Versions: Add new errlist-compat entry for up to 138 errnos.
* * Versions.def: Add GLIBC_2.4 for libpthread. cvs/fedora-glibc-20051227T1426Ulrich Drepper2005-12-271-0/+53
|
* * manual/errno.texi: Add new Linux errno codes.Ulrich Drepper2005-12-241-0/+3
| | | | | * sysdeps/unix/sysv/linux/Versions: Add new errlist-compat entry for up to 132 errnos.
* * sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD andUlrich Drepper2005-12-241-0/+4
| | | | ENOTRECOVERABLE if not already defined.