Ignore races that occur on data in .plt sections, as well as those
that occur on data in .got.plt sections.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8866 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/helgrind/hg_errors.c b/helgrind/hg_errors.c
index 008e82b..659bc56 100644
--- a/helgrind/hg_errors.c
+++ b/helgrind/hg_errors.c
@@ -331,7 +331,10 @@
      VgSectKind sect = VG_(seginfo_sect_kind)( NULL, 0, data_addr );
      if (0) VG_(printf)("XXXXXXXXX RACE on %#lx %s\n",
                         data_addr, VG_(pp_SectKind)(sect));
+     /* SectPLT is required on ???-linux */
      if (sect == Vg_SectGOTPLT) return;
+     /* SectPLT is required on ppc32/64-linux */
+     if (sect == Vg_SectPLT) return;
    }
 #  endif