RISC-V: For PCREL_LO12, fix addend handling in auipc lookup.
authorJim Wilson <jimw@sifive.com>
Mon, 24 Sep 2018 21:36:41 +0000 (14:36 -0700)
committerJim Wilson <jimw@sifive.com>
Mon, 24 Sep 2018 21:36:41 +0000 (14:36 -0700)
commita05f27b68934c2ea3efa028a0af2cd968db1bd2d
tree5566ae2facd3f0026b745544a67aa6b7c7a6da6c
parent551703cfd409faca433626a0af077a43011381b7
RISC-V: For PCREL_LO12, fix addend handling in auipc lookup.

bfd/
* elfnn-riscv.c (_bfd_riscv_relax_pc) <R_RISCV_PCREL_LO12_I>: New local
hi_sec_off which is symbol address with addend subtracted.  Use in
riscv_find_pcgp_hi_reloc and riscv_record_pcgp_lo_reloc calls.
bfd/ChangeLog
bfd/elfnn-riscv.c
This page took 0.023719 seconds and 4 git commands to generate.