]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Support HI20/LO12_I/LO12_S relocation type in kernel module
authorZong Li <zong@andestech.com>
Thu, 15 Mar 2018 08:50:45 +0000 (16:50 +0800)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 3 Apr 2018 03:00:55 +0000 (20:00 -0700)
commitd36ef8acc4cd1130dbac6a4992861ed62173c771
tree285807b8f8365de134680aefd95b890089e01bdd
parent5b07b3065f4ea782929f7678e4a8619925539dae
RISC-V: Support HI20/LO12_I/LO12_S relocation type in kernel module

HI20 and LO12_I/LO12_S relocate the absolute address, the range of
offset must in 32-bit.

Signed-off-by: Zong Li <zong@andestech.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/kernel/module.c