summaryrefslogtreecommitdiff
path: root/tools/docs/parse-headers.py
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2025-10-02 22:38:57 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2025-10-02 22:38:57 +0800
commit19baac378a5f4c34e61007023cfcb605cc64c76d (patch)
treee418390fc8ebe8284ff9f7163bb5886cf370f687 /tools/docs/parse-headers.py
parentabb2a5572264b425e6dd9c213b735a82ab0ca68a (diff)
LoongArch: Fix build error for LTO with LLVM-18
Commit b15212824a01 ("LoongArch: Make LTO case independent in Makefile") moves "KBUILD_LDFLAGS += -mllvm --loongarch-annotate-tablejump" out of CONFIG_CC_HAS_ANNOTATE_TABLEJUMP, which breaks the build for LLVM-18, as '--loongarch-annotate-tablejump' is unimplemented there: ld.lld: error: -mllvm: ld.lld: Unknown command line argument '--loongarch-annotate-tablejump'. Call ld-option to detect '--loongarch-annotate-tablejump' before use, so as to fix the build error. Fixes: b15212824a01 ("LoongArch: Make LTO case independent in Makefile") Reported-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Tested-by: Nathan Chancellor <nathan@kernel.org> # build Suggested-by: WANG Rui <wangrui@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions