diff options
author | Jim Wilson <jimw@sifive.com> | 2018-09-24 14:36:41 -0700 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2018-09-24 14:36:41 -0700 |
commit | a05f27b68934c2ea3efa028a0af2cd968db1bd2d (patch) | |
tree | 5566ae2facd3f0026b745544a67aa6b7c7a6da6c /bfd/elf32-pj.c | |
parent | 551703cfd409faca433626a0af077a43011381b7 (diff) | |
download | gdb-a05f27b68934c2ea3efa028a0af2cd968db1bd2d.zip gdb-a05f27b68934c2ea3efa028a0af2cd968db1bd2d.tar.gz gdb-a05f27b68934c2ea3efa028a0af2cd968db1bd2d.tar.bz2 |
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.
Diffstat (limited to 'bfd/elf32-pj.c')
0 files changed, 0 insertions, 0 deletions