aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-03 08:44:46 +0000
committerRoland McGrath <roland@gnu.org>2003-03-03 08:44:46 +0000
commitea6a015bd78d1bc15c02f64d5e5423cbcdc86b2e (patch)
treeaa51f8c6fbea5e7ef556644f34553b6fde4be133 /nptl/sysdeps
parent83f2fcbe7b26ac53dc237c37f52b699207bd9d19 (diff)
downloadglibc-ea6a015bd78d1bc15c02f64d5e5423cbcdc86b2e.tar
glibc-ea6a015bd78d1bc15c02f64d5e5423cbcdc86b2e.tar.gz
glibc-ea6a015bd78d1bc15c02f64d5e5423cbcdc86b2e.tar.bz2
glibc-ea6a015bd78d1bc15c02f64d5e5423cbcdc86b2e.zip
* sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.
* sysdeps/ia64/dl-machine.h: Update decl.
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/pthread/pthread-functions.h2
-rw-r--r--nptl/sysdeps/unix/sysv/linux/jmp-unwind.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/nptl/sysdeps/pthread/pthread-functions.h b/nptl/sysdeps/pthread/pthread-functions.h
index f6922a0d6c..9f38e34053 100644
--- a/nptl/sysdeps/pthread/pthread-functions.h
+++ b/nptl/sysdeps/pthread/pthread-functions.h
@@ -71,7 +71,7 @@ struct pthread_functions
pthread_t (*ptr_pthread_self) (void);
int (*ptr_pthread_setcancelstate) (int, int *);
int (*ptr_pthread_setcanceltype) (int, int *);
- void (*ptr___pthread_cleanup_upto) (jmp_buf, char *);
+ void (*ptr___pthread_cleanup_upto) (__jmp_buf, char *);
int (*ptr___pthread_once) (pthread_once_t *, void (*) (void));
int (*ptr___pthread_rwlock_rdlock) (pthread_rwlock_t *);
int (*ptr___pthread_rwlock_wrlock) (pthread_rwlock_t *);
diff --git a/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c b/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c
index f0a290ae4b..d6fbcc39eb 100644
--- a/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c
+++ b/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c
@@ -21,7 +21,7 @@
#include <stddef.h>
#include <pthread-functions.h>
-extern void __pthread_cleanup_upto (jmp_buf env, char *targetframe);
+extern void __pthread_cleanup_upto (__jmp_buf env, char *targetframe);
#pragma weak __pthread_cleanup_upto
@@ -35,5 +35,5 @@ _longjmp_unwind (jmp_buf env, int val)
#endif
if (fptr != NULL)
- fptr (env, __builtin_frame_address (0));
+ fptr (env->__jmpbuf, __builtin_frame_address (0));
}