diff options
author | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2008-12-23 00:10:26 +0000 |
---|---|---|
committer | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2008-12-23 00:10:26 +0000 |
commit | 5210413b79e93b660f5fd16dfb319237858835f5 (patch) | |
tree | fa35c76fde48e159e8943740b6a79726d77561e4 /helgrind/hg_errors.c | |
parent | f72181569a75895ff64931c899d54ea0c7d1ad1d (diff) | |
download | valgrind-5210413b79e93b660f5fd16dfb319237858835f5.tar.gz |
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
Diffstat (limited to 'helgrind/hg_errors.c')
-rw-r--r-- | helgrind/hg_errors.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/helgrind/hg_errors.c b/helgrind/hg_errors.c index 008e82bcb..659bc56a2 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 |