]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix incorrect assertion re sizeof TTEntryC on arm-linux. Fixes #362935.
authorJulian Seward <jseward@acm.org>
Thu, 21 Jul 2016 12:47:51 +0000 (12:47 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 21 Jul 2016 12:47:51 +0000 (12:47 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15912

coregrind/m_transtab.c

index 8e0ffb3c123fc0a202bdb286d60d33be755bc65a..8b8969af950d1d53a25c2ef5644f294456965bcb 100644 (file)
@@ -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