summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-24 14:31:46 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:33 +0200
commiteae3172be207b6212f327b43eee429c091bd0419 (patch)
tree366a4b31359884e3345a8f2e13523aa987bbfb15
parentbb0b54956b9d57f32e8998c1bdd6fed6aac96a6e (diff)
jmp-unwind.c: add hidden _longjmp_unwind
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--include/setjmp.h1
-rw-r--r--libpthread/linuxthreads/sysdeps/unix/sysv/linux/jmp-unwind.c1
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/include/setjmp.h b/include/setjmp.h
index 0da5968b0..0baec8279 100644
--- a/include/setjmp.h
+++ b/include/setjmp.h
@@ -119,6 +119,7 @@ libc_hidden_proto(__longjmp)
extern __typeof(longjmp) __libc_longjmp attribute_noreturn;
extern __typeof(siglongjmp) __libc_siglongjmp attribute_noreturn;
extern void _longjmp_unwind(jmp_buf __env, int __val);
+libc_hidden_proto(_longjmp_unwind)
extern int __sigjmp_save(sigjmp_buf __env, int __savemask) attribute_hidden;
/* We use the normal longjmp for unwinding */
# define __libc_unwind_longjmp(buf, val) __libc_longjmp(buf, val)
diff --git a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/jmp-unwind.c b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/jmp-unwind.c
index 4b9031570..b3f9ef204 100644
--- a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/jmp-unwind.c
+++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/jmp-unwind.c
@@ -32,3 +32,4 @@ _longjmp_unwind (jmp_buf env, int val)
(env->__jmpbuf, __builtin_frame_address (0)),
(void) 0);
}
+libc_hidden_def(_longjmp_unwind)
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c b/libpthread/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c
index f2795510a..aa9775032 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c
@@ -37,3 +37,4 @@ _longjmp_unwind (jmp_buf env, int val)
__pthread_cleanup_upto (env->__jmpbuf, CURRENT_STACK_FRAME);
#endif
}
+libc_hidden_def(_longjmp_unwind)