From aeba9785a6e2e8dca120bb0b62b74ea1eda0a4a8 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 16 Mar 2001 21:07:22 +0000 Subject: Update. 2001-03-16 David Mosberger * 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. --- linuxthreads/ChangeLog | 4 ++++ linuxthreads/attr.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'linuxthreads') 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 + + * attr.c (pthread_getattr_np): Fix __stacksize computation for IA-64. + 2001-03-13 Martin Schwidefsky * 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; -- cgit 1.4.1