aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-06-28Optimize several little things. Use stream unlocked.Ulrich Drepper
2003-06-27* sysdeps/mach/hurd/alpha/init-first.c: Remove call to __libc_init.Roland McGrath
* sysdeps/mach/hurd/i386/init-first.c: Likewise. * sysdeps/mach/hurd/mips/init-first.c: Likewise. * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
2003-06-272003-06-27 Jeroen Dekkers <jeroen@dekkers.cx>Roland McGrath
* sysdeps/mach/hurd/alpha/init-first.c: Remove call to __libc_init. * sysdeps/mach/hurd/i386/init-first.c: Likewise. * sysdeps/mach/hurd/mips/init-first.c: Likewise. * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
2003-06-27Bump to 0.50.Ulrich Drepper
2003-06-27Update.Ulrich Drepper
* tst-cancel4.c (tf_msgrcv): Use IPC_PRIVATE in msgget call. (tf_msgsnd): Likewise.
2003-06-27Update.Ulrich Drepper
2003-06-27 Ulrich Drepper <drepper@redhat.com> * rt/Makefile (CFLAGS-librt-cancellation.c): Define.
2003-06-27Update.Ulrich Drepper
2003-06-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/librt-cancellation.c: Move __pthread_unwind definition to the front. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Rename the cleanup functions to make the names unique. Fix dwarf opcode un unwind table. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Rename cleanup functions to make the names unique. Fix CFA offset for two blocks.
2003-06-27Move __pthread_unwind definition to the front.Ulrich Drepper
2003-06-27* sysdeps/mach/configure.in: Barf rather than define NO_CREATION_TIME.Roland McGrath
* sysdeps/mach/configure: Regenerated. * sysdeps/mach/hurd/times.c (times_init): Function removed. (__times): Assume `creation_time' field is available. * sysdeps/mach/hurd/Makefile [$(subdir) = csu] (sysdep_routines): Don't append set-init. * sysdeps/mach/hurd/set-init.c: File removed.
2003-06-26[__LINUX_KERNEL_VERSION >= 132426] (__ASSUME_AT_SECURE): Define it.Roland McGrath
2003-06-26* elf/elf.h (AT_SECURE): New macro.Roland McGrath
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Grok it, set __libc_enable_secure. (_dl_show_auxv): Add AT_SECURE to name table. * elf/dl-support.c (_dl_aux_init): Grok AT_SECURE, set __libc_enable_secure and __libc_enable_secure_decided. * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE] (HAVE_AUX_SECURE): Define it. * sysdeps/unix/sysv/linux/kernel-features.h [__LINUX_KERNEL_VERSION >= 132425] (__ASSUME_AT_SECURE): Define it.
2003-06-262003-06-26 Roland McGrath <roland@redhat.com>Roland McGrath
* elf/elf.h (AT_SECURE): New macro. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Grok it, set __libc_enable_secure. (_dl_show_auxv): Add AT_SECURE to name table. * elf/dl-support.c (_dl_aux_init): Grok AT_SECURE, set __libc_enable_secure and __libc_enable_secure_decided. * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE] (HAVE_AUX_SECURE): Define it. * sysdeps/unix/sysv/linux/kernel-features.h [__LINUX_KERNEL_VERSION >= 132425] (__ASSUME_AT_SECURE): Define it.
2003-06-26Update.Ulrich Drepper
2003-06-26 Ulrich Drepper <drepper@redhat.com> * io/test-utime.c: If _STATBUF_ST_NSEC is defined, adjust lower boundary test to take rounding of nanoseconds into account. * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_NSEC. * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
2003-06-26Define _STATBUF_ST_NSEC.Ulrich Drepper
2003-06-26*** empty log message ***Andreas Schwab
2003-06-26 Andreas Schwab <schwab@suse.de> * sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp. * sysdeps/m68k/fpu/s_frexp.c: Put implementation here. * sysdeps/m68k/fpu/s_frexpl.c: Fix to handle unnormalized numbers.
2003-06-26* sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp. Andreas Schwab
* sysdeps/m68k/fpu/s_frexp.c: Put implementation here. * sysdeps/m68k/fpu/s_frexpl.c: Fix to handle unnormalized numbers.
2003-06-26Update.Ulrich Drepper
2003-06-17 Thorsten Kukuk <kukuk@suse.de> * nis/Makefile: Remove NIS/NIS+ files from nss_compat module. * nis/nss_compat/compat-grp.c: Don't use our own NIS/NIS+ functions, dlopen corresponding NSS module instead. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. * nis/nss_compat/compat-initgroups.c: Disabled for now. * nss/Versions: Export __nss_lookup_function. 2003-06-19 Daniel Jacobowitz <drow@mvista.com> * sysdeps/unix/sysv/linux/kernel-features.h: Update kernel features for the SH architecture. 2003-06-25 Thorsten Kukuk <kukuk@suse.de> * csu/Makefile: Use CPPFLAGS to find correct linux/version.h.
2003-06-26Update.Ulrich Drepper
2003-06-25 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/pthread.h (class __pthread_cleanup_class): Add missing closing braces. Patch by Christophe Saout <christophe@saout.de>.
2003-06-26(class __pthread_cleanup_class): Add missing closing braces.Ulrich Drepper
2003-06-25Update.Andreas Jaeger
* stdlib/tst-strtod.c (main): Declare constant long double as suggested by Jakub Jelinek and Andreas Schwab.
2003-06-25* posix/tst-nanosleep.c: Include <time.h> for nanosleep Andreas Jaeger
declaration. * stdio-common/tst-fphex.c: Fix format string. * posix/tst-nanosleep.c: Include <time.h> for nanosleep declaration. * stdio-common/tst-fphex.c: Fix format string.
2003-06-25* posix/transbug.c: Include <string.h> for memset and strlen Andreas Jaeger
declarations. * stdio-common/tst-sprintf.c: Include <stdlib.h> for free declaration. * stdlib/tst-strtod.c (main): Pass long double value. * test-skeleton.c: Include <time.h> for nanosleep declaration. 2003-06-25 Andreas Jaeger <aj@suse.de> * posix/transbug.c: Include <string.h> for memset and strlen declarations. * stdio-common/tst-sprintf.c: Include <stdlib.h> for free declaration. * stdlib/tst-strtod.c (main): Pass long double value. * test-skeleton.c: Include <time.h> for nanosleep declaration.
2003-06-25Update.Ulrich Drepper
2003-06-25 Ulrich Drepper <drepper@redhat.com> * include/time.h: Don't define CLOCK_IDFIELD_SIZE if _ISOMAC is defined.
2003-06-25Update.Ulrich Drepper
2003-06-11 Jakub Jelinek <jakub@redhat.com> * elf/Versions (libc): Add _dl_open_hook@GLIBC_PRIVATE. * elf/dl-libc.c (struct dl_open_hook): New. (_dl_open_hook): New variable. (do_dlsym_private): New function. (__libc_dlopen_mode) [!SHARED]: Lookup _dl_open_hook@GLIBC_PRIVATE and initialize it if found. (__libc_dlopen_mode) [SHARED]: If _dl_open_hook is non-NULL, call dlopen_mode hook. (__libc_dlsym) [SHARED]: If _dl_open_hook is non-NULL, call dlsym hook. (__libc_dlclose) [SHARED]: If _dl_open_hook is non-NULL, call dlclose hook.
2003-06-25Update.Ulrich Drepper
2003-06-25 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/cris/sysdep.h (INLINE_SYSCALL): Cast result to long int so that extensions to long long int work. Patch by Uwe Reimann <libc-alpha@pulsar.homelinux.net>. 2003-06-19 Jakub Jelinek <jakub@redhat.com> * elf/ldconfig.c (main): Use add_system_dir instead of add_dir. * sysdeps/generic/dl-cache.h (add_system_dir): Define. * sysdeps/unix/sysv/linux/x86_64/dl-cache.h: Include sparc dl-cache.h. * sysdeps/unix/sysv/linux/s390/dl-cache.h: New file. * sysdeps/unix/sysv/linux/mips/dl-cache.h: New file. * sysdeps/unix/sysv/linux/powerpc/dl-cache.h: New file. * sysdeps/unix/sysv/linux/sparc/dl-cache.h: New file.
2003-06-25Update.Ulrich Drepper
2003-06-19 Jakub Jelinek <jakub@redhat.com> * test-skeleton.c (timeout_handler): If waitpid returned 0, retry once after a second. If killed == 0, assume WTERMSIG (status) == SIGKILL.
2003-06-25Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h: New file. * sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h: New file.
2003-06-25POSIX options for Linux/x86-64 with nptl.Ulrich Drepper
2003-06-25* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Support cancellationRoland McGrath
in librt. * sysdeps/unix/sysv/linux/alpha/Makefile (libpthread-routines):
2003-06-25* sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Catch uninitializedRoland McGrath
elements in the table instead of printing an empty name string. 2003-06-05 Roland McGrath <roland@redhat.com> * elf/elf.h (PT_GNU_STACK): New macro.
2003-06-252003-06-05 Roland McGrath <roland@redhat.com>Roland McGrath
* elf/elf.h (PT_GNU_STACK): New macro.
2003-06-25Update.Ulrich Drepper
* include/time.h: Define CLOCK_IDFIELD_SIZE. * sysdeps/posix/clock_getres.c: Recognize thread CPU clock IDs. * sysdeps/unix/clock_gettime.c: Likewise. * sysdeps/unix/clock_settime.c: Likewise. * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Adjust for new clock id for thread CPU clocks.
2003-06-24Update.Ulrich Drepper
2003-06-24 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/fstatfs64.c (__fstatfs64): Add support for the fstatfs64 syscall. * sysdeps/unix/sysv/linux/statfs64.c (__statfs64): Add support for the statfs64 syscall. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_STATFS64 appropriately. * sysdeps/unix/sysv/linux/internal_statvfs.c: Use f_frsize field from statfs structure if it has been filled in. * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_frsize field. (struct statfs64): Likewise. * sysdeps/unix/sysv/linux/alpha/bits/statfs.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise. instead of __libc_cleanup_region_*.
2003-06-24(struct statfs): Add f_frsize field. (struct statfs64): Likewise.Ulrich Drepper
2003-06-24 * sysdeps/alpha/bits/atomic.h: New file.Richard Henderson
* sysdeps/alpha/bits/atomic.h: New file.
2003-06-24 * sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET. ↵Richard Henderson
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use libc_hidden_def. * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use libc_hidden_proto on them. * sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET. * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use libc_hidden_def. * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use libc_hidden_proto on them.
2003-06-24 * sysdeps/alpha/fpu/bits/mathinline.h: Honor ↵Richard Henderson
__LIBC_INTERNAL_MATH_INLINES. Implement __signbitf, __signbit. * sysdeps/alpha/fpu/bits/mathinline.h: Honor __LIBC_INTERNAL_MATH_INLINES. Implement __signbitf, __signbit.
2003-06-24 * sysdeps/alpha/setjmp.S (_setjmp, setjmp): Mark .prologue.Richard Henderson
* sysdeps/alpha/setjmp.S (_setjmp, setjmp): Mark .prologue.
2003-06-24 * sysdeps/unix/sysv/linux/alpha/syscalls.list (pread, pwrite): Use ↵Richard Henderson
the 64-bit syscall name. 2003-06-24 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/syscalls.list (pread, pwrite): Use the 64-bit syscall name.
2003-06-24*** empty log message ***Andreas Schwab
2003-06-24 Andreas Schwab <schwab@suse.de> * sysdeps/m68k/fpu/libm-test-ulps: Update.
2003-06-24Update.Andreas Schwab
2003-06-24Updaet.Andreas Jaeger
2003-06-24 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/x86_64/stat.h (_STAT_VER_LINUX): Avoid redeclaration with 32-bit code.
2003-06-24(_STAT_VER_LINUX): Avoid redeclaration with 32-bit code.Andreas Jaeger
2003-06-24Update.Ulrich Drepper
2003-05-19 Ed Connell <ed.connell@sas.com> * sysdeps/unix/sysv/linux/i386/getcontext.S (getcontext): Retain floating point mask. * sysdeps/i386/fpu/fegetenv.c (fegetenv): Likewise.
2003-06-24Update.Ulrich Drepper
* sysdeps/pthread/aio_misc.h: Mark __aio_requests_mutex, __aio_enqueue_request, __aio_find_req, __aio_find_req_fd, __aio_free_request, __aio_notify, and __aio_sigqueue as hidden. * sysdeps/pthread/aio_suspend.c (aio_suspend): Set errno to the result of pthread_cond_wait if there was an error. Use pthread_cleanup_* instead of __lbic_cleanup_region_*.
2003-06-23Update.Ulrich Drepper
2003-06-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/aio_suspend.c (aio_suspend): Set errno to EINTR if this is what pthread_cond_wait returned.
2003-06-23Update.Ulrich Drepper
* pthreadP.h: Mark __pthread_mutex_unlock_usercnt also hidden. * pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt): Add attribute_hidden.
2003-06-22Update.Ulrich Drepper
2003-06-22 Ulrich Drepper <drepper@redhat.com> * pthreadP.h (__pthread_mutex_init_internal): Mark hidden. (__pthread_mutex_lock_internal): Likewise. (__pthread_mutex_unlock_internal): Likewise. (__pthread_mutex_unlock_usercnt): Declare. * pthread_mutex_destroy.c: Always fail if used in any way. * pthread_mutex_init.c: Update comment. * pthread_mutex_lock.c: If NO_INCR is not defined adjust __nusers. * pthread_mutex_timedlock.c: Adjust __nusers. * pthread_mutex_trylock.c: Adjust __nusers. * pthread_mutex_unlock.c: Old code is in __pthread_mutex_unlock_usercnt and public interfaces are wrapper with pass additional parameter. __pthread_mutex_unlock_usercnt does not adjust __nusers if second parameter zero. * tst-mutex8.c: New file. * Makefile (tests): Add tst-mutex8. * sysdeps/pthread/pthread_cond_timedwait.c: Call __pthread_mutex_unlock_usercnt. * sysdeps/pthread/pthread_cond_wait.c: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise. * sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Define NO_INCR. * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_mutex_t): Add __nusers. * 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/sh/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. * pthread_mutex_lock.c: Don't store THREAD_ID in __owner, use TID. * pthread_mutex_timedlock.c: Likewise. * pthread_mutex_trylock.c: Adjust __nusers. * pthread_mutex_unlock.c: Compare with TID not THREAD_ID. * tst-mutex9.c: New file. * Makefile (tests): Add tst-mutex9. * sysdeps/i386/tls.h: Remove THREAD_ID definition. * sysdeps/ia64/tls.h: Likewise. * sysdeps/powerpc/tls.h: Likewise. * sysdeps/s390/tls.h: Likewise. * sysdeps/sh/tls.h: Likewise. * sysdeps/x86_64/tls.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_mutex_t): Change type of __owner. * 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/sh/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
2003-06-22(__pthread_mutex_init_internal): Mark hidden. ↵Ulrich Drepper
(__pthread_mutex_lock_internal): Likewise. (__pthread_mutex_unlock_internal): Likewise. (__pthread_mutex_unlock_usercnt): Declare.
2003-06-20* sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Support cancellationAndreas Schwab
in librt.