diff options
author | Jim Wilson <jimw@sifive.com> | 2018-09-27 17:16:34 -0700 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2018-09-27 17:16:34 -0700 |
commit | 5f9aecea0dfd9e8b0a728c332e8ddb105bae6054 (patch) | |
tree | af455197cdf5ab561cc8cc673c0210c23ad6802f /bfd/ChangeLog | |
parent | fec3f4ea46c3f27206df97f379da3b70d4306cf2 (diff) | |
download | gdb-5f9aecea0dfd9e8b0a728c332e8ddb105bae6054.zip gdb-5f9aecea0dfd9e8b0a728c332e8ddb105bae6054.tar.gz gdb-5f9aecea0dfd9e8b0a728c332e8ddb105bae6054.tar.bz2 |
RISC-V: Pc-rel to gp-rel relaxation function cleanup.
bfd/
* elfnn-riscv.c (riscv_init_pcgp_relocs): Add explanatory comment.
(riscv_free_pcgp_relocs, riscv_record_pcgp_reloc): Likewise.
(riscv_find_pcgp_hi_reloc, riscv_reocrd_pcgp_lo_reloc): Likewise.
(riscv_find_pcgp_lo_reloc): Likewise.
(riscv_delete_pcgp_hi_reloc, riscv_use_pcgp_hi_reloc): Delete.
(riscv_delete_pcgp_lo_reloc): Likewise.
(_bfd_riscv_relax_pc): Don't call riscv_use_pcgp_hi_reloc. Replace
calls to riscv_delete_pcgp_lo_reloc and riscv_delete_pcgp_hi_reloc
with TRUE. Mark abfd arg as ATTRIBUTE_UNUSED.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 62cf91d..fe595c3 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,15 @@ +2018-09-27 Jim Wilson <jimw@sifive.com> + + * elfnn-riscv.c (riscv_init_pcgp_relocs): Add explanatory comment. + (riscv_free_pcgp_relocs, riscv_record_pcgp_reloc): Likewise. + (riscv_find_pcgp_hi_reloc, riscv_reocrd_pcgp_lo_reloc): Likewise. + (riscv_find_pcgp_lo_reloc): Likewise. + (riscv_delete_pcgp_hi_reloc, riscv_use_pcgp_hi_reloc): Delete. + (riscv_delete_pcgp_lo_reloc): Likewise. + (_bfd_riscv_relax_pc): Don't call riscv_use_pcgp_hi_reloc. Replace + calls to riscv_delete_pcgp_lo_reloc and riscv_delete_pcgp_hi_reloc + with TRUE. Mark abfd arg as ATTRIBUTE_UNUSED. + 2018-09-25 Jim Wilson <jimw@sifive.com> * elfnn-riscv.c (riscv_make_plt_header): New arg output_bfd. Change |