|
From: <sv...@va...> - 2006-11-18 14:32:36
|
Author: sewardj
Date: 2006-11-18 14:32:30 +0000 (Sat, 18 Nov 2006)
New Revision: 6359
Log:
Minor tidying: make initial_client_SP be a mandatory field in struct
_IIFinaliseImageInfo.
Modified:
trunk/coregrind/pub_core_initimg.h
Modified: trunk/coregrind/pub_core_initimg.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/pub_core_initimg.h 2006-11-17 20:04:43 UTC (rev 6358)
+++ trunk/coregrind/pub_core_initimg.h 2006-11-18 14:32:30 UTC (rev 6359)
@@ -82,8 +82,8 @@
struct _IIFinaliseImageInfo {
/* ------ Mandatory fields ------ */
SizeT clstack_max_size;
+ Addr initial_client_SP;
/* ------ Per-OS fields ------ */
- Addr initial_client_SP;
Addr initial_client_IP;
Addr initial_client_TOC;
UInt* client_auxv;
@@ -153,6 +153,9 @@
struct _IIFinaliseImageInfo {
/* ------ Mandatory fields ------ */
SizeT clstack_max_size;
+ /* Initial value for SP (which is merely a copy of r1's value,
+ intregs37[1]). */
+ Addr initial_client_SP;
/* ------ Per-OS fields ------ */
/* Pointer to the preload page. The preload page and this pointer
to it are set up by VG_(ii_create_image). */
@@ -160,9 +163,6 @@
/* Initial values for guest int registers (GPR0 .. GPR31, PC,
CR, LR, CTR, XER). Copied from the CII. */
ULong* intregs37;
- /* Initial value for SP (which is merely a copy of r1's value,
- intregs37[1]). */
- Addr initial_client_SP;
/* Address of the page compressed by the launcher. */
Addr compressed_page;
/* Adler32 checksum of uncompressed data of said page. */
|