From e5f9508a32426b7c3948dc741d84355071ed9539 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 4 Apr 2018 23:19:18 +0000 Subject: 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. --- setjmp/longjmp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'setjmp') diff --git a/setjmp/longjmp.c b/setjmp/longjmp.c index a2a7065a85..72d43f45df 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 -- cgit 1.4.1