summaryrefslogtreecommitdiff
path: root/devel/boehm-gc/patches/patch-ad
diff options
context:
space:
mode:
authorkei <kei@pkgsrc.org>2003-02-17 12:32:04 +0000
committerkei <kei@pkgsrc.org>2003-02-17 12:32:04 +0000
commit9506ea7bd2c1f1afeb7ccc9de69099e1286d796f (patch)
tree8c65b24e25889430061b740dcfbed47d465b05f1 /devel/boehm-gc/patches/patch-ad
parent0ff129a9224b4f9ebb8606f33a7b9c47c3072a42 (diff)
downloadpkgsrc-9506ea7bd2c1f1afeb7ccc9de69099e1286d796f.tar.gz
added m68k ELF support to boehm-gc. stolen from the diff for sparc.
bump PKGREVISION to 2.
Diffstat (limited to 'devel/boehm-gc/patches/patch-ad')
-rw-r--r--devel/boehm-gc/patches/patch-ad20
1 files changed, 18 insertions, 2 deletions
diff --git a/devel/boehm-gc/patches/patch-ad b/devel/boehm-gc/patches/patch-ad
index 134372bc3f8..d0e812301d1 100644
--- a/devel/boehm-gc/patches/patch-ad
+++ b/devel/boehm-gc/patches/patch-ad
@@ -1,7 +1,7 @@
-$NetBSD: patch-ad,v 1.12 2003/02/14 18:50:51 wiz Exp $
+$NetBSD: patch-ad,v 1.13 2003/02/17 12:32:05 kei Exp $
--- include/private/gcconfig.h.orig Wed Aug 7 03:49:22 2002
-+++ include/private/gcconfig.h Mon Feb 10 22:54:58 2003
++++ include/private/gcconfig.h Sun Feb 16 06:16:01 2003
@@ -77,7 +77,7 @@
# define SPARC
# define mach_type_known
@@ -31,3 +31,19 @@ $NetBSD: patch-ad,v 1.12 2003/02/14 18:50:51 wiz Exp $
# if defined(mips) || defined(__mips) || defined(_mips)
# define MIPS
# if defined(nec_ews) || defined(_nec_ews)
+@@ -589,8 +593,13 @@
+ # 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
+ # endif
+ # ifdef LINUX
+ # define OS_TYPE "LINUX"