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 /ld/ChangeLog | |
parent | 137b5cbd204241ec47873c353cf7e41b47182d53 (diff) | |
download | gdb-cf7a5066b92552b62ca4d247c241a19d1a6e599d.zip gdb-cf7a5066b92552b62ca4d247c241a19d1a6e599d.tar.gz gdb-cf7a5066b92552b62ca4d247c241a19d1a6e599d.tar.bz2 |
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 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index f8b91bf..70e30e6 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,14 @@ +2018-06-03 Sebastian Huber <sebastian.huber@embedded-brains.de> + Jim Wilson <jimw@sifive.com> + + PR ld/23244 + * 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-01 H.J. Lu <hongjiu.lu@intel.com> * configure: Regenerated. |