bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/25205] relocation truncated to fit: R_RISCV_JAL against undefine


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/25205] relocation truncated to fit: R_RISCV_JAL against undefined symbol `pthread_once'
Date: Mon, 06 Jan 2020 23:38:07 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25205

--- Comment #10 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=85f783647061e58968ecdc516137d8df9f2d5e16

commit 85f783647061e58968ecdc516137d8df9f2d5e16
Author: Jim Wilson <address@hidden>
Date:   Mon Jan 6 15:34:50 2020 -0800

    RISC-V: Fix weak function call reloc overflow on llvm build.

        bfd/
        PR 25205
        * elfnn-riscv.c (riscv_elf_relocate_section) <R_RISCV_CALL>: Add
        check for !bfd_link_pic (info).
        <R_RISCV_CALL_PLT>: Move next to R_RISCV_CALL.
        <R_RISCV_JAL>: Add comment.
        (_bfd_riscv_relax_section): For plt.offset check, add check for
        bfd_link_pic (info).  Add comment.

    Change-Id: Ie769bc3d5adf096a51df5cc12efe3d50e80acb8f

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]