RISC-V: Give error for RVE PLTs.
authorJim Wilson <jimw@sifive.com>
Tue, 25 Sep 2018 20:13:23 +0000 (13:13 -0700)
committerJim Wilson <jimw@sifive.com>
Tue, 25 Sep 2018 20:13:23 +0000 (13:13 -0700)
commit5ef237932919a19fe85f70fc37f7d3a0660b7665
treefe23c77960e3c141b486b18c1474c64396254d1c
parent3d6e0c015aa832f00ccd4fe3f5f43b90357258e8
RISC-V: Give error for RVE PLTs.

bfd/
* elfnn-riscv.c (riscv_make_plt_header): New arg output_bfd.  Change
return type to bfd_boolean.  If EF_RISCV_RVE call _bfd_error_handler
and return FALSE.  Return TRUE at end.
(riscv_make_plt_entry): Likewise.
(riscv_elf_finish_dynamic_symbol): Update call to riscv_make_plt_entry.
(riscv_elf_finish_dynamic_sections): Update call to
riscv_make_plt_header.
bfd/ChangeLog
bfd/elfnn-riscv.c