diff options
Diffstat (limited to 'devel/boehm-gc')
-rw-r--r-- | devel/boehm-gc/patches/patch-ad | 48 |
1 files changed, 35 insertions, 13 deletions
diff --git a/devel/boehm-gc/patches/patch-ad b/devel/boehm-gc/patches/patch-ad index 443d3f5ca7e..bd093770968 100644 --- a/devel/boehm-gc/patches/patch-ad +++ b/devel/boehm-gc/patches/patch-ad @@ -1,7 +1,7 @@ -$NetBSD: patch-ad,v 1.5 2000/12/06 08:12:38 jlam Exp $ +$NetBSD: patch-ad,v 1.6 2001/02/25 13:36:17 kei Exp $ ---- gcconfig.h.orig Mon Aug 28 16:56:19 2000 -+++ gcconfig.h +--- gcconfig.h.orig Tue Aug 29 05:56:19 2000 ++++ gcconfig.h Sun Feb 25 22:32:35 2001 @@ -27,6 +27,13 @@ # define LINUX # endif @@ -32,7 +32,18 @@ $NetBSD: patch-ad,v 1.5 2000/12/06 08:12:38 jlam Exp $ # define ARM32 # define NETBSD # define mach_type_known -@@ -81,6 +91,9 @@ +@@ -67,6 +77,10 @@ + # endif + # define mach_type_known + # endif ++# if defined(__NetBSD__) && defined(__vax__) ++# define VAX ++# define mach_type_known ++# endif + # if defined(mips) || defined(__mips) + # define MIPS + # if !defined(LINUX) +@@ -81,6 +95,9 @@ # endif # endif # endif /* !LINUX */ @@ -42,7 +53,7 @@ $NetBSD: patch-ad,v 1.5 2000/12/06 08:12:38 jlam Exp $ # define mach_type_known # endif # if defined(sequent) && defined(i386) -@@ -114,7 +127,7 @@ +@@ -114,7 +131,7 @@ # define mach_type_known # endif # if defined(sparc) && defined(unix) && !defined(sun) && !defined(linux) \ @@ -51,7 +62,7 @@ $NetBSD: patch-ad,v 1.5 2000/12/06 08:12:38 jlam Exp $ # define SPARC # define DRSNX # define mach_type_known -@@ -123,6 +136,10 @@ +@@ -123,6 +140,10 @@ # define RS6000 # define mach_type_known # endif @@ -62,7 +73,7 @@ $NetBSD: patch-ad,v 1.5 2000/12/06 08:12:38 jlam Exp $ # if defined(_M_XENIX) && defined(_M_SYSV) && defined(_M_I386) /* The above test may need refinement */ # define I386 -@@ -172,7 +189,7 @@ +@@ -172,7 +193,7 @@ # endif # if defined(__alpha) || defined(__alpha__) # define ALPHA @@ -71,7 +82,7 @@ $NetBSD: patch-ad,v 1.5 2000/12/06 08:12:38 jlam Exp $ # define OSF1 /* a.k.a Digital Unix */ # endif # define mach_type_known -@@ -221,7 +238,6 @@ +@@ -221,7 +242,6 @@ # endif # if defined(__NetBSD__) && defined(i386) # define I386 @@ -79,7 +90,7 @@ $NetBSD: patch-ad,v 1.5 2000/12/06 08:12:38 jlam Exp $ # define mach_type_known # endif # if defined(bsdi) && defined(i386) -@@ -573,6 +589,14 @@ +@@ -573,6 +593,14 @@ # define STACKBOTTOM ((ptr_t) 0xc0000000) # define DATAEND /* not needed */ # endif @@ -94,7 +105,18 @@ $NetBSD: patch-ad,v 1.5 2000/12/06 08:12:38 jlam Exp $ # endif # ifdef VAX -@@ -602,7 +626,6 @@ +@@ -589,6 +617,10 @@ + # define OS_TYPE "ULTRIX" + # define STACKBOTTOM ((ptr_t) 0x7fffc800) + # endif ++# ifdef NETBSD ++# define OS_TYPE "NETBSD" ++# define HEURISTIC2 ++# endif + # endif + + # ifdef RT +@@ -602,7 +634,6 @@ # define MACH_TYPE "SPARC" # define ALIGNMENT 4 /* Required by hardware */ # define ALIGN_DOUBLE @@ -102,7 +124,7 @@ $NetBSD: patch-ad,v 1.5 2000/12/06 08:12:38 jlam Exp $ # ifdef SUNOS5 # define OS_TYPE "SUNOS5" extern int _etext; -@@ -674,8 +697,20 @@ +@@ -674,8 +705,20 @@ # ifdef OPENBSD # define OS_TYPE "OPENBSD" # define STACKBOTTOM ((ptr_t) 0xf8000000) @@ -123,7 +145,7 @@ $NetBSD: patch-ad,v 1.5 2000/12/06 08:12:38 jlam Exp $ # endif # ifdef I386 -@@ -960,6 +995,21 @@ +@@ -960,6 +1003,21 @@ # endif # define DYNAMIC_LOADING # endif @@ -145,7 +167,7 @@ $NetBSD: patch-ad,v 1.5 2000/12/06 08:12:38 jlam Exp $ # endif # ifdef RS6000 -@@ -1019,6 +1069,16 @@ +@@ -1019,6 +1077,16 @@ /* fp registers in some cases when the target is a 21264. The assembly */ /* code doesn't handle that yet, and version dependencies make that a */ /* bit tricky. Do the easy thing for now. */ |