diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2024-03-11 17:23:47 +0300 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2024-03-11 17:23:47 +0300 |
commit | b8e85e6f3a09fc56b0ff574887798962ef8a8f80 (patch) | |
tree | f66fb8a1830993d2bba3befc8e5e282d0e311afd /tools/objtool/arch/x86/Build | |
parent | b2d23158e6c881326321c2351b92568be4e57030 (diff) | |
download | linux-b8e85e6f3a09fc56b0ff574887798962ef8a8f80.tar.xz |
objtool/x86: Separate arch-specific and generic parts
Move init_orc_entry(), write_orc_entry(), reg_name(), orc_type_name()
and print_reg() from generic orc_gen.c and orc_dump.c to arch-specific
orc.c, then introduce a new function orc_print_dump() to print info.
This is preparation for later patch, no functionality change.
Co-developed-by: Jinyang He <hejinyang@loongson.cn>
Signed-off-by: Jinyang He <hejinyang@loongson.cn>
Co-developed-by: Youling Tang <tangyouling@loongson.cn>
Signed-off-by: Youling Tang <tangyouling@loongson.cn>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/objtool/arch/x86/Build')
-rw-r--r-- | tools/objtool/arch/x86/Build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/objtool/arch/x86/Build b/tools/objtool/arch/x86/Build index 9f7869b5c5e0..3dedb2fd8f3a 100644 --- a/tools/objtool/arch/x86/Build +++ b/tools/objtool/arch/x86/Build @@ -1,5 +1,6 @@ objtool-y += special.o objtool-y += decode.o +objtool-y += orc.o inat_tables_script = ../arch/x86/tools/gen-insn-attr-x86.awk inat_tables_maps = ../arch/x86/lib/x86-opcode-map.txt |