# HG changeset patch # User Dave Love # Date 954260143 0 # Node ID 65fca17fb602c5c667be181e0b9d8041c7becc6e # Parent 6c44cf5cbba76fd6db4c647e4716378a4e888f2d (GC_SETJMP_WORKS): Define for i386, sparc, m68k, alpha. diff -r 6c44cf5cbba7 -r 65fca17fb602 src/s/gnu-linux.h --- a/src/s/gnu-linux.h Tue Mar 28 11:29:31 2000 +0000 +++ b/src/s/gnu-linux.h Tue Mar 28 16:15:43 2000 +0000 @@ -327,3 +327,12 @@ #ifdef DOUG_LEA_MALLOC #undef REL_ALLOC #endif + +/* Tell that garbage collector that setjmp is known to save all + registers relevant for conservative garbage collection in the + jmp_buf. */ +/* m68k and alpha aren't tested, but there are Debian packages for SCM + and/or Guile on them, so the technique must work. */ +#if #cpu (i386) || #cpu (sparc) || #cpu (m68k) || #cpu (alpha) +#define GC_SETJMP_WORKS 1 +#endif