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

--- Comment #5 from Sergei Trofimovich <slyfox at inbox dot ru> ---
(In reply to Sergei Trofimovich from comment #4)
> I'll try to find exact llvm commit that fixed it.

Found it:

commit 930bcc9bdfb9542a292c3de874d7e6ba1464cfe0
Author: George Rimar <gri...@accesssoftek.com>
Date:   Tue Feb 20 10:17:57 2018 +0000

    [llvm-mc] - Produce R_X86_64_PLT32 for "call/jmp foo".

    For instructions like call foo and jmp foo patch changes
    relocation produced from R_X86_64_PC32 to R_X86_64_PLT32.
    Relocation can be used as a marker for 32-bit PC-relative branches.
    Linker will reduce PLT32 relocation to PC32 if function is defined locally.

    Differential revision: https://reviews.llvm.org/D43383

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to