diff options
author | Zong Li <zong@andestech.com> | 2018-03-15 16:50:42 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2018-04-02 20:00:54 -0700 |
commit | b8bde0ef12bd43f013d879973a1900930bfb95ee (patch) | |
tree | 953afd76c9ed57a34ed2ee3c042c4e061bc9d5dc /arch/m68k/emu | |
parent | ab1ef68e54019937cf859f2c86c9ead6f3e62f19 (diff) |
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>
Diffstat (limited to 'arch/m68k/emu')
0 files changed, 0 insertions, 0 deletions