mirror of https://github.com/golang/go.git
parent
eea2573032
commit
8a20cfc009
|
|
@ -84,7 +84,7 @@ clean: clean-local
|
||||||
clean-local:
|
clean-local:
|
||||||
rm -f cgo2c */asm.h
|
rm -f cgo2c */asm.h
|
||||||
|
|
||||||
$(GOARCH)/asm.h: mkasmh.sh
|
$(GOARCH)/asm.h: mkasmh.sh runtime.acid
|
||||||
./mkasmh.sh >$@.x
|
./mkasmh.sh >$@.x
|
||||||
mv -f $@.x $@
|
mv -f $@.x $@
|
||||||
|
|
||||||
|
|
@ -110,4 +110,6 @@ cgo2c: cgo2c.c
|
||||||
%.$O: $(GOOS)/$(GOARCH)/%.s $(GOARCH)/asm.h
|
%.$O: $(GOOS)/$(GOARCH)/%.s $(GOARCH)/asm.h
|
||||||
$(AS) $<
|
$(AS) $<
|
||||||
|
|
||||||
|
# for discovering offsets inside structs when debugging
|
||||||
|
runtime.acid: runtime.h proc.c
|
||||||
|
$(CC) -a proc.c >runtime.acid
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue