diff options
-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 |