PATCH: Add x32 pthread types

H.J. Lu hjl.tools@gmail.com
Mon May 14 18:34:00 GMT 2012


On Mon, May 14, 2012 at 11:22 AM, Roland McGrath <roland@hack.frob.com> wrote:
> I think your intent is (and should be) to make the x32 layouts
> exactly match the x86_64 ones for these types.  Is that right?
>
> There are numerous occurrences of 'long int' in this file.
> So some sizes and alignments won't match without further changes.
>

Since those structs have pointer fields, x32 ones won't have the
same lay out as x86-64 unless we pad it.  Also long int is OK.
I don't believe x32 must have the same layout in memory as
x86-64.

-- 
H.J.



More information about the Libc-alpha mailing list