diff options
author | Jim Wilson <jimw@sifive.com> | 2018-06-03 15:42:29 -0700 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2018-06-03 15:42:29 -0700 |
commit | cf7a5066b92552b62ca4d247c241a19d1a6e599d (patch) | |
tree | 5b74f5f0143786dcfdc6afce24fd11fa0987250a /gdb/osabi.h | |
parent | 137b5cbd204241ec47873c353cf7e41b47182d53 (diff) | |
download | binutils-gdb-cf7a5066b92552b62ca4d247c241a19d1a6e599d.tar.gz |
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.
Diffstat (limited to 'gdb/osabi.h')
0 files changed, 0 insertions, 0 deletions