- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for DynlinkingGo (0.26 sec)
-
src/cmd/link/internal/ld/macho.go
// We've already included this symbol in Textp on darwin if ctxt.DynlinkingGo(). // See data.go:/textaddress // NOTE: runtime.text.N symbols (if we split text sections) are not added, though, // so we handle them here. if !*FlagS { if !ctxt.DynlinkingGo() { s := ldr.Lookup("runtime.text", 0) if ldr.SymType(s) == sym.STEXT { addsym(s) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:32:53 UTC 2024 - 43.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
// are used, 0 otherwise. var abiInternalVer = sym.SymVerABIInternal // DynlinkingGo reports whether we are producing Go code that can live // in separate shared libraries linked together at runtime. func (ctxt *Link) DynlinkingGo() bool { if !ctxt.Loaded { panic("DynlinkingGo called before all symbols loaded") }
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/deadcode.go
d.ifaceMethod = make(map[methodsig]bool) d.genericIfaceMethod = make(map[string]bool) if buildcfg.Experiment.FieldTrack { d.ldr.Reachparent = make([]loader.Sym, d.ldr.NSym()) } d.dynlink = d.ctxt.DynlinkingGo() if d.ctxt.BuildMode == BuildModeShared { // Mark all symbols defined in this library as reachable when // building a shared library. n := d.ldr.NDef() for i := 1; i < n; i++ { s := loader.Sym(i)
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/link/internal/ld/data.go
// aren't real symbols, their alignment might not match the // first symbol alignment. Therefore, there are explicitly put at the // beginning of their section with the same alignment. if !(ctxt.DynlinkingGo() && ctxt.HeadType == objabi.Hdarwin) && !(ctxt.HeadType == objabi.Haix && ctxt.LinkMode == LinkExternal) { return } ldr := ctxt.loader bss := ldr.CreateSymForUpdate("runtime.bss", 0) bss.SetSize(8)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
src/cmd/link/internal/ppc64/asm.go
// the text section (it was unreachable until now), it needs included. 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) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 63.7K bytes - Viewed (0)