github.com/code-reading/golang@v0.0.0-20220303082512-ba5bc0e589a3/go/src/crypto/x509/internal/macos/security.s (about)

     1  // Copyright 2020 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 && !ios
     6  // +build darwin,!ios
     7  
     8  #include "textflag.h"
     9  
    10  // The trampolines are ABIInternal as they are address-taken in
    11  // Go code.
    12  
    13  TEXT ·x509_SecTrustSettingsCopyCertificates_trampoline(SB),NOSPLIT,$0-0
    14  	JMP	x509_SecTrustSettingsCopyCertificates(SB)
    15  TEXT ·x509_SecItemExport_trampoline(SB),NOSPLIT,$0-0
    16  	JMP	x509_SecItemExport(SB)
    17  TEXT ·x509_SecTrustSettingsCopyTrustSettings_trampoline(SB),NOSPLIT,$0-0
    18  	JMP	x509_SecTrustSettingsCopyTrustSettings(SB)
    19  TEXT ·x509_SecPolicyCopyProperties_trampoline(SB),NOSPLIT,$0-0
    20  	JMP	x509_SecPolicyCopyProperties(SB)