ref: 6bb619c8db2867ddd9cd19c0aec05065f5ee0cae dir: /lib9/getcallerpc-Linux-spim.S/
#include <sys/regdef.h> #include <sys/asm.h> LEAF(getcallerpc) .set noreorder addiu t0,a0,-4 j ra lw v0,0(t0) .set reorder END(getcallerpc)