RISC-V: Fix the build broken with -Werror.
authorNelson Chu <nelson.chu@sifive.com>
Tue, 6 Jul 2021 09:27:22 +0000 (17:27 +0800)
committerNelson Chu <nelson.chu@sifive.com>
Tue, 6 Jul 2021 09:31:14 +0000 (17:31 +0800)
commit70a590636b4fcb0818233c65c92163254140a2fd
treeaa52eda07c67efd8d8d39996a717179ddb2961ae
parent752e419362eae28f7fcf6347b333347e472bc10f
RISC-V: Fix the build broken with -Werror.

ChangeLog:

bfd/

* elfnn-riscv.c(riscv_elf_additional_program_headers): Removed the
unused variable s.
(riscv_elf_modify_segment_map): Added ATTRIBUTE_UNUSED for the
unused parameter info.
bfd/elfnn-riscv.c