about summary refs log tree commit diff
path: root/include/setjmp.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-04 23:19:18 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-04 23:19:18 +0000
commite5f9508a32426b7c3948dc741d84355071ed9539 (patch)
tree2472ac1ecdbba3bffc3081afd7ea53ab76429852 /include/setjmp.h
parentb2fd61ca9b252f61d0a5afd06cc5c95a3898d4df (diff)
downloadglibc-e5f9508a32426b7c3948dc741d84355071ed9539.tar.gz
glibc-e5f9508a32426b7c3948dc741d84355071ed9539.tar.xz
glibc-e5f9508a32426b7c3948dc741d84355071ed9539.zip
hurd: Avoid PLTs for longjmp & siglongjmp
	* include/setjmp.h (longjmp, siglongjmp): Add hidden protos.
	* setjmp/longjmp.c (longjmp, siglongjmp): Add hidden defs.
	* sysdeps/s390/longjmp.c (longjmp, siglongjmp): Add hidden defs.
Diffstat (limited to 'include/setjmp.h')
-rw-r--r--include/setjmp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/setjmp.h b/include/setjmp.h
index 263bc64b3d..ed582516c9 100644
--- a/include/setjmp.h
+++ b/include/setjmp.h
@@ -26,6 +26,8 @@ extern void __libc_longjmp (sigjmp_buf env, int val)
 
 libc_hidden_proto (_setjmp)
 libc_hidden_proto (__sigsetjmp)
+libc_hidden_proto (longjmp)
+libc_hidden_proto (siglongjmp)
 
 # if IS_IN (rtld) && !defined NO_RTLD_HIDDEN
 extern __typeof (__sigsetjmp) __sigsetjmp attribute_hidden;