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] Refactor elf_prpsinfo{32,64} structures


In 16-11-2012 15:15, Sergio Durigan Junior wrote:

> Well, so the bottom line is that if I use such, I could declare the
> external structure above without the alignment gap, right?  That would
> certainly make things easier.

The gap always needs to be accounted for somewhere somehow.  You either put
it in the external structure definition, or you need to layout things by
hand in the XXX_write_core_note routine, as you were doing.

-- 
Pedro Alves


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