diff options
author | nobutaka <nobutaka@FreeBSD.org> | 2005-06-30 00:29:45 +0800 |
---|---|---|
committer | nobutaka <nobutaka@FreeBSD.org> | 2005-06-30 00:29:45 +0800 |
commit | b679466ab960537a39c5532a1ed097e808e866d0 (patch) | |
tree | a4b9e2b9c700a08ae29104cd643ac8b6ab2c51f0 /devel/boehm-gc/files | |
parent | 171812c17e255eba8c9d2526e55c51fb30079e50 (diff) | |
download | freebsd-ports-gnome-b679466ab960537a39c5532a1ed097e808e866d0.tar.gz freebsd-ports-gnome-b679466ab960537a39c5532a1ed097e808e866d0.tar.zst freebsd-ports-gnome-b679466ab960537a39c5532a1ed097e808e866d0.zip |
Add arm support.
Submitted by: cognet
Diffstat (limited to 'devel/boehm-gc/files')
-rw-r--r-- | devel/boehm-gc/files/patch-include-private-gcconfig.h | 41 |
1 files changed, 36 insertions, 5 deletions
diff --git a/devel/boehm-gc/files/patch-include-private-gcconfig.h b/devel/boehm-gc/files/patch-include-private-gcconfig.h index 79ff64927b76..ee148f18d693 100644 --- a/devel/boehm-gc/files/patch-include-private-gcconfig.h +++ b/devel/boehm-gc/files/patch-include-private-gcconfig.h @@ -1,6 +1,15 @@ ---- include/private/gcconfig.h.orig Sat Dec 18 09:20:16 2004 -+++ include/private/gcconfig.h Sun Mar 20 01:37:33 2005 -@@ -328,10 +328,18 @@ +--- include/private/gcconfig.h.orig Sat May 21 05:48:29 2005 ++++ include/private/gcconfig.h Thu Jun 30 01:10:10 2005 +@@ -62,7 +62,7 @@ + /* Determine the machine type: */ + # if defined(__arm__) || defined(__thumb__) + # define ARM32 +-# if !defined(LINUX) && !defined(NETBSD) ++# if !defined(LINUX) && !defined(NETBSD) && !defined(FREEBSD) + # define NOSYS + # define mach_type_known + # endif +@@ -330,10 +330,22 @@ # define X86_64 # define mach_type_known # endif @@ -17,10 +26,14 @@ +# define POWERPC +# define mach_type_known +# endif ++# if defined(FREEBSD) && defined(__arm__) ++# define ARM32 ++# define mach_type_known ++# endif # if defined(bsdi) && (defined(i386) || defined(__i386__)) # define I386 # define BSDI -@@ -811,6 +819,16 @@ +@@ -822,6 +834,16 @@ # define DATASTART GC_data_start # define DYNAMIC_LOADING # endif @@ -37,7 +50,25 @@ # ifdef NOSYS # define ALIGNMENT 4 # define OS_TYPE "NOSYS" -@@ -1939,6 +1957,15 @@ +@@ -1782,6 +1804,17 @@ + # endif + # define USE_GENERIC_PUSH_REGS + # endif ++# ifdef FREEBSD ++# define ALIGNMENT 4 ++# define OS_TYPE "FREEBSD" ++# ifdef __ELF__ ++# define DYNAMIC_LOADING ++# endif ++# define HEURISTIC2 ++ extern char etext[]; ++# define SEARCH_FOR_DATA_START ++# endif ++ + # ifdef LINUX + # define OS_TYPE "LINUX" + # define HEURISTIC1 +@@ -1932,6 +1965,15 @@ # ifdef __ELF__ # define DYNAMIC_LOADING # endif |