bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/26312] ld produces broken PLT on aarch64 with BTI+PAC


From: mark at klomp dot org
Subject: [Bug ld/26312] ld produces broken PLT on aarch64 with BTI+PAC
Date: Wed, 29 Jul 2020 13:44:49 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=26312

--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Szabolcs Nagy from comment #2)
> i don't know about sh_entsize, i will have to check what it should be.

In general sh_size modulo sh_entsize needs to be zero (if sh_entsize isn't zero
itself). For non-zero sh_entsize sections, elfutils libelf will flag a section
as  corrupt if the sh_size % sh_entsize != 0.

In this case, given that you have entries of variable size, I believe
sh_entsize should be zero.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]