diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2023-09-27 16:19:13 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-09-27 16:19:13 +0800 |
commit | c1c2ce2d3bf903c50f3da7346d394127ffcc93ac (patch) | |
tree | 466a53a71e314300af3e8fbc0e8087e1f2130eee /crypto/tcrypt.c | |
parent | 2761498876adebff77a43574639005b29e912c43 (diff) | |
download | linux-c1c2ce2d3bf903c50f3da7346d394127ffcc93ac.tar.gz linux-c1c2ce2d3bf903c50f3da7346d394127ffcc93ac.tar.bz2 linux-c1c2ce2d3bf903c50f3da7346d394127ffcc93ac.zip |
LoongArch: Add support for 32_PCREL relocation type
When build and update kernel with the latest upstream binutils and
loongson3_defconfig, module loader fails with:
kmod: zsmalloc: Unsupport relocation type 99, please add its support.
kmod: fuse: Unsupport relocation type 99, please add its support.
kmod: ipmi_msghandler: Unsupport relocation type 99, please add its support.
kmod: ipmi_msghandler: Unsupport relocation type 99, please add its support.
kmod: pstore: Unsupport relocation type 99, please add its support.
kmod: drm_display_helper: Unsupport relocation type 99, please add its support.
kmod: drm_display_helper: Unsupport relocation type 99, please add its support.
kmod: drm_display_helper: Unsupport relocation type 99, please add its support.
kmod: fuse: Unsupport relocation type 99, please add its support.
kmod: fat: Unsupport relocation type 99, please add its support.
This is because the latest upstream binutils replaces a pair of ADD32
and SUB32 with 32_PCREL, so add support for 32_PCREL relocation type.
Link: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ecb802d02eeb
Cc: <stable@vger.kernel.org>
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 'crypto/tcrypt.c')
0 files changed, 0 insertions, 0 deletions