From a452971630a4b43f671efffdacb5a4892cf25579 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Mon, 17 Sep 2018 13:05:57 -0700 Subject: 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 --- pkg/tcpip/time.s | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pkg/tcpip/time.s (limited to 'pkg') 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. -- cgit v1.2.3