Fix a bunch of defined(VGA_ppc64)
(a.o. this was making leak_cpp_interior test failing,
as the ppc64 specific code in mc_leakcheck.c was not compiled in)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14379 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/exp-sgcheck/pc_main.c b/exp-sgcheck/pc_main.c
index 41632fa..50dd402 100644
--- a/exp-sgcheck/pc_main.c
+++ b/exp-sgcheck/pc_main.c
@@ -65,7 +65,7 @@
    VG_(printf)("SGCheck doesn't work on s390x yet, sorry.\n");
    VG_(exit)(1);
 #endif
-#if defined(VGA_ppc32) || defined(VGA_ppc64)
+#if defined(VGA_ppc32) || defined(VGA_ppc64be) || defined(VGA_ppc64le)
    VG_(printf)("SGCheck doesn't work on PPC yet, sorry.\n");
    VG_(exit)(1);
 #endif
diff --git a/memcheck/mc_leakcheck.c b/memcheck/mc_leakcheck.c
index cb8abd1..8b624e2 100644
--- a/memcheck/mc_leakcheck.c
+++ b/memcheck/mc_leakcheck.c
@@ -648,7 +648,7 @@
       if (pot_fn == 0)
          continue; // NULL fn pointer. Seems it can happen in vtable.
       seg = VG_(am_find_nsegment) (pot_fn);
-#if defined(VGA_ppc64)
+#if defined(VGA_ppc64be) || defined(VGA_ppc64le)
       // ppc64 use a thunk table. So, we have one more level of indirection
       // to follow.
       if (seg == NULL
diff --git a/memcheck/mc_machine.c b/memcheck/mc_machine.c
index ff56a6e..006990f 100644
--- a/memcheck/mc_machine.c
+++ b/memcheck/mc_machine.c
@@ -371,7 +371,7 @@
    Int  o  = offset;
    Int  sz = szB;
    tl_assert(sz > 0);
-#if defined(VGA_ppc64)
+#if defined(VGA_ppc64be)
    tl_assert(host_is_big_endian());
 #elif defined(VGA_ppc64le)
    tl_assert(host_is_little_endian());