Misaligned stack on 32-bit s390?

Richard Henderson rth@twiddle.net
Tue Nov 11 09:28:00 GMT 2014


On 11/11/2014 06:31 AM, Carlos O'Donell wrote:
> Any clever ideas on how to fix this without copying up a large
> portion of the stack?

Nope, because other targets do in fact have to do just that.

I'm actually surprised that almost all of them don't.  I suppose
that just depends on how the ABI is set up to pass parameters to
the user _start...

Fortunately, s390 has a block copy instruction, so the move
should be trivial to implement.


r~



More information about the Libc-alpha mailing list