commit | 7e6ce1a3c52d8533fed92c143419fedb0c93988a | [log] [tgz] |
---|---|---|
author | Ben Cheng <bccheng@google.com> | Mon Jun 10 17:01:41 2013 -0700 |
committer | Ben Cheng <bccheng@google.com> | Mon Jun 10 17:17:46 2013 -0700 |
tree | 0ed2dd0e1c7a57ee6a2f6eff3e4bb609d191102b | |
parent | 8252b8e4b730b13623f31dc66396e000586d1c58 [diff] [blame] |
Fix abort(3) to raise SIGABRT rather than causing SIGSEGV. tgkill() needs the .save stack unwinding directive to get the complete stack trace. BUG: https://code.google.com/p/android/issues/detail?id=16672 Change-Id: Ifb447dca2147a592c48baf32769dfc175d8aea72
diff --git a/libc/arch-arm/bionic/tgkill.S b/libc/arch-arm/bionic/tgkill.S index f46cb58..5f11b20 100644 --- a/libc/arch-arm/bionic/tgkill.S +++ b/libc/arch-arm/bionic/tgkill.S
@@ -39,6 +39,7 @@ */ ENTRY(tgkill) + .save {r4-r7, ip, lr} stmfd sp!, {r4-r7, ip, lr} ldr r7, =__NR_tgkill swi #0