[PATCH] ld/ELF: explicitly place .note.gnu.property

Jan Beulich jbeulich@suse.com
Mon Aug 18 08:00:59 GMT 2025


On 18.08.2025 09:59, Jan Beulich wrote:
> On 18.08.2025 09:49, Alan Modra wrote:
>> On Mon, Aug 18, 2025 at 09:20:17AM +>> While I have your attention - do you have any insight into the PPC aspect
>>> mentioned in one of the remarks?
>>
>> I don't know without looking at it under gdb, but at a guess a stub is
>> being created with associated linker generated .eh_frame.  Later,
>> since you say .eh_frame is empty, another pass of section sizing makes
>> the stub no longer needed.
> 
> And whether a stub needs generating can be influenced by the placement of
> .note.* sections?

Oh, and - isn't SEC_KEEP then getting set prematurely for .eh_frame?

Jan


More information about the Binutils mailing list