diff options
author | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-02 15:50:57 +0000 |
---|---|---|
committer | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-02 15:50:57 +0000 |
commit | 4ba3c847960b8ca132c2a8fbd3d68b6e197e1c80 (patch) | |
tree | 08f86cfc4b4858c7ceb6ea539f1288b0330c8138 /boehm-gc/mach_dep.c | |
parent | 985b6e06c4577ba88704bd2e62175642d2022464 (diff) | |
download | gcc-4ba3c847960b8ca132c2a8fbd3d68b6e197e1c80.tar.gz |
I am committing the following changes to enable the picojava port. I
will also forward them to Boehm.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29767 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/mach_dep.c')
-rw-r--r-- | boehm-gc/mach_dep.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/boehm-gc/mach_dep.c b/boehm-gc/mach_dep.c index 09a79883fdf..e39880b46ac 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 |