diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-06-06 15:09:40 -0700 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2021-06-30 08:47:21 -0400 |
commit | edcd7594ada9204744f7208176c690ba36d13b07 (patch) | |
tree | 015c9f27d7cdcddc91badb1f5744ad624c817267 /drivers/net/caif | |
parent | 47c07f919fabb6fc8b3c27ad985f24648f5fd6df (diff) | |
download | kernel_replicant_linux-edcd7594ada9204744f7208176c690ba36d13b07.tar.gz kernel_replicant_linux-edcd7594ada9204744f7208176c690ba36d13b07.tar.bz2 kernel_replicant_linux-edcd7594ada9204744f7208176c690ba36d13b07.zip |
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>
Diffstat (limited to 'drivers/net/caif')
0 files changed, 0 insertions, 0 deletions