linux-user: Fix Stack Pointer Bug in PPC setup_rt_frame
authorTom Musta <tommusta@gmail.com>
Mon, 30 Jun 2014 13:13:36 +0000 (08:13 -0500)
committerAlexander Graf <agraf@suse.de>
Mon, 8 Sep 2014 10:50:46 +0000 (12:50 +0200)
commitfbdc200ac2d0d29e88ee6af9b77810c0f84265a6
tree80d19ddd4d86c40a8f2a4d6b4d1652b4d46c1fb1
parent2e14072f9e859272c7b94b8e189bd30bb4954aa1
linux-user: Fix Stack Pointer Bug in PPC setup_rt_frame

The code that sets the stack frame back pointer is incorrect for
the setup_rt_frame() code; qemu will abort (SIGSEGV) in some
environments.  The setup_frame code  was fixed in commit
beb526b12134a6b6744125deec5a7fe24a8f92e3 but the setup_rt_frame
code was not.

Make the setup_rt_frame code consistent with the setup_frame
code.

Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
linux-user/signal.c