On Wed, Jul 20, 2011 at 12:03:45AM +0200, Mark Kettenis wrote:
> SSE needs a 16-byte aligned stack. Our kernel on randomizes the stack
> to an ALIGNBYTES boundary, which for amd64 means 8-byte aligned.
> Therefore we explicitly align the stack in crt0, but "constructors" in
> shared libraries get
SSE needs a 16-byte aligned stack. Our kernel on randomizes the stack
to an ALIGNBYTES boundary, which for amd64 means 8-byte aligned.
Therefore we explicitly align the stack in crt0, but "constructors" in
shared libraries get run directly by ld.so, before the crt0 code gets
run. The diff below s