diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2000-07-19 09:10:43 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2000-07-19 09:10:43 +0000 |
commit | cd8bbd70a4fca8bea2b08d214699bc52f2c2c1ce (patch) | |
tree | c571535033654e3bce712ab296d640c8d66ff1e0 /devel/boehm-gc/files | |
parent | Fix dependency: x11-fonts/bitmap-font -> x11-fonts/bitmap-fonts. (diff) |
Enough FreeBSD/Alpha support to at least allow this to compile.
Functionality is untested at this time.
Notes
Notes:
svn path=/head/; revision=30839
Diffstat (limited to 'devel/boehm-gc/files')
-rw-r--r-- | devel/boehm-gc/files/patch-ae | 29 | ||||
-rw-r--r-- | devel/boehm-gc/files/patch-af | 22 |
2 files changed, 40 insertions, 11 deletions
diff --git a/devel/boehm-gc/files/patch-ae b/devel/boehm-gc/files/patch-ae index f6122a7d47d3..d165971b0235 100644 --- a/devel/boehm-gc/files/patch-ae +++ b/devel/boehm-gc/files/patch-ae @@ -1,5 +1,5 @@ --- gcconfig.h.orig Tue Oct 26 15:40:54 1999 -+++ gcconfig.h Tue Jul 18 21:08:17 2000 ++++ gcconfig.h Wed Jul 19 02:07:50 2000 @@ -22,10 +22,23 @@ /* Machine specific parts contributed by various people. See README file. */ @@ -95,16 +95,16 @@ # define mach_type_known # endif -# if defined(__OpenBSD__) && defined(i386) +-# define I386 +-# define OPENBSD +-# define mach_type_known +-# endif +-# if defined(__FreeBSD__) && defined(i386) +# if (defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(bsdi)) && (defined(i386) || defined(__i386__)) # define I386 --# define OPENBSD +-# define FREEBSD # define mach_type_known # endif --# if defined(__FreeBSD__) && defined(i386) --# define I386 --# define FREEBSD --# define mach_type_known --# endif -# if defined(__NetBSD__) && defined(i386) -# define I386 -# define NETBSD @@ -127,7 +127,7 @@ /* M88K ==> Motorola 88XX0 */ /* (CX_UX and DGUX) */ /* S370 ==> 370-like machine */ -@@ -965,6 +957,24 @@ +@@ -965,6 +957,31 @@ # define CPP_WORDSZ 64 # define MPROTECT_VDB # define DYNAMIC_LOADING @@ -136,19 +136,26 @@ +# define OS_TYPE "FREEBSD" +# define CPP_WORDSZ 64 +# define HEURISTIC2 -+# define DATASTART ((ptr_t)(&etext)) ++# define STACKBOTTOM ((ptr_t) 0x120000000) ++/* # define DATASTART ((ptr_t) 0x140000000) */ ++# define DATASTART GC_data_start ++/* # define DYNAMIC_LOADING */ ++ extern int _end; ++# define DATAEND (&_end) +# endif +# if defined(NETBSD) +# define OS_TYPE "NETBSD" +# define CPP_WORDSZ 64 +# define HEURISTIC2 -+# define DATASTART ((ptr_t)(&etext)) ++ extern int _end; ++# define DATAEND (&_end) +# endif +# if defined(OPENBSD) +# define OS_TYPE "OPENBSD" +# define CPP_WORDSZ 64 +# define HEURISTIC2 -+# define DATASTART ((ptr_t)(&etext)) ++ extern int _end; ++# define DATAEND (&_end) # endif # ifdef LINUX # define OS_TYPE "LINUX" diff --git a/devel/boehm-gc/files/patch-af b/devel/boehm-gc/files/patch-af new file mode 100644 index 000000000000..a1fcefa3f7f1 --- /dev/null +++ b/devel/boehm-gc/files/patch-af @@ -0,0 +1,22 @@ +--- os_dep.c.orig Wed Jul 19 01:59:57 2000 ++++ os_dep.c Wed Jul 19 02:06:27 2000 +@@ -81,2 +81,7 @@ + ++# if defined(FREEBSD) && \ ++ (defined(POWERPC) || defined(SPARC) || defined(ALPHA) || defined(IA64)) ++# define NEED_FIND_LIMIT ++# endif ++ + #ifdef NEED_FIND_LIMIT +@@ -85,3 +90,3 @@ + +-#ifdef FREEBSD ++#if defined(FREEBSD) && defined(I386) + # include <machine/trap.h> +@@ -144,4 +149,4 @@ + +-#if defined(LINUX) && (defined(POWERPC) || defined(SPARC) || defined(ALPHA) \ +- || defined(IA64)) ++#if (defined(FREEBSD) || defined(LINUX)) \ ++ && (defined(POWERPC) || defined(SPARC) || defined(ALPHA) || defined(IA64)) + /* The I386 case can be handled without a search. The Alpha case */ |