]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
mips64: Correct the value for the VG_MIN_MALLOC_SZB
authorDejan Jevtic <dejan.jevtic@valgrind.org>
Wed, 17 Jul 2013 08:51:53 +0000 (08:51 +0000)
committerDejan Jevtic <dejan.jevtic@valgrind.org>
Wed, 17 Jul 2013 08:51:53 +0000 (08:51 +0000)
The VG_MIN_MALLOC_SZB was incorrectly defined for MIPS64.
The incorrect value was 8 and the correct value is 16.
Fixes massif/tests/big-alloc for MIPS64.

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

coregrind/pub_core_mallocfree.h

index 814d2300b99472e76252d20e5b01c7d009e09f30..834df471ffc3e2a8ddb8e4e21c645bafb3af945e 100644 (file)
@@ -71,18 +71,18 @@ typedef Int ArenaId;
 // greater than 8.
 #if   defined(VGP_x86_linux)   || \
       defined(VGP_arm_linux)   || \
-      defined(VGP_mips32_linux) || \
-      defined(VGP_mips64_linux)
+      defined(VGP_mips32_linux)
 #  define VG_MIN_MALLOC_SZB        8
 // Nb: We always use 16 bytes for Darwin, even on 32-bits, so it can be used
 // for any AltiVec- or SSE-related type.  This matches the Darwin libc.
 // Also, use 16 bytes for any PPC variant, since 16 is required to make
 // Altiveccery work right.
-#elif defined(VGP_amd64_linux) || \
-      defined(VGP_ppc32_linux) || \
-      defined(VGP_ppc64_linux) || \
-      defined(VGP_s390x_linux) || \
-      defined(VGP_x86_darwin)  || \
+#elif defined(VGP_amd64_linux)  || \
+      defined(VGP_ppc32_linux)  || \
+      defined(VGP_ppc64_linux)  || \
+      defined(VGP_s390x_linux)  || \
+      defined(VGP_mips64_linux) || \
+      defined(VGP_x86_darwin)   || \
       defined(VGP_amd64_darwin)
 #  define VG_MIN_MALLOC_SZB       16
 #else