summaryrefslogtreecommitdiff
path: root/devel/boehm-gc/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'devel/boehm-gc/patches/patch-ad')
-rw-r--r--devel/boehm-gc/patches/patch-ad23
1 files changed, 11 insertions, 12 deletions
diff --git a/devel/boehm-gc/patches/patch-ad b/devel/boehm-gc/patches/patch-ad
index d0e812301d1..7f1a0ecca1a 100644
--- a/devel/boehm-gc/patches/patch-ad
+++ b/devel/boehm-gc/patches/patch-ad
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.13 2003/02/17 12:32:05 kei Exp $
+$NetBSD: patch-ad,v 1.14 2003/05/22 16:46:50 jmmv Exp $
---- include/private/gcconfig.h.orig Wed Aug 7 03:49:22 2002
-+++ include/private/gcconfig.h Sun Feb 16 06:16:01 2003
-@@ -77,7 +77,7 @@
+--- include/private/gcconfig.h.orig 2003-04-30 01:44:13.000000000 +0200
++++ include/private/gcconfig.h 2003-05-14 00:28:46.000000000 +0200
+@@ -83,7 +83,7 @@
# define SPARC
# define mach_type_known
# endif
@@ -11,7 +11,7 @@ $NetBSD: patch-ad,v 1.13 2003/02/17 12:32:05 kei Exp $
# define M68K
# define mach_type_known
# endif
-@@ -85,7 +85,7 @@
+@@ -91,7 +91,7 @@
# define POWERPC
# define mach_type_known
# endif
@@ -20,7 +20,7 @@ $NetBSD: patch-ad,v 1.13 2003/02/17 12:32:05 kei Exp $
# define ARM32
# define mach_type_known
# endif
-@@ -98,6 +98,10 @@
+@@ -104,6 +104,10 @@
# endif
# define mach_type_known
# endif
@@ -31,19 +31,18 @@ $NetBSD: patch-ad,v 1.13 2003/02/17 12:32:05 kei Exp $
# if defined(mips) || defined(__mips) || defined(_mips)
# define MIPS
# if defined(nec_ews) || defined(_nec_ews)
-@@ -589,8 +593,13 @@
+@@ -596,9 +600,14 @@
# ifdef NETBSD
# define OS_TYPE "NETBSD"
# define HEURISTIC2
-- extern char etext[];
--# define DATASTART ((ptr_t)(etext))
+# ifdef __ELF__
+# define DATASTART GC_data_start
+# define DYNAMIC_LOADING
+# else
-+ extern char etext[];
-+# define DATASTART ((ptr_t)(etext))
-+# endif
+ extern char etext[];
+ # define DATASTART ((ptr_t)(etext))
# endif
++# endif
# ifdef LINUX
# define OS_TYPE "LINUX"
+ # define STACKBOTTOM ((ptr_t)0xf0000000)