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: [PATCH] elf: Properly compute offsets of desc and next note


On Thu, Nov 16, 2017 at 8:27 AM, H.J. Lu <hjl.tools@gmail.com> wrote:

>> Wouldn't it be better to update the gABI document to say that the alignment
>> of individual notes must be equal to the alignment of their containing
>> section or segment, and not dependent upon their ELF class ?
>
> This is implied.  All notes in one PT_NOTE segment must have the same
> alignment.  Otherwise, you can't parse notes.
>
>> Alternatively, if we are going to have special cases for certain notes,
>> then these ought to be covered in the gABI document, and we need to
>> consider if there are other notes, possibly for non-x86 architectures,
>> that need to be covered as well.
>>
>
> I will send an email to gABI.
>

See:

https://groups.google.com/forum/#!topic/generic-abi/vT-_QVcckXo


-- 
H.J.


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