summaryrefslogtreecommitdiffstats
path: root/src/internal/syscall/unix/getentropy_darwin.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/syscall/unix/getentropy_darwin.s')
-rw-r--r--src/internal/syscall/unix/getentropy_darwin.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/internal/syscall/unix/getentropy_darwin.s b/src/internal/syscall/unix/getentropy_darwin.s
new file mode 100644
index 0000000..f41e0fe
--- /dev/null
+++ b/src/internal/syscall/unix/getentropy_darwin.s
@@ -0,0 +1,9 @@
+// Copyright 2021 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 darwin && !ios
+
+#include "textflag.h"
+
+TEXT ·libc_getentropy_trampoline(SB),NOSPLIT,$0-0; JMP libc_getentropy(SB)