OSDN Git Service

* include/private/gcconfig.h: Re-install change of 2003-04-16.
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Oct 2003 11:03:00 +0000 (11:03 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Oct 2003 11:03:00 +0000 (11:03 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73134 138bc75d-0d04-0410-961f-82ee72b054a4

boehm-gc/ChangeLog
boehm-gc/include/private/gcconfig.h

index 5f5c2c0..347a310 100644 (file)
@@ -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
index fceba8f..65e7147 100644 (file)
@@ -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
 #   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