Commit f3cb3d61 authored by Hongchen Zhang's avatar Hongchen Zhang Committed by openeuler-sync-bot
Browse files

LoongArch: fix vmlinux ld error

LoongArch inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I6BWFP



--------------------------------

When CONFIG_DEBUG_INFO_BTF is enabled, ld load error. To
fix this issue, we should use -mdirect-extern-access.

Signed-off-by: default avatarXing Li <lixing@loongson.cn>
Signed-off-by: default avatarHongchen Zhang <zhanghongchen@loongson.cn>
Change-Id: I698169b2af48369d531ef3aa4f9c53b97096da83
(cherry picked from commit e3d1d0a9)
parent fee37ed3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment