shithub: scc

ref: 4fc08c89c81450f1f30e0b58e2579cd4425cee62
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)}