summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2012-03-31 22:27:37 -0700
committerJoshua Haberman <jhaberman@gmail.com>2012-03-31 22:27:37 -0700
commitea198bdcf947ba4bd51474bdd4f7b82b5e4cf41d (patch)
tree63c989e1ed9a7cbe439efb91d847d8bfab794d54
parent6cda8586b17d666351e231160648a44e20bbbc4f (diff)
Properly export setjmp/longjmp.
-rw-r--r--bindings/linux/setjmp.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/bindings/linux/setjmp.S b/bindings/linux/setjmp.S
index 8ef5831..5eea4be 100644
--- a/bindings/linux/setjmp.S
+++ b/bindings/linux/setjmp.S
@@ -30,6 +30,8 @@
* $FreeBSD$
*/
+.globl _setjmp, _longjmp
+
_setjmp:
movq %rbx,0(%rdi) /* save rbx */
movq %rsp,8(%rdi) /* save rsp */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback