This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PowerPC malloc alignment
On Wed, Oct 31, 2007 at 10:23:16PM +0100, Jakub Jelinek wrote:
> The main problem is emacs (aka the only user of
> malloc_set_state/malloc_get_state). Changing the alignment is really an ABI
> change for these interfaces, unless it does some very ugly hacks in it.
Only if it saves in a dump with one and restores with the other, isn't
it? Actually, I can't see how it matters at all. I may have to
grovel through the emacs dumper to try to figure it out.
Meanwhile, mallocing anything containing a long double or vector
generates quietly wrong code unless you use posix_memalign :-(
--
Daniel Jacobowitz
CodeSourcery