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 | |
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')
-rw-r--r-- | src/lib9/getcallerpc-arm64.c | 8 | ||||
-rw-r--r-- | src/libmp/arm64/mkfile | 4 | ||||
-rw-r--r-- | src/libsec/arm64/mkfile | 4 | ||||
-rw-r--r-- | src/mkhdr | 1 |
4 files changed, 17 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]; +} + diff --git a/src/libmp/arm64/mkfile b/src/libmp/arm64/mkfile new file mode 100644 index 00000000..43a4662b --- /dev/null +++ b/src/libmp/arm64/mkfile @@ -0,0 +1,4 @@ +all: + +%:V: + # nothing to see here diff --git a/src/libsec/arm64/mkfile b/src/libsec/arm64/mkfile new file mode 100644 index 00000000..43a4662b --- /dev/null +++ b/src/libsec/arm64/mkfile @@ -0,0 +1,4 @@ +all: + +%:V: + # nothing to see here @@ -15,6 +15,7 @@ OBJTYPE=`(uname -m -p 2>/dev/null || uname -m) | sed ' s;.*ppc.*;power;g; s;.*alpha.*;alpha;g; s;.*sun4u.*;sun4u;g; + s;.*aarch64.*;arm64; '` BIN=$PLAN9/bin |