RISC-V: fix R_RISCV_ADD32/R_RISCV_SUB32 relocations
The R_RISCV_ADD32/R_RISCV_SUB32 relocations should add/subtract the address of the symbol (without overflow check), not its contents. Signed-off-by: NAndreas Schwab <schwab@suse.de> Signed-off-by: NPalmer Dabbelt <palmer@sifive.com>
Showing
想要评论请 注册 或 登录