This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Define MALLOC_ALIGNMENT as 16 for x32


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]