aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-02 08:21:38 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-02 08:21:38 +0000
commitd7a4856e5d2e91b76309e308b6d084d23bafa6fe (patch)
treefaa95993e1d14fe13cf435dd0d6f441c12c533c6 /linuxthreads
parente099035591cffba3b024f6cddeb90f8ac5e45bfd (diff)
downloadglibc-d7a4856e5d2e91b76309e308b6d084d23bafa6fe.tar
glibc-d7a4856e5d2e91b76309e308b6d084d23bafa6fe.tar.gz
glibc-d7a4856e5d2e91b76309e308b6d084d23bafa6fe.tar.bz2
glibc-d7a4856e5d2e91b76309e308b6d084d23bafa6fe.zip
Update.
1999-12-01 Andreas Jaeger <aj@suse.de> * sysdeps/generic/if_index.c (__protocol_available): Add missing int for parameter. * stdio/stdio.h: Fix typo. Patches by Marcus G. Daniels <mgd@santafe.edu>. 1999-12-01 Andreas Jaeger <aj@suse.de> * scripts/test-installation.pl (installation_problem): Filter out libpthread_db. 1999-12-01 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of __rlim_t and __rlim64_t. * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. 1999-12-01 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add oldgetrlimit64 and oldsetrlimit64 for subdir = resource. * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit, getrlimit64 and setrlimit64 to version GLIBC_2.1.3. * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and new kernel version. Add symbol versions. * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and oldgetrlimit. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit and s_ugetrlimit. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/getrlimit.c: New file. * sysdeps/unix/sysv/linux/getrlimit64.c: New file. * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file. * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file. * sysdeps/unix/sysv/linux/setrlimit64.c: New file. * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file. * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New file.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog7
-rw-r--r--linuxthreads/sysdeps/i386/i686/pt-machine.h12
-rw-r--r--linuxthreads/sysdeps/i386/pt-machine.h14
3 files changed, 20 insertions, 13 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 22ed03da77..522bea2dca 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,10 @@
+1999-12-01 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/i386/pt-machine.h: Move stack_pointer definition to the
+ beginning.
+ * sysdeps/i386/i686/pt-machine.h: Likewise.
+ Patches by Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>.
+
1999-11-23 Ulrich Drepper <drepper@cygnus.com>
* manager.c (pthread_start_thread_event): Initialize p_pid already
diff --git a/linuxthreads/sysdeps/i386/i686/pt-machine.h b/linuxthreads/sysdeps/i386/i686/pt-machine.h
index 91dfb46881..8d9ea709bc 100644
--- a/linuxthreads/sysdeps/i386/i686/pt-machine.h
+++ b/linuxthreads/sysdeps/i386/i686/pt-machine.h
@@ -24,6 +24,12 @@
#endif
+/* 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__ ("%esp");
+
+
/* Spinlock implementation; required. */
PT_EI int
testandset (int *spinlock)
@@ -40,12 +46,6 @@ testandset (int *spinlock)
}
-/* 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__ ("%esp");
-
-
/* Compare-and-swap for semaphores. It's always available on i686. */
#define HAS_COMPARE_AND_SWAP
diff --git a/linuxthreads/sysdeps/i386/pt-machine.h b/linuxthreads/sysdeps/i386/pt-machine.h
index 97d75d4c04..a1fe71b5dd 100644
--- a/linuxthreads/sysdeps/i386/pt-machine.h
+++ b/linuxthreads/sysdeps/i386/pt-machine.h
@@ -1,6 +1,6 @@
/* Machine-dependent pthreads configuration and inline functions.
i386 version.
- Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson <rth@tamu.edu>.
@@ -23,6 +23,12 @@
# define PT_EI extern inline
#endif
+/* 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__ ("%esp");
+
+
/* Spinlock implementation; required. */
PT_EI int
testandset (int *spinlock)
@@ -39,12 +45,6 @@ testandset (int *spinlock)
}
-/* 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__ ("%esp");
-
-
/* Compare-and-swap for semaphores.
Available on the 486 and above, but not on the 386.
We test dynamically whether it's available or not. */