aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
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 /sysdeps
parentb2fd61ca9b252f61d0a5afd06cc5c95a3898d4df (diff)
downloadglibc-e5f9508a32426b7c3948dc741d84355071ed9539.zip
glibc-e5f9508a32426b7c3948dc741d84355071ed9539.tar.gz
glibc-e5f9508a32426b7c3948dc741d84355071ed9539.tar.bz2
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 'sysdeps')
-rw-r--r--sysdeps/s390/longjmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/s390/longjmp.c b/sysdeps/s390/longjmp.c
index e61cdba..1064647 100644
--- a/sysdeps/s390/longjmp.c
+++ b/sysdeps/s390/longjmp.c
@@ -43,9 +43,11 @@ weak_alias (__libc_siglongjmp, __v1longjmp)
weak_alias (__libc_siglongjmp, __v2longjmp)
versioned_symbol (libc, __v1longjmp, longjmp, GLIBC_2_0);
compat_symbol (libc, __v2longjmp, longjmp, GLIBC_2_19);
+libc_hidden_def (longjmp)
weak_alias (__libc_siglongjmp, __v1siglongjmp)
weak_alias (__libc_siglongjmp, __v2siglongjmp)
versioned_symbol (libc, __v1siglongjmp, siglongjmp, GLIBC_2_0);
compat_symbol (libc, __v2siglongjmp, siglongjmp, GLIBC_2_19);
+libc_hidden_def (siglongjmp)
#endif /* SHARED && SHLIB_COMPAT (libc, GLIBC_2_19, GLIBC_2_20) */