It's in the Linux 5 kernel headers. If, like me, you'd never heard of
it:

https://www.phoronix.com/scan.php?page=news_item&px=C-SKY-Approved-Last-Arch
---
 toys/posix/file.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
From 4ca581948752feca0af5b88456de2692b64417f2 Mon Sep 17 00:00:00 2001
From: Elliott Hughes <[email protected]>
Date: Fri, 8 Mar 2019 10:42:18 -0800
Subject: [PATCH] file: add c-sky ELF machine.

It's in the Linux 5 kernel headers. If, like me, you'd never heard of
it:

https://www.phoronix.com/scan.php?page=news_item&px=C-SKY-Approved-Last-Arch
---
 toys/posix/file.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/toys/posix/file.c b/toys/posix/file.c
index 09606a05..2893e2f7 100644
--- a/toys/posix/file.c
+++ b/toys/posix/file.c
@@ -39,8 +39,8 @@ static void do_elf_file(int fd)
   struct {int val; char *name;} type[] = {{0x9026, "alpha"}, {93, "arc"},
     {195, "arcv2"}, {40, "arm"}, {183, "arm64"}, {0x18ad, "avr32"},
     {247, "bpf"}, {106, "blackfin"}, {140, "c6x"}, {23, "cell"}, {76, "cris"},
-    {0x5441, "frv"}, {46, "h8300"}, {164, "hexagon"}, {50, "ia64"},
-    {88, "m32r"}, {0x9041, "m32r"}, {4, "m68k"}, {174, "metag"},
+    {252, "csky"}, {0x5441, "frv"}, {46, "h8300"}, {164, "hexagon"},
+    {50, "ia64"}, {88, "m32r"}, {0x9041, "m32r"}, {4, "m68k"}, {174, "metag"},
     {189, "microblaze"}, {0xbaab, "microblaze-old"}, {8, "mips"},
     {10, "mips-old"}, {89, "mn10300"}, {0xbeef, "mn10300-old"}, {113, "nios2"},
     {92, "openrisc"}, {0x8472, "openrisc-old"}, {15, "parisc"}, {20, "ppc"},
-- 
2.21.0.360.g471c308f928-goog

_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to