diff options
author | rearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-16 18:28:29 +0000 |
---|---|---|
committer | rearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-16 18:28:29 +0000 |
commit | c3e8c7fefa43e558f470d5beac8400f8c1616480 (patch) | |
tree | 46ac73105784ee4fb726781d31add1c4990869fc /boehm-gc | |
parent | 1636e92028c11f42b108e9e983f4a9a6f6816019 (diff) | |
download | gcc-c3e8c7fefa43e558f470d5beac8400f8c1616480.tar.gz |
* include/private/gcconfig.h: Add support for arm-netbsdelf.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65692 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc')
-rw-r--r-- | boehm-gc/ChangeLog | 4 | ||||
-rw-r--r-- | boehm-gc/include/private/gcconfig.h | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 77b23fc1db4..b2fff36fcb0 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,7 @@ +2003-04-16 Richard Earnshaw <rearnsha@arm.com> + + * include/private/gcconfig.h: Add support for arm-netbsdelf. + 2003-04-09 Tom Tromey <tromey@redhat.com> * include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h index b07d4b9a18e..809887f8219 100644 --- a/boehm-gc/include/private/gcconfig.h +++ b/boehm-gc/include/private/gcconfig.h @@ -46,7 +46,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 @@ -77,7 +77,7 @@ # define POWERPC # define mach_type_known # endif -# if defined(NETBSD) && defined(__arm32__) +# if defined(NETBSD) && defined(__arm__) # define ARM32 # define mach_type_known # endif @@ -1562,8 +1562,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 |