summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/longjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/longjmp.c')
-rw-r--r--libc/sysdeps/linux/common/longjmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/longjmp.c b/libc/sysdeps/linux/common/longjmp.c
index e416865f2..1a4201922 100644
--- a/libc/sysdeps/linux/common/longjmp.c
+++ b/libc/sysdeps/linux/common/longjmp.c
@@ -43,6 +43,7 @@ void __libc_longjmp (sigjmp_buf env, int val)
__longjmp (env[0].__jmpbuf, val ?: 1);
}
+weak_alias (__libc_longjmp, longjmp)
weak_alias (__libc_longjmp, _longjmp)
weak_alias (__libc_longjmp, siglongjmp)
weak_alias (__libc_longjmp, __libc_siglongjmp)