From 7a8129795c5c4e0465ac48989dc6cd755b5d0a66 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Thu, 21 Jul 2016 12:47:51 +0000 Subject: [PATCH] Fix incorrect assertion re sizeof TTEntryC on arm-linux. Fixes #362935. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15912 --- coregrind/m_transtab.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.47.3