This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Define MALLOC_ALIGNMENT as 16 for x32
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, "Ryan S. Arnold" <ryan dot arnold at gmail dot com>
- Date: Tue, 15 May 2012 15:21:16 +0000 (UTC)
- Subject: Re: PATCH: Define MALLOC_ALIGNMENT as 16 for x32
- References: <20120515144111.GA32527@intel.com>
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