summaryrefslogtreecommitdiff
path: root/src/setjmp/x86_64/longjmp.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/setjmp/x86_64/longjmp.s')
-rw-r--r--src/setjmp/x86_64/longjmp.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/setjmp/x86_64/longjmp.s b/src/setjmp/x86_64/longjmp.s
index 70271bf5..444076f1 100644
--- a/src/setjmp/x86_64/longjmp.s
+++ b/src/setjmp/x86_64/longjmp.s
@@ -1,6 +1,8 @@
/* Copyright 2011 Nicholas J. Kain, licensed GNU LGPL 2.1 or later */
.global _longjmp
.global longjmp
+.type _longjmp,@function
+.type longjmp,@function
_longjmp:
longjmp:
mov %rsi,%rax /* val will be longjmp return */