From d559cd005c3831217c55bdd7e334c572d515241d Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 22 Sep 2019 19:09:25 +0200 Subject: [PATCH 1/2] 2c(1): document 7c (arm64) --- sys/man/1/2c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/man/1/2c b/sys/man/1/2c index d6bdeace1..17c7e179e 100644 --- a/sys/man/1/2c +++ b/sys/man/1/2c @@ -1,6 +1,6 @@ .TH 2C 1 .SH NAME -0c, 1c, 2c, 5c, 6c, 8c, kc, qc, vc \- C compilers +0c, 1c, 2c, 5c, 6c, 7c, 8c, kc, qc, vc \- C compilers .SH SYNOPSIS .B 2c [ @@ -41,6 +41,9 @@ little-endian ARM .B "6c amd64 AMD64 and compatibles (e.g., Intel EM64T) .TP +.B "7c arm64 +ARM64 (ARMv8) +.TP .B "8c 386 Intel i386, i486, Pentium, etc. .TP @@ -65,6 +68,7 @@ Let the first letter of the compiler name be .BR 2 , .BR 5 , .BR 6 , +.BR 7 , .BR 8 , .BR k , .BR q , From d15008fdef26f8d461a4468b74477b224c372a98 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 22 Sep 2019 20:35:16 +0200 Subject: [PATCH 2/2] ape/cc: add spim --- sys/src/ape/cmd/cc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/src/ape/cmd/cc.c b/sys/src/ape/cmd/cc.c index fff45f9fe..24a075571 100644 --- a/sys/src/ape/cmd/cc.c +++ b/sys/src/ape/cmd/cc.c @@ -25,12 +25,13 @@ typedef struct Objtype { Objtype objtype[] = { {"68020", "2c", "2l", "2"}, {"arm", "5c", "5l", "5"}, + {"arm64", "7c", "7l", "7"}, {"amd64", "6c", "6l", "6"}, - {"alpha", "7c", "7l", "7"}, {"386", "8c", "8l", "8"}, {"sparc", "kc", "kl", "k"}, {"power", "qc", "ql", "q"}, {"mips", "vc", "vl", "v"}, + {"spim", "0c", "0l", "0"}, }; enum {