Created
October 6, 2025 11:54
-
-
Save naughtyfox/7e26d52e63b78b60246349b7553c9784 to your computer and use it in GitHub Desktop.
_x014.s
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 0 "gcc_amd64.S" | |
| # 1 "/usr/local/go/src/runtime/cgo//" | |
| # 0 "<built-in>" | |
| # 0 "<command-line>" | |
| # 1 "/usr/include/stdc-predef.h" 1 3 4 | |
| # 0 "<command-line>" 2 | |
| # 1 "gcc_amd64.S" | |
| .file "gcc_amd64.S" | |
| # 25 "gcc_amd64.S" | |
| .globl crosscall1 | |
| crosscall1: | |
| pushq %rbx | |
| pushq %rbp | |
| pushq %r12 | |
| pushq %r13 | |
| pushq %r14 | |
| pushq %r15 | |
| movq %rdi, %rbx | |
| movq %rdx, %rdi | |
| call *%rsi | |
| call *%rbx | |
| popq %r15 | |
| popq %r14 | |
| popq %r13 | |
| popq %r12 | |
| popq %rbp | |
| popq %rbx | |
| ret | |
| .section .note.GNU-stack,"",@progbits |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment