kopensolaris-gnu/glibc.git
17 years ago (pthread_cond_t): Add __mutex field.
drepper [Mon, 26 May 2003 02:40:26 +0000 (02:40 +0000)]
 (pthread_cond_t): Add __mutex field.

17 years agoDefine lll_mutex_cond_lock.
drepper [Mon, 26 May 2003 02:38:05 +0000 (02:38 +0000)]
Define lll_mutex_cond_lock.

17 years agoSpecial pthread_mutex_lock variant for use in pthread_cond_*wait.
drepper [Mon, 26 May 2003 02:36:07 +0000 (02:36 +0000)]
Special pthread_mutex_lock variant for use in pthread_cond_*wait.

17 years agoAdd dep_mutex.
drepper [Mon, 26 May 2003 02:35:37 +0000 (02:35 +0000)]
Add dep_mutex.

17 years ago(libpthread-sysdep_routines): Add pthread_mutex_cond_lock.
drepper [Mon, 26 May 2003 02:35:04 +0000 (02:35 +0000)]
(libpthread-sysdep_routines): Add pthread_mutex_cond_lock.

17 years agoRemember mutex which was used in condvar structure. Call
drepper [Mon, 26 May 2003 02:33:20 +0000 (02:33 +0000)]
Remember mutex which was used in condvar structure.  Call
__pthread_mutex_cond_lock instead of __pthread_mutex_lock_internal.

(__condvar_cleanup): Always call __pthread_mutex_cond_lock.

 Use __pthread_enable_asynccancel instead of __pthread_enable_asynccancel_2.

17 years agoRemember mutex which was used in condvar structure. Call
drepper [Mon, 26 May 2003 02:31:30 +0000 (02:31 +0000)]
Remember mutex which was used in condvar structure.  Call
__pthread_mutex_cond_lock instead of __pthread_mutex_lock_internal.

 Use __pthread_enable_asynccancel instead of __pthread_enable_asynccancel_2.

17 years agoRemove declaration of __pthread_enable_asynccancel_2.
drepper [Mon, 26 May 2003 02:17:31 +0000 (02:17 +0000)]
Remove declaration of __pthread_enable_asynccancel_2.

17 years agoTry using FUTEX_REQUEUE instead of FUTEX_WAIT.
drepper [Mon, 26 May 2003 02:14:47 +0000 (02:14 +0000)]
Try using FUTEX_REQUEUE instead of FUTEX_WAIT.

17 years agoDefine MUTEX_FUTEX.
drepper [Mon, 26 May 2003 02:12:17 +0000 (02:12 +0000)]
Define MUTEX_FUTEX.

17 years agoDefine LLL_MUTEX_LOCK if not already defined.
drepper [Mon, 26 May 2003 02:11:14 +0000 (02:11 +0000)]
Define LLL_MUTEX_LOCK if not already defined.
Use it instead of lll_mutex_lock.  If __pthread_mutex_lock is a
macro don't define aliases.

17 years agoDeclare __pthread_mutex_cond_lock.
drepper [Mon, 26 May 2003 02:10:02 +0000 (02:10 +0000)]
Declare __pthread_mutex_cond_lock.

17 years agoRemove __pthread_enable_asynccancel_2.
drepper [Mon, 26 May 2003 02:09:08 +0000 (02:09 +0000)]
Remove __pthread_enable_asynccancel_2.

17 years agoUpdate.
aj [Thu, 22 May 2003 04:07:17 +0000 (04:07 +0000)]
Update.

17 years agoAdd CFI directives.
aj [Thu, 22 May 2003 04:06:51 +0000 (04:06 +0000)]
Add CFI directives.

17 years agoAdd CFI directives.
aj [Thu, 22 May 2003 04:03:25 +0000 (04:03 +0000)]
Add CFI directives.

17 years ago2003-05-20 Guido Guenther <agx@sigxcpu.org>
aj [Thu, 22 May 2003 02:26:29 +0000 (02:26 +0000)]
2003-05-20  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Change SI_ASYNCNL
to -60 and define SI_TKILL.

17 years agoUpdate.
drepper [Thu, 22 May 2003 02:09:54 +0000 (02:09 +0000)]
Update.

17 years ago(feexcp_nomask_test): Use fedisableexcept.
drepper [Thu, 22 May 2003 02:08:50 +0000 (02:08 +0000)]
(feexcp_nomask_test): Use fedisableexcept.
(feexcp_mask_test): Likewise.

17 years agoUpdate.
drepper [Thu, 22 May 2003 00:41:32 +0000 (00:41 +0000)]
Update.

17 years ago(main): Fix typo in last patch.
drepper [Thu, 22 May 2003 00:40:45 +0000 (00:40 +0000)]
(main): Fix typo in last patch.

17 years agoUpdate.
drepper [Wed, 21 May 2003 19:38:39 +0000 (19:38 +0000)]
Update.

17 years agoMark __preinit_array_start, __preinit_array_end, __init_array_start,
drepper [Wed, 21 May 2003 19:37:48 +0000 (19:37 +0000)]
Mark __preinit_array_start, __preinit_array_end, __init_array_start,
__init_array_end, __fini_array_start, and __fini_array_end as hidden.

17 years agoUpdate.
drepper [Wed, 21 May 2003 19:31:11 +0000 (19:31 +0000)]
Update.

17 years ago(more_help): Document some examples of valid names to use as arguments
drepper [Wed, 21 May 2003 19:23:43 +0000 (19:23 +0000)]
(more_help): Document some examples of valid names to use as arguments
to the locale program.

(main): Report an error if setlocale() fails.

17 years agosystem implementation for Linux/s390.
drepper [Wed, 21 May 2003 19:19:07 +0000 (19:19 +0000)]
system implementation for Linux/s390.

17 years ago(LOADARGS_0, LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5,
drepper [Wed, 21 May 2003 19:17:35 +0000 (19:17 +0000)]
(LOADARGS_0, LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5,
LOADARGS_6): Don't error if syscall argument is a string literal.

17 years ago * sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc,
aj [Wed, 21 May 2003 09:25:51 +0000 (09:25 +0000)]
* sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc,
cfi_endproc, cfi_def_cfa, cfi_def_ccfa_register,
cfi_def_cfa_offset, cfi_adjust_cfa_offset, cfi_offset): Define.

* sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Add cfi directives.
(ENTRY): Likewise.
(END): Likewise.

* configure.in: Test for asm cfi directives.

* config.h.in: Add HAVE_ASM_CFI_DIRECTIVES.

17 years agoUpdate.Update.
drepper [Tue, 20 May 2003 22:36:38 +0000 (22:36 +0000)]
Update.Update.

17 years ago(_dl_start): Likewise.
drepper [Tue, 20 May 2003 22:22:48 +0000 (22:22 +0000)]
(_dl_start): Likewise.
(dl_main): Likewise.  Add dyn_temp static variable.

17 years ago(_dl_map_object_from_fd): Adjust caller.
drepper [Tue, 20 May 2003 22:22:20 +0000 (22:22 +0000)]
(_dl_map_object_from_fd): Adjust caller.

17 years ago(elf_get_dynamic_info): Add temp argument.
drepper [Tue, 20 May 2003 22:22:03 +0000 (22:22 +0000)]
(elf_get_dynamic_info): Add temp argument.
If temp != NULL, copy dynamic entries which need relocation to temp
array before relocating.
(DL_RO_DYN_TEMP_CNT): Define.

17 years agoUpdate.
drepper [Sat, 17 May 2003 20:53:32 +0000 (20:53 +0000)]
Update.

17 years ago(tests): Add tst-sem7.
drepper [Sat, 17 May 2003 20:52:02 +0000 (20:52 +0000)]
(tests): Add tst-sem7.

17 years agoTest for opening same semaphore more than once.
drepper [Sat, 17 May 2003 20:51:04 +0000 (20:51 +0000)]
Test for opening same semaphore more than once.

17 years agoInclude <semaphore.h>. Define struct inuse_sem.
drepper [Sat, 17 May 2003 20:50:37 +0000 (20:50 +0000)]
Include <semaphore.h>.  Define struct inuse_sem.
Declare __sem_mappings, __sem_mappings_lock, __sem_search.

17 years agoAdjust for sem_open change.
drepper [Sat, 17 May 2003 20:49:36 +0000 (20:49 +0000)]
Adjust for sem_open change.

17 years agoFix one endless loop. Implement correct semantics wrt opening the
drepper [Sat, 17 May 2003 20:49:02 +0000 (20:49 +0000)]
Fix one endless loop.  Implement correct semantics wrt opening the
same semaphore more then once.

17 years agoUpdate.
aj [Sat, 17 May 2003 17:55:27 +0000 (17:55 +0000)]
Update.

17 years agoRevert last patch.
aj [Sat, 17 May 2003 17:55:18 +0000 (17:55 +0000)]
Revert last patch.

17 years agoInclude <time.h> for clock_nanosleep.
aj [Sat, 17 May 2003 17:37:34 +0000 (17:37 +0000)]
Include <time.h> for clock_nanosleep.

17 years agoUpdate.
aj [Sat, 17 May 2003 17:37:29 +0000 (17:37 +0000)]
Update.

17 years agoUpdate.
drepper [Sat, 17 May 2003 06:07:38 +0000 (06:07 +0000)]
Update.

17 years ago(tests): Add tst-clock_nanosleep.
drepper [Sat, 17 May 2003 06:05:11 +0000 (06:05 +0000)]
(tests): Add tst-clock_nanosleep.

17 years agoTest for clock_nanosleep.
drepper [Sat, 17 May 2003 06:04:51 +0000 (06:04 +0000)]
Test for clock_nanosleep.

17 years ago(tests): Add tst-nanosleep.
drepper [Sat, 17 May 2003 05:04:11 +0000 (05:04 +0000)]
(tests): Add tst-nanosleep.

17 years agoTest for nanosleep.
drepper [Sat, 17 May 2003 05:03:45 +0000 (05:03 +0000)]
Test for nanosleep.

17 years agoUpdate.
drepper [Sat, 17 May 2003 02:53:39 +0000 (02:53 +0000)]
Update.

17 years ago(CPUCLOCK_P): Fix definition.
drepper [Sat, 17 May 2003 02:52:07 +0000 (02:52 +0000)]
(CPUCLOCK_P): Fix definition.

17 years ago.
roland [Sat, 17 May 2003 00:59:16 +0000 (00:59 +0000)]
.

17 years ago2003-05-16 Roland McGrath <roland@redhat.com>
roland [Sat, 17 May 2003 00:59:09 +0000 (00:59 +0000)]
2003-05-16  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): Fix
uninitialized variable braino.

17 years agoUpdate.
drepper [Sat, 17 May 2003 00:38:41 +0000 (00:38 +0000)]
Update.

17 years ago(__USE_XOPEN2K): Define also for _POSIX_C_SOURCE>=200112L.
drepper [Sat, 17 May 2003 00:38:00 +0000 (00:38 +0000)]
(__USE_XOPEN2K): Define also for _POSIX_C_SOURCE>=200112L.

17 years agoUpdate.
drepper [Sat, 17 May 2003 00:02:52 +0000 (00:02 +0000)]
Update.

17 years ago(timer_gettime): Correct test for available syscalls.
drepper [Sat, 17 May 2003 00:02:22 +0000 (00:02 +0000)]
(timer_gettime): Correct test for available syscalls.

17 years ago(timer_settime): Set __no_posix_timers to -1 if the syscalls don't exist.
drepper [Sat, 17 May 2003 00:01:56 +0000 (00:01 +0000)]
(timer_settime): Set __no_posix_timers to -1 if the syscalls don't exist.

17 years agoUpdate.
drepper [Fri, 16 May 2003 22:09:32 +0000 (22:09 +0000)]
Update.

17 years ago(pthread_join): Set tid field of the joined thread to -1. This isn't
drepper [Fri, 16 May 2003 22:09:13 +0000 (22:09 +0000)]
(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.

17 years ago(FREE_P): ALso negative values indicate an unused stack.
drepper [Fri, 16 May 2003 22:08:23 +0000 (22:08 +0000)]
(FREE_P): ALso negative values indicate an unused stack.

17 years agoUpdate.
drepper [Fri, 16 May 2003 19:56:47 +0000 (19:56 +0000)]
Update.

17 years ago(do_sigwaitinfo): Fold SI_TKILL code into SI_USER.
drepper [Fri, 16 May 2003 19:55:49 +0000 (19:55 +0000)]
(do_sigwaitinfo): Fold SI_TKILL code into SI_USER.

17 years ago(do_sigtimedwait): Fold SI_TKILL code into SI_USER.
drepper [Fri, 16 May 2003 19:55:28 +0000 (19:55 +0000)]
(do_sigtimedwait): Fold SI_TKILL code into SI_USER.

17 years agoUpdate.
drepper [Fri, 16 May 2003 18:50:00 +0000 (18:50 +0000)]
Update.

17 years ago(do_sigpause): Use sigdelset after all.
drepper [Fri, 16 May 2003 18:48:42 +0000 (18:48 +0000)]
(do_sigpause): Use sigdelset after all.

17 years agoUpdate.
drepper [Fri, 16 May 2003 17:40:49 +0000 (17:40 +0000)]
Update.

17 years agoInclude <unistd.h>.
drepper [Fri, 16 May 2003 17:40:32 +0000 (17:40 +0000)]
Include <unistd.h>.

17 years agoUpdate.
drepper [Fri, 16 May 2003 04:22:23 +0000 (04:22 +0000)]
Update.

17 years ago(_dl_reloc_overflow): Remove sym argument, use refsym everywhere.
drepper [Fri, 16 May 2003 04:20:52 +0000 (04:20 +0000)]
(_dl_reloc_overflow): Remove sym argument, use refsym everywhere.

17 years ago(elf_machine_rela): Drop second to last parameter for all calls to
drepper [Fri, 16 May 2003 04:20:16 +0000 (04:20 +0000)]
(elf_machine_rela): Drop second to last parameter for all calls to
_dl_reloc_overlow.
(_dl_reloc_overflow): Adjust parameter.

17 years ago(_dl_reloc_overflow): Adjust prototype.
drepper [Fri, 16 May 2003 04:16:45 +0000 (04:16 +0000)]
(_dl_reloc_overflow): Adjust prototype.

17 years ago(_dl_reloc_overflow): Remove sym argument, always use refsym.
drepper [Fri, 16 May 2003 04:16:18 +0000 (04:16 +0000)]
(_dl_reloc_overflow): Remove sym argument, always use refsym.
(__process_machine_rela): Adjust callers.

17 years ago(_dl_show_auxv): Don't print AT_??? line for AT_HWCAP.
drepper [Thu, 15 May 2003 21:57:22 +0000 (21:57 +0000)]
(_dl_show_auxv): Don't print AT_??? line for AT_HWCAP.

17 years agoUpdate.
drepper [Thu, 15 May 2003 21:41:17 +0000 (21:41 +0000)]
Update.

17 years ago(_dl_show_auxv): Fix typo (DL_NEED_SYSINFO -> NEED_DL_SYSINFO). If aux value
drepper [Thu, 15 May 2003 21:40:38 +0000 (21:40 +0000)]
(_dl_show_auxv): Fix typo (DL_NEED_SYSINFO -> NEED_DL_SYSINFO).  If aux value
is not known print numeric values.

17 years agoUpdate.
drepper [Thu, 15 May 2003 03:31:18 +0000 (03:31 +0000)]
Update.

17 years agoBump to 0.39.
drepper [Thu, 15 May 2003 02:47:08 +0000 (02:47 +0000)]
Bump to 0.39.

17 years agoSync with Linux Kernel 2.5.69 and *BSD.
drepper [Thu, 15 May 2003 00:29:21 +0000 (00:29 +0000)]
Sync with Linux Kernel 2.5.69 and *BSD.

17 years agoUpdate.
drepper [Thu, 15 May 2003 00:27:35 +0000 (00:27 +0000)]
Update.

17 years agoumount for Linux/ia64.
drepper [Thu, 15 May 2003 00:26:00 +0000 (00:26 +0000)]
umount for Linux/ia64.

17 years agoUpdate.
drepper [Wed, 14 May 2003 23:26:21 +0000 (23:26 +0000)]
Update.

17 years ago($(objpfx)$(multidir)): Add rule to create the directory.
drepper [Wed, 14 May 2003 23:25:38 +0000 (23:25 +0000)]
($(objpfx)$(multidir)): Add rule to create the directory.

17 years agoUpdate.
drepper [Wed, 14 May 2003 21:40:32 +0000 (21:40 +0000)]
Update.

17 years ago(dl_main): For LD_TRACE_PRELINKING print search scope even if no DT_NEEDED
drepper [Wed, 14 May 2003 21:39:39 +0000 (21:39 +0000)]
(dl_main): For LD_TRACE_PRELINKING print search scope even if no DT_NEEDED
is present.

17 years agoUpdate.
drepper [Wed, 14 May 2003 20:50:10 +0000 (20:50 +0000)]
Update.

17 years ago(crti-objs, crtn-objs): New variables.
drepper [Wed, 14 May 2003 20:49:22 +0000 (20:49 +0000)]
(crti-objs, crtn-objs): New variables.
(omit-deps, extra-objs): Add crtn.
($(objpfx)libpthread.so): Depend on both crti and crtn
and links to them in multidir.
($(objpfx)crtn.S, $(objpfx)crtn.o): New rules.

17 years agoUpdate.
drepper [Wed, 14 May 2003 20:44:11 +0000 (20:44 +0000)]
Update.

17 years agoFix the fix from 2003-03-27: setjmp is NOT a leaf-routine (due to the call to
drepper [Wed, 14 May 2003 20:43:17 +0000 (20:43 +0000)]
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.

17 years agoUpdate.
drepper [Wed, 14 May 2003 06:29:32 +0000 (06:29 +0000)]
Update.

17 years agoDo compile elf-init with PIC flag since in dynamic binaries it has to
drepper [Wed, 14 May 2003 06:28:52 +0000 (06:28 +0000)]
Do compile elf-init with PIC flag since in dynamic binaries it has to
be relocatable.

17 years agoUpdate.
drepper [Tue, 13 May 2003 23:57:02 +0000 (23:57 +0000)]
Update.

17 years agoUse waitpid syscall is available.
drepper [Tue, 13 May 2003 23:56:14 +0000 (23:56 +0000)]
Use waitpid syscall is available.

17 years agoUpdate.
drepper [Tue, 13 May 2003 21:14:28 +0000 (21:14 +0000)]
Update.

17 years ago(__arch_compare_and_exchange_bool_32_rel): Define.
drepper [Tue, 13 May 2003 21:13:59 +0000 (21:13 +0000)]
(__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.

17 years ago(__arch_compare_and_exchange_bool_32_acq): Remove release sync.
drepper [Tue, 13 May 2003 21:13:37 +0000 (21:13 +0000)]
(__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.

17 years ago(__arch_compare_and_exchange_bool_8_rel): Define.
drepper [Tue, 13 May 2003 21:13:08 +0000 (21:13 +0000)]
(__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.

17 years agoUpdate.
drepper [Tue, 13 May 2003 21:09:05 +0000 (21:09 +0000)]
Update.

17 years ago(lll_mutex_unlock): Use atomic_exchange_rel.
drepper [Tue, 13 May 2003 21:08:24 +0000 (21:08 +0000)]
(lll_mutex_unlock): Use atomic_exchange_rel.

17 years agoUpdate from latest version on FSF FTP.
drepper [Mon, 12 May 2003 23:00:45 +0000 (23:00 +0000)]
Update from latest version on FSF FTP.

17 years agoUpdate.
drepper [Sun, 11 May 2003 23:28:52 +0000 (23:28 +0000)]
Update.

17 years ago(cons): Add missing locking around setting of alldone.
drepper [Sun, 11 May 2003 23:28:30 +0000 (23:28 +0000)]
(cons): Add missing locking around setting of alldone.