|
From: <sv...@va...> - 2016-05-06 17:35:03
|
Author: petarj
Date: Fri May 6 18:34:55 2016
New Revision: 15876
Log:
mips32: raise the limit for sizeof(TTEntryC)
Raise limit for sizeof(TTEntryC) due to 8-byte alignement requirement for
ULong on mips32 platforms. It is a follow up to the same change on ppc32
(see r15875), and it un-breaks mips32-linux (broken with r15784).
Modified:
trunk/coregrind/m_transtab.c
Modified: trunk/coregrind/m_transtab.c
==============================================================================
--- trunk/coregrind/m_transtab.c (original)
+++ trunk/coregrind/m_transtab.c Fri May 6 18:34:55 2016
@@ -2451,8 +2451,8 @@
}
else if (sizeof(HWord) == 4) {
vg_assert(sizeof(TTEntryH) <= 20);
-# if defined(VGP_ppc32_linux)
- /* ppc32-linux is weird. It thinks alignof(ULong) == 8 and so the
+# if defined(VGP_ppc32_linux) || defined(VGP_mips32_linux)
+ /* On PPC32 and MIPS32 platforms alignof(ULong) == 8, so the
structure is larger than on other 32 bit targets. */
vg_assert(sizeof(TTEntryC) <= 96);
# else
|