shithub: scc

ref: 916a4ec745ac099b0747c94c0def75c54e6a005f
dir: /libc/src/sys/amd64-linux/syscall.awk/

View raw version
/^#/	{next}
	{name=$2 ".s"
	 printf "%s:\n\tmov\t%d,%%rax\n\tsyscall\n\tret\n",$2, $1 > name
	 close(name)}