|
From: | slyfox at inbox dot ru |
Subject: | [Bug ld/23527] regression (ld-2.30 worked): relocation R_X86_64_PC32 against protected symbol `a' can not be used when making a shared object |
Date: | Wed, 15 Aug 2018 15:18:46 +0000 |
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 <address@hidden> 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.
[Prev in Thread] | Current Thread | [Next in Thread] |