kopensolaris-gnu/glibc.git
17 years ago * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect.
rth [Fri, 20 Jun 2003 16:24:32 +0000 (16:24 +0000)]
    * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect.
        * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_ST_INO_64_BIT)
        Unset for alpha.
        (__ASSUME_TIMEVAL64): Set for alpha.
        * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
        adjtimex, osf_sigprocmask, old_adjtimex.
        * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use INLINE_SYSCALL,
        __ASSUME_TIMEVAL64.  Reorg tv64 functions to avoid uninit variable.
        * sysdeps/unix/sysv/linux/alpha/getitimer.S: Use __ASSUME_TIMEVAL64.
        * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Streamline
        PIC code sequence.
        * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/sigaction.c: New file.
        * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: Use INLINE_SYSCALL.
        * sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise.
        * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise.
        * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove osf_sigprocmask,
        sys_ustat, sys_mknod, adjtimex, old_adjtimex.
        * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): Don't
        defer to __syscall_name; error for rt_sigaction.
        * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Include kernel_stat.h.

17 years ago * sysdeps/unix/sysv/linux/alpha/Makefile (libpthread-routines):
rth [Fri, 20 Jun 2003 16:23:22 +0000 (16:23 +0000)]
    * sysdeps/unix/sysv/linux/alpha/Makefile (libpthread-routines):
        Remove ptw-osf_sigprocmask.

17 years agoUpdate.
drepper [Thu, 19 Jun 2003 19:53:12 +0000 (19:53 +0000)]
Update.

17 years ago(lll_futex_wait, lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): On
drepper [Thu, 19 Jun 2003 19:52:40 +0000 (19:52 +0000)]
(lll_futex_wait, lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): On
success return actual return value from the syscall, not 0.

17 years agoLinux/PPC implementation of sem_post.
drepper [Thu, 19 Jun 2003 19:52:20 +0000 (19:52 +0000)]
Linux/PPC implementation of sem_post.

17 years agoReplaced with ia64 version which is really generic.
drepper [Thu, 19 Jun 2003 19:51:02 +0000 (19:51 +0000)]
Replaced with ia64 version which is really generic.

17 years agoMoved one level up.
drepper [Thu, 19 Jun 2003 19:50:40 +0000 (19:50 +0000)]
Moved one level up.

17 years agoMake clear that futex_wake in sem_post gets passed the new value.
drepper [Thu, 19 Jun 2003 19:49:50 +0000 (19:49 +0000)]
Make clear that futex_wake in sem_post gets passed the new value.

17 years ago.
roland [Thu, 19 Jun 2003 08:38:40 +0000 (08:38 +0000)]
.

17 years ago2003-06-19 Roland McGrath <roland@redhat.com>
roland [Thu, 19 Jun 2003 08:38:29 +0000 (08:38 +0000)]
2003-06-19  Roland McGrath  <roland@redhat.com>

* td_thr_event_enable.c (td_thr_event_enable): Use proper type `bool'
for value written into inferior's `report_events'.

17 years agoUpdate.
drepper [Wed, 18 Jun 2003 23:52:51 +0000 (23:52 +0000)]
Update.

17 years ago(public_mALLINFo): Initialize malloc if it hasn't happened yet.
drepper [Wed, 18 Jun 2003 23:51:20 +0000 (23:51 +0000)]
(public_mALLINFo): Initialize malloc if it hasn't happened yet.

17 years agoUpdate.
drepper [Wed, 18 Jun 2003 22:25:33 +0000 (22:25 +0000)]
Update.

17 years ago(tf_msgsnd): Don't always use 100 as the type, find a random value.
drepper [Wed, 18 Jun 2003 22:25:01 +0000 (22:25 +0000)]
(tf_msgsnd): Don't always use 100 as the type, find a random value.
(tf_msgrcv): Likewise.  Also don't report msgrcv returns if errno==EIDRM.

17 years agoUpdate.
drepper [Wed, 18 Jun 2003 19:34:34 +0000 (19:34 +0000)]
Update.

17 years ago(register_dump): Fix completely broken impleentation. The second
drepper [Wed, 18 Jun 2003 19:33:34 +0000 (19:33 +0000)]
(register_dump): Fix completely broken impleentation.  The second
parameter is of type struct ucontext*.

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

17 years agoAdd prototype for compat_timer_settime.
drepper [Wed, 18 Jun 2003 18:42:00 +0000 (18:42 +0000)]
Add prototype for compat_timer_settime.

17 years agoAdd prototype for compat_timer_gettime.
drepper [Wed, 18 Jun 2003 18:41:08 +0000 (18:41 +0000)]
Add prototype for compat_timer_gettime.

17 years agoAdd prototype for compat_timer_getoverrun.
drepper [Wed, 18 Jun 2003 18:40:05 +0000 (18:40 +0000)]
Add prototype for compat_timer_getoverrun.

17 years agoAdd prototype for compat_timer_delete.
drepper [Wed, 18 Jun 2003 18:39:11 +0000 (18:39 +0000)]
Add prototype for compat_timer_delete.

17 years ago(elf_machine_runtime_setup): Always inline.
drepper [Wed, 18 Jun 2003 18:31:32 +0000 (18:31 +0000)]
(elf_machine_runtime_setup): Always inline.

17 years agoDon't inline _dl_elf_hash.
drepper [Wed, 18 Jun 2003 18:30:28 +0000 (18:30 +0000)]
Don't inline _dl_elf_hash.

17 years agoDon't inline _dl_elf_hash.
drepper [Wed, 18 Jun 2003 18:29:38 +0000 (18:29 +0000)]
Don't inline _dl_elf_hash.

17 years ago(_dl_elf_hash): Remove whitespace.
drepper [Wed, 18 Jun 2003 18:26:03 +0000 (18:26 +0000)]
(_dl_elf_hash): Remove whitespace.

17 years agoRemove inline from memcmp_common_alignment and
drepper [Wed, 18 Jun 2003 18:20:05 +0000 (18:20 +0000)]
Remove inline from memcmp_common_alignment and
memcmp_not_common_alignment definition.

17 years agoUpdate.
drepper [Wed, 18 Jun 2003 18:10:57 +0000 (18:10 +0000)]
Update.

17 years ago(__pthread_mutex_destroy): For error-checking mutex detect busy mutexes.
drepper [Wed, 18 Jun 2003 18:10:29 +0000 (18:10 +0000)]
(__pthread_mutex_destroy): For error-checking mutex detect busy mutexes.

17 years ago(read_alias_file): Fix typo.
drepper [Wed, 18 Jun 2003 17:05:28 +0000 (17:05 +0000)]
(read_alias_file): Fix typo.

17 years agoUpdate.
drepper [Wed, 18 Jun 2003 16:28:03 +0000 (16:28 +0000)]
Update.

17 years ago(read_alias_file): Determine whether line is read incompletely early,
drepper [Wed, 18 Jun 2003 16:24:29 +0000 (16:24 +0000)]
(read_alias_file): Determine whether line is read incompletely early,
before we modify the line.

17 years agoUpdate.
drepper [Wed, 18 Jun 2003 06:49:48 +0000 (06:49 +0000)]
Update.

17 years ago(elf_machine_rela) <case R_PPC64_DTPREL64>: Don't segfault on undefined symbols.
drepper [Wed, 18 Jun 2003 04:28:45 +0000 (04:28 +0000)]
(elf_machine_rela) <case R_PPC64_DTPREL64>: Don't segfault on undefined symbols.

17 years agoUpdate.
drepper [Wed, 18 Jun 2003 03:38:07 +0000 (03:38 +0000)]
Update.

17 years agoContext function implementation details.
drepper [Wed, 18 Jun 2003 03:37:33 +0000 (03:37 +0000)]
Context function implementation details.

17 years agoswapcontext implementation for ppc32.
drepper [Wed, 18 Jun 2003 03:37:19 +0000 (03:37 +0000)]
swapcontext implementation for ppc32.

17 years agosetcontext implementation for ppc32.
drepper [Wed, 18 Jun 2003 03:36:57 +0000 (03:36 +0000)]
setcontext implementation for ppc32.

17 years agomakecontext implementation for ppc32.
drepper [Wed, 18 Jun 2003 03:36:38 +0000 (03:36 +0000)]
makecontext implementation for ppc32.

17 years agogetcontext implementation for ppc32.
drepper [Wed, 18 Jun 2003 03:36:23 +0000 (03:36 +0000)]
getcontext implementation for ppc32.

17 years agoAdjust for real implementation.
drepper [Wed, 18 Jun 2003 03:35:20 +0000 (03:35 +0000)]
Adjust for real implementation.

17 years agoUpdate.
drepper [Wed, 18 Jun 2003 00:00:50 +0000 (00:00 +0000)]
Update.

17 years ago(lll_mutex_lock): Add ax to clobber list.
drepper [Wed, 18 Jun 2003 00:00:27 +0000 (00:00 +0000)]
(lll_mutex_lock): Add ax to clobber list.
(lll_mutex_cond_lock): Likewise.
(lll_mutex_unlock): Likewise.
(lll_lock): Likewise.
(lll_unlock): Likewise.

17 years ago(CFLAGS-tst-cancelx18.c): Define.
drepper [Tue, 17 Jun 2003 23:17:49 +0000 (23:17 +0000)]
(CFLAGS-tst-cancelx18.c): Define.

17 years agoUpdate.
drepper [Tue, 17 Jun 2003 22:40:05 +0000 (22:40 +0000)]
Update.

17 years ago(build_word_op): Use alnum instead of alpha class.
drepper [Tue, 17 Jun 2003 22:39:13 +0000 (22:39 +0000)]
(build_word_op): Use alnum instead of alpha class.

17 years agoUpdate.
drepper [Tue, 17 Jun 2003 22:28:57 +0000 (22:28 +0000)]
Update.

17 years ago(__librt_multiple_threads, __librt_enable_asynccancel,
drepper [Tue, 17 Jun 2003 22:28:23 +0000 (22:28 +0000)]
(__librt_multiple_threads, __librt_enable_asynccancel,
__librt_disable_asynccancel): New aliases.

17 years ago(libc): Export __librt_enable_asynccancel, __librt_disable_asynccancel and
drepper [Tue, 17 Jun 2003 22:28:03 +0000 (22:28 +0000)]
(libc): Export __librt_enable_asynccancel, __librt_disable_asynccancel and
__librt_multiple_threads as GLIBC_PRIVATE.

17 years ago(tcbhead_t): Add multiple_threads.
drepper [Tue, 17 Jun 2003 22:24:45 +0000 (22:24 +0000)]
(tcbhead_t): Add multiple_threads.

17 years agoMakefile for x86-64.
drepper [Tue, 17 Jun 2003 22:24:24 +0000 (22:24 +0000)]
Makefile for x86-64.

17 years agoTCB offsets for x86-64.
drepper [Tue, 17 Jun 2003 22:23:41 +0000 (22:23 +0000)]
TCB offsets for x86-64.

17 years agoSupport cancellation in librt.
drepper [Tue, 17 Jun 2003 22:22:56 +0000 (22:22 +0000)]
Support cancellation in librt.

17 years ago(__librt_multiple_threads, __librt_enable_asynccancel,
drepper [Tue, 17 Jun 2003 22:22:21 +0000 (22:22 +0000)]
(__librt_multiple_threads, __librt_enable_asynccancel,
__librt_disable_asynccancel): Declare.  (LIBC_CANCEL_ASYNC, LIBC_CANCEL_RESET,
LIBC_CANCEL_HANDLED): Define for IS_IN_librt.

17 years agoUpdate.
drepper [Tue, 17 Jun 2003 22:19:35 +0000 (22:19 +0000)]
Update.

17 years agoTest connect, creat, msgrcv, msgsnd, sendmsg, sendto, and tcdrain.
drepper [Tue, 17 Jun 2003 22:15:05 +0000 (22:15 +0000)]
Test connect, creat, msgrcv, msgsnd, sendmsg, sendto, and tcdrain.

17 years agoAdd rules to build and run tst-cancel18 and tst-cancelx18.
drepper [Tue, 17 Jun 2003 22:12:48 +0000 (22:12 +0000)]
Add rules to build and run tst-cancel18 and tst-cancelx18.

17 years agoTest of clock_nanosleep cancellation with exception based cleanup.
drepper [Tue, 17 Jun 2003 22:12:22 +0000 (22:12 +0000)]
Test of clock_nanosleep cancellation with exception based cleanup.

17 years agoTest of clock_nanosleep cancellation.
drepper [Tue, 17 Jun 2003 22:11:36 +0000 (22:11 +0000)]
Test of clock_nanosleep cancellation.

17 years agoUpdate.
drepper [Tue, 17 Jun 2003 22:11:22 +0000 (22:11 +0000)]
Update.

17 years ago(clock_nanosleep): nanosleep takes care of enabling cancellation.
drepper [Tue, 17 Jun 2003 22:10:25 +0000 (22:10 +0000)]
(clock_nanosleep): nanosleep takes care of enabling cancellation.

17 years ago(do_test): Fix some typos.
drepper [Tue, 17 Jun 2003 21:54:22 +0000 (21:54 +0000)]
(do_test): Fix some typos.

17 years agoAdd rules to build and run tst-cancel17.
drepper [Tue, 17 Jun 2003 21:23:47 +0000 (21:23 +0000)]
Add rules to build and run tst-cancel17.

17 years agoTest cancelability of aio_suspend with exceptions based cleanup.
drepper [Tue, 17 Jun 2003 21:22:56 +0000 (21:22 +0000)]
Test cancelability of aio_suspend with exceptions based cleanup.

17 years agoTest cancelability of aio_suspend.
drepper [Tue, 17 Jun 2003 21:22:11 +0000 (21:22 +0000)]
Test cancelability of aio_suspend.

17 years ago(aio_suspend): Make aio_suspend cancelable. It's not correct to
drepper [Tue, 17 Jun 2003 21:21:27 +0000 (21:21 +0000)]
(aio_suspend): Make aio_suspend cancelable.  It's not correct to
disable cancellation.  Instead of a cleanup handler.

17 years agoInclude pthreadP.h and then full source to handle SIGCANCEL.
drepper [Tue, 17 Jun 2003 20:48:07 +0000 (20:48 +0000)]
Include pthreadP.h and then full source to handle SIGCANCEL.

17 years agoInclude pthreadP.h and then full source to handle SIGCANCEL.
drepper [Tue, 17 Jun 2003 20:47:39 +0000 (20:47 +0000)]
Include pthreadP.h and then full source to handle SIGCANCEL.

17 years agoInclude pthreadP.h and then full source to handle SIGCANCEL.
drepper [Tue, 17 Jun 2003 20:47:16 +0000 (20:47 +0000)]
Include pthreadP.h and then full source to handle SIGCANCEL.

17 years agoUpdate.
drepper [Tue, 17 Jun 2003 20:46:06 +0000 (20:46 +0000)]
Update.

17 years agoAdd __builtin_expect for special case of seconds==0.
drepper [Tue, 17 Jun 2003 20:45:16 +0000 (20:45 +0000)]
Add __builtin_expect for special case of seconds==0.

17 years agoIf SIGCANCEL is defined and part of the incoming set, create a
drepper [Tue, 17 Jun 2003 20:44:31 +0000 (20:44 +0000)]
If SIGCANCEL is defined and part of the incoming set, create a
temporary set without this signal.

17 years agoUpdate..
drepper [Tue, 17 Jun 2003 09:33:56 +0000 (09:33 +0000)]
Update..

17 years agoTest open, close, pread, pwrite, fsync, and msync.
drepper [Tue, 17 Jun 2003 09:33:29 +0000 (09:33 +0000)]
Test open, close, pread, pwrite, fsync, and msync.

17 years agoUpdate.
drepper [Tue, 17 Jun 2003 08:58:31 +0000 (08:58 +0000)]
Update.

17 years ago(MULTIPLE_THREADS_OFFSET): Define.
drepper [Tue, 17 Jun 2003 08:57:44 +0000 (08:57 +0000)]
(MULTIPLE_THREADS_OFFSET): Define.

17 years ago(tcbhead_t): Add multiple_threads.
drepper [Tue, 17 Jun 2003 08:57:32 +0000 (08:57 +0000)]
(tcbhead_t): Add multiple_threads.

17 years ago(CENABLE, CDISABLE): Define for librt. #error if neither libpthread, libc nor
drepper [Tue, 17 Jun 2003 08:57:14 +0000 (08:57 +0000)]
(CENABLE, CDISABLE): Define for librt.  #error if neither libpthread, libc nor
librt.

17 years ago(struct pthread): Add header.multiple_threads unconditionally.
drepper [Tue, 17 Jun 2003 08:56:25 +0000 (08:56 +0000)]
(struct pthread): Add header.multiple_threads unconditionally.

17 years ago(allocate_stack): Set header.multiple_threads unconditionally.
drepper [Tue, 17 Jun 2003 08:56:13 +0000 (08:56 +0000)]
(allocate_stack): Set header.multiple_threads unconditionally.

17 years ago(create_thread): Set header.multiple_threads unconditionally.
drepper [Tue, 17 Jun 2003 08:55:50 +0000 (08:55 +0000)]
(create_thread): Set header.multiple_threads unconditionally.

17 years agoUpdate.
drepper [Tue, 17 Jun 2003 08:49:28 +0000 (08:49 +0000)]
Update.

17 years agoUse CANCELLATION_P if defined before returning because seconds==0.
drepper [Tue, 17 Jun 2003 08:48:51 +0000 (08:48 +0000)]
Use CANCELLATION_P if defined before returning because seconds==0.

17 years agoUpdate.
drepper [Tue, 17 Jun 2003 08:44:32 +0000 (08:44 +0000)]
Update.

17 years agoAdd tests for the socket and signal functions, pause. Also test early
drepper [Tue, 17 Jun 2003 08:44:10 +0000 (08:44 +0000)]
Add tests for the socket and signal functions, pause.  Also test early
cancellation before the thread reaches the cancellation point.

17 years agoCompile forward.c with exceptions.
drepper [Tue, 17 Jun 2003 08:42:06 +0000 (08:42 +0000)]
Compile forward.c with exceptions.

17 years agosleep function for Linux.
drepper [Tue, 17 Jun 2003 08:39:29 +0000 (08:39 +0000)]
sleep function for Linux.

17 years agoUpdate.
drepper [Mon, 16 Jun 2003 23:07:43 +0000 (23:07 +0000)]
Update.

17 years agoAdd unwind information.
drepper [Mon, 16 Jun 2003 23:06:41 +0000 (23:06 +0000)]
Add unwind information.

17 years agoUpdate.
drepper [Mon, 16 Jun 2003 19:39:00 +0000 (19:39 +0000)]
Update.

17 years agoAlso check cancellation handlers.
drepper [Mon, 16 Jun 2003 19:38:41 +0000 (19:38 +0000)]
Also check cancellation handlers.

17 years agoAdd CFLAGS definition to compile function wrappers duplicated from
drepper [Mon, 16 Jun 2003 19:38:10 +0000 (19:38 +0000)]
Add CFLAGS definition to compile function wrappers duplicated from
libc with exceptions.

17 years ago(__libc_wait): Fix type of result variable.
drepper [Mon, 16 Jun 2003 19:02:42 +0000 (19:02 +0000)]
(__libc_wait): Fix type of result variable.

17 years agoBump to 0.47.
drepper [Mon, 16 Jun 2003 17:51:14 +0000 (17:51 +0000)]
Bump to 0.47.

17 years agoUpdate.
drepper [Mon, 16 Jun 2003 17:18:06 +0000 (17:18 +0000)]
Update.

17 years agoPrint linker warning if this function is called in a static linked binary.
drepper [Mon, 16 Jun 2003 17:16:06 +0000 (17:16 +0000)]
Print linker warning if this function is called in a static linked binary.

17 years agoAdd static_link_warning macro.
drepper [Mon, 16 Jun 2003 17:14:50 +0000 (17:14 +0000)]
Add static_link_warning macro.

17 years agoUpdate.
drepper [Mon, 16 Jun 2003 17:11:32 +0000 (17:11 +0000)]
Update.

17 years agoAdd aliases CP936, MS936, WINDOWS-936.
drepper [Mon, 16 Jun 2003 17:09:02 +0000 (17:09 +0000)]
Add aliases CP936, MS936, WINDOWS-936.

17 years agoAdd alias IBM-1047.
drepper [Mon, 16 Jun 2003 17:07:00 +0000 (17:07 +0000)]
Add alias IBM-1047.

17 years agoAdd aliases ISO_8859-16:2001, ISO_8859-16.
drepper [Mon, 16 Jun 2003 17:06:43 +0000 (17:06 +0000)]
Add aliases ISO_8859-16:2001, ISO_8859-16.