@@ -10,10 +10,14 @@ ; void k_platform_syscall_raw(s64* result, u64* errno, ; syscall, u8 valency, s64[] args) bits 64 -%include "arch/posix/x86.lin.64.s" -%include "arch/x86.cdecl.64.s" + +; which file is included is selected via the value +; of the target tuple - arch/$target is passed to +; the assembler as an include directory +%include 'syscall.s' +%include 'cdecl.s' ; vim: ft=nasm %macro handle_arg 1 %assign v %1+1