valgrind/valgrind-3.9.0-ppc64le-extra.patch
Mark Wielaard 6f7ad20fd4 3.9.0-20.svn20140718r14176
- Update to upstream svn r14176
  Remove valgrind-3.9.0-arm64-user_regs.patch
- Add ppc64le support
  valgrind-3.9.0-ppc64le-initial.patch
  valgrind-3.9.0-ppc64le-functional.patch
  valgrind-3.9.0-ppc64le-test.patch
  valgrind-3.9.0-ppc64le-extra.patch
2014-07-19 17:10:19 +02:00

14 lines
522 B
Diff

diff --git a/coregrind/vg_preloaded.c b/coregrind/vg_preloaded.c
index fe8b50a..e36d90d 100644
--- a/coregrind/vg_preloaded.c
+++ b/coregrind/vg_preloaded.c
@@ -83,7 +83,7 @@ void * VG_NOTIFY_ON_LOAD(ifunc_wrapper) (void)
VALGRIND_GET_ORIG_FN(fn);
CALL_FN_W_v(result, fn);
-#if defined(VGP_ppc64_linux)
+#if defined(VGP_ppc64be_linux)
/* ppc64 uses function descriptors, so get the actual function entry
address for the client request, but return the function descriptor
from this function.