This is the mail archive of the
mailing list for the binutils project.
Re: [RFC] Collision between NT_GNU_BUILD_ATTRIBUTE_OPEN and NT_PPC_VMX
- From: Alan Modra <amodra at gmail dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, Gustavo Romero <gromero at linux dot vnet dot ibm dot com>, Binutils <binutils at sourceware dot org>
- Date: Sat, 12 Aug 2017 10:52:51 +0930
- Subject: Re: [RFC] Collision between NT_GNU_BUILD_ATTRIBUTE_OPEN and NT_PPC_VMX
- Authentication-results: sourceware.org; auth=none
- References: <598E32FC.firstname.lastname@example.org> <CAMe9rOpW4GKRwGoK4p1X+2nMuGY1hUbu-Co7em8vD1nGtiz3Ng@mail.gmail.com>
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. :-(
Australia Development Lab, IBM