- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for LinkMode (3.93 sec)
-
src/cmd/dist/test.go
// cgoTest we want static linking. gt.buildmode = "" if linkmode == "external" { ldflags = append(ldflags, `-extldflags "-static -pthread"`) } else if linkmode == "auto" { gt.env = append(gt.env, "CGO_LDFLAGS=-static -pthread") } else { panic("unknown linkmode with static build: " + linkmode) } gt.tags = append(gt.tags, "static") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
elfshbits(ctxt.LinkMode, sect) } for _, sect := range Segrodata.Sections { elfshbits(ctxt.LinkMode, sect) } for _, sect := range Segrelrodata.Sections { elfshbits(ctxt.LinkMode, sect) } for _, sect := range Segdata.Sections { elfshbits(ctxt.LinkMode, sect) } for _, sect := range Segdwarf.Sections { elfshbits(ctxt.LinkMode, sect) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/xcoff.go
Xoffset: uint32(f.stringTable.add(name)), Xftype: XFT_FN, Xauxtype: _AUX_FILE, } f.addSymbol(auxf) /* Dwarf */ for _, sect := range Segdwarf.Sections { var dwsize uint64 if ctxt.LinkMode == LinkInternal { // Find the size of this corresponding package DWARF compilation unit. // This size is set during DWARF generation (see dwarf.go). dwsize = getDwsectCUSize(sect.Name, name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 19:58:23 UTC 2023 - 51.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
// 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. // The startup code uses an import of runtime/cgo to decide // whether to initialize the TLS. So give it one. This could
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K 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/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)