- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for LinkMode (0.08 sec)
-
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) -
src/cmd/go/internal/load/pkg.go
} return "default PIE binary" } // Using -ldflags=-linkmode=external forces external linking. // If there are multiple -linkmode options, the last one wins. if p != nil { ldflags := BuildLdflags.For(p) for i := len(ldflags) - 1; i >= 0; i-- { a := ldflags[i] if a == "-linkmode=external" || a == "-linkmode" && i+1 < len(ldflags) && ldflags[i+1] == "external" { return a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
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) -
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)