]> git.ipfire.org Git - thirdparty/gcc.git/commit
Use thr_stksegment to determine Solaris stack base
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Wed, 6 Mar 2013 15:08:58 +0000 (15:08 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Wed, 6 Mar 2013 15:08:58 +0000 (15:08 +0000)
commit6632162b03440cc01113262b6700ed6ab3ba11ff
treeb2c8d5ade6c2bace942e02d93986a6fe0c08df2e
parent9ac0b8414cd523ab9c60c72011a8578660506970
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.

From-SVN: r196490
boehm-gc/ChangeLog
boehm-gc/include/private/gcconfig.h
boehm-gc/os_dep.c