diff options
author | Zong Li <zong@andestech.com> | 2018-03-15 11:50:41 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2018-04-03 06:00:54 +0300 |
commit | ab1ef68e54019937cf859f2c86c9ead6f3e62f19 (patch) | |
tree | 15fd30ddaaf18d61caf77f8748e291f3802987b5 /lib | |
parent | 0adb32858b0bddf4ada5f364a84ed60b196dbcda (diff) | |
download | linux-ab1ef68e54019937cf859f2c86c9ead6f3e62f19.tar.xz |
RISC-V: Add sections of PLT and GOT for kernel module
The address of external symbols will locate more than 32-bit offset
in 64-bit kernel with sv39 or sv48 virtual addressing.
Module loader emits the GOT and PLT entries for data symbols and
function symbols respectively.
The PLT entry is a trampoline code for jumping to the 64-bit
real address. The GOT entry is just the data symbol address.
Signed-off-by: Zong Li <zong@andestech.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions