$OpenBSD: patch-src_runtime_asm_386_s,v 1.1 2021/03/02 17:56:41 jsing Exp $

Index: src/runtime/asm_386.s
--- src/runtime/asm_386.s.orig
+++ src/runtime/asm_386.s
@@ -195,6 +195,10 @@ nocpuinfo:
 	JMP ok
 #endif
 needtls:
+#ifdef GOOS_openbsd
+	// skip runtime·ldt0setup(SB) and tls test on OpenBSD in all cases
+	JMP	ok
+#endif
 #ifdef GOOS_plan9
 	// skip runtime·ldt0setup(SB) and tls test on Plan 9 in all cases
 	JMP	ok
