Commit 39ec21ea authored by Gerd Moellmann's avatar Gerd Moellmann

(main) [GC_MARK_STACK]: Initialize stack_base.

parent a21260d9
...@@ -694,6 +694,9 @@ main (argc, argv, envp) ...@@ -694,6 +694,9 @@ main (argc, argv, envp)
char **argv; char **argv;
char **envp; char **envp;
{ {
#ifdef GC_MARK_STACK
Lisp_Object dummy;
#endif
char stack_bottom_variable; char stack_bottom_variable;
int do_initial_setlocale; int do_initial_setlocale;
int skip_args = 0; int skip_args = 0;
...@@ -704,6 +707,11 @@ main (argc, argv, envp) ...@@ -704,6 +707,11 @@ main (argc, argv, envp)
#endif #endif
int no_loadup = 0; int no_loadup = 0;
#ifdef GC_MARK_STACK
extern Lisp_Object *stack_base;
stack_base = &dummy;
#endif
#ifdef LINUX_SBRK_BUG #ifdef LINUX_SBRK_BUG
__sbrk (1); __sbrk (1);
#endif #endif
......
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