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>
This commit is contained in:
Aram Hăvărneanu 2014-11-17 17:55:08 +01:00 committed by Russ Cox
parent 7a6f3d9d6d
commit 3f1c876e14
4 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,8 @@
#include <lib9.h>
ulong
getcallerpc(void *x)
{
return ((ulong*)x)[-2];
}

4
src/libmp/arm64/mkfile Normal file
View file

@ -0,0 +1,4 @@
all:
%:V:
# nothing to see here

4
src/libsec/arm64/mkfile Normal file
View file

@ -0,0 +1,4 @@
all:
%:V:
# nothing to see here

View file

@ -15,6 +15,7 @@ OBJTYPE=`(uname -m -p 2>/dev/null || uname -m) | sed '
s;.*ppc.*;power;g; s;.*ppc.*;power;g;
s;.*alpha.*;alpha;g; s;.*alpha.*;alpha;g;
s;.*sun4u.*;sun4u;g; s;.*sun4u.*;sun4u;g;
s;.*aarch64.*;arm64;
'` '`
BIN=$PLAN9/bin BIN=$PLAN9/bin