Re: Alignment trap in stackgap under arm eabi.

Felix von Leitner <[email protected]> Tue, 26 Jan 2016 11:50:59 +0100
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
Thus spake [email protected] ([email protected]):
> I've noticed an Alignment trap starting a little program on an arm eabi
> system (armv5 soft float).
> I could track it down to the following code in 'lib/stackgap.c':

Oooh that is unfortunate. I thought I could rely on the kernel to give
me well-aligned memory.

Thanks for finding this!

It turns out this is not even aligned on my development platform, amd64.

I changed the code.

Felix