[PATCH] libelf: Use posix_memalign instead of aligned_alloc.

Mark Wielaard mark@klomp.org
Wed Mar 13 12:55:00 GMT 2019


On Thu, 2019-03-07 at 17:35 +0100, Mark Wielaard wrote:
> Older glibc might not have aligned_alloc (it is C11).
> Use posix_memalign instead. posix_memalign requires the alignment to
> be a multiple of sizeof (void *). So use malloc for smaller
> alignments.

Pushed to master.



More information about the Elfutils-devel mailing list