[PATCH] x86-64: Treat PC32 relocation with branch as PLT32

H.J. Lu hjl.tools@gmail.com
Fri Feb 9 15:21:00 GMT 2018


On Fri, Feb 9, 2018 at 6:57 AM, Florian Weimer <fweimer@redhat.com> wrote:
> On 02/08/2018 04:56 PM, H.J. Lu wrote:
>>
>> Since there is no need to prepare for PLT branch on x86-64, generate
>> R_X86_64_PLT32, instead of R_X86_64_PC32, if possible, which can be
>> used as a marker for 32-bit PC-relative branches.
>>
>> To compiler Linux, this patch:
>>
>> From: "H.J. Lu"<hjl.tools@gmail.com>
>> Subject: [PATCH] x86: Treat R_X86_64_PLT32 as R_X86_64_PC32
>>
>> On i386, there are 2 types of PLTs, PIC and non-PIC.  PIE and shared
>
>
> The commit message text seems garbled.
>

Looks normal to me:

https://sourceware.org/ml/binutils/2018-02/msg00085.html

-- 
H.J.



More information about the Binutils mailing list