commit | 8df0fe0c74b7af819f36e37ec9b924fdd22c8ba4 | [log] [tgz] |
---|---|---|
author | Ben Cheng <bccheng@google.com> | Fri May 23 16:35:21 2014 -0700 |
committer | Ben Cheng <bccheng@google.com> | Fri May 23 16:35:21 2014 -0700 |
tree | 882e74eff6ba2eb37d9f617e9f5ee4fdcec7e52d | |
parent | a486632e789c6db4c35f969485ebb57f503bcf48 [diff] |
Clear link register in __bionic_clone. Since __bionic_clone uses tail-call to invoke __bionic_clone_entry, at runtime the unwinder will reach the stack of the clone() function, which belongs to the parent thread, if the link register is not cleared. BUG: 14270816 Change-Id: Ia3711c87f8b619debe73748c28b9fb8691ea698e