Re: [PATCH] x86: Disallow ".long foo@PLT - .L4" for PLT32 relocation

Jan Beulich <[email protected]> Fri, 31 Jul 2026 10:26:07 +0200
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>
On 31.07.2026 01:09, H.J. Lu wrote:
> Disallow ".long foo@PLT - .L4" and only allow ".slong foo@PLT - .L4" for
> PLT32 relocation.

Why would you enforce this also for 32-bit, where the difference between
.slong and .long is entirely benign? The existing cons_sign should be
sufficient to achieve what's needed for 64-bit code.

Jan