binutils-gdb/ld/testsuite/ld-riscv-elf
Jim Wilson 2a0d985349 RISC-V: Give error for ignored pcrel_lo addend.
bfd/
	* elfnn-riscv.c (riscv_elf_relocate_section): Use bfd_reloc_dangerous
	when pcrel_lo reloc has an addend.  Use reloc_dangerous callback for
	bfd_reloc_dangerous.  Use einfo instead of warning callback for errors.
	Add %X%P to error messages.

	ld/
	* testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend test.
	* testsuite/ld-riscv-elf/pcrel-lo-addend.d: New.
	* testsuite/ld-riscv-elf/pcrel-lo-addend.s: New.
2018-02-15 10:53:46 -08:00
..
c-lui.d RISC-V: Fix accidental embedded -shared regressions. 2018-01-08 17:55:29 -08:00
c-lui.s RISC-V: Fix accidental embedded -shared regressions. 2018-01-08 17:55:29 -08:00
disas-jalr.d RISC-V: Print symbol address for jalr w/ zero offset. 2018-01-05 17:51:23 -08:00
disas-jalr.s RISC-V: Print symbol address for jalr w/ zero offset. 2018-01-05 17:51:23 -08:00
gp-test-lib.sd Really fix riscv shared library __global_pointer$ problem. 2017-12-05 14:42:12 -08:00
gp-test.s Really fix riscv shared library __global_pointer$ problem. 2017-12-05 14:42:12 -08:00
gp-test.sd Really fix riscv shared library __global_pointer$ problem. 2017-12-05 14:42:12 -08:00
ld-riscv-elf.exp RISC-V: Give error for ignored pcrel_lo addend. 2018-02-15 10:53:46 -08:00
pcrel-lo-addend.d RISC-V: Give error for ignored pcrel_lo addend. 2018-02-15 10:53:46 -08:00
pcrel-lo-addend.s RISC-V: Give error for ignored pcrel_lo addend. 2018-02-15 10:53:46 -08:00