diff options
author | rearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-31 11:03:00 +0000 |
---|---|---|
committer | rearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-31 11:03:00 +0000 |
commit | 4132ca368594b89894af6981df48d81311c0aac1 (patch) | |
tree | d4ffd42f2e34c5870c28f98fea0daf09cd51bf4a /boehm-gc/include | |
parent | 3a846ac20c1afb1ecbf8691af6f10a1b8f41bded (diff) | |
download | gcc-4132ca368594b89894af6981df48d81311c0aac1.tar.gz |
* include/private/gcconfig.h: Re-install change of 2003-04-16.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73134 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/include')
-rw-r--r-- | boehm-gc/include/private/gcconfig.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h index fceba8fa205..65e71479892 100644 --- a/boehm-gc/include/private/gcconfig.h +++ b/boehm-gc/include/private/gcconfig.h @@ -62,7 +62,7 @@ /* Determine the machine type: */ # if defined(__arm__) || defined(__thumb__) # define ARM32 -# if !defined(LINUX) +# if !defined(LINUX) && !defined(NETBSD) # define NOSYS # define mach_type_known # endif @@ -1688,8 +1688,13 @@ # ifdef NETBSD # define OS_TYPE "NETBSD" # define HEURISTIC2 - extern char etext[]; -# define DATASTART ((ptr_t)(etext)) +# ifdef __ELF__ +# define DATASTART GC_data_start +# define DYNAMIC_LOADING +# else + extern char etext[]; +# define DATASTART ((ptr_t)(etext)) +# endif # define USE_GENERIC_PUSH_REGS # endif # ifdef LINUX |