From d2caef7bfa67181341fe2f1cbf68884ae6e45639 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 12 Jun 2009 18:34:15 +0000 Subject: 20090612-1932 --- lib9/getcallerpc-Linux-power.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lib9/getcallerpc-Linux-power.c (limited to 'lib9') diff --git a/lib9/getcallerpc-Linux-power.c b/lib9/getcallerpc-Linux-power.c new file mode 100644 index 00000000..4a4e4fb5 --- /dev/null +++ b/lib9/getcallerpc-Linux-power.c @@ -0,0 +1,12 @@ +#include + +ulong +getcallerpc(void *x) +{ +ulong *lp; + + lp = x; + + return lp[-1]; +} + -- cgit v1.2.3