|
From: <sv...@va...> - 2005-12-23 23:34:53
|
Author: sewardj
Date: 2005-12-23 23:34:51 +0000 (Fri, 23 Dec 2005)
New Revision: 5425
Log:
ppc64 ELF allows the 288 bytes below the stack pointer to be accessed.
Modified:
trunk/include/pub_tool_machine.h
Modified: trunk/include/pub_tool_machine.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/include/pub_tool_machine.h 2005-12-23 23:33:51 UTC (rev 5424)
+++ trunk/include/pub_tool_machine.h 2005-12-23 23:34:51 UTC (rev 5425)
@@ -36,7 +36,7 @@
# define VG_MAX_INSTR_SZB 16 // max length of native instructi=
on
# define VG_CLREQ_SZB 18 // length of a client request, ma=
y
// be larger than VG_MAX_INSTR_=
SZB
-# define VG_STACK_REDZONE_SZB 0 // number of addressable bytes be=
low SP
+# define VG_STACK_REDZONE_SZB 0 // number of addressable bytes be=
low %RSP
#elif defined(VGA_amd64)
# define VG_MIN_INSTR_SZB 1
# define VG_MAX_INSTR_SZB 16
@@ -51,7 +51,8 @@
# define VG_MIN_INSTR_SZB 4
# define VG_MAX_INSTR_SZB 4=20
# define VG_CLREQ_SZB 24
-# define VG_STACK_REDZONE_SZB 0
+# define VG_STACK_REDZONE_SZB 288 // number of addressable bytes be=
low R1
+ // from 64-bit PowerPC ELF ABI Su=
pplement 1.7
#else
# error Unknown arch
#endif
|