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

Jan Beulich jbeulich@suse.com
Mon Aug 18 07:20:17 GMT 2025


On 16.08.2025 03:13, Alan Modra wrote:
> On Fri, Aug 15, 2025 at 02:23:16PM +0200, Jan Beulich wrote:
>> As the origin of the
>> (seemingly mis-spelled) .note.gnu-property there is unclear, leave that
>> in place.
> 
> The mis-spelled section should be removed.  At the time it was added
> (commit 7ecf0250f7f0) there were no occurrences of .note.gnu-property
> in the source, but plenty of .note.gnu.property strings.

Okay, changed for v2. It just wasn't clear to me whether externally uses
of that section might exist (and we cared about such).

>  It might
> have been better to name the section .note.gnu-property originally,
> for consistency with other .note.gnu-* sections but we're stuck with
> the name now.

Then again we also have .note.gnu.build-id. As opposed to .note.GNU-stack,
for example.

While I have your attention - do you have any insight into the PPC aspect
mentioned in one of the remarks?

Jan


More information about the Binutils mailing list