]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Ignore races that occur on data in .plt sections, as well as those
authorJulian Seward <jseward@acm.org>
Tue, 23 Dec 2008 00:10:26 +0000 (00:10 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 23 Dec 2008 00:10:26 +0000 (00:10 +0000)
that occur on data in .got.plt sections.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8866

helgrind/hg_errors.c

index 008e82bcbf58787525454eb6962b45971e9ec61d..659bc56a2873bcf895910213dafd77e5ad844dc2 100644 (file)
@@ -331,7 +331,10 @@ void HG_(record_error_Race) ( Thread* thr,
      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