shithub: scc

ref: 7f2fdc6dcd531ba10f96d9d70e7612ce9e8330bd
dir: /libc/src/sys/amd64-sysv-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)}