linux/arch/riscv
Zong Li b8bde0ef12
RISC-V: Add section of GOT.PLT for kernel module
Separate the function symbol address from .plt to .got.plt section.

The original plt entry has trampoline code with symbol address,
there is a 32-bit padding bwtween jar instruction and symbol address.

Extract the symbol address to .got.plt to reduce the module size.

Signed-off-by: Zong Li <zong@andestech.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2018-04-02 20:00:54 -07:00
..
configs RISC-V: Add a basic defconfig 2018-01-07 15:14:36 -08:00
include RISC-V: Add section of GOT.PLT for kernel module 2018-04-02 20:00:54 -07:00
kernel RISC-V: Add section of GOT.PLT for kernel module 2018-04-02 20:00:54 -07:00
lib RISC-V: Export some expected symbols for modules 2017-11-30 10:01:10 -08:00
mm RISC-V changes for 4.16 2018-02-07 11:33:08 -08:00
Kconfig RISC-V: Add sections of PLT and GOT for kernel module 2018-04-02 20:00:54 -07:00
Makefile RISC-V: Add sections of PLT and GOT for kernel module 2018-04-02 20:00:54 -07:00