|
From: <sv...@va...> - 2011-10-22 23:22:44
|
Author: florian
Date: 2011-10-23 00:18:00 +0100 (Sun, 23 Oct 2011)
New Revision: 2224
Log:
Fix the guest state definition for s390x and introduce dummy members
in places where 8-byte alignment is needed.
We need to make sure that libvex_guest_offsets.h contains correct
offsets even when genoffsets.c is compiled for a 32-bit target.
With this change a tarball built on x86 will result in a working
valgrind on s390x.
Modified:
trunk/pub/libvex_guest_s390x.h
Modified: trunk/pub/libvex_guest_s390x.h
===================================================================
--- trunk/pub/libvex_guest_s390x.h 2011-10-22 09:32:16 UTC (rev 2223)
+++ trunk/pub/libvex_guest_s390x.h 2011-10-22 23:18:00 UTC (rev 2224)
@@ -109,7 +109,7 @@
/* 320 */ ULong guest_counter;
/* 328 */ UInt guest_fpc;
- /* 4-byte hole to enforce alignment requirements */
+ /* 332 */ UChar unused[4]; /* 4-byte hole to get 8-byte alignment */
/* 336 */ ULong guest_IA;
/*------------------------------------------------------------*/
|