summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-24 17:41:01 +0000
committerthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-24 17:41:01 +0000
commit3d8316a9ac9ad54b3b730b247fe74cad340b58f0 (patch)
tree58b1f99a576f274f34c009de2d38f283a2799e96
parent4d0f24bc02aeb19502281f1195c92ece1a39f6cd (diff)
downloadgcc-3d8316a9ac9ad54b3b730b247fe74cad340b58f0.tar.gz
* include/private/gcconfig.h: Fix NetBSD/mips parameters.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57479 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--boehm-gc/ChangeLog4
-rw-r--r--boehm-gc/include/private/gcconfig.h25
2 files changed, 12 insertions, 17 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index 785273b484d..76a5dc35448 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -1,3 +1,7 @@
+2002-09-24 Jason Thorpe <thorpej@wasabisystems.com>
+
+ * include/private/gcconfig.h: Fix NetBSD/mips parameters.
+
2002-08-23 Adam Megacz <adam@xwt.org>
* Removed extraneous ABORT()
diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h
index 8fd20411f66..0f618fecf22 100644
--- a/boehm-gc/include/private/gcconfig.h
+++ b/boehm-gc/include/private/gcconfig.h
@@ -95,8 +95,8 @@
# if defined(nec_ews) || defined(_nec_ews)
# define EWS4800
# endif
-# if !defined(LINUX) && !defined(EWS4800)
-# if defined(ultrix) || defined(__ultrix) || defined(__NetBSD__)
+# if !defined(LINUX) && !defined(EWS4800) && !defined(NETBSD)
+# if defined(ultrix) || defined(__ultrix)
# define ULTRIX
# else
# if defined(_SYSTYPE_SVR4) || defined(SYSTYPE_SVR4) \
@@ -107,9 +107,6 @@
# endif
# endif
# endif /* !LINUX */
-# if defined(__NetBSD__) && defined(__MIPSEL__)
-# undef ULTRIX
-# endif
# define mach_type_known
# endif
# if defined(sequent) && (defined(i386) || defined(__i386__))
@@ -1226,21 +1223,15 @@
# define DATAEND /* not needed */
# endif
# if defined(NETBSD)
- /* This also checked for __MIPSEL__ . Why? NETBSD recognition */
- /* should be handled at the top of the file. */
-# define ALIGNMENT 4
# define OS_TYPE "NETBSD"
+# define ALIGNMENT 4
# define HEURISTIC2
# define USE_GENERIC_PUSH_REGS
-# ifdef __ELF__
- extern int etext[];
-# define DATASTART GC_data_start
-# define NEED_FIND_LIMIT
-# define DYNAMIC_LOADING
-# else
-# define DATASTART ((ptr_t) 0x10000000)
-# define STACKBOTTOM ((ptr_t) 0x7ffff000)
-# endif /* _ELF_ */
+ extern int _fdata[];
+# define DATASTART ((ptr_t)(_fdata))
+ extern int _end[];
+# define DATAEND ((ptr_t)(_end))
+# define DYNAMIC_LOADING
# endif
# endif