This is the mail archive of the
mailing list for the glibc project.
Re: PATCH: Add x32 pthread types
On Mon, May 14, 2012 at 11:22 AM, Roland McGrath <firstname.lastname@example.org> 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