diff options
author | minoura <minoura> | 1999-12-28 14:07:43 +0000 |
---|---|---|
committer | minoura <minoura> | 1999-12-28 14:07:43 +0000 |
commit | afe762ac3afa70567f26f5e9ff2b29ac79747a53 (patch) | |
tree | 438b696fa11d75c97678e01aa4a819a4bc68f6cf /devel/boehm-gc | |
parent | 470fecd15dbab5cc90e02d8284bb4eeb522c0344 (diff) | |
download | pkgsrc-afe762ac3afa70567f26f5e9ff2b29ac79747a53.tar.gz |
Make this compile (again) on sparc/a.out.
Thanks to Toshihiro Kobayashi <koba@lsig.nel.co.jp>.
Diffstat (limited to 'devel/boehm-gc')
-rw-r--r-- | devel/boehm-gc/patches/patch-ac | 18 |
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 |