Use thr_stksegment to determine Solaris stack base
commit9618cef10cf5822dc3f72363d27f94606942939f
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Mar 2013 15:08:58 +0000 (6 15:08 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Mar 2013 15:08:58 +0000 (6 15:08 +0000)
treeb2c8d5ade6c2bace942e02d93986a6fe0c08df2e
parent59fd55c6a94bc9206f412fe2fcaf31143d1510bf
Use thr_stksegment to determine Solaris stack base

* os_dep.c [SOLARIS_STACKBOTTOM] (GC_solaris_stack_base): New
function.
[!BEOS && !AMIGA && !MSWIN32 && !MSWINCE && !OS2 && !NOSYS &&
!ECOS] (GC_get_stack_base): Use it.
* include/private/gcconfig.h [SPARC && SUNOS5]
(SOLARIS_STACKBOTTOM): Define.
(STACKBOTTOM, HEURISTIC2): Remove.
[I386 && SUNOS5]
(SOLARIS_STACKBOTTOM): Define.
(STACKBOTTOM): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196490 138bc75d-0d04-0410-961f-82ee72b054a4
boehm-gc/ChangeLog
boehm-gc/include/private/gcconfig.h
boehm-gc/os_dep.c