Commit 7056b82e by Roman Zippel Committed by Tom Tromey

gcconfig.h: use LINUX_STACKBOTTOM so it works with Linux 2.6, reactivate MPROTECT_VDB

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
parent 7f1c6e93
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> 2007-01-24 Andreas Tobler <a.tobler@schweiz.org>
* os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Moved recently * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Moved recently
......
...@@ -672,10 +672,10 @@ ...@@ -672,10 +672,10 @@
# endif # endif
# ifdef LINUX # ifdef LINUX
# define OS_TYPE "LINUX" # define OS_TYPE "LINUX"
# define STACKBOTTOM ((ptr_t)0xf0000000) # define LINUX_STACKBOTTOM
# define USE_GENERIC_PUSH_REGS # define USE_GENERIC_PUSH_REGS
/* We never got around to the assembly version. */ /* We never got around to the assembly version. */
/* # define MPROTECT_VDB - Reported to not work 9/17/01 */ # define MPROTECT_VDB
# ifdef __ELF__ # ifdef __ELF__
# define DYNAMIC_LOADING # define DYNAMIC_LOADING
# include <features.h> # include <features.h>
......
...@@ -124,7 +124,7 @@ sem_t GC_suspend_ack_sem; ...@@ -124,7 +124,7 @@ sem_t GC_suspend_ack_sem;
void GC_suspend_handler_inner(ptr_t sig_arg); 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(); extern void GC_with_callee_saves_pushed();
void GC_suspend_handler(int sig) void GC_suspend_handler(int sig)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment