[RFC] Refactor elf_prpsinfo{32,64} structures

Pedro Alves palves@redhat.com
Fri Nov 16 15:37:00 GMT 2012


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



More information about the Binutils mailing list