]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Follow up on VEX r3144 and remove VexGuestTILEGXStateAlignment.
authorFlorian Krohm <florian@eich-krohm.de>
Mon, 27 Apr 2015 14:26:26 +0000 (14:26 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Mon, 27 Apr 2015 14:26:26 +0000 (14:26 +0000)
Also fix the alignment check which should be mod 16 not mod 8.
Well, actually, it should be mod LibVEX_GUEST_STATE_ALIGN but
that is another patch.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15147

coregrind/m_initimg/initimg-linux.c

index 64b404fe7dabe3fbf57eaed9bd75b02bbc6a30f8..370cf0e66edd547c42cba15f20d24181c761fefc 100644 (file)
@@ -1179,8 +1179,7 @@ void VG_(ii_finalise_image)( IIFinaliseImageInfo iifii )
    arch->vex.guest_r31 = iifii.initial_client_SP;
 
 #  elif defined(VGP_tilegx_linux)
-   vg_assert(0 == sizeof(VexGuestTILEGXState) % 8);
-   vg_assert(0 == sizeof(VexGuestTILEGXState) % VexGuestTILEGXStateAlignment);
+   vg_assert(0 == sizeof(VexGuestTILEGXState) % 16);
 
    /* Zero out the initial state. */
    LibVEX_GuestTILEGX_initialise(&arch->vex);