]> git.ipfire.org Git - thirdparty/valgrind.git/commit
More ppc64-only function wrapping hacks:
authorJulian Seward <jseward@acm.org>
Fri, 20 Jan 2006 14:19:25 +0000 (14:19 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 20 Jan 2006 14:19:25 +0000 (14:19 +0000)
commitabb480eac85ed770b73c18f201af0f82148fd703
tree57b602fea1beafd4754e5925d66381c5b668b8ff
parentc6c2bd4b5eb2d45c66c50c4151080a1060f9306d
More ppc64-only function wrapping hacks:

- increase size of redirect stack from 8 to 16 elems

- augment the _NRADDR pseudo-register with _NRADDR_GPR2,
  which is the value of R2 at the most recent divert point.
  This is needed in the ELF ppc64 ABI in order to safely run
  the function being wrapped.

- add pseudo-instruction to read get _NRADDR_GPR2 into _GPR3.

- related change: always keep R2 up to date wrt possible memory
  exceptions (no specific reason, just being conservative)

git-svn-id: svn://svn.valgrind.org/vex/trunk@1543
VEX/priv/guest-ppc/ghelpers.c
VEX/priv/guest-ppc/toIR.c
VEX/priv/host-ppc/isel.c
VEX/pub/libvex_guest_ppc64.h