aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-03-16 21:07:22 +0000
committerUlrich Drepper <drepper@redhat.com>2001-03-16 21:07:22 +0000
commitaeba9785a6e2e8dca120bb0b62b74ea1eda0a4a8 (patch)
tree8438c4d6081766a1ede6c89328dfbcd389dbff82 /linuxthreads
parentb8a8413c6f7970bc4d5659791c3b3670cc037578 (diff)
downloadglibc-aeba9785a6e2e8dca120bb0b62b74ea1eda0a4a8.tar
glibc-aeba9785a6e2e8dca120bb0b62b74ea1eda0a4a8.tar.gz
glibc-aeba9785a6e2e8dca120bb0b62b74ea1eda0a4a8.tar.bz2
glibc-aeba9785a6e2e8dca120bb0b62b74ea1eda0a4a8.zip
Update.
2001-03-16 David Mosberger <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): Drop hack that was needed for 2.1.1 kernel headers. * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file. * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it overlay with kernel's "struct sigcontext". * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add sys/rse.h for "misc" subdir. (sysdep_routines): Add __start_context for "stdlib" subdir. * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on kernel file of the same name). * stdlib/Makefile (tests): Add tst-setcontext. * stdlib/tst-setcontext.c: New file (based on a sample program by Uli Drepper). * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file. * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file. * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file. * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file. * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u instead of shift & and.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/attr.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index bbda957a84..3eb7bcbdeb 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-16 Ulrich Drepper <drepper@redhat.com>
+
+ * attr.c (pthread_getattr_np): Fix __stacksize computation for IA-64.
+
2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* shlib-versions: Add rule for Linux on 64 bit S/390.
diff --git a/linuxthreads/attr.c b/linuxthreads/attr.c
index 8cb0f8f7ef..3553069c2e 100644
--- a/linuxthreads/attr.c
+++ b/linuxthreads/attr.c
@@ -303,7 +303,7 @@ int pthread_getattr_np (pthread_t thread, pthread_attr_t *attr)
/* XXX This is awkward. The guard pages are in the middle of the
two stacks. We must count the guard size in the stack size since
otherwise the range of the stack area cannot be computed. */
- attr->__stacksize += attr->guardsize;
+ attr->__stacksize += attr->__guardsize;
#endif
attr->__stackaddr = guardaddr;