code: 9ferno

ref: 80be5158599a247dff7f7701cc883c118b15eaa6
dir: /lib9/getcallerpc-NetBSD-386.S/

View raw version
#include <machine/asm.h>

NENTRY(getcallerpc)
	movl	4(%esp), %eax
	movl	-4(%eax), %eax
	ret
	END(getcallerpc)