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

Jan Beulich jbeulich@suse.com
Fri Jul 31 08:26:07 GMT 2026


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


More information about the Binutils mailing list