]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: define ios/arm64 entry points
authorCherry Zhang <cherryyz@google.com>
Sat, 17 Oct 2020 01:39:36 +0000 (21:39 -0400)
committerCherry Zhang <cherryyz@google.com>
Mon, 19 Oct 2020 18:31:05 +0000 (18:31 +0000)
Updates #38485.

Change-Id: I030346c7f0c3ce89209588525b210284fdea4efd
Reviewed-on: https://go-review.googlesource.com/c/go/+/263638
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/runtime/rt0_ios_arm64.s [new file with mode: 0644]

diff --git a/src/runtime/rt0_ios_arm64.s b/src/runtime/rt0_ios_arm64.s
new file mode 100644 (file)
index 0000000..dcc8365
--- /dev/null
@@ -0,0 +1,14 @@
+// Copyright 2020 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.
+
+#include "textflag.h"
+
+// internal linking executable entry point.
+// ios/arm64 only supports external linking.
+TEXT _rt0_arm64_ios(SB),NOSPLIT|NOFRAME,$0
+       UNDEF
+
+// library entry point.
+TEXT _rt0_arm64_ios_lib(SB),NOSPLIT|NOFRAME,$0
+       JMP     _rt0_arm64_darwin_lib(SB)