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 | 3c7266cd7bc5e7843b631fea73cb0e82111e3158 (patch) | |
tree | c6e0a09e9075b092ef96e71a11131bc70dfdcda6 /tools/objtool/Makefile | |
parent | b8e85e6f3a09fc56b0ff574887798962ef8a8f80 (diff) | |
download | linux-3c7266cd7bc5e7843b631fea73cb0e82111e3158.tar.xz |
objtool/LoongArch: Enable orc to be built
Implement arch-specific init_orc_entry(), write_orc_entry(), reg_name(),
orc_type_name(), print_reg() and orc_print_dump(), then set BUILD_ORC as
y to build the orc related files.
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/Makefile')
-rw-r--r-- | tools/objtool/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile index 83b100c1e7f6..bf7f7f84ac62 100644 --- a/tools/objtool/Makefile +++ b/tools/objtool/Makefile @@ -57,6 +57,10 @@ ifeq ($(SRCARCH),x86) BUILD_ORC := y endif +ifeq ($(SRCARCH),loongarch) + BUILD_ORC := y +endif + export BUILD_ORC export srctree OUTPUT CFLAGS SRCARCH AWK include $(srctree)/tools/build/Makefile.include |