tmp_suning_uos_patched/arch/riscv
Khem Raj edcd7594ad riscv32: Use medany C model for modules
[ Upstream commit 5d2388dbf84adebeb6d9742164be8d32728e4269 ]

When CONFIG_CMODEL_MEDLOW is used it ends up generating riscv_hi20_rela
relocations in modules which are not resolved during runtime and
following errors would be seen

[    4.802714] virtio_input: target 00000000c1539090 can not be addressed by the 32-bit offset from PC = 39148b7b
[    4.854800] virtio_input: target 00000000c1539090 can not be addressed by the 32-bit offset from PC = 9774456d

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-30 08:47:21 -04:00
..
boot
configs
include riscv: Workaround mcount name prior to clang-13 2021-05-22 11:40:53 +02:00
kernel riscv: vdso: fix and clean-up Makefile 2021-06-10 13:39:22 +02:00
lib
mm
net
Kbuild
Kconfig
Kconfig.debug
Kconfig.socs
Makefile riscv32: Use medany C model for modules 2021-06-30 08:47:21 -04:00