From ea198bdcf947ba4bd51474bdd4f7b82b5e4cf41d Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sat, 31 Mar 2012 22:27:37 -0700 Subject: [PATCH] Properly export setjmp/longjmp. --- bindings/linux/setjmp.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindings/linux/setjmp.S b/bindings/linux/setjmp.S index 8ef583196e..5eea4be6a2 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 */