From 31322996fdcaab36880935b0ae48366f3969ebd9 Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Wed, 2 Sep 2015 21:52:19 +1200 Subject: [PATCH] runtime: add stub sigreturn on arm When building a shared library, all functions that are declared must actually be defined. Change-Id: I1488690cecfb66e62d9fdb3b8d257a4dc31d202a Reviewed-on: https://go-review.googlesource.com/14187 Reviewed-by: Dave Cheney --- src/runtime/asm_arm.s | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/runtime/asm_arm.s b/src/runtime/asm_arm.s index 06591276d9..917cce81c3 100644 --- a/src/runtime/asm_arm.s +++ b/src/runtime/asm_arm.s @@ -1072,3 +1072,6 @@ TEXT runtime·usplitR0(SB),NOSPLIT,$0 MULU R0, R1 SUB R1, R3, R1 RET + +TEXT runtime·sigreturn(SB),NOSPLIT,$0-4 + RET -- 2.48.1