linux-user: Properly Dereference PPC64 ELFv1 Signal Handler Pointer
commit8d6ab333ebf2751d2467bd7dae94a04742052e26
authorTom Musta <tommusta@gmail.com>
Mon, 30 Jun 2014 13:13:39 +0000 (30 08:13 -0500)
committerAlexander Graf <agraf@suse.de>
Mon, 8 Sep 2014 10:50:46 +0000 (8 12:50 +0200)
tree09786e24fa43cdef45e711b98cc1b2d962267d6f
parent61e75fecef17aff4b0ecef26b300b90de410aaa2
linux-user: Properly Dereference PPC64 ELFv1 Signal Handler Pointer

Properly dereference 64-bit PPC ELF V1 ABIT function pointers to signal handlers.
On this platform, function pointers are pointers to structures and the first 64
bits of such a structure contains the function's entry point.  The second 64 bits
contains the TOC pointer, which must be placed into GPR 2.

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