aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@gcc.gnu.org>2002-04-21 23:07:41 -0700
committerDavid S. Miller <davem@gcc.gnu.org>2002-04-21 23:07:41 -0700
commita61df6c72756af151f6abc348936bd1389f100b5 (patch)
treea4dc9ac198d716718dd70d7b3ce459ca5b9446cb /boehm-gc/include
parent77e2c290bab141e7fd02523d4b7ed011af6ff7ee (diff)
downloadgcc-a61df6c72756af151f6abc348936bd1389f100b5.zip
gcc-a61df6c72756af151f6abc348936bd1389f100b5.tar.gz
gcc-a61df6c72756af151f6abc348936bd1389f100b5.tar.bz2
[multiple changes]
2002-04-22 David S. Miller <davem@redhat.com> * include/private/gcconfig.h: Hard-code STACKBOTTOM on 64-bit SPARC Linux, the __libc_stack_end technique does not work in this case. 2002-04-22 Jeff Sturm <jsturm@one-point.com> * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs. From-SVN: r52601
Diffstat (limited to 'boehm-gc/include')
-rw-r--r--boehm-gc/include/private/gcconfig.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h
index c4a522d..70eee48 100644
--- a/boehm-gc/include/private/gcconfig.h
+++ b/boehm-gc/include/private/gcconfig.h
@@ -777,9 +777,7 @@
# define GETPAGESIZE() sysconf(_SC_PAGESIZE)
/* getpagesize() appeared to be missing from at least one */
/* Solaris 5.4 installation. Weird. */
-# if CPP_WORDSZ == 32
-# define DYNAMIC_LOADING
-# endif
+# define DYNAMIC_LOADING
# endif
# ifdef SUNOS4
# define OS_TYPE "SUNOS4"
@@ -820,10 +818,12 @@
extern int _etext[];
# define DATAEND (_end)
# define SVR4
-# define LINUX_STACKBOTTOM
# ifdef __arch64__
+ /* libc_stack_end is not set reliably for sparc64 */
+# define STACKBOTTOM ((ptr_t) 0x80000000000)
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x100000, _etext)
# else
+# define LINUX_STACKBOTTOM
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, _etext)
# endif
# endif