From dd3ec8c2d32f11ef5a2871a8e81dbaf750237a37 Mon Sep 17 00:00:00 2001 From: Andrea Barisani Date: Fri, 4 Sep 2020 12:25:48 +0200 Subject: [PATCH] =?UTF-8?q?implement=20runtime=C2=B7read=5Ftls=5Ffallback?= =?UTF-8?q?=20since=20the=20runtime=20expects=20this=20symbol=20for=20GOAR?= =?UTF-8?q?M=20<=207?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/runtime/sys_tamago_arm.s | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/runtime/sys_tamago_arm.s b/src/runtime/sys_tamago_arm.s index 4e2ecee9836321..0c808b74bf74a4 100644 --- a/src/runtime/sys_tamago_arm.s +++ b/src/runtime/sys_tamago_arm.s @@ -215,3 +215,9 @@ TEXT runtime·irqHandler(SB),NOSPLIT|NOFRAME,$0 TEXT runtime·fiqHandler(SB),NOSPLIT|NOFRAME,$0 CALLFNFROMEXCEPTION(0x1c, ·exceptionHandler, 4, R7, 38) + +// never called (cgo not supported) +TEXT runtime·read_tls_fallback(SB),NOSPLIT|NOFRAME,$0 + MOVW $0, R0 + MOVW R0, (R0) + RET