From: Julian Seward Date: Tue, 23 Dec 2008 00:10:26 +0000 (+0000) Subject: Ignore races that occur on data in .plt sections, as well as those X-Git-Tag: svn/VALGRIND_3_4_0~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c4f07a8ca00acca15b2b73498212b35d42a2998;p=thirdparty%2Fvalgrind.git 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 --- diff --git a/helgrind/hg_errors.c b/helgrind/hg_errors.c index 008e82bcbf..659bc56a28 100644 --- a/helgrind/hg_errors.c +++ b/helgrind/hg_errors.c @@ -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