diff options
author | kei <kei> | 2003-02-17 12:32:04 +0000 |
---|---|---|
committer | kei <kei> | 2003-02-17 12:32:04 +0000 |
commit | b7f1bd2c785a002176443f867b8148d365042c4c (patch) | |
tree | 8c65b24e25889430061b740dcfbed47d465b05f1 /devel/boehm-gc/patches | |
parent | 077eba0a1397c3c22cf2541a1f81fd227ac114fa (diff) | |
download | pkgsrc-b7f1bd2c785a002176443f867b8148d365042c4c.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')
-rw-r--r-- | devel/boehm-gc/patches/patch-ad | 20 |
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" |