|
From: <sv...@va...> - 2005-09-27 23:53:12
|
Author: sewardj
Date: 2005-09-28 00:53:09 +0100 (Wed, 28 Sep 2005)
New Revision: 4798
Log:
Don't reserve space for trampoline page on the stack, since it isn't
used any more.
Modified:
trunk/coregrind/m_main.c
Modified: trunk/coregrind/m_main.c
=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/m_main.c 2005-09-27 21:35:01 UTC (rev 4797)
+++ trunk/coregrind/m_main.c 2005-09-27 23:53:09 UTC (rev 4798)
@@ -363,8 +363,6 @@
The format of the stack is:
=20
higher address +-----------------+ <- clstack_end
- | Trampoline code |
- +-----------------+
| |
: string table :
| |
@@ -477,8 +475,7 @@
sizeof(char **)*envc + /* envp */
sizeof(char **) + /* terminal NULL */
auxsize + /* auxv */
- VG_ROUNDUP(stringsize, sizeof(Word)) + /* strings (aligned) */
- VKI_PAGE_SIZE; /* page for trampoline code */
+ VG_ROUNDUP(stringsize, sizeof(Word)); /* strings (aligned) */
=20
if (0) VG_(printf)("stacksize =3D %d\n", stacksize);
=20
|