This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
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