summaryrefslogtreecommitdiffstats
path: root/tools/objtool/arch/loongarch/Build
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2024-03-11 22:23:46 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2024-03-11 22:23:46 +0800
commite8aff71ca93026209dd0eab9b285e6808cd87d05 (patch)
treea228cf2211873e29b9d44d6fbe703a0adf9aff1b /tools/objtool/arch/loongarch/Build
parente8f897f4afef0031fe618a8e94127a0934896aba (diff)
downloadlinux-e8aff71ca93026209dd0eab9b285e6808cd87d05.tar.gz
linux-e8aff71ca93026209dd0eab9b285e6808cd87d05.tar.bz2
linux-e8aff71ca93026209dd0eab9b285e6808cd87d05.zip
objtool/LoongArch: Enable objtool to be built
Add the minimal changes to enable objtool build on LoongArch, most of the functions are stubs to only fix the build errors when make -C tools/objtool. This is similar with commit e52ec98c5ab1 ("objtool/powerpc: Enable objtool to be built on ppc"). 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/loongarch/Build')
-rw-r--r--tools/objtool/arch/loongarch/Build2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/objtool/arch/loongarch/Build b/tools/objtool/arch/loongarch/Build
new file mode 100644
index 000000000000..d24d5636a5b8
--- /dev/null
+++ b/tools/objtool/arch/loongarch/Build
@@ -0,0 +1,2 @@
+objtool-y += decode.o
+objtool-y += special.o