# HG changeset patch
# User Thien-Thi Nguyen <ttn@gnuvola.org>
# Date 1241965127 0
# Node ID 21a9a415c6d01f8af4de071757197a9658601282
# Parent  7b19ba744cfebc23bb9d7a0c2b1fbf2f907b2c67
Make GCPROs and UNGCPRO no-ops also on SuperH.
* s/gnu-linux.h: Make GCPROs and UNGCPRO no-ops also on SuperH.

diff -r 7b19ba744cfe -r 21a9a415c6d0 src/ChangeLog
--- a/src/ChangeLog	Sun May 10 07:13:33 2009 +0000
+++ b/src/ChangeLog	Sun May 10 14:18:47 2009 +0000
@@ -1,3 +1,7 @@
+2009-05-10  Ulrich Mueller  <ulm@gentoo.org>
+
+	* s/gnu-linux.h: Make GCPROs and UNGCPRO no-ops also on SuperH.
+
 2009-05-07  David Reitter  <david.reitter@gmail.com>
 
 	* nsterm.m (ns_dumpglyphs_stretch,ns_dumpglyphs_image):
diff -r 7b19ba744cfe -r 21a9a415c6d0 src/s/gnu-linux.h
--- 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__