Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for LinkMode (0.2 sec)

  1. src/cmd/link/internal/ld/data.go

    		r := relocs.At(ri)
    		if r.IsMarker() {
    			continue // skip marker relocations
    		}
    		rSym := r.Sym()
    		if r.Weak() && !ldr.AttrReachable(rSym) {
    			continue
    		}
    		if ctxt.BuildMode == BuildModePIE && ctxt.LinkMode == LinkInternal {
    			// It's expected that some relocations will be done
    			// later by relocsym (R_TLS_LE, R_ADDROFF), so
    			// don't worry if Adddynrel returns false.
    			thearch.Adddynrel(target, ldr, syms, s, r, ri)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (1)
  2. src/cmd/link/internal/ld/deadcode.go

    	if d.ctxt.linkShared && (d.ctxt.BuildMode == BuildModeExe || d.ctxt.BuildMode == BuildModePIE) {
    		names = append(names, "main.main", "main..inittask")
    	} else {
    		// The external linker refers main symbol directly.
    		if d.ctxt.LinkMode == LinkExternal && (d.ctxt.BuildMode == BuildModeExe || d.ctxt.BuildMode == BuildModePIE) {
    			if d.ctxt.HeadType == objabi.Hwindows && d.ctxt.Arch.Family == sys.I386 {
    				*flagEntrySymbol = "_main"
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. src/cmd/go/internal/help/helpdoc.go

    		of the Go toolchain itself. Use beyond that purpose is unsupported.
    	GO_EXTLINK_ENABLED
    		Whether the linker should use external linking mode
    		when using -linkmode=auto with code that uses cgo.
    		Set to 0 to disable external linking mode, 1 to enable it.
    	GIT_ALLOW_PROTOCOL
    		Defined by Git. A colon-separated list of schemes that are allowed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/exec.go

    	// try to link internally and should revert to external linking.
    	// The token we pass is a suggestion, not a mandate; if a user is
    	// explicitly asking for a specific linkmode via the "-linkmode"
    	// flag, the token will be ignored. NB: in theory we could ditch
    	// the token approach and just pass a flag to the linker when we
    	// eventually invoke it, and the linker flag could then be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  5. src/cmd/go/alldocs.go

    //		of the Go toolchain itself. Use beyond that purpose is unsupported.
    //	GO_EXTLINK_ENABLED
    //		Whether the linker should use external linking mode
    //		when using -linkmode=auto with code that uses cgo.
    //		Set to 0 to disable external linking mode, 1 to enable it.
    //	GIT_ALLOW_PROTOCOL
    //		Defined by Git. A colon-separated list of schemes that are allowed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top