This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] RISC-V: Handle out-of-range calls to undefined weak.
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sun, 03 Jun 2018 19:05:14 -0400
- Subject: [binutils-gdb] RISC-V: Handle out-of-range calls to undefined weak.
*** TEST RESULTS FOR COMMIT cf7a5066b92552b62ca4d247c241a19d1a6e599d ***
Author: Jim Wilson <jimw@sifive.com>
Branch: master
Commit: cf7a5066b92552b62ca4d247c241a19d1a6e599d
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.