]> xenbits.xensource.com Git - people/julieng/freebsd.git/commit
Correctly align the stack. The early csu assumed we passed the aux vector
authorandrew <andrew@FreeBSD.org>
Sun, 18 Oct 2015 13:23:21 +0000 (13:23 +0000)
committerandrew <andrew@FreeBSD.org>
Sun, 18 Oct 2015 13:23:21 +0000 (13:23 +0000)
commit2e36231acf2e90bdb35ec59d85cba8a0e7d2a047
treed82b90dd5212af9bf8d5170d1936d98905a7224f
parentb26720e1df1ea61d1807e2509b26c7563dc423f6
Correctly align the stack. The early csu assumed we passed the aux vector
in through the stack pointer, however this may have been misaligned
causing some userland applications to crash. A workaround was committed in
r284707 where userland would check if the aux vector was passed using the
old or new ABI and adjust the stack if needed. As 4 months have passed it
is time to move to the new ABI, with the expectation the compat code in csu
and the runtime linker to be removed in the future.

Sponsored by: ABT Systems Ltd
sys/arm64/arm64/machdep.c