gcconfig.h: use LINUX_STACKBOTTOM so it works with Linux 2.6, reactivate MPROTECT_VDB
authorRoman Zippel <zippel@linux-m68k.org>
Mon, 5 Feb 2007 18:18:11 +0000 (18:18 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Mon, 5 Feb 2007 18:18:11 +0000 (18:18 +0000)
2007-02-05  Roman Zippel <zippel@linux-m68k.org>

* boehm-gc/include/private/gcconfig.h: use LINUX_STACKBOTTOM so
it works with Linux 2.6, reactivate MPROTECT_VDB
* boehm-gc/pthread_stop_world.c: save all register
on signal entry

From-SVN: r121606

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

index 9aa97b19f385e9a50c387845ce49d87873587265..18bb67af430509478d9e34da884f217fd08916c7 100644 (file)
@@ -1,3 +1,10 @@
+2007-02-05  Roman Zippel <zippel@linux-m68k.org>
+
+       * boehm-gc/include/private/gcconfig.h: use LINUX_STACKBOTTOM so
+       it works with Linux 2.6, reactivate MPROTECT_VDB
+       * boehm-gc/pthread_stop_world.c: save all register
+       on signal entry
+
 2007-01-24  Andreas Tobler  <a.tobler@schweiz.org>
 
        * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Moved recently
index 3e5af3a7b81398d942588c83397711dae9c88e1d..27a616473211cdd7ae74d8b8203544181fc6e855 100644 (file)
 #   endif
 #   ifdef LINUX
 #       define OS_TYPE "LINUX"
-#       define STACKBOTTOM ((ptr_t)0xf0000000)
+#       define LINUX_STACKBOTTOM
 #       define USE_GENERIC_PUSH_REGS
                /* We never got around to the assembly version. */
-/* #       define MPROTECT_VDB - Reported to not work  9/17/01 */
+#       define MPROTECT_VDB
 #       ifdef __ELF__
 #            define DYNAMIC_LOADING
 #           include <features.h>
index de647769c7c24079457f9f1f890d73df5be6b8e8..211e6b89e06ff476c58ecbd1b61d2fe0a3453a27 100644 (file)
@@ -124,7 +124,7 @@ sem_t GC_suspend_ack_sem;
 
 void GC_suspend_handler_inner(ptr_t sig_arg);
 
-#if defined(IA64) || defined(HP_PA)
+#if defined(IA64) || defined(HP_PA) || defined(M68K)
 extern void GC_with_callee_saves_pushed();
 
 void GC_suspend_handler(int sig)