diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-04 23:19:18 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-04 23:19:18 +0000 |
commit | e5f9508a32426b7c3948dc741d84355071ed9539 (patch) | |
tree | 2472ac1ecdbba3bffc3081afd7ea53ab76429852 /setjmp | |
parent | b2fd61ca9b252f61d0a5afd06cc5c95a3898d4df (diff) | |
download | glibc-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 'setjmp')
-rw-r--r-- | setjmp/longjmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/setjmp/longjmp.c b/setjmp/longjmp.c index a2a7065..72d43f4 100644 --- a/setjmp/longjmp.c +++ b/setjmp/longjmp.c @@ -45,5 +45,7 @@ __libc_siglongjmp (sigjmp_buf env, int val) strong_alias (__libc_siglongjmp, __libc_longjmp) weak_alias (__libc_siglongjmp, _longjmp) weak_alias (__libc_siglongjmp, longjmp) +libc_hidden_def (longjmp) weak_alias (__libc_siglongjmp, siglongjmp) +libc_hidden_def (siglongjmp) #endif |