binutils-gdb/ld/testsuite/ld-riscv-elf
Jim Wilson cf7a5066b9 RISC-V: Handle out-of-range calls to undefined weak.
bfd/
	PR ld/23244
	* elfnn-riscv.c (riscv_elf_relocate_section) <R_RISCV_CALL>: Check
	for and handle an undefined weak with no PLT.

	ld/
	* testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new weak ref tests.
	* testsuite/ld-riscv-elf/weakref.ld: New.
	* testsuite/ld-riscv-elf/weakref32.d: New.
	* testsuite/ld-riscv-elf/weakref32.s: New.
	* testsuite/ld-riscv-elf/weakref64.d: New.
	* testsuite/ld-riscv-elf/weakref64.s: New.
2018-06-03 15:42:29 -07:00
..
c-lui.d
c-lui.s
disas-jalr.d
disas-jalr.s
gp-test-lib.sd
gp-test.s
gp-test.sd
ld-riscv-elf.exp RISC-V: Handle out-of-range calls to undefined weak. 2018-06-03 15:42:29 -07:00
pcrel-lo-addend.d
pcrel-lo-addend.s
weakref32.d RISC-V: Handle out-of-range calls to undefined weak. 2018-06-03 15:42:29 -07:00
weakref32.s RISC-V: Handle out-of-range calls to undefined weak. 2018-06-03 15:42:29 -07:00
weakref64.d RISC-V: Handle out-of-range calls to undefined weak. 2018-06-03 15:42:29 -07:00
weakref64.s RISC-V: Handle out-of-range calls to undefined weak. 2018-06-03 15:42:29 -07:00
weakref.ld RISC-V: Handle out-of-range calls to undefined weak. 2018-06-03 15:42:29 -07:00