1 // Copyright 2024 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 //go:build darwin && amd64 && gc
6
7 #include "textflag.h"
8
9 TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0
10 JMP libc_sysctl(SB)
11 GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8
12 DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB)
13
14 TEXT libc_sysctlbyname_trampoline<>(SB),NOSPLIT,$0-0
15 JMP libc_sysctlbyname(SB)
16 GLOBL ·libc_sysctlbyname_trampoline_addr(SB), RODATA, $8
17 DATA ·libc_sysctlbyname_trampoline_addr(SB)/8, $libc_sysctlbyname_trampoline<>(SB)
18
View as plain text