about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2003-05-175-21/+298
| | | | | | | | | | | | 2003-05-17 Ulrich Drepper <drepper@redhat.com> * sem_open.c: Fix one endless loop. Implement correct semantics wrt opening the same semaphore more then once. * sem_close.c: Adjust for sem_open change. * semaphoreP.h: Include <semaphore.h>. Define struct inuse_sem. Declare __sem_mappings, __sem_mappings_lock, __sem_search. * Makefile (tests): Add tst-sem7. * tst-sem7.c: New file.
* Fix one endless loop. Implement correct semantics wrt opening the same ↵Ulrich Drepper2003-05-171-3/+55
| | | | semaphore more then once.
* Update.Andreas Jaeger2003-05-173-29/+4
| | | | * sysdeps/unix/sysv/linux/x86_64/syscall.S: Revert last patch.
* Update.Andreas Jaeger2003-05-171-0/+4
| | | | | | 2003-05-17 Andreas Jaeger <aj@suse.de> * rt/tst-clock_nanosleep.c: Include <time.h> for clock_nanosleep.
* Update.Ulrich Drepper2003-05-175-2/+122
| | | | | | | * rt/Makefile (tests): Add tst-clock_nanosleep. * rt/tst-clock_nanosleep.c: New file. * posix/Makefile (tests): Add tst-nanosleep. * posix/tst-nanosleep.c: New file.
* Update.Ulrich Drepper2003-05-171-0/+2
| | | | * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Fix definition.
* (CPUCLOCK_P): Fix definition.Ulrich Drepper2003-05-171-3/+3
|
* * sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): FixRoland McGrath2003-05-171-0/+5
| | | | uninitialized variable braino.
* 2003-05-16 Roland McGrath <roland@redhat.com>Roland McGrath2003-05-171-1/+1
| | | | | * sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): Fix uninitialized variable braino.
* Update.Ulrich Drepper2003-05-175-3/+16
| | | | | * include/features.h (__USE_XOPEN2K): Define also for _POSIX_C_SOURCE>=200112L.
* Update.Ulrich Drepper2003-05-163-1/+11
| | | | | | | | | * pthread_join.c (pthread_join): Set tid field of the joined thread to -1. This isn't necessary but helps to recognize some error conditions with almost no cost. * allocatestack.c (FREE_P): Also negative values indicate an unused stack.
* Update.Ulrich Drepper2003-05-163-14/+49
| | | | | | * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Fold SI_TKILL code into SI_USER. * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise.
* Update.Ulrich Drepper2003-05-162-3/+5
| | | | | | 2003-05-16 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/sigpause.c (do_sigpause): Use sigdelset after all.
* Update.Ulrich Drepper2003-05-162-0/+5
| | | | | | 2003-05-16 Ulrich Drepper <drepper@redhat.com> * unwind.c: Include <unistd.h>.
* Update.Ulrich Drepper2003-05-166-44/+50
| | | | | | | | | | | | | 2003-05-15 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): Remove sym argument, always use refsym. (__process_machine_rela): Adjust callers. * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow): Likewise. * sysdeps/powerpc/powerpc32/dl-machine.h (_dl_reloc_overflow): Adjust prototype. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
* Update.Ulrich Drepper2003-05-152-1/+18
| | | | | | | | 2003-05-15 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Fix typo (DL_NEED_SYSINFO -> NEED_DL_SYSINFO). If aux value is not known print numeric values.
* Update.Ulrich Drepper2003-05-153-39/+45
| | | | | | 2003-05-12 Thorsten Kukuk <kukuk@suse.de> * inet/netinet/igmp.h: Sync with Linux Kernel 2.5.69 and *BSD.
* Update.Ulrich Drepper2003-05-152-0/+35
| | | | | | 2003-05-14 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/ia64/umount.c: New file.
* Update.Ulrich Drepper2003-05-142-0/+6
| | | | | | 2003-05-14 Ulrich Drepper <drepper@redhat.com> * Makefile ($(objpfx)$(multidir)): Add rule to create the directory.
* Update.Ulrich Drepper2003-05-144-62/+85
| | | | | | | 2003-05-14 Jakub Jelinek <jakub@redhat.com> * elf/rtld.c (dl_main): For LD_TRACE_PRELINKING print search scope even if no DT_NEEDED is present.
* Update.Ulrich Drepper2003-05-142-5/+12
| | | | | | | | | 2003-05-13 David Mosberger <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix the fix from 2003-03-27: setjmp is NOT a leaf-routine (due to the call to __sigjmp_save) so we can't keep the saved unat value in a scratch register (r16). Use loc2 instead.
* Update.Ulrich Drepper2003-05-142-5/+3
| | | | | * csu/Makefile: Do compile elf-init with PIC flag since in dynamic binaries it has to be relocatable.
* Update.Ulrich Drepper2003-05-132-2/+16
| | | | | | 2003-05-13 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/waitpid.c: Use waitpid syscall is available.
* Update.Ulrich Drepper2003-05-137-116/+397
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-12 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/bits/atomic.h (__arch_compare_and_exchange_bool_8_rel): Define. (__arch_compare_and_exchange_bool_16_rel): Define. (__ARCH_REL_INSTR): Define if not already defined. (__arch_atomic_exchange_and_add_32): Add "memory" to clobber list. (__arch_atomic_decrement_if_positive_32): Add "memory" to clobber list. (__arch_compare_and_exchange_val_32_acq): Remove release sync. (__arch_compare_and_exchange_val_32_rel): Define. (__arch_atomic_exchange_32): Remove. (__arch_atomic_exchange_32_acq): Define. (__arch_atomic_exchange_32_rel): Define. (atomic_compare_and_exchange_val_rel): Define. (atomic_exchange_acq): Use __arch_atomic_exchange_*_acq forms. (atomic_exchange_rel): Define. * sysdeps/powerpc/powerpc32/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq): Remove release sync. (__arch_compare_and_exchange_bool_32_rel): Define. (__arch_compare_and_exchange_bool_64_rel): Define. (__arch_compare_and_exchange_val_64_rel): Define. (__arch_atomic_exchange_64): Remove. (__arch_atomic_exchange_64_acq): Define. (__arch_atomic_exchange_64_rel): Define. * sysdeps/powerpc/powerpc64/bits/atomic.h (__arch_compare_and_exchange_bool_32_rel): Define. (__arch_compare_and_exchange_bool_64_acq): Remove release sync. (__arch_compare_and_exchange_bool_64_rel): Define. (__arch_compare_and_exchange_val_64_acq): Remove release sync. (__arch_compare_and_exchange_val_64_rel): Define. (__arch_atomic_exchange_64): Remove. (__arch_atomic_exchange_64_acq): Define. (__arch_atomic_exchange_64_rel): Define. (__arch_atomic_exchange_and_add_64): Add "memory" to clobber list. (__arch_atomic_decrement_if_positive_64): Add "memory" to clobber list. [!UP](__ARCH_REL_INSTR): Define as lwsync. the space-padded-by-default conversion specifiers, %e, %k, %l.
* Update.Ulrich Drepper2003-05-115-5/+25
| | | | | | | | | | | | | | | * io/Makefile ($(objpfx)ftwtest.out): Use absolute file names. 2003-05-11 Ulrich Drepper <drepper@redhat.com> * time/tst-strftime.c (do_test): Add tests for - flag. 2003-05-11 Jim Meyering <jim@meyering.net> * time/strftime.c (my_strftime): Let the `-' (no-pad) flag affect the space-padded-by-default conversion specifiers, %e, %k, %l. 2003-05-11 Andreas Schwab <schwab@suse.de>
* (do_test): Add tests for - flag.Ulrich Drepper2003-05-111-0/+37
|
* * sysdeps/generic/sched_setaffinity.c: Fix parameter name.Andreas Schwab2003-05-101-0/+4
|
* Fix parameter name.Andreas Schwab2003-05-101-1/+1
|
* Update.Ulrich Drepper2003-05-103-8/+6
| | | | | | | | 2003-05-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove futex related macros. * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Likewise.
* Update.Ulrich Drepper2003-05-104-24/+39
| | | | | | | | 2003-05-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/bits/sched.h: Define cpu_set_t only if not already defined and when really needed. * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
* Fix typo.Ulrich Drepper2003-05-101-1/+1
| | | | Contributed by Dwayne Bailey <dwayne@translate.org.za>.
* Update.Ulrich Drepper2003-05-1013-17/+998
| | | | | | | | | | | | | | | | | | | | | 2003-05-09 Thorsten Kukuk <kukuk@suse.de> * sysdeps/unix/sysv/linux/netinet/igmp.h: Don't include kernel headers, add defines from kernel header, move it from here... * inet/netinet/igmp.h: ... to here. * inet/Makefile (headers): Add netinet/igmp.h. * sysdeps/unix/sysv/linux/Makefile: Remove netinet/igmp.h. * sysdeps/unix/sysv/linux/Dist: Remove netinet/igmp.h. 2003-05-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/lio_listio64.c (lio_listio64): If SIG == NULL, use dummy sigevent structure with SIGEV_NONE [PR libc/5015]. 2003-05-09 Thorsten Kukuk <kukuk@suse.de> * libio/bits/stdio.h: Sync prototypes with libio/stdio.h (remove __THROW from possible cancellation points).
* Update.Ulrich Drepper2003-05-102-2/+2
| | | | * posix/sched.h (CPU_SETSIZE): Define.
* Update.Ulrich Drepper2003-05-102-0/+5
| | | | | | 2003-05-10 Ulrich Drepper <drepper@redhat.com> * posix/sched.h (NCPUBITS): Define.
* Update.Ulrich Drepper2003-05-103-2/+4
| | | | * Makeconfig (gnulib): Remove -lgcc_eh again.
* Update.Ulrich Drepper2003-05-1028-77/+480
| | | | | | | | | | | | | | | | | | | | | | | | | * posix/sched.h: Change prototypes of sched_getaffinity and sched_setaffinity. Define CPU_SET, CPU_CLR, CPU_ISSET, and CPU_ZERO. * sysdeps/generic/sched_getaffinity.c: Adjust definition. * sysdeps/generic/sched_setaffinity.c: Likewise. * sysdeps/generic/bits/sched.h: Define __CPU_SETSIZE, __NCPUBITS, __CPUELT, __CPUMASK, cpu_set_t, __cpu_mask, __CPU_ZERO, __CPU_SET, __CPU_CLR, and __CPU_ISSET. * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. * sysdeps/unix/sysv/linux/sched_getaffinity.c: New file. * sysdeps/unix/sysv/linux/sched_setaffinity.c: New file. * include/atomic.h (atomic_exchange_acq): Renamed from atomic_exchange. (atomic_exchange_rel): New #define. * sysdeps/ia64/bits/atomic.h: Likewise. * sysdeps/i386/i486/bits/atomic.h (atomic_exchange_acq): Renamed from atomic_exchange. * sysdeps/m68k/m68020/bits/atomic.h: Likewise. * sysdeps/powerpc/bits/atomic.h: Likewise. * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Likewise. * sysdeps/sparc/sparc64/bits/atomic.h: Likewise. * sysdeps/x86_64/bits/atomic.h: Likewise. * csu/tst-atomic.c: Use atomic_exchange_acq instead of atomic_exchange.
* Update.Ulrich Drepper2003-05-096-4/+32
| | | | | | 2003-05-09 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: New file.
* Update.Ulrich Drepper2003-05-0911-209/+423
| | | | | | | 2003-05-08 Ulrich Drepper <drepper@redhat.com> * malloc/thread-m.h: Remove special handling of thread_atfork if HAVE_register_atfork_malloc is defined.
* (unwind_cleanup): Print error message and then abort. This function must ↵Ulrich Drepper2003-05-091-1/+7
| | | | never be reached.
* Update.Andreas Jaeger2003-05-071-0/+5
| | | | | | | 2003-05-07 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/x86_64/syscall.S: Add DWARF2 unwind information.
* Add DWARF2 unwind information.Andreas Jaeger2003-05-071-1/+28
|
* Update.Ulrich Drepper2003-05-077-23/+41
| | | | | | | | | | 2003-05-06 Ulrich Drepper <drepper@redhat.com> * libio/oldiofdopen.c (_IO_old_fdopen): Use _IO_old_init not _IO_init. * libio/oldiofopen.c (_IO_old_fopen): Likewise. * libio/libioP.h: Declare _IO_old_init. * libio/genops.c (_IO_no_init): Split in two. New function _IO_old_init.
* Update.Ulrich Drepper2003-05-062-4/+8
| | | | | | 2003-05-06 Ulrich Drepper <drepper@redhat.com> * locales/de_DE: Use two-letter abday values.
* Update.Ulrich Drepper2003-05-066-3/+50
| | | | | | | | | | | * sysdeps/generic/enbl-secure.c (__libc_enable_secure_decided): New variable. (__libc_init_secure): Don't do anything if __libc_enable_secure_decided is nonzero. * include/unistd.h: Declare __libc_enable_secure_decided. * elf/dl-support.c (_dl_aux_init): Recognize AT_UID, AT_EUID, AT_GID, and AT_EGID. If all found, set __libc_enable_secure and __libc_enable_secure_decided.
* Update.Ulrich Drepper2003-05-063-10/+17
| | | | | | | 2003-05-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/libc-start.c [!SHARED]: Call __libc_check_standard_fds after __libc_init_first.
* (TLS_INIT_TP): Include \n in error message.Ulrich Drepper2003-05-061-1/+1
|
* * Makerules (common-before-compile): New variable.Roland McGrath2003-05-051-3/+9
| | | | | | | | | ($(common-objpfx)%.make): Depend on that instead of $(before-compile). ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. Move this rule to after all setting of before-compile. * sunrpc/Makefile (generated-dirs): New variable. * resolv/Makefile (generated): New variable.
* 2003-05-05 Roland McGrath <roland@redhat.com>Roland McGrath2003-05-051-20/+27
| | | | | | | * Makerules (common-before-compile): New variable. ($(common-objpfx)%.make): Depend on that instead of $(before-compile). ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. Move this rule to after all setting of before-compile.
* Update.Ulrich Drepper2003-05-0511-20/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-05 Jakub Jelinek <jakub@redhat.com> * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_val_8_acq, __arch_compare_and_exchange_val_16_acq): Cast 0 to mem's type. * sysdeps/powerpc/powerpc32/bits/atomic.h (__arch_compare_and_exchange_val_64_acq): Likewise. * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__arch_compare_and_exchange_val_8_acq, __arch_compare_and_exchange_val_16_acq, __arch_compare_and_exchange_val_64_acq): Likewise. * sysdeps/sparc/sparc64/bits/atomic.h (__arch_compare_and_exchange_val_8_acq, __arch_compare_and_exchange_val_16_acq): Likewise. * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq, __arch_compare_and_exchange_val_16_acq, __arch_compare_and_exchange_val_64_acq): Likewise. * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__arch_compare_and_exchange_val_64_acq): Likewise. * sysdeps/s390/s390-64/backtrace.c (__backtrace): Add cast to shut up warning. * sysdeps/s390/fpu/fegetenv.c (fegetenv): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0): Return long instead of int. (INTERNAL_SYSCALL_ERROR_P): Cast val to unsigned long, replace 0xfffff001u with -4095UL.
* (tst_wcsxfrm): Use %zu instead of %d format specifier when printing ret.Ulrich Drepper2003-05-051-2/+2
|