RISC-V: Fix symbol size bug when relaxation deletes bytes.
authorJim Wilson <jimw@sifive.com>
Thu, 1 Mar 2018 22:17:57 +0000 (14:17 -0800)
committerJim Wilson <jimw@sifive.com>
Thu, 1 Mar 2018 22:17:57 +0000 (14:17 -0800)
commit788af978df01c3667be99a1607b774f5fa844113
treedac914e3d768a4bbc13554cb77499eadc97502d4
parentc7b15a66dc9ef2285f0983759d41baf5b9933505
RISC-V: Fix symbol size bug when relaxation deletes bytes.

bfd/
PR 22756
* elfnn-riscv.c (riscv_relax_delete_bytes): When adjust st_size, use
else if instead of if.
bfd/ChangeLog
bfd/elfnn-riscv.c