diff src/s/gnu-linux.h @ 103190:21a9a415c6d0

Make GCPROs and UNGCPRO no-ops also on SuperH. * s/gnu-linux.h: Make GCPROs and UNGCPRO no-ops also on SuperH.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Sun, 10 May 2009 14:18:47 +0000
parents e038c1a8307c
children 1d1d5d9bd884
line wrap: on
line diff
--- a/src/s/gnu-linux.h	Sun May 10 07:13:33 2009 +0000
+++ b/src/s/gnu-linux.h	Sun May 10 14:18:47 2009 +0000
@@ -258,7 +258,7 @@
 #if defined __i386__ || defined __sparc__ || defined __mc68000__ \
     || defined __alpha__ || defined __mips__ || defined __s390__ \
     || defined __arm__ || defined __powerpc__ || defined __amd64__ \
-    || defined __ia64__
+    || defined __ia64__ || defined __sh__
 #define GC_SETJMP_WORKS 1
 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
 #ifdef __mc68000__