diff options
author | David S. Miller <davem@davemloft.net> | 2005-04-17 22:01:21 +0000 |
---|---|---|
committer | David S. Miller <davem@gcc.gnu.org> | 2005-04-17 15:01:21 -0700 |
commit | 22d97adab531fe6896131e27a806b685c9aae8e7 (patch) | |
tree | 6070b7e1958a3b47be4d8b147bcdb1497807a8f2 /boehm-gc/include | |
parent | 03a0866432efadc888d6a65651943b89e2ae6eb0 (diff) | |
download | gcc-22d97adab531fe6896131e27a806b685c9aae8e7.zip gcc-22d97adab531fe6896131e27a806b685c9aae8e7.tar.gz gcc-22d97adab531fe6896131e27a806b685c9aae8e7.tar.bz2 |
gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM.
2005-04-17 David S. Miller <davem@davemloft.net>
* include/private/gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM.
* os_dep.c (GC_linux_stack_base): Check for bug present in some
Sparc glibc variants where __libc_stack_end is erroneously set
to "1". Fallback to procfs code in that case.
From-SVN: r98303
Diffstat (limited to 'boehm-gc/include')
-rw-r--r-- | boehm-gc/include/private/gcconfig.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h index 7f3b63e..a9ed717 100644 --- a/boehm-gc/include/private/gcconfig.h +++ b/boehm-gc/include/private/gcconfig.h @@ -924,12 +924,10 @@ extern ptr_t GC_SysVGetDataStart(); # ifdef __arch64__ # define DATASTART GC_SysVGetDataStart(0x100000, _etext) - /* libc_stack_end is not set reliably for sparc64 */ -# define STACKBOTTOM ((ptr_t) 0x80000000000ULL) # else # define DATASTART GC_SysVGetDataStart(0x10000, _etext) -# define LINUX_STACKBOTTOM # endif +# define LINUX_STACKBOTTOM # endif # ifdef OPENBSD # define OS_TYPE "OPENBSD" |