summaryrefslogtreecommitdiff
path: root/xc/util
diff options
context:
space:
mode:
authorkeith <empty>1992-04-08 14:34:52 +0000
committerkeith <empty>1992-04-08 14:34:52 +0000
commit3d0939db5e88449525254f5d4a308f3d149d7f1c (patch)
treebcda2bbec4dcc7fa94cd636ef2938ca2a387fe8c /xc/util
parentac77edadd50462f444504deba7b928a0dc48b4bb (diff)
add SPARC stuff
Diffstat (limited to 'xc/util')
-rw-r--r--xc/util/memleak/Imakefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/xc/util/memleak/Imakefile b/xc/util/memleak/Imakefile
index 175ff5022..403fdd47e 100644
--- a/xc/util/memleak/Imakefile
+++ b/xc/util/memleak/Imakefile
@@ -1,4 +1,4 @@
-XCOMM $XConsortium: Imakefile,v 1.1 92/04/07 14:40:28 keith Exp $
+XCOMM $XConsortium: Imakefile,v 1.2 92/04/08 10:35:47 keith Exp $
#define DoNormalLib YES
#define DoSharedLib NO
#define DoDebugLib NO
@@ -15,6 +15,15 @@ GRA_OBJS = getretmips.o mipsstack.o
GRA_SRCS = getretmips.c
#endif
+#ifdef SparcArchitecture
+#define TopOfStack 0xf7fffbdc
+#define BottomOfData \&environ
+#define HasGetReturnAddress YES
+LOCAL_DEFS = -Datexit=on_exit
+GRA_OBJS = getretsparc.o sparcstack.o
+GRA_SRCS = getretsparc.c
+#endif
+
#ifndef HasGetReturnAddress
#define HasGetReturnAddress NO
#endif
@@ -24,7 +33,7 @@ GRA_SRCS = getretmips.c
#endif
DEFINES = -DTOP_OF_STACK=TopOfStack -DBOTTOM_OF_DATA=BottomOfData\
- $(GRA_DEFS)
+ $(GRA_DEFS) $(LOCAL_DEFS)
CDEBUGFLAGS = DebuggableCDebugFlags