aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/gnu-linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s/gnu-linux.h')
-rw-r--r--src/s/gnu-linux.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index 0a083fe3f15..2847fd6d19c 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -20,18 +20,3 @@ GNU General Public License for more details.
20You should have received a copy of the GNU General Public License 20You should have received a copy of the GNU General Public License
21along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 21along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
22 22
23/* Tell that garbage collector that setjmp is known to save all
24 registers relevant for conservative garbage collection in the jmp_buf.
25 Not all the architectures are tested, but there are Debian packages
26 for SCM and/or Guile on them, so the technique must work. See also
27 comments in alloc.c concerning setjmp and gcc. Fixme: it's
28 probably safe to just let the GCC conditional in AH_BOTTOM handle this.
29*/
30#if defined __i386__ || defined __sparc__ || defined __mc68000__ \
31 || defined __alpha__ || defined __mips__ || defined __s390__ \
32 || defined __arm__ || defined __powerpc__ || defined __amd64__ \
33 || defined __ia64__ || defined __sh__
34#define GC_SETJMP_WORKS 1
35#else
36#define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE
37#endif