diff options
author | Tamir Duberstein <tamird@google.com> | 2018-09-17 13:05:57 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-09-17 13:06:55 -0700 |
commit | a452971630a4b43f671efffdacb5a4892cf25579 (patch) | |
tree | 5c2f39f2803bf57978a78c98103c3481ece2eb9b | |
parent | 23258ca284b3f086cc83b69d9a1f8f382036a69e (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.s | 15 |
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. |