summaryrefslogtreecommitdiff
path: root/xc/util/memleak/Imakefile
diff options
context:
space:
mode:
Diffstat (limited to 'xc/util/memleak/Imakefile')
-rw-r--r--xc/util/memleak/Imakefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/xc/util/memleak/Imakefile b/xc/util/memleak/Imakefile
index 32a36bd0f..4d273a54f 100644
--- a/xc/util/memleak/Imakefile
+++ b/xc/util/memleak/Imakefile
@@ -1,5 +1,5 @@
XCOMM $XConsortium: Imakefile /main/9 1996/09/28 17:19:05 rws $
-XCOMM $XFree86: xc/util/memleak/Imakefile,v 3.3 1999/12/27 00:56:41 robin Exp $
+XCOMM $XFree86: xc/util/memleak/Imakefile,v 3.4 2000/02/12 03:40:07 dawes Exp $
#define DoNormalLib YES
#define DoSharedLib NO
#define DoDebugLib NO
@@ -47,6 +47,13 @@ GRA_SRCS = getreti386.c stackbottom.c
#endif
#endif
+#ifdef AlphaArchitecture
+#define HasGetReturnAddress NO
+#define TopOfData \&_end
+#define TopOfStack 0x11ffffff0
+#define BottomOfData \&xf86DriverList
+#endif
+
#ifndef HasGetReturnAddress
#define HasGetReturnAddress NO
#endif
@@ -55,8 +62,12 @@ GRA_SRCS = getreti386.c stackbottom.c
GRA_DEFS = -DHAS_GET_RETURN_ADDRESS
#endif
+#ifdef TopOfData
+ TOD_DEFS = -DTOP_OF_DATA=TopOfData
+#endif
+
DEFINES = -DTOP_OF_STACK=TopOfStack -DBOTTOM_OF_DATA=BottomOfData\
- $(GRA_DEFS) $(LOCAL_DEFS)
+ $(GRA_DEFS) $(TOD_DEFS) $(LOCAL_DEFS)
CDEBUGFLAGS = DebuggableCDebugFlags