diff options
| author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2004-11-08 16:33:05 +0000 |
|---|---|---|
| committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2004-11-08 16:33:05 +0000 |
| commit | a4a7111fd8a1d293a27136ce6ecb309f4218f47a (patch) | |
| tree | e15cc4c914c7eb1d20484c69a2e7db0c71ba5bb5 /devel/boehm-gc/files/patch-include-private-gcconfig.h | |
| parent | update to 1.0.0.b.2 (diff) | |
- Update to 6.3.
- Get to work on sparc. [1]
- Fix warnings from gc_cpp.h. [2]
Submitted by: Hannes Mehnert <hannes@mehnert.org> [1], des [2]
Diffstat (limited to '')
| -rw-r--r-- | devel/boehm-gc/files/patch-include-private-gcconfig.h | 67 |
1 files changed, 53 insertions, 14 deletions
diff --git a/devel/boehm-gc/files/patch-include-private-gcconfig.h b/devel/boehm-gc/files/patch-include-private-gcconfig.h index 4614764af153..488a6b821632 100644 --- a/devel/boehm-gc/files/patch-include-private-gcconfig.h +++ b/devel/boehm-gc/files/patch-include-private-gcconfig.h @@ -1,27 +1,66 @@ ---- include/private/gcconfig.h.orig Tue Jun 17 04:01:23 2003 -+++ include/private/gcconfig.h Wed May 5 14:35:44 2004 -@@ -306,6 +306,10 @@ - # define I386 +--- include/private/gcconfig.h.orig Thu May 6 08:10:54 2004 ++++ include/private/gcconfig.h Sun Oct 31 02:55:05 2004 +@@ -170,7 +170,7 @@ # define mach_type_known # endif + # if defined(sparc) && defined(unix) && !defined(sun) && !defined(linux) \ +- && !defined(__OpenBSD__) && !(__NetBSD__) ++ && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) + # define SPARC + # define DRSNX + # define mach_type_known +@@ -314,6 +314,14 @@ + # define X86_64 + # define mach_type_known + # endif +# if defined(__FreeBSD__) && defined(__amd64__) +# define X86_64 +# define mach_type_known -+# endif ++#endif ++# if defined(__FreeBSD__) && defined(__sparc__) ++# define SPARC ++# define mach_type_known ++#endif # if defined(bsdi) && (defined(i386) || defined(__i386__)) # define I386 # define BSDI -@@ -1793,6 +1797,13 @@ - __asm__ __volatile__ (" prefetch %0": : "m"(*(char *)(x))) - # define PREFETCH_FOR_WRITE(x) \ - __asm__ __volatile__ (" prefetchw %0": : "m"(*(char *)(x))) -+# endif +@@ -938,6 +946,23 @@ + # define DATASTART ((ptr_t)(etext)) + # endif + # endif +# ifdef FREEBSD +# define OS_TYPE "FREEBSD" -+# define DYNAMIC_LOADING -+# define HEURISTIC2 ++# define SIG_SUSPEND SIGUSR1 ++# define SIG_THR_RESTART SIGUSR2 ++# define FREEBSD_STACKBOTTOM ++# ifdef __ELF__ ++# define DYNAMIC_LOADING ++# endif + extern char etext[]; -+# define SEARCH_FOR_DATA_START - # endif ++ extern char edata[]; ++ extern char end[]; ++# define NEED_FIND_LIMIT ++# define DATASTART ((ptr_t)(&etext)) ++# define DATAEND (GC_find_limit (DATASTART, TRUE)) ++# define DATASTART2 ((ptr_t)(&edata)) ++# define DATAEND2 ((ptr_t)(&end)) ++# endif # endif + # ifdef I386 +@@ -1860,6 +1885,15 @@ + # endif + # ifdef NETBSD + # define OS_TYPE "NETBSD" ++# ifdef __ELF__ ++# define DYNAMIC_LOADING ++# endif ++# define HEURISTIC2 ++ extern char etext[]; ++# define SEARCH_FOR_DATA_START ++# endif ++# ifdef FREEBSD ++# define OS_TYPE "FREEBSD" + # ifdef __ELF__ + # define DYNAMIC_LOADING + # endif |
