add stack roots scanning

This commit is contained in:
danyabeerzun 2018-11-21 14:23:35 +03:00
parent 98f9cc0254
commit 16d3f839ce
6 changed files with 1784 additions and 27 deletions

View file

@ -1,6 +1,12 @@
all:
gcc -m32 -c runtime.c
all: gc_runtime.o runtime.o
ar rc runtime.a gc_runtime.o runtime.o
gc_runtime.o: gc_runtime.s
gcc -g -m32 -c gc_runtime.s
runtime.o: runtime.c
gcc -g -m32 -c runtime.c
clean:
rm -f runtime.o *~
rm -f *.a *.o *~