summaryrefslogtreecommitdiffstats
path: root/linker
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2009-10-15 16:07:43 -0700
committerAndy McFadden <fadden@android.com>2009-10-15 16:29:22 -0700
commit5f32207a3db0bea3ca1c7f4b2b563c11b895f276 (patch)
treea9a966a87f56d00f0682a66ae8451bcd6d8c2dd4 /linker
parent5c32826841460294cfba98ff713b4804512bacd1 (diff)
downloadbionic-5f32207a3db0bea3ca1c7f4b2b563c11b895f276.zip
bionic-5f32207a3db0bea3ca1c7f4b2b563c11b895f276.tar.gz
bionic-5f32207a3db0bea3ca1c7f4b2b563c11b895f276.tar.bz2
Wrap ARM abort() to improve stack trace.
The code generated for Thumb and Thumb2 targets has different handling for abort(). Because abort() is "noreturn", it doesn't need to preserve the callee-save registers. The Thumb2 version trashes LR and makes it impossible to figure out who called abort(). This inserts a trivial stub function; net effect is stack traces are reasonable after an abort(). For bug 2191452.
Diffstat (limited to 'linker')
0 files changed, 0 insertions, 0 deletions