$NetBSD: patch-ad,v 1.19 2004/07/13 14:22:27 recht Exp $

--- include/private/gcconfig.h.orig	2004-05-06 01:10:54.000000000 +0200
+++ include/private/gcconfig.h	2004-07-13 10:19:42.000000000 +0200
@@ -97,6 +97,10 @@
 #    define ARM32
 #    define mach_type_known
 # endif
+# if defined(NETBSD) && defined(__sh__)
+#    define SH
+#    define mach_type_known
+# endif
 # if defined(vax)
 #    define VAX
 #    ifdef ultrix
@@ -1811,6 +1815,13 @@
       extern int _end[];
 #     define DATAEND (_end)
 #   endif
+#   ifdef NETBSD
+#      define OS_TYPE "NETBSD"
+#      define HEURISTIC2
+#      define DATASTART GC_data_start
+#       define USE_GENERIC_PUSH_REGS
+#      define DYNAMIC_LOADING
+#   endif
 # endif
  
 # ifdef SH4
