Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for determineLinkMode (0.19 sec)

  1. src/cmd/dist/test.go

    	}
    	if t.banner == "" {
    		return
    	}
    	fmt.Println("\n" + t.banner + v)
    }
    
    // extLink reports whether the current goos/goarch supports
    // external linking. This should match the test in determineLinkMode
    // in cmd/link/internal/ld/config.go.
    func (t *tester) extLink() bool {
    	if goarch == "ppc64" && goos != "aix" {
    		return false
    	}
    	return true
    }
    
    func (t *tester) internalLink() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/lib.go

    	// internal linker support on some platforms which may not be implemented.
    	ctxt.canUsePlugins = ctxt.LibraryByPkg["plugin"] != nil && iscgo
    
    	// We now have enough information to determine the link mode.
    	determineLinkMode(ctxt)
    
    	if ctxt.LinkMode == LinkExternal && !iscgo && !(buildcfg.GOOS == "darwin" && ctxt.BuildMode != BuildModePlugin && ctxt.Arch.Family == sys.AMD64) {
    		// This indicates a user requested -linkmode=external.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top