Commit Diff


commit - f49c5cb2523158c7d43b092a11caa809c7eb0753
commit + 3dd68d9c747ee097566f73f42ea6a05d43d7d15f
blob - /dev/null
blob + 9bb4a9559a4d4e4cf6dcd7d9fd3506f29ef96b03 (mode 644)
--- /dev/null
+++ src/lib9/getcallerpc-arm.c
@@ -0,0 +1,8 @@
+#include <lib9.h>
+
+ulong
+getcallerpc(void *x)
+{
+	return ((ulong*)x)[-2];
+}
+