summaryrefslogtreecommitdiff
path: root/devel/boehm-gc/patches/patch-ad
blob: 5140f733cb93132da86fd60bef742128686bf305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$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