[RFC] Collision between NT_GNU_BUILD_ATTRIBUTE_OPEN and NT_PPC_VMX

Alan Modra amodra@gmail.com
Sat Aug 12 01:22:00 GMT 2017
On Fri, Aug 11, 2017 at 04:03:26PM -0700, H.J. Lu wrote:
> This is wrong.  pnote->type is unique only for a given pnote->namedata.

That is true.  According to the gABI, the name is supposed to be the
originator of the note, and the type is decoded depending on the name.

>  NT_GNU_* should be be checked for "GNU" notes.

Well, yes, but NT_GNU_BUILD_ATTRIBUTE_* doesn't use "GNU".  The
proposal at https://fedoraproject.org/wiki/Toolchain/Watermark says
they ought to start with "GA", and even that stretches the gABI
description of notes, but the support and testcases Nick committed
omit "GA".  So we don't have anything remotely like an originator
string.  The name dives straight into data.  :-(

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list