diff options
author | jlam <jlam> | 2000-07-25 00:46:58 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-07-25 00:46:58 +0000 |
commit | cfc67b81c3bf546482259a41091004c364776e89 (patch) | |
tree | 08cf00bc3441e393fc97eeb13c0f5a9c18d66ec5 /devel/boehm-gc/patches | |
parent | 2480fb22820666734316b9d524630019ae3349bf (diff) | |
download | pkgsrc-cfc67b81c3bf546482259a41091004c364776e89.tar.gz |
Add support for mipsel (hpcmips). Patch taken from PR#10643 by
Hiroyuki Yanai <fk200329@fsinet.or.jp>.
Diffstat (limited to 'devel/boehm-gc/patches')
-rw-r--r-- | devel/boehm-gc/patches/patch-ac | 53 |
1 files changed, 42 insertions, 11 deletions
diff --git a/devel/boehm-gc/patches/patch-ac b/devel/boehm-gc/patches/patch-ac index 9139eb0a654..7b0e28e3c9f 100644 --- a/devel/boehm-gc/patches/patch-ac +++ b/devel/boehm-gc/patches/patch-ac @@ -1,7 +1,7 @@ -$NetBSD: patch-ac,v 1.6 2000/06/20 21:50:20 jlam Exp $ +$NetBSD: patch-ac,v 1.7 2000/07/25 00:46:58 jlam Exp $ ---- gcconfig.h.orig Wed Apr 26 09:41:01 2000 -+++ gcconfig.h Sat May 6 04:39:48 2000 +--- gcconfig.h.orig Tue Apr 25 20:41:01 2000 ++++ gcconfig.h Mon Jul 24 20:42:56 2000 @@ -27,6 +27,11 @@ # define LINUX # endif @@ -26,7 +26,17 @@ $NetBSD: patch-ac,v 1.6 2000/06/20 21:50:20 jlam Exp $ # define mach_type_known # endif # if defined(__NetBSD__) && defined(arm32) -@@ -114,7 +122,7 @@ +@@ -81,6 +89,9 @@ + # endif + # endif + # endif /* !LINUX */ ++# if defined(__NetBSD__) && defined(__MIPSEL__) ++# undef ULTRIX ++# endif + # define mach_type_known + # endif + # if defined(sequent) && defined(i386) +@@ -114,7 +125,7 @@ # define mach_type_known # endif # if defined(sparc) && defined(unix) && !defined(sun) && !defined(linux) \ @@ -35,7 +45,7 @@ $NetBSD: patch-ac,v 1.6 2000/06/20 21:50:20 jlam Exp $ # define SPARC # define DRSNX # define mach_type_known -@@ -123,6 +131,10 @@ +@@ -123,6 +134,10 @@ # define RS6000 # define mach_type_known # endif @@ -46,7 +56,7 @@ $NetBSD: patch-ac,v 1.6 2000/06/20 21:50:20 jlam Exp $ # if defined(_M_XENIX) && defined(_M_SYSV) && defined(_M_I386) /* The above test may need refinement */ # define I386 -@@ -172,7 +184,7 @@ +@@ -172,7 +187,7 @@ # endif # if defined(__alpha) || defined(__alpha__) # define ALPHA @@ -55,7 +65,7 @@ $NetBSD: patch-ac,v 1.6 2000/06/20 21:50:20 jlam Exp $ # define OSF1 /* a.k.a Digital Unix */ # endif # define mach_type_known -@@ -221,7 +233,6 @@ +@@ -221,7 +236,6 @@ # endif # if defined(__NetBSD__) && defined(i386) # define I386 @@ -63,7 +73,7 @@ $NetBSD: patch-ac,v 1.6 2000/06/20 21:50:20 jlam Exp $ # define mach_type_known # endif # if defined(bsdi) && defined(i386) -@@ -573,6 +584,14 @@ +@@ -573,6 +587,14 @@ # define STACKBOTTOM ((ptr_t) 0xc0000000) # define DATAEND /* not needed */ # endif @@ -78,7 +88,7 @@ $NetBSD: patch-ac,v 1.6 2000/06/20 21:50:20 jlam Exp $ # endif # ifdef VAX -@@ -602,7 +621,6 @@ +@@ -602,7 +624,6 @@ # define MACH_TYPE "SPARC" # define ALIGNMENT 4 /* Required by hardware */ # define ALIGN_DOUBLE @@ -86,7 +96,7 @@ $NetBSD: patch-ac,v 1.6 2000/06/20 21:50:20 jlam Exp $ # ifdef SUNOS5 # define OS_TYPE "SUNOS5" extern int _etext; -@@ -674,8 +692,20 @@ +@@ -674,8 +695,20 @@ # ifdef OPENBSD # define OS_TYPE "OPENBSD" # define STACKBOTTOM ((ptr_t) 0xf8000000) @@ -107,7 +117,28 @@ $NetBSD: patch-ac,v 1.6 2000/06/20 21:50:20 jlam Exp $ # endif # ifdef I386 -@@ -1019,6 +1049,16 @@ +@@ -960,6 +993,20 @@ + # endif + # define DYNAMIC_LOADING + # endif ++# if defined(NETBSD) && defined(__MIPSEL__) ++# define ALIGNMENT 4 ++# define OS_TYPE "NETBSD" ++# define HEURISTIC2 ++# ifdef __ELF__ ++ extern int etext; ++# define DATASTART GC_data_start ++# define NEED_FIND_LIMIT ++# define DYNAMIC_LOADING ++# else ++# define DATASTART ((ptr_t) 0x10000000) ++# define STACKBOTTOM ((ptr_t) 0x7ffff000) ++# endif /* _ELF_ */ ++# endif + # endif + + # ifdef RS6000 +@@ -1019,6 +1066,16 @@ /* fp registers in some cases when the target is a 21264. The assembly */ /* code doesn't handle that yet, and version dependencies make that a */ /* bit tricky. Do the easy thing for now. */ |