diff options
author | rsc <devnull@localhost> | 2005-11-07 02:47:39 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-11-07 02:47:39 +0000 |
commit | 3dd68d9c747ee097566f73f42ea6a05d43d7d15f (patch) | |
tree | 364b51e2e731193ace8fab8bdefff68eeb16215e | |
parent | f49c5cb2523158c7d43b092a11caa809c7eb0753 (diff) | |
download | plan9port-3dd68d9c747ee097566f73f42ea6a05d43d7d15f.tar.gz plan9port-3dd68d9c747ee097566f73f42ea6a05d43d7d15f.tar.bz2 plan9port-3dd68d9c747ee097566f73f42ea6a05d43d7d15f.zip |
arm
-rw-r--r-- | src/lib9/getcallerpc-arm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib9/getcallerpc-arm.c b/src/lib9/getcallerpc-arm.c new file mode 100644 index 00000000..9bb4a955 --- /dev/null +++ b/src/lib9/getcallerpc-arm.c @@ -0,0 +1,8 @@ +#include <lib9.h> + +ulong +getcallerpc(void *x) +{ + return ((ulong*)x)[-2]; +} + |