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, 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 
powerpc32 take advantage of the change and use the larger malloc alignment 
it ought to use, while keeping ABI compatibility for old emacs binaries?)

-- 
Joseph S. Myers
joseph@codesourcery.com


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