]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix aspacem segment mismatch: seen with none/tests/bigcode
authorRhys Kidd <rhyskidd@gmail.com>
Fri, 1 May 2015 06:29:51 +0000 (06:29 +0000)
committerRhys Kidd <rhyskidd@gmail.com>
Fri, 1 May 2015 06:29:51 +0000 (06:29 +0000)
bz#345824

Tested on OS X 10.9 and OS X 10.10.

Before:

== 595 tests, 237 stderr failures, 23 stdout failures, 0 stderrB failures, 0 stdoutB failures, 31 post failures ==

After:

== 595 tests, 236 stderr failures, 22 stdout failures, 0 stderrB failures, 0 stdoutB failures, 31 post failures ==

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

NEWS
coregrind/m_aspacemgr/aspacemgr-linux.c

diff --git a/NEWS b/NEWS
index 40ecb515255aa64b412b8dba5aae4c27ababa820..1c178cc44bbd07ab2f2846e8492281eb765e3578 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -157,6 +157,7 @@ where XXXXXX is the bug number as listed below.
 345394  Fix memcheck/tests/strchr on OS X
 345637  Fix memcheck/tests/sendmsg on OS X
 345695  Add POWERPC support for AT_DCACHESIZE and HWCAP2
+345824  Fix aspacem segment mismatch: seen with none/tests/bigcode
 345887  Fix an assertion in the address space manager
 346267  Compiler warnings for PPC64 code on call to LibVEX_GuestPPC64_get_XER()
         and LibVEX_GuestPPC64_get_CR()
index d5e0be8f27beba2b1376214dbcc681c649f43df4..b5de1864efaf5d9363bb7f3ff27054e34dce275c 100644 (file)
@@ -815,8 +815,9 @@ static void sync_check_mapping_callback ( Addr addr, SizeT len, UInt prot,
 #  endif
 
    /* Some kernels on s390 provide 'r' permission even when it was not
-      explicitly requested. It seems that 'x' permission implies 'r'. */
-#  if defined(VGA_s390x)
+      explicitly requested. It seems that 'x' permission implies 'r'. 
+      This behaviour also occurs on OS X. */
+#  if defined(VGA_s390x) || defined(VGO_darwin)
    sloppyRcheck = True;
 #  else
    sloppyRcheck = False;