diff options
author | Aram Hăvărneanu <aram@mgk.ro> | 2014-11-17 17:55:08 +0100 |
---|---|---|
committer | Russ Cox <rsc@google.com> | 2015-06-03 15:34:38 +0000 |
commit | 3f1c876e14e7eb45c1e17e1f3f4a28d98ff9b35f (patch) | |
tree | 3aabb38902dbbb9c4e5dba1c26aa3f47a26f4328 /src/lib9 | |
parent | 7a6f3d9d6d19d143417f0a9b80145d7065727290 (diff) | |
download | plan9port-3f1c876e14e7eb45c1e17e1f3f4a28d98ff9b35f.tar.gz plan9port-3f1c876e14e7eb45c1e17e1f3f4a28d98ff9b35f.tar.bz2 plan9port-3f1c876e14e7eb45c1e17e1f3f4a28d98ff9b35f.zip |
all: linux/arm64 port
Really trivial port.
Change-Id: Ib2e3ad48df555ca4bd9339ddf79a832be895bd95
Reviewed-on: https://plan9port-review.googlesource.com/1030
Reviewed-by: Russ Cox <rsc@google.com>
Diffstat (limited to 'src/lib9')
-rw-r--r-- | src/lib9/getcallerpc-arm64.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib9/getcallerpc-arm64.c b/src/lib9/getcallerpc-arm64.c new file mode 100644 index 00000000..9bb4a955 --- /dev/null +++ b/src/lib9/getcallerpc-arm64.c @@ -0,0 +1,8 @@ +#include <lib9.h> + +ulong +getcallerpc(void *x) +{ + return ((ulong*)x)[-2]; +} + |