From 533ce2f2ea6c6eba5a8f1e55a815148bd70e6ee5 Mon Sep 17 00:00:00 2001 From: Tw Date: Sat, 17 Jun 2017 20:16:31 +0800 Subject: [PATCH] fix build failure because of _cgo_yield Signed-off-by: Tw --- arch/x86_64/asm/cgo_stubs.s | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86_64/asm/cgo_stubs.s b/arch/x86_64/asm/cgo_stubs.s index 12b484a..75816dc 100644 --- a/arch/x86_64/asm/cgo_stubs.s +++ b/arch/x86_64/asm/cgo_stubs.s @@ -11,6 +11,7 @@ global x_cgo_sigaction global x_cgo_thread_start global x_cgo_setenv global x_cgo_unsetenv +global _cgo_yield ; Stubs for missing cgo functions to keep the linker happy x_cgo_callers: @@ -21,4 +22,5 @@ x_cgo_sigaction: x_cgo_thread_start: x_cgo_setenv: x_cgo_unsetenv: +_cgo_yield: ret