github.com/bored-engineer/go-launchd@v0.0.0-20230905041514-6aff1185c30f/libc.s (about)

     1  //go:build darwin
     2  // +build darwin
     3  
     4  #include "textflag.h"
     5  
     6  // The trampolines are ABIInternal as they are address-taken in
     7  // Go code.
     8  
     9  TEXT libc_free_trampoline<>(SB),NOSPLIT,$0-0
    10      JMP	libc_free(SB)
    11  
    12  GLOBL	·libc_free_trampoline_addr(SB), RODATA, $8
    13  DATA	·libc_free_trampoline_addr(SB)/8, $libc_free_trampoline<>(SB)