summaryrefslogtreecommitdiff
path: root/devel/boehm-gc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/boehm-gc')
-rw-r--r--devel/boehm-gc/patches/patch-ac18
1 files changed, 11 insertions, 7 deletions
diff --git a/devel/boehm-gc/patches/patch-ac b/devel/boehm-gc/patches/patch-ac
index a785c36b929..fff2208e7c9 100644
--- a/devel/boehm-gc/patches/patch-ac
+++ b/devel/boehm-gc/patches/patch-ac
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.3 1999/11/04 15:21:58 minoura Exp $
+$NetBSD: patch-ac,v 1.4 1999/12/28 14:07:43 minoura Exp $
--- gcconfig.h.orig Wed Sep 15 13:56:31 1999
-+++ gcconfig.h Tue Oct 26 10:58:14 1999
++++ gcconfig.h Mon Dec 27 23:38:55 1999
@@ -27,6 +27,11 @@
# define LINUX
# endif
@@ -86,7 +86,7 @@ $NetBSD: patch-ac,v 1.3 1999/11/04 15:21:58 minoura Exp $
# ifdef SUNOS5
# define OS_TYPE "SUNOS5"
extern int _etext;
-@@ -628,8 +646,16 @@
+@@ -628,8 +646,20 @@
# ifdef OPENBSD
# define OS_TYPE "OPENBSD"
# define STACKBOTTOM ((ptr_t) 0xf8000000)
@@ -96,14 +96,18 @@ $NetBSD: patch-ac,v 1.3 1999/11/04 15:21:58 minoura Exp $
+# ifdef NETBSD
+# define OS_TYPE "NETBSD"
+# define HEURISTIC2
-+/* extern char etext; */
-+# define DATASTART GC_data_start
-+# define DYNAMIC_LOADING
++# ifdef __ELF__
++# define DATASTART GC_data_start
++# define DYNAMIC_LOADING
++# else
++ extern char etext;
++# define DATASTART ((ptr_t)(&etext))
++# endif
+# endif
# endif
# ifdef I386
-@@ -919,6 +945,16 @@
+@@ -919,6 +949,16 @@
# ifdef ALPHA
# define MACH_TYPE "ALPHA"
# define ALIGNMENT 8