1
0
mirror of https://github.com/taigrr/gopher-os synced 2026-03-29 07:45:17 -07:00
Files
gopher-os/arch/x86_64/asm/cgo_stubs.s
2017-06-17 20:16:31 +08:00

27 lines
464 B
ArmAsm

; vim: set ft=nasm :
section .text
bits 64
global x_cgo_callers
global x_cgo_init
global x_cgo_mmap
global x_cgo_notify_runtime_init_done
global x_cgo_sigaction
global x_cgo_thread_start
global x_cgo_setenv
global x_cgo_unsetenv
global _cgo_yield
; Stubs for missing cgo functions to keep the linker happy
x_cgo_callers:
x_cgo_init:
x_cgo_mmap:
x_cgo_notify_runtime_init_done:
x_cgo_sigaction:
x_cgo_thread_start:
x_cgo_setenv:
x_cgo_unsetenv:
_cgo_yield:
ret