github.com/code-reading/golang@v0.0.0-20220303082512-ba5bc0e589a3/go/src/crypto/x509/internal/macos/corefoundation.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_CFArrayGetCount_trampoline(SB),NOSPLIT,$0-0 14 JMP x509_CFArrayGetCount(SB) 15 TEXT ·x509_CFArrayGetValueAtIndex_trampoline(SB),NOSPLIT,$0-0 16 JMP x509_CFArrayGetValueAtIndex(SB) 17 TEXT ·x509_CFDataGetBytePtr_trampoline(SB),NOSPLIT,$0-0 18 JMP x509_CFDataGetBytePtr(SB) 19 TEXT ·x509_CFDataGetLength_trampoline(SB),NOSPLIT,$0-0 20 JMP x509_CFDataGetLength(SB) 21 TEXT ·x509_CFStringCreateWithBytes_trampoline(SB),NOSPLIT,$0-0 22 JMP x509_CFStringCreateWithBytes(SB) 23 TEXT ·x509_CFRelease_trampoline(SB),NOSPLIT,$0-0 24 JMP x509_CFRelease(SB) 25 TEXT ·x509_CFDictionaryGetValueIfPresent_trampoline(SB),NOSPLIT,$0-0 26 JMP x509_CFDictionaryGetValueIfPresent(SB) 27 TEXT ·x509_CFNumberGetValue_trampoline(SB),NOSPLIT,$0-0 28 JMP x509_CFNumberGetValue(SB) 29 TEXT ·x509_CFEqual_trampoline(SB),NOSPLIT,$0-0 30 JMP x509_CFEqual(SB)