Differences From
Artifact [1f6b1a0933]:
5 5 %include "calls.x86.lin.64.s"
6 6
7 7 ; syscall ops
8 8 %define sys.call syscall
9 9
10 10 ; register order for syscall convention
11 11 %define sys.reg.n 7
12 +%define sys.reg.ret rax
12 13 %define sys.reg.0 rax
13 14 %define sys.reg.1 rdi
14 15 %define sys.reg.2 rsi
15 16 %define sys.reg.3 rdx
16 17 %define sys.reg.4 r10
17 18 %define sys.reg.5 r8
18 19 %define sys.reg.6 r9
19 20
20 21 ; register order for ccall convention
21 22 %define ccall.reg.ct 6
23 +%define ccall.reg.ret rdi
22 24 %define ccall.reg.0 rdi
23 25 %define ccall.reg.1 rsi
24 26 %define ccall.reg.2 rdx
25 27 %define ccall.reg.3 rcx
26 28 %define ccall.reg.4 r8
27 29 %define ccall.reg.5 r9
28 30