diff --git a/src/lisp/Config.x86_linux b/src/lisp/Config.x86_linux index 457a24a3454237c267e3765093eb84d474815fcb..92c5b8946eaf4e6dd95a34d686caf36c7e42b77b 100644 --- a/src/lisp/Config.x86_linux +++ b/src/lisp/Config.x86_linux @@ -1,7 +1,7 @@ # -*- Mode: makefile -*- include Config.x86_common -CPPFLAGS += -m32 -D__NO_CTYPE -D_GNU_SOURCE +CPPFLAGS += -m32 -D__NO_CTYPE -D_GNU_SOURCE -DRELOCATABLE_STACK_START CFLAGS += -rdynamic -march=pentium4 -mfpmath=sse -mtune=generic UNDEFSYMPATTERN = -Xlinker -u -Xlinker & diff --git a/src/lisp/x86-validate-linux.h b/src/lisp/x86-validate-linux.h index 7c278fbfd060a39062e994e86c8f892c60f9a678..3d9f3cd22f932187c70935d1260bb9ae43efa6ec 100644 --- a/src/lisp/x86-validate-linux.h +++ b/src/lisp/x86-validate-linux.h @@ -45,17 +45,17 @@ #define STATIC_SPACE_START (SpaceStart_TargetStatic) #define STATIC_SPACE_SIZE (0x0ffff000) /* 256MB - 1 page */ -#if 0 +#ifdef RELOCATABLE_STACK_START #define BINDING_STACK_START (0x20000000) #endif #define BINDING_STACK_SIZE (0x07fff000) /* 128MB - 1 page */ -#if 0 +#ifdef RELOCATABLE_STACK_START #define CONTROL_STACK_START 0x38000000 #endif #define CONTROL_STACK_SIZE (0x07fff000 - 8192) -#if 0 +#ifdef RELOCATABLE_STACK_START #define SIGNAL_STACK_START CONTROL_STACK_END #endif #define SIGNAL_STACK_SIZE SIGSTKSZ