shithub: scc

ref: 3801b0918d1ba3107283cb6087a9a158c33d545b
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)}