commit | b8bde0ef12bd43f013d879973a1900930bfb95ee | [log] [tgz] |
---|---|---|
author | Zong Li <zong@andestech.com> | Thu Mar 15 16:50:42 2018 +0800 |
committer | Palmer Dabbelt <palmer@sifive.com> | Mon Apr 02 20:00:54 2018 -0700 |
tree | 953afd76c9ed57a34ed2ee3c042c4e061bc9d5dc | |
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>