shithub: scc

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