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

Florian Weimer fweimer@redhat.com
Fri Feb 9 14:58:00 GMT 2018


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.

Thanks,
Florian



More information about the Binutils mailing list