kopensolaris-gnu/glibc.git
18 years agoUse ENTER_KERNEL instead of int $0x80.
drepper [Fri, 20 Dec 2002 07:10:54 +0000 (07:10 +0000)]
Use ENTER_KERNEL instead of int $0x80.

18 years agoUnconditionally include <dl-sysdep.h>.
drepper [Fri, 20 Dec 2002 07:08:21 +0000 (07:08 +0000)]
Unconditionally include <dl-sysdep.h>.

18 years agoUpdate.
drepper [Fri, 20 Dec 2002 07:06:53 +0000 (07:06 +0000)]
Update.

18 years agoUse ENTER_KERNEL instead of int $0x80.
drepper [Fri, 20 Dec 2002 07:05:29 +0000 (07:05 +0000)]
Use ENTER_KERNEL instead of int $0x80.

18 years agoUse ENTER_KERNEL instead of int $0x80.
drepper [Fri, 20 Dec 2002 07:04:18 +0000 (07:04 +0000)]
Use ENTER_KERNEL instead of int $0x80.

18 years agoUpdate.
drepper [Thu, 19 Dec 2002 23:05:13 +0000 (23:05 +0000)]
Update.

18 years agoAdd support to use AT_SYSINFO information for system calls.
drepper [Thu, 19 Dec 2002 23:04:27 +0000 (23:04 +0000)]
Add support to use AT_SYSINFO information for system calls.

18 years agoDefine RTLD_PRIVATE_ERRNO to 1 only for ld.so.
drepper [Thu, 19 Dec 2002 23:03:20 +0000 (23:03 +0000)]
Define RTLD_PRIVATE_ERRNO to 1 only for ld.so.

18 years ago(_dl_start) [USE___THREAD]: Define initdtv.
drepper [Thu, 19 Dec 2002 23:02:34 +0000 (23:02 +0000)]
(_dl_start) [USE___THREAD]: Define initdtv.

18 years agoUpdate.
drepper [Thu, 19 Dec 2002 22:52:46 +0000 (22:52 +0000)]
Update.

18 years agoDefine RTLD_PRIVATE_ERRNO to 1 only for ld.so.
drepper [Thu, 19 Dec 2002 22:52:08 +0000 (22:52 +0000)]
Define RTLD_PRIVATE_ERRNO to 1 only for ld.so.

18 years ago(create_thread): Check that sysinfo is properly initialized.
drepper [Thu, 19 Dec 2002 22:51:17 +0000 (22:51 +0000)]
(create_thread): Check that sysinfo is properly initialized.

18 years ago(allocate_stack) [NEED_DL_SYSINFO]: Set sysinfo in new TCB.
drepper [Thu, 19 Dec 2002 22:49:55 +0000 (22:49 +0000)]
(allocate_stack) [NEED_DL_SYSINFO]: Set sysinfo in new TCB.

18 years ago.
roland [Thu, 19 Dec 2002 22:26:49 +0000 (22:26 +0000)]
.

18 years ago2002-12-19 Roland McGrath <roland@redhat.com>
roland [Thu, 19 Dec 2002 22:25:17 +0000 (22:25 +0000)]
2002-12-19  Roland McGrath  <roland@redhat.com>

* iconvdata/ibm856.h: Convert GCC extension initializer syntax to C99.
* iconvdata/ibm922.h: Likewise.
* iconvdata/ibm930.h: Likewise.
* iconvdata/ibm932.h: Likewise.
* iconvdata/ibm933.h: Likewise.
* iconvdata/ibm935.h: Likewise.
* iconvdata/ibm937.h: Likewise.
* iconvdata/ibm939.h: Likewise.
* iconvdata/ibm943.h: Likewise.
* iconvdata/isiri-3342.h: Likewise.

18 years agoUpdate.
drepper [Thu, 19 Dec 2002 17:11:28 +0000 (17:11 +0000)]
Update.

18 years ago(main): Make sure correct value is seen as argv[0] after adjustment of
drepper [Thu, 19 Dec 2002 17:08:51 +0000 (17:08 +0000)]
(main): Make sure correct value is seen as argv[0] after adjustment of
argv, and argc.

18 years agoUpdate.
drepper [Thu, 19 Dec 2002 09:57:54 +0000 (09:57 +0000)]
Update.

18 years agoDon't initialize _dl_dynamic_weak to 1 if RTLD_CORRECT_DYNAMIC_WEAK is defined.
drepper [Thu, 19 Dec 2002 09:57:17 +0000 (09:57 +0000)]
Don't initialize _dl_dynamic_weak to 1 if RTLD_CORRECT_DYNAMIC_WEAK is defined.

18 years agoUpdate.
drepper [Thu, 19 Dec 2002 09:56:12 +0000 (09:56 +0000)]
Update.

18 years agoDefine RTLD_CORRECT_DYNAMIC_WEAK.
drepper [Thu, 19 Dec 2002 09:55:52 +0000 (09:55 +0000)]
Define RTLD_CORRECT_DYNAMIC_WEAK.

18 years agoUpdate.
drepper [Thu, 19 Dec 2002 09:18:01 +0000 (09:18 +0000)]
Update.

18 years agoInclude pthreadP.h instead of pthread.h.
drepper [Thu, 19 Dec 2002 09:17:35 +0000 (09:17 +0000)]
Include pthreadP.h instead of pthread.h.

18 years ago(pthread_attr_init_2_0, pthread_attr_init_2_1): Use return 0 as 6th argument
drepper [Thu, 19 Dec 2002 09:17:17 +0000 (09:17 +0000)]
(pthread_attr_init_2_0, pthread_attr_init_2_1): Use return 0 as 6th argument
to FORWARD4.

18 years agoUpdate.
drepper [Thu, 19 Dec 2002 09:16:15 +0000 (09:16 +0000)]
Update.

18 years ago(pthread_attr_init_2_0, pthread_attr_init_2_1): Use return 0 as 6th argument
drepper [Thu, 19 Dec 2002 09:15:13 +0000 (09:15 +0000)]
(pthread_attr_init_2_0, pthread_attr_init_2_1): Use return 0 as 6th argument
to FORWARD4.

18 years agoUpdate.
drepper [Thu, 19 Dec 2002 09:14:22 +0000 (09:14 +0000)]
Update.

18 years ago(assert): Undefined before redefining.
drepper [Thu, 19 Dec 2002 09:13:34 +0000 (09:13 +0000)]
(assert): Undefined before redefining.

18 years ago(nscd_run): Shut up warning.
drepper [Thu, 19 Dec 2002 09:13:11 +0000 (09:13 +0000)]
(nscd_run): Shut up warning.

18 years agoUse __builtin_expect even outside glibc if gcc 3 is used.
drepper [Thu, 19 Dec 2002 09:11:25 +0000 (09:11 +0000)]
Use __builtin_expect even outside glibc if gcc 3 is used.

18 years agoConvert GCC extension initializer syntax to C99.
drepper [Thu, 19 Dec 2002 09:08:02 +0000 (09:08 +0000)]
Convert GCC extension initializer syntax to C99.

18 years agoClone falgs are only defined for i386 so far.
drepper [Thu, 19 Dec 2002 08:59:20 +0000 (08:59 +0000)]
Clone falgs are only defined for i386 so far.

18 years agoLittle typo in version number of last patch.
drepper [Thu, 19 Dec 2002 08:48:34 +0000 (08:48 +0000)]
Little typo in version number of last patch.

18 years agoUpdate.
drepper [Thu, 19 Dec 2002 08:41:52 +0000 (08:41 +0000)]
Update.

18 years agoDefine FORK only if __ASSUME_CLONE_THREAD_FLAGS is defined.
drepper [Thu, 19 Dec 2002 08:41:14 +0000 (08:41 +0000)]
Define FORK only if __ASSUME_CLONE_THREAD_FLAGS is defined.

18 years ago(__ASSUME_CLONE_THREAD_FLAGS): Define for x86 and kernel >= 2.5.50.
drepper [Thu, 19 Dec 2002 08:39:45 +0000 (08:39 +0000)]
(__ASSUME_CLONE_THREAD_FLAGS): Define for x86 and kernel >= 2.5.50.

18 years agoUpdate.
drepper [Thu, 19 Dec 2002 07:09:42 +0000 (07:09 +0000)]
Update.

18 years agoSystem depdendent dynamic linker definitions for x86.
drepper [Thu, 19 Dec 2002 07:09:21 +0000 (07:09 +0000)]
System depdendent dynamic linker definitions for x86.

18 years ago(__libc_pthread_init): At test to make sure SYSINFO_OFFSET value is correct.
drepper [Thu, 19 Dec 2002 07:08:19 +0000 (07:08 +0000)]
(__libc_pthread_init): At test to make sure SYSINFO_OFFSET value is correct.

18 years ago (tcbhead_t): Add sysinfo member.
drepper [Thu, 19 Dec 2002 07:07:13 +0000 (07:07 +0000)]
 (tcbhead_t): Add sysinfo member.
Define SYSINFO_OFFSEET if NEED_DL_SYSINFO is defined.
(INIT_SYSINFO): New #define.
(TLS_TP_INIT): Use INIT_SYSINFO.

18 years ago(struct pthread) [NEED_DL_SYSINFO]: Add sysinfo member.
drepper [Thu, 19 Dec 2002 07:05:35 +0000 (07:05 +0000)]
(struct pthread) [NEED_DL_SYSINFO]: Add sysinfo member.

18 years agoUse INTERNAL_SYSCALL instead of asm.
drepper [Thu, 19 Dec 2002 07:02:55 +0000 (07:02 +0000)]
Use INTERNAL_SYSCALL instead of asm.

18 years agoUpdate.
drepper [Thu, 19 Dec 2002 00:03:48 +0000 (00:03 +0000)]
Update.

18 years ago(struct rtld_global) [NEED_DL_SYSINFO]: Add _dl_sysinfo.
drepper [Thu, 19 Dec 2002 00:02:58 +0000 (00:02 +0000)]
(struct rtld_global) [NEED_DL_SYSINFO]: Add _dl_sysinfo.

18 years ago(_dl_sysdep_start) [NEED_DL_SYSINFO]: Check for AT_SYSINFO and set
drepper [Thu, 19 Dec 2002 00:01:48 +0000 (00:01 +0000)]
(_dl_sysdep_start) [NEED_DL_SYSINFO]: Check for AT_SYSINFO and set
_dl_sysinfo appropriately.

18 years ago[DL_NEED_SYSINFO]: Initialize _dl_sysinfo element of _rtld_global.
drepper [Thu, 19 Dec 2002 00:00:19 +0000 (00:00 +0000)]
[DL_NEED_SYSINFO]: Initialize _dl_sysinfo element of _rtld_global.
[DL_SYSINFO_IMPLEMENTATION]: If defined use it to generate the needed code.

18 years ago[NEED_DL_SYSINFO]: Define and initialize _dl_sysinfo.
drepper [Wed, 18 Dec 2002 23:58:27 +0000 (23:58 +0000)]
[NEED_DL_SYSINFO]: Define and initialize _dl_sysinfo.
[DL_SYSINFO_IMPLEMENTATION]: If defined use it to generate the needed code.

18 years agoUpdate
drepper [Wed, 18 Dec 2002 23:29:41 +0000 (23:29 +0000)]
Update

18 years ago[libc: GLIBC_2.0]: Add pthread_attr_init.
drepper [Wed, 18 Dec 2002 23:29:02 +0000 (23:29 +0000)]
[libc: GLIBC_2.0]: Add pthread_attr_init.
[libpthread: GLIBC_2.1]: Remove __pthread_rwlock_init,
__pthread_rwlock_destroy, __pthread_rwlock_rdlock,
__pthread_rwlock_wrlock, __pthread_rwlock_unlock,
__pthread_rwlock_tryrdlock and __pthread_rwlock_trywrlock.

18 years ago(gsignal): Add weak alias to raise.
drepper [Wed, 18 Dec 2002 23:28:43 +0000 (23:28 +0000)]
(gsignal): Add weak alias to raise.

18 years ago(flockfile): Change into weak alias.
drepper [Wed, 18 Dec 2002 23:28:23 +0000 (23:28 +0000)]
(flockfile): Change into weak alias.

18 years agoUpdate.
drepper [Wed, 18 Dec 2002 23:27:15 +0000 (23:27 +0000)]
Update.

18 years ago[libc: GLIBC_2.3.1]: Move __libc_msgrcv and __libc_msgsnd to...
drepper [Wed, 18 Dec 2002 23:26:21 +0000 (23:26 +0000)]
[libc: GLIBC_2.3.1]: Move __libc_msgrcv and __libc_msgsnd to...
[libc: GLIBC_PRIVATE]: ...here.

18 years ago[libc: GLIBC_2.3.1]: Move __libc_readv and __libc_writev to...
drepper [Wed, 18 Dec 2002 23:26:06 +0000 (23:26 +0000)]
[libc: GLIBC_2.3.1]: Move __libc_readv and __libc_writev to...
[libc: GLIBC_PRIVATE]: ...here.

18 years agoUpdate.
drepper [Wed, 18 Dec 2002 23:15:59 +0000 (23:15 +0000)]
Update.

18 years ago(flockfile): Change into weak alias.
drepper [Wed, 18 Dec 2002 23:14:09 +0000 (23:14 +0000)]
(flockfile): Change into weak alias.

18 years ago(THREAD_GETMEM, THREAD_SETMEM): Redefine to struct member access if
drepper [Wed, 18 Dec 2002 23:13:24 +0000 (23:13 +0000)]
(THREAD_GETMEM, THREAD_SETMEM): Redefine to struct member access if
!FLOATING_STACKS.

18 years ago(FLOATING_STACKS, ARCH_STACK_MAX_SIZE): Only define if __ASSUME_LDT_WORKS > 0.
drepper [Wed, 18 Dec 2002 23:09:47 +0000 (23:09 +0000)]
(FLOATING_STACKS, ARCH_STACK_MAX_SIZE): Only define if __ASSUME_LDT_WORKS > 0.

18 years agoUpdate.
drepper [Wed, 18 Dec 2002 11:56:21 +0000 (11:56 +0000)]
Update.

18 years agoUse ENTER_KERNEL.
drepper [Wed, 18 Dec 2002 11:55:22 +0000 (11:55 +0000)]
Use ENTER_KERNEL.

18 years agoDefine ENTER_KERNEL macro. Use it instead of directly int $0x80.
drepper [Wed, 18 Dec 2002 11:54:25 +0000 (11:54 +0000)]
Define ENTER_KERNEL macro.  Use it instead of directly int $0x80.

18 years agoUpdate.
drepper [Wed, 18 Dec 2002 11:52:17 +0000 (11:52 +0000)]
Update.

18 years agoUse ENTER_KERNEL macro instead of using int $0x80 directly.
drepper [Wed, 18 Dec 2002 11:52:01 +0000 (11:52 +0000)]
Use ENTER_KERNEL macro instead of using int $0x80 directly.

18 years agoUpdate.
drepper [Wed, 18 Dec 2002 10:56:40 +0000 (10:56 +0000)]
Update.

18 years agoRemove __i686.get_pc_thunk.dx.
drepper [Wed, 18 Dec 2002 10:56:10 +0000 (10:56 +0000)]
Remove __i686.get_pc_thunk.dx.

18 years ago(routines): Add libc-lowlevelmutex.
drepper [Wed, 18 Dec 2002 10:55:32 +0000 (10:55 +0000)]
(routines): Add libc-lowlevelmutex.

18 years agoMutex compatibility locking for i686.
drepper [Wed, 18 Dec 2002 10:55:00 +0000 (10:55 +0000)]
Mutex compatibility locking for i686.

18 years agoMutex compatibility locking for i586.
drepper [Wed, 18 Dec 2002 10:54:52 +0000 (10:54 +0000)]
Mutex compatibility locking for i586.

18 years agoMutex compatibility locking for i486.
drepper [Wed, 18 Dec 2002 10:54:44 +0000 (10:54 +0000)]
Mutex compatibility locking for i486.

18 years agoStdio locking for nptl.
drepper [Wed, 18 Dec 2002 10:54:21 +0000 (10:54 +0000)]
Stdio locking for nptl.

18 years agoUpdate.
drepper [Wed, 18 Dec 2002 07:37:17 +0000 (07:37 +0000)]
Update.

18 years ago(mALLOPt): Make sure malloc is initialized.
drepper [Wed, 18 Dec 2002 07:33:21 +0000 (07:33 +0000)]
(mALLOPt): Make sure malloc is initialized.

18 years agoUpdate.
drepper [Wed, 18 Dec 2002 06:52:10 +0000 (06:52 +0000)]
Update.

18 years ago(_dl_show_auxv): Add support for AT_SYSINFO.
drepper [Wed, 18 Dec 2002 03:47:36 +0000 (03:47 +0000)]
(_dl_show_auxv): Add support for AT_SYSINFO.

18 years ago(AT_SYSINFO): New define.
drepper [Wed, 18 Dec 2002 03:43:38 +0000 (03:43 +0000)]
(AT_SYSINFO): New define.

18 years agoUpdate.
drepper [Wed, 18 Dec 2002 01:38:17 +0000 (01:38 +0000)]
Update.

18 years ago(__pthread_thread_self): Add weak_extern.
drepper [Wed, 18 Dec 2002 01:36:31 +0000 (01:36 +0000)]
(__pthread_thread_self): Add weak_extern.
(__libc_enable_asynccancel, __libc_disable_asynccancel): Don't
use thread_self() directly if not FLOATING_STACKS.

18 years ago(pthread_functions): Initialize ptr_pthread_thread_self.
drepper [Wed, 18 Dec 2002 01:34:49 +0000 (01:34 +0000)]
(pthread_functions): Initialize ptr_pthread_thread_self.
(__pthread_thread_self): New function.

18 years ago(__pthread_thread_self): New prototype.
drepper [Wed, 18 Dec 2002 01:34:17 +0000 (01:34 +0000)]
(__pthread_thread_self): New prototype.
(struct pthread_functions): Add ptr_pthread_thread_self field.

18 years agoUpdate.
drepper [Wed, 18 Dec 2002 01:32:10 +0000 (01:32 +0000)]
Update.

18 years ago(__sigsuspend): Make cancelable.
drepper [Wed, 18 Dec 2002 01:28:13 +0000 (01:28 +0000)]
(__sigsuspend): Make cancelable.

18 years ago(msgrcv, msgsnd): Make cancelable.
drepper [Wed, 18 Dec 2002 01:27:41 +0000 (01:27 +0000)]
(msgrcv, msgsnd): Make cancelable.

18 years agoGuard most of the header with #ifndef __ASSEMBLER__.
drepper [Wed, 18 Dec 2002 01:26:44 +0000 (01:26 +0000)]
Guard most of the header with #ifndef __ASSEMBLER__.

18 years agoCancellation handling for x86_64.
drepper [Wed, 18 Dec 2002 01:26:24 +0000 (01:26 +0000)]
Cancellation handling for x86_64.

18 years agoCancellation handling for x86.
drepper [Wed, 18 Dec 2002 01:26:07 +0000 (01:26 +0000)]
Cancellation handling for x86.

18 years agoAllocation of RT signals in libc.
drepper [Wed, 18 Dec 2002 01:25:39 +0000 (01:25 +0000)]
Allocation of RT signals in libc.

18 years agoInclude linuxthreads/internals.h if in libc.
drepper [Wed, 18 Dec 2002 01:23:50 +0000 (01:23 +0000)]
Include linuxthreads/internals.h if in libc.
(__libc_maybe_call): In libpthread.* don't check for existance of the function.
(__libc_maybe_call2): Define.
(__libc_lock_init, __libc_lock_fini, __libc_lock_lock,
__libc_lock_trylock, __libc_lock_unlock): Use it.

18 years agofunlockfile implementation for LinuxThreads.
drepper [Wed, 18 Dec 2002 01:23:22 +0000 (01:23 +0000)]
funlockfile implementation for LinuxThreads.

18 years agoftrylockfile implementation for LinuxThreads.
drepper [Wed, 18 Dec 2002 01:22:59 +0000 (01:22 +0000)]
ftrylockfile implementation for LinuxThreads.

18 years agoflockfile implementation for LinuxThreads.
drepper [Wed, 18 Dec 2002 01:22:37 +0000 (01:22 +0000)]
flockfile implementation for LinuxThreads.

18 years agoCheck presence of cancellation code.
drepper [Wed, 18 Dec 2002 01:21:53 +0000 (01:21 +0000)]
Check presence of cancellation code.

18 years agoRemove locale.h.
drepper [Wed, 18 Dec 2002 01:21:22 +0000 (01:21 +0000)]
Remove locale.h.
(__pthread_manager_thread): Initialize multiple_threads.
(__pthread_multiple_threads): Declare.
(pthread_functions): New variable.
(__pthread_initialize_minimal): Remove __uselocale call.
Call __libc_pthread_init.
(__pthread_initialize_manager): Initialize __pthread_multiple_threads,
initial thread's multiple_threads and __libc_multiple_threads.
Check MULTIPLE_THREADS_OFFSET value. Initialize manager thread's
multiple_threads.
(pthread_setschedparam, pthread_getschedparam): Rename to __
prefixed variants.  Add strong_alias.
(current_rtmin, current_rtmax, __libc_current_sigrtmin,
__libc_current_sigrtmax, __libc_allocate_rtsig): Remove.
(init_rtsigs): Use __libc_current_sigrtmin_private.
(pthread_initialize): Only call init_rtsigs if
!__ASSUME_REALTIME_SIGNALS.
(__pthread_require_wrappers, __pthread_require_lockfile): Remove.

18 years agoCancelable wrapper around system.
drepper [Wed, 18 Dec 2002 01:20:44 +0000 (01:20 +0000)]
Cancelable wrapper around system.

18 years agoAllocation of RT ignals.
drepper [Wed, 18 Dec 2002 01:20:19 +0000 (01:20 +0000)]
Allocation of RT ignals.

18 years ago(__pthread_mutex_init, __pthread_mutex_destroy, __pthread_mutex_lock,
drepper [Wed, 18 Dec 2002 01:17:29 +0000 (01:17 +0000)]
(__pthread_mutex_init, __pthread_mutex_destroy, __pthread_mutex_lock,
__pthread_mutex_unlock, __pthread_mutex_trylock): Add hidden_def.

18 years ago(pthread_handle_create): Initialize multiple_threads.
drepper [Wed, 18 Dec 2002 01:17:09 +0000 (01:17 +0000)]
(pthread_handle_create): Initialize multiple_threads.

18 years agoRemove some USE_IN_LIBIO guards.
drepper [Wed, 18 Dec 2002 01:16:46 +0000 (01:16 +0000)]
Remove some USE_IN_LIBIO guards.

18 years agoInitialization code in libc called by libpthread constructor.
drepper [Wed, 18 Dec 2002 01:15:55 +0000 (01:15 +0000)]
Initialization code in libc called by libpthread constructor.

18 years agoCancellation handling inside libc.
drepper [Wed, 18 Dec 2002 01:14:44 +0000 (01:14 +0000)]
Cancellation handling inside libc.

18 years ago(pthread_exit): Rename to __ prefixed variants. Add strong_alias.
drepper [Wed, 18 Dec 2002 01:14:09 +0000 (01:14 +0000)]
(pthread_exit): Rename to __ prefixed variants.  Add strong_alias.