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: address@hidden
Subject: [Bug ld/25205] relocation truncated to fit: R_RISCV_JAL against undefined symbol `pthread_once'
Date: Thu, 12 Dec 2019 11:42:26 +0000

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

--- Comment #6 from Andreas Schwab <address@hidden> ---
When _bfd_riscv_relax_call is called on the relocation, foff is in range for
JAL, because pthread_once is resolved to the PLT.  But once perform_relocation
is called the symbol value has been adjusted to zero, which becomes out of
range if the output is big enough (which happens to be the case with
--export-dynamic).

-- 
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]