|
From: <sv...@va...> - 2012-09-15 01:00:59
|
petarj 2012-09-15 02:04:06 +0100 (Sat, 15 Sep 2012)
New Revision: 12974
Log:
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.
Modified files:
trunk/coregrind/pub_core_mallocfree.h
Modified: trunk/coregrind/pub_core_mallocfree.h (+2 -2)
===================================================================
--- trunk/coregrind/pub_core_mallocfree.h 2012-09-14 22:18:00 +01:00 (rev 12973)
+++ trunk/coregrind/pub_core_mallocfree.h 2012-09-15 02:04:06 +01:00 (rev 12974)
@@ -70,7 +70,8 @@
// 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 @@
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
|