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 /binutils | |
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 'binutils')
0 files changed, 0 insertions, 0 deletions