kopensolaris-gnu/glibc.git
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.

18 years ago(tests): Add tst-popen1.
drepper [Fri, 7 Feb 2003 06:45:44 +0000 (06:45 +0000)]
(tests): Add tst-popen1.

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

18 years ago(__vfork): Branch to __fork whenever libpthread.so is loaded.
drepper [Fri, 7 Feb 2003 06:19:32 +0000 (06:19 +0000)]
(__vfork): Branch to __fork whenever libpthread.so is loaded.

18 years ago(tests): Add tst-popen2.
drepper [Fri, 7 Feb 2003 06:18:45 +0000 (06:18 +0000)]
(tests): Add tst-popen2.

18 years agoTest for popen.
drepper [Fri, 7 Feb 2003 06:18:19 +0000 (06:18 +0000)]
Test for popen.

18 years agoUpdate.
drepper [Thu, 6 Feb 2003 19:15:14 +0000 (19:15 +0000)]
Update.

18 years agoSecond parameter of sched_setaffinity and sched_getaffinity is `unsigned int',
drepper [Thu, 6 Feb 2003 19:13:45 +0000 (19:13 +0000)]
Second parameter of sched_setaffinity and sched_getaffinity is `unsigned int',
not `unsigned long'.

18 years agoSecond parameter of sched_setaffinity and sched_getaffinity is
drepper [Thu, 6 Feb 2003 19:12:27 +0000 (19:12 +0000)]
Second parameter of sched_setaffinity and sched_getaffinity is
`unsigned int', not `unsigned long'.

18 years agoUndo last change.
drepper [Thu, 6 Feb 2003 17:14:01 +0000 (17:14 +0000)]
Undo last change.

18 years ago(_CS_2_SYMLINKS): New definition.
drepper [Thu, 6 Feb 2003 17:11:23 +0000 (17:11 +0000)]
(_CS_2_SYMLINKS): New definition.

18 years agoLittle mishap in last change.
drepper [Thu, 6 Feb 2003 08:46:09 +0000 (08:46 +0000)]
Little mishap in last change.

18 years agoUpdate.
drepper [Thu, 6 Feb 2003 08:38:56 +0000 (08:38 +0000)]
Update.

18 years agoRemove wrong but inactive generalization.
drepper [Thu, 6 Feb 2003 08:38:00 +0000 (08:38 +0000)]
Remove wrong but inactive generalization.
Minor optimization, remove one instruction.

18 years agoRemove wrong but inactive generalization.
drepper [Thu, 6 Feb 2003 08:36:55 +0000 (08:36 +0000)]
Remove wrong but inactive generalization.

18 years agoUpdate.
drepper [Thu, 6 Feb 2003 03:05:38 +0000 (03:05 +0000)]
Update.

18 years agoFix typo in error messsage.
drepper [Thu, 6 Feb 2003 03:04:18 +0000 (03:04 +0000)]
Fix typo in error messsage.

18 years agoUpdate.
drepper [Wed, 5 Feb 2003 23:30:38 +0000 (23:30 +0000)]
Update.

18 years agoAdd posix_fadvise64 syscall.
drepper [Wed, 5 Feb 2003 23:29:25 +0000 (23:29 +0000)]
Add posix_fadvise64 syscall.

18 years agoAdd posix_fadvise64 syscall.
drepper [Wed, 5 Feb 2003 23:28:03 +0000 (23:28 +0000)]
Add posix_fadvise64 syscall.

18 years agoposix_fadvise for Linux.
drepper [Wed, 5 Feb 2003 23:25:45 +0000 (23:25 +0000)]
posix_fadvise for Linux.

18 years agoBump to 0.20.
drepper [Wed, 5 Feb 2003 20:13:46 +0000 (20:13 +0000)]
Bump to 0.20.

18 years agoFix typo.
drepper [Wed, 5 Feb 2003 19:52:56 +0000 (19:52 +0000)]
Fix typo.

18 years agoUpdate.
drepper [Wed, 5 Feb 2003 18:06:28 +0000 (18:06 +0000)]
Update.

18 years agoUse _IO_putwc_unlocked, not _IO_putc_unlocked.
drepper [Wed, 5 Feb 2003 18:05:14 +0000 (18:05 +0000)]
Use _IO_putwc_unlocked, not _IO_putc_unlocked.

18 years agoUpdate.
drepper [Wed, 5 Feb 2003 17:50:58 +0000 (17:50 +0000)]
Update.

18 years agoUpdate.
drepper [Wed, 5 Feb 2003 17:47:50 +0000 (17:47 +0000)]
Update.

18 years agoFix a heap-corrupting bug.
drepper [Wed, 5 Feb 2003 17:46:12 +0000 (17:46 +0000)]
Fix a heap-corrupting bug.
Include <limits.h>.
(PATH_MAX) [!defined PATH_MAX]: Define to 1024.
(process_entry): Allocate enough space to hold the resulting
file name.  Don't presume that 2*dirbufsize is enough.
(ftw_startup): Always use PATH_MAX to compute buffer size, now that
it is guaranteed to be defined.

18 years agoUpdate.
drepper [Wed, 5 Feb 2003 09:54:24 +0000 (09:54 +0000)]
Update.

18 years ago(__libc_once): Set control variable for non-libpthread case to the same value
drepper [Wed, 5 Feb 2003 09:53:23 +0000 (09:53 +0000)]
(__libc_once): Set control variable for non-libpthread case to the same value
the pthread_once function would use.

18 years agoUpdate.
drepper [Wed, 5 Feb 2003 09:37:32 +0000 (09:37 +0000)]
Update.

18 years ago(__NR_set_tid_address): Add #ifdef for s390.
drepper [Wed, 5 Feb 2003 09:36:35 +0000 (09:36 +0000)]
(__NR_set_tid_address): Add #ifdef for s390.

18 years ago(allocate_stack): Pretty printing.
drepper [Wed, 5 Feb 2003 09:35:53 +0000 (09:35 +0000)]
(allocate_stack): Pretty printing.

18 years agosem_wait implementation for Linux/S390.
drepper [Wed, 5 Feb 2003 09:33:03 +0000 (09:33 +0000)]
sem_wait implementation for Linux/S390.

18 years agosem_trywait implementation for Linux/s390.
drepper [Wed, 5 Feb 2003 09:32:51 +0000 (09:32 +0000)]
sem_trywait implementation for Linux/s390.

18 years agosem_timedwait implementation for Linux/S390.
drepper [Wed, 5 Feb 2003 09:32:35 +0000 (09:32 +0000)]
sem_timedwait implementation for Linux/S390.

18 years agosem_post implementation for Linux/S390.
drepper [Wed, 5 Feb 2003 09:32:19 +0000 (09:32 +0000)]
sem_post implementation for Linux/S390.

18 years agoCancellation support for Linux/S390-64.
drepper [Wed, 5 Feb 2003 09:31:51 +0000 (09:31 +0000)]
Cancellation support for Linux/S390-64.

18 years agovfork for Linux/s390-64.
drepper [Wed, 5 Feb 2003 09:31:40 +0000 (09:31 +0000)]
vfork for Linux/s390-64.

18 years agoinit/fini support for Linux/s390-64.
drepper [Wed, 5 Feb 2003 09:31:22 +0000 (09:31 +0000)]
init/fini support for Linux/s390-64.

18 years agoCancellation support for Linux/s390.
drepper [Wed, 5 Feb 2003 09:30:53 +0000 (09:30 +0000)]
Cancellation support for Linux/s390.

18 years agovfork for Linux/s390-32.
drepper [Wed, 5 Feb 2003 09:30:25 +0000 (09:30 +0000)]
vfork for Linux/s390-32.

18 years agoInit/fini code for Linux/s390-32.
drepper [Wed, 5 Feb 2003 09:30:06 +0000 (09:30 +0000)]
Init/fini code for Linux/s390-32.