From: Petar Jovanovic Date: Sat, 15 Sep 2012 01:04:06 +0000 (+0000) Subject: Setup correct minimum malloc'd block size for MIPS. X-Git-Tag: svn/VALGRIND_3_9_0~684 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fada2c7657ad2d1a6aec6ccffb7d26817b6c1531;p=thirdparty%2Fvalgrind.git Setup correct minimum malloc'd block size for MIPS. Correct minimum malloc's block size for MIPS is 8. This fixes massif/tests/big-alloc. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12974 --- diff --git a/coregrind/pub_core_mallocfree.h b/coregrind/pub_core_mallocfree.h index 3349b2bf05..7cd9536d60 100644 --- a/coregrind/pub_core_mallocfree.h +++ b/coregrind/pub_core_mallocfree.h @@ -70,7 +70,8 @@ typedef Int ArenaId; // minimum alignment. Must be a power of 2 greater than 4, and should be // greater than 8. #if defined(VGP_x86_linux) || \ - defined(VGP_arm_linux) + defined(VGP_arm_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. @@ -80,7 +81,6 @@ typedef Int ArenaId; defined(VGP_ppc32_linux) || \ defined(VGP_ppc64_linux) || \ defined(VGP_s390x_linux) || \ - defined(VGP_mips32_linux) || \ defined(VGP_x86_darwin) || \ defined(VGP_amd64_darwin) # define VG_MIN_MALLOC_SZB 16