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


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.


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