This is the mail archive of the
mailing list for the binutils project.
Re: [PATCH] x86-64: Treat PC32 relocation with branch as PLT32
- From: Florian Weimer <fweimer at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>, Cary Coutant <ccoutant at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Fri, 9 Feb 2018 15:57:58 +0100
- Subject: Re: [PATCH] x86-64: Treat PC32 relocation with branch as PLT32
- Authentication-results: sourceware.org; auth=none
- References: <email@example.com> <firstname.lastname@example.org> <CAMe9rOrpCg9znDWfUocOe3ZFR=rcpqAxPjanTtq-LExtvZ9dhQ@mail.gmail.com>
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"<email@example.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.