This is the mail archive of the
mailing list for the glibc project.
Re: PATCH: Define MALLOC_ALIGNMENT as 16 for x32
On Tue, May 15, 2012 at 10:40 AM, Roland McGrath <email@example.com> wrote:
>> Will it change malloc alignment for i386?
> No, since SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16) will be true for any
> configuration that existed before 2.16.
>> X32 MALLOC_ALIGNMENT == 16 is specified in x32 psABI.
> So is __alignof__ (long double) == 16.
>> Malloc doesn't need to guess it.
> It's not a guess. ?It's an algorithm.
It should work then.