From 3d8316a9ac9ad54b3b730b247fe74cad340b58f0 Mon Sep 17 00:00:00 2001 From: thorpej Date: Tue, 24 Sep 2002 17:41:01 +0000 Subject: [PATCH] * 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 --- boehm-gc/ChangeLog | 4 ++++ boehm-gc/include/private/gcconfig.h | 25 ++++++++----------------- 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 + + * include/private/gcconfig.h: Fix NetBSD/mips parameters. + 2002-08-23 Adam Megacz * 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 -- 2.11.4.GIT