mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
riscv: extable: add type
and data
fields
This is a riscv port of commit d6e2cc5647
("arm64: extable: add `type`
and `data` fields").
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
This commit is contained in:
committed by
Palmer Dabbelt
parent
6dd10d9166
commit
2bf847db0c
@@ -337,6 +337,7 @@ static int do_file(char const *const fname, void *addr)
|
||||
switch (r2(&ehdr->e_machine)) {
|
||||
case EM_386:
|
||||
case EM_AARCH64:
|
||||
case EM_RISCV:
|
||||
case EM_X86_64:
|
||||
custom_sort = sort_relative_table_with_data;
|
||||
break;
|
||||
@@ -346,7 +347,6 @@ static int do_file(char const *const fname, void *addr)
|
||||
case EM_PARISC:
|
||||
case EM_PPC:
|
||||
case EM_PPC64:
|
||||
case EM_RISCV:
|
||||
custom_sort = sort_relative_table;
|
||||
break;
|
||||
case EM_ARCOMPACT:
|
||||
|
Reference in New Issue
Block a user