diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2001-09-26 13:22:03 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2001-09-26 13:22:03 +0000 |
commit | 9c383523a3f308e683dea3fb80e5774bfb2a040f (patch) | |
tree | 7e32e0f9d21a9ef116c976946744c146a00a2a6d /boehm-gc/include | |
parent | 2e10660228633fdb4b85d72a460a8475d56058ac (diff) | |
download | gcc-9c383523a3f308e683dea3fb80e5774bfb2a040f.zip gcc-9c383523a3f308e683dea3fb80e5774bfb2a040f.tar.gz gcc-9c383523a3f308e683dea3fb80e5774bfb2a040f.tar.bz2 |
solaris_threads.c (MAX_ORIG_STACK_SIZE): Provide special Solaris 2/Intel definition.
* solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
Solaris 2/Intel definition.
* configure.in (i?86-*-solaris2.[89]*): Define
SOLARIS25_PROC_VDB_BUG_FIXED.
* include/private/gcconfig.h [I386 && SUNOS5]: Use it.
* configure: Regenerate.
* include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
(DATAEND): Define using _end.
From-SVN: r45825
Diffstat (limited to 'boehm-gc/include')
-rw-r--r-- | boehm-gc/include/private/gcconfig.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h index e8bac1b..4e20f48 100644 --- a/boehm-gc/include/private/gcconfig.h +++ b/boehm-gc/include/private/gcconfig.h @@ -838,9 +838,10 @@ # endif # ifdef SUNOS5 # define OS_TYPE "SUNOS5" - extern int etext, _start; + extern int _etext, _end; extern char * GC_SysVGetDataStart(); -# define DATASTART GC_SysVGetDataStart(0x1000, &etext) +# define DATASTART GC_SysVGetDataStart(0x1000, &_etext) +# define DATAEND (&_end) /* # define STACKBOTTOM ((ptr_t)(&_start)) worked through 2.7, */ /* but reportedly breaks under 2.8. It appears that the stack */ /* base is a property of the executable, so this should not break */ @@ -849,7 +850,9 @@ # include <sys/vmparam.h> # define STACKBOTTOM USRSTACK /** At least in Solaris 2.5, PROC_VDB gives wrong values for dirty bits. */ -/*# define PROC_VDB*/ +# ifdef SOLARIS25_PROC_VDB_BUG_FIXED +# define PROC_VDB +# endif # define DYNAMIC_LOADING # ifndef USE_MMAP # define USE_MMAP |