https://sourceware.org/bugzilla/show_bug.cgi?id=25205
--- Comment #6 from Andreas Schwab <sch...@linux-m68k.org> --- 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.