[PATCH] Correct PowerPC VDSO call frame info

Reza Arbab arbab at linux.ibm.com
Fri Sep 14 12:59:11 AEST 2018


On Fri, Sep 14, 2018 at 08:57:04AM +0930, Alan Modra wrote:
>There is control flow in __kernel_clock_gettime that reaches label 99
>without saving lr in r12.  CFI info however is interpreted by the
>unwinder without reference to control flow: It's a simple matter of
>"Execute all the CFI opcodes up to the current address".  That means
>the unwinder thinks r12 contains the return address at label 99.
>Disabuse it of that notion by resetting CFI for the return address at
>label 99.

Thanks for this! It looks like v2 will just be a commit log change, so 
feel free to carry over my

Tested-by: Reza Arbab <arbab at linux.ibm.com>

-- 
Reza Arbab



More information about the Linuxppc-dev mailing list