This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Collision between NT_GNU_BUILD_ATTRIBUTE_OPEN and NT_PPC_VMX


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]