diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2003-10-31 11:03:00 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@gcc.gnu.org> | 2003-10-31 11:03:00 +0000 |
commit | 35a59bd56fc1f72d8b62945106215b31edd62145 (patch) | |
tree | d4ffd42f2e34c5870c28f98fea0daf09cd51bf4a | |
parent | 28765aad650d2af684c8c052d99709af7163c710 (diff) | |
download | gcc-35a59bd56fc1f72d8b62945106215b31edd62145.zip gcc-35a59bd56fc1f72d8b62945106215b31edd62145.tar.gz gcc-35a59bd56fc1f72d8b62945106215b31edd62145.tar.bz2 |
* include/private/gcconfig.h: Re-install change of 2003-04-16.
From-SVN: r73134
-rw-r--r-- | boehm-gc/ChangeLog | 4 | ||||
-rw-r--r-- | boehm-gc/include/private/gcconfig.h | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 5f5c2c0..347a310 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,7 @@ +2003-10-31 Richard Earnshaw <rearnsha@arm.com> + + * include/private/gcconfig.h: Re-install change of 2003-04-16. + 2003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * mips_sgi_mach_dep.s: Use _ABIO32 instead of external diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h index fceba8f..65e71479 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 |