summaryrefslogtreecommitdiff
path: root/boehm-gc
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@wasabisystems.com>2002-09-24 17:41:01 +0000
committerJason Thorpe <thorpej@gcc.gnu.org>2002-09-24 17:41:01 +0000
commit179a9cafbeb2e6c0e3ca5dee0bbd8454a58db794 (patch)
tree58b1f99a576f274f34c009de2d38f283a2799e96 /boehm-gc
parent58e60158aca23e84a1d598d9dec94b1a4411aeae (diff)
downloadgcc-179a9cafbeb2e6c0e3ca5dee0bbd8454a58db794.tar.gz
* include/private/gcconfig.h: Fix NetBSD/mips parameters.
From-SVN: r57479
Diffstat (limited to 'boehm-gc')
-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