commit | 781c8fe2da3d2c7c95cd7ffddbab63b80a79da4d | [log] [tgz] |
---|---|---|
author | Andreas Schwab <schwab@suse.de> | Tue Jun 12 19:26:36 2018 +0200 |
committer | Palmer Dabbelt <palmer@sifive.com> | Wed Jul 04 14:12:34 2018 -0700 |
tree | 5efc5593da2d146efd839604a54bf000e56f8536 | |
parent | 021c91791a5e7e85c567452f1be3e4c2c6cb6063 [diff] |
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: Andreas Schwab <schwab@suse.de> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>