diff options
author | Elliott Hughes <enh@google.com> | 2019-01-08 11:57:42 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-01-08 19:15:06 -0600 |
commit | ae04b513b269db6300bce71eb303d23ab162b2da (patch) | |
tree | 5357d2766980f65f3762b760e91c181e0cba8eca /toys | |
parent | 441bb479dad25bfad976689006130d6905b4b7f7 (diff) | |
download | toybox-ae04b513b269db6300bce71eb303d23ab162b2da.tar.gz |
file: add riscv ELF machine.
It's in the Linux 4.20 kernel headers.
Diffstat (limited to 'toys')
-rw-r--r-- | toys/posix/file.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toys/posix/file.c b/toys/posix/file.c index ad98621c..09606a05 100644 --- a/toys/posix/file.c +++ b/toys/posix/file.c @@ -44,10 +44,10 @@ static void do_elf_file(int fd) {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"}, - {21, "ppc64"}, {22, "s390"}, {0xa390, "s390-old"}, {135, "score"}, - {42, "sh"}, {2, "sparc"}, {18, "sparc8+"}, {43, "sparc9"}, {188, "tile"}, - {191, "tilegx"}, {3, "386"}, {6, "486"}, {62, "x86-64"}, {94, "xtensa"}, - {0xabc7, "xtensa-old"} + {21, "ppc64"}, {243, "riscv"}, {22, "s390"}, {0xa390, "s390-old"}, + {135, "score"}, {42, "sh"}, {2, "sparc"}, {18, "sparc8+"}, {43, "sparc9"}, + {188, "tile"}, {191, "tilegx"}, {3, "386"}, {6, "486"}, {62, "x86-64"}, + {94, "xtensa"}, {0xabc7, "xtensa-old"} }; char *map = 0; off_t phoff, shoff; |