From: Julian Seward Date: Thu, 21 Jul 2016 12:47:51 +0000 (+0000) Subject: Fix incorrect assertion re sizeof TTEntryC on arm-linux. Fixes #362935. X-Git-Tag: svn/VALGRIND_3_12_0~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a8129795c5c4e0465ac48989dc6cd755b5d0a66;p=thirdparty%2Fvalgrind.git Fix incorrect assertion re sizeof TTEntryC on arm-linux. Fixes #362935. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15912 --- diff --git a/coregrind/m_transtab.c b/coregrind/m_transtab.c index 8e0ffb3c12..8b8969af95 100644 --- a/coregrind/m_transtab.c +++ b/coregrind/m_transtab.c @@ -2451,8 +2451,9 @@ void VG_(init_tt_tc) ( void ) } else if (sizeof(HWord) == 4) { vg_assert(sizeof(TTEntryH) <= 20); -# if defined(VGP_ppc32_linux) || defined(VGP_mips32_linux) - /* On PPC32 and MIPS32 platforms alignof(ULong) == 8, so the +# if defined(VGP_ppc32_linux) || defined(VGP_mips32_linux) \ + || defined(VGP_arm_linux) + /* On PPC32, MIPS32, ARM32 platforms, alignof(ULong) == 8, so the structure is larger than on other 32 bit targets. */ vg_assert(sizeof(TTEntryC) <= 96); # else