|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug ld/23244] RISC-V 64 relocation truncated to fit in case of undefined weak references |
Date: | Sun, 03 Jun 2018 22:43:58 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23244 --- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jim Wilson <address@hidden>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cf7a5066b92552b62ca4d247c241a19d1a6e599d commit cf7a5066b92552b62ca4d247c241a19d1a6e599d Author: Jim Wilson <address@hidden> Date: Sun Jun 3 15:42:29 2018 -0700 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. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |