diff --git a/Makefile b/Makefile index 2bb45fbe..cc909913 100644 --- a/Makefile +++ b/Makefile @@ -80,6 +80,9 @@ include/chibi/install.h: Makefile %.o: %.c $(BASE_INCLUDES) $(CC) -c $(XCPPFLAGS) $(XCFLAGS) $(CLIBFLAGS) -o $@ $< +gc-ulimit.o: gc.c $(BASE_INCLUDES) + $(CC) -c $(XCPPFLAGS) $(XCFLAGS) $(CLIBFLAGS) -DSEXP_USE_LIMITED_MALLOC -o $@ $< + sexp-ulimit.o: sexp.c $(BASE_INCLUDES) $(CC) -c $(XCPPFLAGS) $(XCFLAGS) $(CLIBFLAGS) -DSEXP_USE_LIMITED_MALLOC -o $@ $< @@ -87,7 +90,7 @@ main.o: main.c $(INCLUDES) $(CC) -c $(XCPPFLAGS) $(XCFLAGS) -o $@ $< SEXP_OBJS = gc.o sexp.o bignum.o -SEXP_ULIMIT_OBJS = gc.o sexp-ulimit.o bignum.o +SEXP_ULIMIT_OBJS = gc-ulimit.o sexp-ulimit.o bignum.o EVAL_OBJS = opcodes.o vm.o eval.o simplify.o libchibi-sexp$(SO): $(SEXP_OBJS) diff --git a/tests/memory/test00-read-string.err-res b/tests/memory/test00-read-string.err-res index 5ebc44a8..c52e0fd4 100644 --- a/tests/memory/test00-read-string.err-res +++ b/tests/memory/test00-read-string.err-res @@ -1 +1,5 @@ ERROR: out of memory + called from on line 513 of file ./lib/init-7.scm + called from on line 15 of file tests/memory/test00-read-string.scm + called from on line 1000 of file ./lib/init-7.scm + called from on line 526 of file ./lib/init-7.scm diff --git a/tests/memory/test01-read-symbol.err-res b/tests/memory/test01-read-symbol.err-res index 5ebc44a8..02e0b655 100644 --- a/tests/memory/test01-read-symbol.err-res +++ b/tests/memory/test01-read-symbol.err-res @@ -1 +1,5 @@ ERROR: out of memory + called from on line 513 of file ./lib/init-7.scm + called from on line 11 of file tests/memory/test01-read-symbol.scm + called from on line 1000 of file ./lib/init-7.scm + called from on line 526 of file ./lib/init-7.scm