diff options
author | Jim Wilson <jimw@sifive.com> | 2019-06-24 13:50:10 -0700 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2019-06-24 13:50:10 -0700 |
commit | 04b865dc2ede2b8ca8c60f0487a179eb97895fee (patch) | |
tree | 90ea8e2ea5857832e6b39f1bbc65a6bba0a07664 /bfd/ChangeLog | |
parent | f93ab3a0b8039a1667a666f013cca50b03d67f9b (diff) | |
download | gdb-04b865dc2ede2b8ca8c60f0487a179eb97895fee.zip gdb-04b865dc2ede2b8ca8c60f0487a179eb97895fee.tar.gz gdb-04b865dc2ede2b8ca8c60f0487a179eb97895fee.tar.bz2 |
RISC-V: Enable lui relaxation for CODE and MERGE sections.
2019-06-24 Ilia Diachkov <ilia.diachkov@optimitech.com>
bfd/
* elfnn-riscv.c (_bfd_riscv_relax_lui): Delete early exit when
SEC_MERGE or SEC_CODE flags are set.
(_bfd_riscv_relax_section): New local symtype. Set sym_sec and
symtype consistently. Don't include sec_addr (sym_sec) in symval.
Add check for SEC_INFO_TYPE_MERGE and call _bfd_merged_section_offset.
Add sec_addr (sym_sec) after handling merge sections.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ec272a8..d8cbef1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,12 @@ +2019-06-24 Ilia Diachkov <ilia.diachkov@optimitech.com> + + * elfnn-riscv.c (_bfd_riscv_relax_lui): Delete early exit when + SEC_MERGE or SEC_CODE flags are set. + (_bfd_riscv_relax_section): New local symtype. Set sym_sec and + symtype consistently. Don't include sec_addr (sym_sec) in symval. + Add check for SEC_INFO_TYPE_MERGE and call _bfd_merged_section_offset. + Add sec_addr (sym_sec) after handling merge sections. + 2019-06-24 H.J. Lu <hongjiu.lu@intel.com> PR ld/24721 |