aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/include
diff options
context:
space:
mode:
authorRoman Zippel <zippel@linux-m68k.org>2007-02-05 18:18:11 +0000
committerTom Tromey <tromey@gcc.gnu.org>2007-02-05 18:18:11 +0000
commit7056b82ec7193b85771c1f4aab60daa6b3617250 (patch)
tree31937235dbdcdda6d123a2af1a47f8ded281e640 /boehm-gc/include
parent7f1c6e93a9fcb03aea38e9cff175e855776f1997 (diff)
downloadgcc-7056b82ec7193b85771c1f4aab60daa6b3617250.zip
gcc-7056b82ec7193b85771c1f4aab60daa6b3617250.tar.gz
gcc-7056b82ec7193b85771c1f4aab60daa6b3617250.tar.bz2
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
Diffstat (limited to 'boehm-gc/include')
-rw-r--r--boehm-gc/include/private/gcconfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h
index 3e5af3a..27a6164 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>