aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/internal/boring/fipstls/stub.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/internal/boring/fipstls/stub.s')
-rw-r--r--src/crypto/internal/boring/fipstls/stub.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/crypto/internal/boring/fipstls/stub.s b/src/crypto/internal/boring/fipstls/stub.s
new file mode 100644
index 0000000000..f2e5a503ea
--- /dev/null
+++ b/src/crypto/internal/boring/fipstls/stub.s
@@ -0,0 +1,12 @@
+// Copyright 2017 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.
+
+//go:build boringcrypto
+
+// runtime_arg0 is declared in tls.go without a body.
+// It's provided by package runtime,
+// but the go command doesn't know that.
+// Having this assembly file keeps the go command
+// from complaining about the missing body
+// (because the implementation might be here).