PATCH: Define MALLOC_ALIGNMENT as 16 for x32
H.J. Lu
hjl.tools@gmail.com
Tue May 15 15:34:00 GMT 2012
On Tue, May 15, 2012 at 8:21 AM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> On Tue, 15 May 2012, H.J. Lu wrote:
>
>> X32 psABI specifies 16-byte alignment for malloc, the same as
>> x86-64. This patch defines MALLOC_ALIGNMENT as 16 for x32. Tested
>> on Linux/x32. OK to install?
>
> Will you also be resubmitting some form of Daniel Jacobowitz's malloc
> patch that we discussed last August to handle MALLOC_ALIGNMENT > 2 *
> SIZE_SZ? (And if that gets in, has anyone figured out how to make
I have several malloc patches I will submit later. You need
to build the full x32 glibc to see how MALLOC_ALIGNMENT > 2 *
SIZE_SZ impacts malloc.
--
H.J.
More information about the Libc-alpha
mailing list