Skip to content
Unverified Commit 781c8fe2 authored by Andreas Schwab's avatar Andreas Schwab Committed by Palmer Dabbelt
Browse files

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: default avatarAndreas Schwab <schwab@suse.de>
Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
parent 021c9179
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment