[PATCH] elf: dl-minimal malloc needs to respect fundamental alignment

Joseph Myers joseph@codesourcery.com
Thu Jun 23 17:02:00 GMT 2016


On Thu, 23 Jun 2016, Florian Weimer wrote:

> As far as I know, we know match or exceed the C11 max_align_t requirements.
> What we cannot do is to bump max_align_t alignment because it affects ABI.

That's not obvious to me.  It shouldn't affect the ABI of any function in 
glibc, for example; it's not the sort of type you embed in other 
structures.  Increasing max_align_t to cover _Float128 (for 32-bit x86 as 
the sole affected case) is a question I left open in my GCC _FloatN / 
_FloatNx patch posting (not included in that patch, potentially relevant 
for a followup); that issue properly applies to _Decimal128 as well.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list