(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
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
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
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());