aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-28 22:17:16 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-28 22:17:16 +0000
commit056e03583b52e0d3129832ee4913fca47440f05d (patch)
treecd0734048044536135488c47ed10cf374785106d /linuxthreads
parent822078f617658091381b55f866a3b4b4392b5fd4 (diff)
downloadglibc-056e03583b52e0d3129832ee4913fca47440f05d.tar
glibc-056e03583b52e0d3129832ee4913fca47440f05d.tar.gz
glibc-056e03583b52e0d3129832ee4913fca47440f05d.tar.bz2
glibc-056e03583b52e0d3129832ee4913fca47440f05d.zip
Update.
1999-12-28 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit and oldsetrlimit definitions.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog8
-rw-r--r--linuxthreads/manager.c2
-rw-r--r--linuxthreads/sysdeps/alpha/pt-machine.h12
3 files changed, 15 insertions, 7 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index adeaf4093f..994f7e610f 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,11 @@
+1999-12-28 Ulrich Drepper <drepper@cygnus.com>
+
+ * 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 <drepper@cygnus.com>
* manager.c (pthread_handle_create): Set p_pid of new thread
diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c
index 9f9585d8ac..78d4aaaaca 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 b88629405b..e59c6906c8 100644
--- a/linuxthreads/sysdeps/alpha/pt-machine.h
+++ b/linuxthreads/sysdeps/alpha/pt-machine.h
@@ -26,6 +26,12 @@
#include <asm/pal.h>
+/* 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 \
({ \