Artifact a34cfac8862e836cf9c692ff18c368feda734c9b48df7719ef66a7288e01b306:
- File arch/x86.fbsd.32.s — part of check-in [ec9b2b74b3] at 2019-06-27 22:14:56 on branch trunk — fixes for shared building (user: lexi, size: 443) [annotate] [blame] [check-ins using]
;; abi definition file for x86 linux 64-bit ; vim: ft=nasm ; syscall numbers - syscall table must be created first! %include "calls.x86.fbsd.32.s" ; extremely stupid freebsd-ism: expects the syscall to ; come from a function _syscall: int 0x80 ret %define sys.call call _syscall ; parameters are passed on the stack %macro syscall 1-* mov eax, %1 %rep %0-1 %rotate 1 push %1 %endrep sys.call add esp, 4*(%0-1) %endmacro