aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/mach_dep.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@pobox.com>1999-10-02 15:50:57 +0000
committerAnthony Green <green@gcc.gnu.org>1999-10-02 15:50:57 +0000
commit23915d8b7016c1defaa247958f1857ac59e0ac9e (patch)
tree08f86cfc4b4858c7ceb6ea539f1288b0330c8138 /boehm-gc/mach_dep.c
parentf3775ba228e44784f5b61a901e44f13c8e15c62e (diff)
downloadgcc-23915d8b7016c1defaa247958f1857ac59e0ac9e.zip
gcc-23915d8b7016c1defaa247958f1857ac59e0ac9e.tar.gz
gcc-23915d8b7016c1defaa247958f1857ac59e0ac9e.tar.bz2
I am committing the following changes to enable the picojava port.
I am committing the following changes to enable the picojava port. I will also forward them to Boehm. From-SVN: r29767
Diffstat (limited to 'boehm-gc/mach_dep.c')
-rw-r--r--boehm-gc/mach_dep.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/boehm-gc/mach_dep.c b/boehm-gc/mach_dep.c
index 09a7988..e39880b 100644
--- a/boehm-gc/mach_dep.c
+++ b/boehm-gc/mach_dep.c
@@ -327,12 +327,19 @@ void GC_push_regs()
GC_push_all_stack((ptr_t)regs, lim);
}
# endif
+# if defined(PJ)
+ {
+ register int * sp asm ("optop");
+ extern int *__libc_stack_end;
+ GC_push_all_stack (sp, __libc_stack_end);
+ }
+# endif
/* other machines... */
# if !(defined M68K) && !(defined VAX) && !(defined RT)
# if !(defined SPARC) && !(defined I386) && !(defined NS32K)
# if !defined(HP_PA) && !defined(M88K) && !defined(POWERPC)
-# if !defined(UTS4)
+# if !defined(UTS4) && !defined(PJ)
--> bad news <--
# endif
# endif