]> Git Repo - qemu.git/commit - linux-user/signal.c
linux-user: Handle PPC64 ELFv2 Function Pointers
authorTom Musta <[email protected]>
Mon, 30 Jun 2014 13:13:42 +0000 (08:13 -0500)
committerAlexander Graf <[email protected]>
Mon, 8 Sep 2014 10:50:46 +0000 (12:50 +0200)
commit145855801a002aaf1310630df41425a6bc39cf47
tree82eba71377542f9d136b6cd8bec281e1d96c59cb
parent19774ec5c4019d1802b497d702e1eefd3c193e84
linux-user: Handle PPC64 ELFv2 Function Pointers

Function pointers in the 64-bit ELFv2 PowerPC ABI are actual (internal)
entry point addresses.  However, when invoking a function via a function
pointer, GPR 12 must also be set to this address so that the TOC may be
handled properly.

Add this support to the invocation of a signal handler.

Signed-off-by: Tom Musta <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
linux-user/signal.c
This page took 0.023357 seconds and 4 git commands to generate.