cpu/asm_darwin_arm64_gc.s
raw| 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 && arm64 && gc |
| 6 | |
| 7 | #include "textflag.h" |
| 8 | |
| 9 | TEXT libc_sysctlbyname_trampoline<>(SB),NOSPLIT,$0-0 |
| 10 | JMP libc_sysctlbyname(SB) |
| 11 | GLOBL ·libc_sysctlbyname_trampoline_addr(SB), RODATA, $8 |
| 12 | DATA ·libc_sysctlbyname_trampoline_addr(SB)/8, $libc_sysctlbyname_trampoline<>(SB) |