- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 51 for LinkMode (0.19 sec)
-
src/cmd/link/internal/ld/symtab.go
// But when we're dynamically linking, we need all those global symbols. if !ctxt.DynlinkingGo() && ctxt.IsExternal() && !ldr.AttrCgoExportStatic(x) && elfshnum != elf.SHN_UNDEF { bind = elf.STB_LOCAL } if ctxt.LinkMode == LinkExternal && elfshnum != elf.SHN_UNDEF { addr -= int64(xosect.Vaddr) } other := int(elf.STV_DEFAULT) if ldr.AttrVisibilityHidden(x) { // TODO(mwhudson): We only set AttrVisibilityHidden in ldelf, i.e. when
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 16:29:40 UTC 2023 - 29.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf.go
fdeLength := uint64(4 + 2*d.arch.PtrSize + len(deltaBuf)) if isdw64 { fdeLength += 4 // 4 bytes added for CIE pointer } d.createUnitLength(fsu, fdeLength) if d.linkctxt.LinkMode == LinkExternal { d.addDwarfAddrRef(fsu, fs) } else { d.addDwarfAddrField(fsu, 0) // CIE offset } addAddrPlus(fsu, d.arch, s, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 72.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf_test.go
mustHaveDWARF(t) // Explicitly test external linking, for dsymutil compatibility on Darwin. if runtime.GOARCH == "ppc64" { t.Skip("-linkmode=external not supported on ppc64") } testRuntimeTypeAttr(t, "-ldflags=-linkmode=external") } func testRuntimeTypeAttr(t *testing.T, flags string) { t.Parallel() const prog = ` package main import "unsafe" type X struct{ _ int } func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 01:38:11 UTC 2024 - 48.6K bytes - Viewed (0) -
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/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) -
src/cmd/cgo/doc.go
cgo-wrapped library like sqlite3 can generate a standalone executable instead of needing to refer to a dynamic library. The specific choice can be overridden using a command line flag: cmd/link -linkmode=internal or cmd/link -linkmode=external. In an external link, cmd/link will create a temporary directory, write any host object files found in package archives to that directory (renamed
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 17:12:16 UTC 2024 - 42.2K bytes - Viewed (0) -
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) -
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/link/internal/ppc64/asm.go
ldr.SetAttrReachable(ts, true) } return ts, firstUse } func gentext(ctxt *ld.Link, ldr *loader.Loader) { if ctxt.DynlinkingGo() { genaddmoduledata(ctxt, ldr) } if ctxt.LinkMode == ld.LinkInternal { genstubs(ctxt, ldr) } } // Create a calling stub. The stubType maps directly to the properties listed in the ELFv2 1.5 // section 4.2.5.3. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 63.7K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/Project.java
for (Node linkNode : getChildren(findFirstChildNamed(getXml(), "linkedResources"), "link")) { Node nameNode = findFirstChildNamed(linkNode, "name"); Node typeNode = findFirstChildNamed(linkNode, "type"); Node locationNode = findFirstChildNamed(linkNode, "location"); Node locationUriNode = findFirstChildNamed(linkNode, "locationURI");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 16.5K bytes - Viewed (0)