mirror of https://github.com/golang/go.git
runtime needs runtime.c
6l needs to know that there is no rt_amd64.6 SVN=124766
This commit is contained in:
parent
41abdad5ec
commit
9ff0e6288e
|
|
@ -363,10 +363,6 @@ main(int argc, char *argv[])
|
||||||
objfile(*argv++);
|
objfile(*argv++);
|
||||||
|
|
||||||
if(!debug['l']) {
|
if(!debug['l']) {
|
||||||
loadlib();
|
|
||||||
a = mal(strlen(goroot)+strlen(goarch)+20);
|
|
||||||
sprint(a, "%s/lib/rt_%s.6", goroot, goarch);
|
|
||||||
objfile(a);
|
|
||||||
a = mal(strlen(goroot)+strlen(goarch)+strlen(goos)+20);
|
a = mal(strlen(goroot)+strlen(goarch)+strlen(goos)+20);
|
||||||
sprint(a, "%s/lib/lib_%s_%s.a", goroot, goarch, goos);
|
sprint(a, "%s/lib/lib_%s_%s.a", goroot, goarch, goos);
|
||||||
objfile(a);
|
objfile(a);
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ RT0OFILES=\
|
||||||
LIBOFILES=\
|
LIBOFILES=\
|
||||||
rt1_$(GOARCH)_$(GOOS).$O\
|
rt1_$(GOARCH)_$(GOOS).$O\
|
||||||
rt2_$(GOARCH).$O\
|
rt2_$(GOARCH).$O\
|
||||||
|
runtime.$O\
|
||||||
|
|
||||||
OFILES=$(RT0OFILES) $(LIBOFILES)
|
OFILES=$(RT0OFILES) $(LIBOFILES)
|
||||||
HFILES=
|
HFILES=
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue