]> Cypherpunks repositories - gostls13.git/commitdiff
runtime needs runtime.c
authorRob Pike <r@golang.org>
Thu, 26 Jun 2008 04:31:17 +0000 (21:31 -0700)
committerRob Pike <r@golang.org>
Thu, 26 Jun 2008 04:31:17 +0000 (21:31 -0700)
6l needs to know that there is no rt_amd64.6

SVN=124766

src/cmd/6l/obj.c
src/runtime/Makefile

index ac8999d69bd17246cdd807ae14430d5753efdc0c..49fd5956c4c447923a033c5d39e8ca350359985d 100644 (file)
@@ -363,10 +363,6 @@ main(int argc, char *argv[])
                objfile(*argv++);
 
        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);
                sprint(a, "%s/lib/lib_%s_%s.a", goroot, goarch, goos);
                objfile(a);
index 52741c1257df5b7c8782512a22f994c21c7b7543..11e39cc6ce641162fc89a2691f906658eec0f042 100644 (file)
@@ -15,6 +15,7 @@ RT0OFILES=\
 LIBOFILES=\
        rt1_$(GOARCH)_$(GOOS).$O\
        rt2_$(GOARCH).$O\
+       runtime.$O\
 
 OFILES=$(RT0OFILES) $(LIBOFILES)
 HFILES=