aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-03-08 10:42:18 -0800
committerRob Landley <rob@landley.net>2019-03-09 00:14:48 -0600
commitb24e48f5e418b1e5945faf3a7ff116eec1c154be (patch)
tree4fd269ba529b99f91395c28d04e1d2672570cbc3
parentcd358823399a700e476f4ddc1192f2fea7c09235 (diff)
downloadtoybox-b24e48f5e418b1e5945faf3a7ff116eec1c154be.tar.gz
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
-rw-r--r--toys/posix/file.c4
1 files 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"},