diff options
author | WANG Rui <wangrui@loongson.cn> | 2023-11-21 15:03:25 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-11-21 15:03:25 +0800 |
commit | cbfd44bd5c6eec0aada0c39130f0b8d7ecba0529 (patch) | |
tree | a34b70ec61f978fdff6cd03fa993fcfb788d8e4e /arch/loongarch/include | |
parent | d3ec75bc635cb0cb8185b63293d33a3d1b942d22 (diff) |
LoongArch: Explicitly set -fdirect-access-external-data for vmlinux
After this llvm commit [1], The -fno-pic does not imply direct access
external data. Explicitly set -fdirect-access-external-data for vmlinux
that can avoids GOT entries.
Link: https://github.com/llvm/llvm-project/commit/47eeee297775347cbdb7624d6a766c2a3eec4a59
Suggested-by: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: WANG Rui <wangrui@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/include')
0 files changed, 0 insertions, 0 deletions