From 056e03583b52e0d3129832ee4913fca47440f05d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 28 Dec 1999 22:17:16 +0000 Subject: Update. 1999-12-28 Ulrich Drepper * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit and oldsetrlimit definitions. --- linuxthreads/ChangeLog | 8 ++++++++ linuxthreads/manager.c | 2 +- linuxthreads/sysdeps/alpha/pt-machine.h | 12 ++++++------ 3 files changed, 15 insertions(+), 7 deletions(-) (limited to 'linuxthreads') diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index adeaf40..994f7e6 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,11 @@ +1999-12-28 Ulrich Drepper + + * sysdeps/alpha/pt-machine.h: Move stack_pointer definition to the + beginning. + + * manager.c (__pthread_start): Add one more cast to prevent + warning on 64bit machines. + 1999-12-21 Ulrich Drepper * manager.c (pthread_handle_create): Set p_pid of new thread diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c index 9f9585d..78d4aaa 100644 --- a/linuxthreads/manager.c +++ b/linuxthreads/manager.c @@ -98,7 +98,7 @@ static void pthread_kill_all_threads(int sig, int main_thread_also); int __pthread_manager(void *arg) { - int reqfd = (int)arg; + int reqfd = (int) (long int) arg; struct pollfd ufd; sigset_t mask; int n; diff --git a/linuxthreads/sysdeps/alpha/pt-machine.h b/linuxthreads/sysdeps/alpha/pt-machine.h index b886294..e59c690 100644 --- a/linuxthreads/sysdeps/alpha/pt-machine.h +++ b/linuxthreads/sysdeps/alpha/pt-machine.h @@ -26,6 +26,12 @@ #include +/* Get some notion of the current stack. Need not be exactly the top + of the stack, just something somewhere in the current frame. */ +#define CURRENT_STACK_FRAME stack_pointer +register char *stack_pointer __asm__("$30"); + + /* Spinlock implementation; required. */ PT_EI long int testandset (int *spinlock) @@ -60,12 +66,6 @@ testandset (int *spinlock) #define THREAD_STACK_START_ADDRESS 0x40000000000 -/* Get some notion of the current stack. Need not be exactly the top - of the stack, just something somewhere in the current frame. */ -#define CURRENT_STACK_FRAME stack_pointer -register char *stack_pointer __asm__("$30"); - - /* Return the thread descriptor for the current thread. */ #define THREAD_SELF \ ({ \ -- cgit v1.1