aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/asm.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/asm.s')
-rw-r--r--src/runtime/asm.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/asm.s b/src/runtime/asm.s
index 84e561fb43..81d3bfbb8a 100644
--- a/src/runtime/asm.s
+++ b/src/runtime/asm.s
@@ -15,8 +15,10 @@ TEXT ·mapinitnoop<ABIInternal>(SB),NOSPLIT,$0-0
#ifndef GOARCH_amd64
#ifndef GOARCH_arm64
+#ifndef GOARCH_riscv64
// stub to appease shared build mode.
TEXT ·switchToCrashStack0<ABIInternal>(SB),NOSPLIT,$0-0
UNDEF
#endif
#endif
+#endif