diff options
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 |