[git commit future 1/1] jmp-unwind.c: add hidden _longjmp_unwind

Khem Raj raj.khem at gmail.com
Sat Mar 19 18:51:25 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=3f7c3c49c64ba095b932d7e08be5c1300ce73244
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 include/setjmp.h                                   |    1 +
 .../sysdeps/unix/sysv/linux/jmp-unwind.c           |    1 +
 .../nptl/sysdeps/unix/sysv/linux/jmp-unwind.c      |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/setjmp.h b/include/setjmp.h
index 0da5968..0baec82 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 4b90315..b3f9ef2 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 f279551..aa97750 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)
-- 
1.7.3.4



More information about the uClibc-cvs mailing list