tools/objtool/arch/x86/orc.c
0 → 100644
+188
−0
tools/objtool/include/objtool/orc.h
0 → 100644
+14
−0
+2
−67
+1
−112
Loading
mainline inclusion from mainline-v6.9 commit b8e85e6f3a09fc56b0ff574887798962ef8a8f80 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IB3IRE Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b8e85e6f3a09fc56b0ff574887798962ef8a8f80 --------------------------------------------------------------------------- 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>