kopensolaris-gnu/glibc.git
18 years ago(__vfork): Branch to __fork whenever libpthread.so is loaded.
drepper [Tue, 11 Feb 2003 06:29:29 +0000 (06:29 +0000)]
(__vfork): Branch to __fork whenever libpthread.so is loaded.

18 years ago(__vfork): Fix a typo.
drepper [Tue, 11 Feb 2003 06:28:49 +0000 (06:28 +0000)]
(__vfork): Fix a typo.
Check pthread_create existance, not __pthread_fork.

18 years ago(__vfork): Fix a typo.
drepper [Tue, 11 Feb 2003 06:28:36 +0000 (06:28 +0000)]
(__vfork): Fix a typo.
Check pthread_create existance, not __pthread_fork.

18 years ago(__vfork): Check pthread_create existance, not __pthread_fork.
drepper [Tue, 11 Feb 2003 06:27:53 +0000 (06:27 +0000)]
(__vfork): Check pthread_create existance, not __pthread_fork.

18 years agoUpdate.
drepper [Tue, 11 Feb 2003 06:24:17 +0000 (06:24 +0000)]
Update.

18 years ago(SWAP): Add parenthesis to avoid warnings.
drepper [Tue, 11 Feb 2003 05:47:57 +0000 (05:47 +0000)]
(SWAP): Add parenthesis to avoid warnings.

18 years ago(check-textrel-CFLAGS): Pass _XOPEN_SOURCE and _BSD_SOURCE to compiler.
drepper [Tue, 11 Feb 2003 05:47:22 +0000 (05:47 +0000)]
(check-textrel-CFLAGS): Pass _XOPEN_SOURCE and _BSD_SOURCE to compiler.

18 years agoBump to 0.21.
drepper [Tue, 11 Feb 2003 01:32:32 +0000 (01:32 +0000)]
Bump to 0.21.

18 years agoUpdate.
drepper [Tue, 11 Feb 2003 00:48:56 +0000 (00:48 +0000)]
Update.

18 years ago(tests): Add tst-cancel8.
drepper [Tue, 11 Feb 2003 00:48:03 +0000 (00:48 +0000)]
(tests): Add tst-cancel8.

18 years agoTest for delayed cancellation and limited cleanup range.
drepper [Tue, 11 Feb 2003 00:47:33 +0000 (00:47 +0000)]
Test for delayed cancellation and limited cleanup range.

18 years agoUpdate.
drepper [Mon, 10 Feb 2003 23:43:49 +0000 (23:43 +0000)]
Update.

18 years ago(tests): Add tst-once4.
drepper [Mon, 10 Feb 2003 23:42:58 +0000 (23:42 +0000)]
(tests): Add tst-once4.

18 years agoMore test of cancellation in once handler.
drepper [Mon, 10 Feb 2003 23:42:33 +0000 (23:42 +0000)]
More test of cancellation in once handler.

18 years ago(clear_once_control): Load mutex address in correct register.
drepper [Mon, 10 Feb 2003 23:41:27 +0000 (23:41 +0000)]
(clear_once_control): Load mutex address in correct register.

18 years agoUpdate.
drepper [Mon, 10 Feb 2003 23:11:15 +0000 (23:11 +0000)]
Update.

18 years ago(tests): Add tst-once3.
drepper [Mon, 10 Feb 2003 23:10:34 +0000 (23:10 +0000)]
(tests): Add tst-once3.

18 years agoCheck cancellation of once handler.
drepper [Mon, 10 Feb 2003 23:10:13 +0000 (23:10 +0000)]
Check cancellation of once handler.

18 years ago(clear_once_control): Fix clearing of control variable.
drepper [Mon, 10 Feb 2003 22:44:14 +0000 (22:44 +0000)]
(clear_once_control): Fix clearing of control variable.

18 years agoTest for popen.
drepper [Mon, 10 Feb 2003 22:42:37 +0000 (22:42 +0000)]
Test for popen.

18 years agoUpdate.
drepper [Mon, 10 Feb 2003 09:24:12 +0000 (09:24 +0000)]
Update.

18 years agoDefinition for cancelable system calls.
drepper [Mon, 10 Feb 2003 09:21:42 +0000 (09:21 +0000)]
Definition for cancelable system calls.

18 years agosem_wait implementation on Linux/SH.
drepper [Mon, 10 Feb 2003 09:21:27 +0000 (09:21 +0000)]
sem_wait implementation on Linux/SH.

18 years agosem_trywait implementation on Linux/SH.
drepper [Mon, 10 Feb 2003 09:21:13 +0000 (09:21 +0000)]
sem_trywait implementation on Linux/SH.

18 years agosem_timedwait implementation on Linux/SH.
drepper [Mon, 10 Feb 2003 09:21:03 +0000 (09:21 +0000)]
sem_timedwait implementation on Linux/SH.

18 years agosem_post implementation on Linux/SH.
drepper [Mon, 10 Feb 2003 09:20:51 +0000 (09:20 +0000)]
sem_post implementation on Linux/SH.

18 years agopthread_rwlock_wrlock implementation on Linux/SH.
drepper [Mon, 10 Feb 2003 09:20:38 +0000 (09:20 +0000)]
pthread_rwlock_wrlock implementation on Linux/SH.

18 years agopthread_rwlock_unlock implementation on Linux/SH.
drepper [Mon, 10 Feb 2003 09:20:23 +0000 (09:20 +0000)]
pthread_rwlock_unlock implementation on Linux/SH.

18 years agopthread_rwlock_timedwrlock implementation for Linux/SH.
drepper [Mon, 10 Feb 2003 09:20:00 +0000 (09:20 +0000)]
pthread_rwlock_timedwrlock implementation for Linux/SH.

18 years agopthread_rwlock_timedrdlock implementation on Linux/SH.
drepper [Mon, 10 Feb 2003 09:19:42 +0000 (09:19 +0000)]
pthread_rwlock_timedrdlock implementation on Linux/SH.

18 years agopthread_rwlock_rdlock on Linux/SH.
drepper [Mon, 10 Feb 2003 09:19:25 +0000 (09:19 +0000)]
pthread_rwlock_rdlock on Linux/SH.

18 years agopthread_once implementation on Linux/SH.
drepper [Mon, 10 Feb 2003 09:19:14 +0000 (09:19 +0000)]
pthread_once implementation on Linux/SH.

18 years agopthread_cond_wait implementation for Linux/SH.
drepper [Mon, 10 Feb 2003 09:18:57 +0000 (09:18 +0000)]
pthread_cond_wait implementation for Linux/SH.

18 years agopthread_cond_timedwait implementation for Linux/SH.
drepper [Mon, 10 Feb 2003 09:18:38 +0000 (09:18 +0000)]
pthread_cond_timedwait implementation for Linux/SH.

18 years agopthread_cond_signal implementation for Linux/SH.
drepper [Mon, 10 Feb 2003 09:18:21 +0000 (09:18 +0000)]
pthread_cond_signal implementation for Linux/SH.

18 years agopthread_cond_broadcast implementation for Linux/SH.
drepper [Mon, 10 Feb 2003 09:18:06 +0000 (09:18 +0000)]
pthread_cond_broadcast implementation for Linux/SH.

18 years agopthread_barrier_wait implementation for Linux/SH.
drepper [Mon, 10 Feb 2003 09:17:47 +0000 (09:17 +0000)]
pthread_barrier_wait implementation for Linux/SH.

18 years agovfork implementation for libpthread on Linux/SH.
drepper [Mon, 10 Feb 2003 09:17:29 +0000 (09:17 +0000)]
vfork implementation for libpthread on Linux/SH.

18 years agoSpecial startup code for libpthread on Linux/SH.
drepper [Mon, 10 Feb 2003 09:17:06 +0000 (09:17 +0000)]
Special startup code for libpthread on Linux/SH.

18 years agoDefinitions for lowlevel rwlock implementation on Linux/SH.
drepper [Mon, 10 Feb 2003 09:16:46 +0000 (09:16 +0000)]
Definitions for lowlevel rwlock implementation on Linux/SH.

18 years agoLowlevel mutex implementation for Linux/SH.
drepper [Mon, 10 Feb 2003 09:16:28 +0000 (09:16 +0000)]
Lowlevel mutex implementation for Linux/SH.

18 years agoDefinitions for lowlevel lock implementation on Linux/SH.
drepper [Mon, 10 Feb 2003 09:16:02 +0000 (09:16 +0000)]
Definitions for lowlevel lock implementation on Linux/SH.

18 years agoLowlevel lock implementation for Linux/SH.
drepper [Mon, 10 Feb 2003 09:15:43 +0000 (09:15 +0000)]
Lowlevel lock implementation for Linux/SH.

18 years agoDefinitions for condition variables on Linux/SH.
drepper [Mon, 10 Feb 2003 09:15:28 +0000 (09:15 +0000)]
Definitions for condition variables on Linux/SH.

18 years agoDefinitions of atomic operations for lowlevel operations on Linux/SH.
drepper [Mon, 10 Feb 2003 09:15:00 +0000 (09:15 +0000)]
Definitions of atomic operations for lowlevel operations on Linux/SH.

18 years agoLowlevel mutex implementation for libc on Linux/SH.
drepper [Mon, 10 Feb 2003 09:14:30 +0000 (09:14 +0000)]
Lowlevel mutex implementation for libc on Linux/SH.

18 years agoLowlevel lock implemenation for libc on Linux/SH.
drepper [Mon, 10 Feb 2003 09:14:13 +0000 (09:14 +0000)]
Lowlevel lock implemenation for libc on Linux/SH.

18 years agofork for Linux/SH.
drepper [Mon, 10 Feb 2003 09:13:56 +0000 (09:13 +0000)]
fork for Linux/SH.

18 years agoFunction to create new thread for Linux/SH.
drepper [Mon, 10 Feb 2003 09:13:45 +0000 (09:13 +0000)]
Function to create new thread for Linux/SH.

18 years agoSemaphore definitions for Linux/SH.
drepper [Mon, 10 Feb 2003 09:13:27 +0000 (09:13 +0000)]
Semaphore definitions for Linux/SH.

18 years agoPthread type definitions for Linux/SH.
drepper [Mon, 10 Feb 2003 09:13:11 +0000 (09:13 +0000)]
Pthread type definitions for Linux/SH.

18 years agoTLS definitions for SH.
drepper [Mon, 10 Feb 2003 09:12:53 +0000 (09:12 +0000)]
TLS definitions for SH.

18 years agoSupport to map LWP reference to thread descriptor for libthread_db on SH.
drepper [Mon, 10 Feb 2003 09:12:41 +0000 (09:12 +0000)]
Support to map LWP reference to thread descriptor for libthread_db on SH.

18 years agoTCB offsets needed in asm code for SH.
drepper [Mon, 10 Feb 2003 09:12:06 +0000 (09:12 +0000)]
TCB offsets needed in asm code for SH.

18 years agoDefinitions for pthread on SH.
drepper [Mon, 10 Feb 2003 09:11:52 +0000 (09:11 +0000)]
Definitions for pthread on SH.

18 years agopthread_spin_unlock implementation for SH.
drepper [Mon, 10 Feb 2003 09:11:41 +0000 (09:11 +0000)]
pthread_spin_unlock implementation for SH.

18 years agopthread_spin_trylock implementation for SH.
drepper [Mon, 10 Feb 2003 09:11:29 +0000 (09:11 +0000)]
pthread_spin_trylock implementation for SH.

18 years agopthread_spin_lock implementation for SH.
drepper [Mon, 10 Feb 2003 09:11:17 +0000 (09:11 +0000)]
pthread_spin_lock implementation for SH.

18 years agopthread_spin_init implementation for SH.
drepper [Mon, 10 Feb 2003 09:11:05 +0000 (09:11 +0000)]
pthread_spin_init implementation for SH.

18 years agoAtomic operations for SH.
drepper [Mon, 10 Feb 2003 09:10:53 +0000 (09:10 +0000)]
Atomic operations for SH.

18 years agoMakefile for SH.
drepper [Mon, 10 Feb 2003 09:08:52 +0000 (09:08 +0000)]
Makefile for SH.

18 years ago Rework: %r9 is destroyed by functions so don't use it as
aj [Mon, 10 Feb 2003 08:25:43 +0000 (08:25 +0000)]
Rework: %r9 is destroyed by functions so don't use it as
temporary, align stack correctly, fix parameter for CDISABLE.

18 years agoUpdate.
drepper [Sat, 8 Feb 2003 19:44:33 +0000 (19:44 +0000)]
Update.

18 years agoRearrange code to not rely on behavior undefined according to POSIX.
drepper [Sat, 8 Feb 2003 19:44:10 +0000 (19:44 +0000)]
Rearrange code to not rely on behavior undefined according to POSIX.

18 years ago(do_test): Lock mutex before creating the thread.
drepper [Sat, 8 Feb 2003 18:46:25 +0000 (18:46 +0000)]
(do_test): Lock mutex before creating the thread.

18 years agoUpdate.
drepper [Sat, 8 Feb 2003 18:29:49 +0000 (18:29 +0000)]
Update.

18 years agoGet current working directory before and after the nftw call and make sure they
drepper [Sat, 8 Feb 2003 18:28:54 +0000 (18:28 +0000)]
Get current working directory before and after the nftw call and make sure they
match.

18 years ago(ftw_startup): When using FTW_CHDIR, always remember the current
drepper [Sat, 8 Feb 2003 18:27:13 +0000 (18:27 +0000)]
(ftw_startup): When using FTW_CHDIR, always remember the current
directory, not just when DIR contains a slash.

18 years agoUpdate.
drepper [Sat, 8 Feb 2003 02:50:59 +0000 (02:50 +0000)]
Update.

18 years agoAdd autoconf-recommended block of alloca-related code.
drepper [Sat, 8 Feb 2003 02:49:28 +0000 (02:49 +0000)]
Add autoconf-recommended block of alloca-related code.
Include autoconf-recommended block of dirent/NAMELEN-related
definitions and includes.  Use NAMELEN throughout, rather than
_D_EXACT_NAMLEN.
[_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN.
[!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd.
(stpcpy): Declare, if necessary.
(mempcpy): Define, if necessary.
[!_LIBC] (__stpcpy, __mempcpy): Define.
[!_LIBC] (LXSTAT, XSTAT): Define.
(lstat) [!LIBC && !LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat.
(find_object): Don't use c99-style struct initializer.
Tweak wording in a couple comments.

18 years agoUpdate.
drepper [Sat, 8 Feb 2003 02:41:05 +0000 (02:41 +0000)]
Update.

18 years ago(__vfork): Branch to __fork whenever libpthread.so is loaded.
drepper [Sat, 8 Feb 2003 02:37:15 +0000 (02:37 +0000)]
(__vfork): Branch to __fork whenever libpthread.so is loaded.

18 years ago(PSEUDO): Add SYSCALL_INST_PAD macro after DO_CALL.
drepper [Sat, 8 Feb 2003 02:36:45 +0000 (02:36 +0000)]
(PSEUDO): Add SYSCALL_INST_PAD macro after DO_CALL.
(SINGLE_THREAD_P): Fix non-PIC and TLS case so to read the correct variable.

18 years ago (__fpscr_values): Remove.
drepper [Sat, 8 Feb 2003 02:36:21 +0000 (02:36 +0000)]
 (__fpscr_values): Remove.

18 years agoDon't include sysdep.h. Move include
drepper [Sat, 8 Feb 2003 02:36:06 +0000 (02:36 +0000)]
Don't include sysdep.h. Move include
of linuxthreads/descr.h after the definition of THREAD_SELF.
(tcbhead_t): Use IA64 type tcbhead_t for TLS case.
(TLS_TCB_SIZE): Set size of tcbhead_t.
(TLS_PRE_TCB_SIZE): Define.
(INSTALL_NEW_DTV): Set dtv of tcbhead_t structure instead of
a member of thread structure.
(THREAD_DTV): Likewise.
(TLS_INIT_TP_EXPENSIVE): Remove.
(TLS_INIT_TP): Set gbr register only.
(THREAD_SELF): New.
(INIT_THREAD_SELF): Likewise.
(NONTLS_INIT_TP): New.

18 years agoThread descriptor offsets needed in asm code.
drepper [Sat, 8 Feb 2003 02:35:49 +0000 (02:35 +0000)]
Thread descriptor offsets needed in asm code.

18 years agoMakefile for SH.
drepper [Sat, 8 Feb 2003 02:35:08 +0000 (02:35 +0000)]
Makefile for SH.

18 years agoUpdate.
drepper [Sat, 8 Feb 2003 02:34:27 +0000 (02:34 +0000)]
Update.

18 years ago(SYSCALL_ERROR_HANDLER): Save and restore the frame pointer.
drepper [Sat, 8 Feb 2003 02:33:06 +0000 (02:33 +0000)]
(SYSCALL_ERROR_HANDLER): Save and restore the frame pointer.
(SYSCALL_INST_PAD): Define.
(INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
(INTERNAL_SYSCALL): Make use of ERR parameter. Add SYSCALL_INST_PAD
after trapa instruction.
(INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.

18 years ago(start_thread): Undef to avoid to use definition for the kernel.
drepper [Sat, 8 Feb 2003 02:32:42 +0000 (02:32 +0000)]
(start_thread): Undef to avoid to use definition for the kernel.

18 years agoSystem specific definitions for Linux/SH4.
drepper [Sat, 8 Feb 2003 02:32:16 +0000 (02:32 +0000)]
System specific definitions for Linux/SH4.

18 years ago(__clone): Add additional parameters.
drepper [Sat, 8 Feb 2003 02:31:15 +0000 (02:31 +0000)]
(__clone): Add additional parameters.

18 years agoAdd SYSCALL_INST_PAD after the trapa instruction.
drepper [Sat, 8 Feb 2003 02:30:57 +0000 (02:30 +0000)]
Add SYSCALL_INST_PAD after the trapa instruction.

18 years agoAdd non-PIC TLS macros and fix clobber list for SH.
drepper [Sat, 8 Feb 2003 02:30:16 +0000 (02:30 +0000)]
Add non-PIC TLS macros and fix clobber list for SH.

18 years ago.
schwab [Sat, 8 Feb 2003 00:19:53 +0000 (00:19 +0000)]
.

18 years agoBranch to __fork whenever libpthread.so is loaded.
schwab [Sat, 8 Feb 2003 00:19:21 +0000 (00:19 +0000)]
Branch to __fork whenever libpthread.so is loaded.

18 years agoUpdate.
drepper [Fri, 7 Feb 2003 20:46:55 +0000 (20:46 +0000)]
Update.

18 years agoUpdate.
drepper [Fri, 7 Feb 2003 20:01:49 +0000 (20:01 +0000)]
Update.

18 years agoMake sure __ASSUME_VFORK_SYSCALL is not defined if the kernel headers have no
drepper [Fri, 7 Feb 2003 19:59:46 +0000 (19:59 +0000)]
Make sure __ASSUME_VFORK_SYSCALL is not defined if the kernel headers have no
__NR_vfork definition.

18 years ago(h_errno): Put it into .bss not .data section.
drepper [Fri, 7 Feb 2003 19:52:37 +0000 (19:52 +0000)]
(h_errno): Put it into .bss not .data section.

18 years ago(_res): Ensure _res is not common symbol, so that it can have aliases.
drepper [Fri, 7 Feb 2003 19:52:12 +0000 (19:52 +0000)]
(_res): Ensure _res is not common symbol, so that it can have aliases.

18 years agoUpdate.
drepper [Fri, 7 Feb 2003 19:45:00 +0000 (19:45 +0000)]
Update.

18 years ago(fixup): Correct typo in version index computation.
drepper [Fri, 7 Feb 2003 19:43:36 +0000 (19:43 +0000)]
(fixup): Correct typo in version index computation.
(profile_fixup): Likewise.

18 years agoUpdate.
drepper [Fri, 7 Feb 2003 09:58:39 +0000 (09:58 +0000)]
Update.

18 years agoRemove unnecessary macros, left over from x86.
drepper [Fri, 7 Feb 2003 09:58:10 +0000 (09:58 +0000)]
Remove unnecessary macros, left over from x86.

18 years ago(TLS_GET_FS): New #define.
drepper [Fri, 7 Feb 2003 09:43:52 +0000 (09:43 +0000)]
(TLS_GET_FS): New #define.
(TLS_SET_FS): New #define.
Correct value of __NR_set_thread_area.

18 years agoUpdate.
drepper [Fri, 7 Feb 2003 09:11:24 +0000 (09:11 +0000)]
Update.

18 years agotd_ta_map_lwp2thr implementation for x86-64.
drepper [Fri, 7 Feb 2003 09:09:31 +0000 (09:09 +0000)]
td_ta_map_lwp2thr implementation for x86-64.

18 years agoFix typo.
drepper [Fri, 7 Feb 2003 06:49:05 +0000 (06:49 +0000)]
Fix typo.

18 years agoUpdate.
drepper [Fri, 7 Feb 2003 06:46:21 +0000 (06:46 +0000)]
Update.