xv6

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit ca3d5776711f2580f6a9a9bbea410af1a88dfce2
parent 71d1122a03c16424091fb98dab29709a0478953d
Author: rsc <rsc>
Date:   Wed,  8 Aug 2007 07:43:02 +0000

add rule to generate init.sym

Diffstat:
MMakefile | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -81,6 +81,7 @@ _cat : cat.o $(ULIB) _init : init.o $(ULIB) $(LD) -N -e main -Ttext 0 -o _init init.o $(ULIB) $(OBJDUMP) -S _init > init.asm + $(OBJDUMP) -t _init | awk '/SYMBOL TABLE/ { go=1; next } go {print $$1, $$NF}' >init.sym _sh : sh.o $(ULIB) $(LD) -N -e main -Ttext 0 -o _sh sh.o $(ULIB)