summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2018-09-17 13:05:57 -0700
committerShentubot <shentubot@google.com>2018-09-17 13:06:55 -0700
commita452971630a4b43f671efffdacb5a4892cf25579 (patch)
tree5c2f39f2803bf57978a78c98103c3481ece2eb9b
parent23258ca284b3f086cc83b69d9a1f8f382036a69e (diff)
Add empty .s file to allow `//go:linkname`
This was previously broken in 212917409, resulting in "missing function body" compilation errors. PiperOrigin-RevId: 213323695 Change-Id: I32a95b76a1c73fd731f223062ec022318b979bd4
-rw-r--r--pkg/tcpip/time.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkg/tcpip/time.s b/pkg/tcpip/time.s
new file mode 100644
index 000000000..8aca31bee
--- /dev/null
+++ b/pkg/tcpip/time.s
@@ -0,0 +1,15 @@
+// Copyright 2018 Google Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Empty assembly file so empty func definitions work.