summaryrefslogtreecommitdiffstats
path: root/src/runtime/asm.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/asm.s')
-rw-r--r--src/runtime/asm.s34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/runtime/asm.s b/src/runtime/asm.s
new file mode 100644
index 0000000..24cd0c9
--- /dev/null
+++ b/src/runtime/asm.s
@@ -0,0 +1,34 @@
+// Copyright 2014 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+#include "textflag.h"
+
+#ifndef GOARCH_amd64
+TEXT ·sigpanic0(SB),NOSPLIT,$0-0
+ JMP ·sigpanic<ABIInternal>(SB)
+#endif
+
+// See map.go comment on the need for this routine.
+TEXT ·mapinitnoop<ABIInternal>(SB),NOSPLIT,$0-0
+ RET
+
+#ifndef GOARCH_amd64
+#ifndef GOARCH_arm64
+#ifndef GOARCH_mips64
+#ifndef GOARCH_mips64le
+#ifndef GOARCH_ppc64
+#ifndef GOARCH_ppc64le
+#ifndef GOARCH_riscv64
+#ifndef GOARCH_wasm
+// stub to appease shared build mode.
+TEXT ·switchToCrashStack0<ABIInternal>(SB),NOSPLIT,$0-0
+ UNDEF
+#endif
+#endif
+#endif
+#endif
+#endif
+#endif
+#endif
+#endif