summaryrefslogtreecommitdiffstats
path: root/boehm-gc
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-05 18:18:11 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-05 18:18:11 +0000
commitf2a1b9b66fccb6489edbf052dce215575872e797 (patch)
tree31937235dbdcdda6d123a2af1a47f8ded281e640 /boehm-gc
parentee77125af500de516e6fbc7636b81d2168321d20 (diff)
downloadppe42-gcc-f2a1b9b66fccb6489edbf052dce215575872e797.tar.gz
ppe42-gcc-f2a1b9b66fccb6489edbf052dce215575872e797.zip
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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121606 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc')
-rw-r--r--boehm-gc/ChangeLog7
-rw-r--r--boehm-gc/include/private/gcconfig.h4
-rw-r--r--boehm-gc/pthread_stop_world.c2
3 files changed, 10 insertions, 3 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index 9aa97b19f38..18bb67af430 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -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
diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h
index 3e5af3a7b81..27a61647321 100644
--- a/boehm-gc/include/private/gcconfig.h
+++ b/boehm-gc/include/private/gcconfig.h
@@ -672,10 +672,10 @@
# 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>
diff --git a/boehm-gc/pthread_stop_world.c b/boehm-gc/pthread_stop_world.c
index de647769c7c..211e6b89e06 100644
--- a/boehm-gc/pthread_stop_world.c
+++ b/boehm-gc/pthread_stop_world.c
@@ -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)
OpenPOWER on IntegriCloud