]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[multiple changes]
authorDavid S. Miller <davem@gcc.gnu.org>
Mon, 22 Apr 2002 06:07:41 +0000 (23:07 -0700)
committerDavid S. Miller <davem@gcc.gnu.org>
Mon, 22 Apr 2002 06:07:41 +0000 (23:07 -0700)
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

boehm-gc/ChangeLog
boehm-gc/include/private/gcconfig.h

index 8b3f0f326188bb8f0f25a8314e8910e57781c94e..e24378d612860252d5afb65be4df6ec6804835ed 100644 (file)
@@ -1,3 +1,13 @@
+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.
+
 2002-04-17  Hans Boehm  <Hans_Boehm@hp.com>
 
        * include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
index c4a522d421689d51970f1c867503f29fc75d150d..70eee489d64f69c09e9b3d546abfd3212462ca42 100644 (file)
 #       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"
       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