On May 29, 2016, at 3:39 AM, cheng...@emindsoft.com.cn wrote: > > r10 may also be as parameter for the nested function, so need save it > before call mcount.
mcount can have a special abi where it preserves more registers than one would otherwise expect. I'm wondering if you know what registers it saves or doesn't touch? Does this fix any bug found by running tests, or just by inspection?