- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for addmoduledata (0.1 sec)
-
src/cmd/link/internal/ld/ld.go
n, _ := strconv.ParseInt(s, 0, 64) return n } // PrepareAddmoduledata returns a symbol builder that target-specific // code can use to build up the linker-generated go.link.addmoduledata // function, along with the sym for runtime.addmoduledata itself. If // this function is not needed (for example in cases where we're // linking a module that contains the runtime) the returned builder // will be nil.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:48:30 UTC 2023 - 8K bytes - Viewed (0) -
src/cmd/link/internal/loong64/asm.go
"log" ) func gentext(ctxt *ld.Link, ldr *loader.Loader) { initfunc, addmoduledata := ld.PrepareAddmoduledata(ctxt) if initfunc == nil { return } o := func(op uint32) { initfunc.AddUint32(ctxt.Arch, op) } // Emit the following function: // // local.dso_init: // la.pcrel $a0, local.moduledata // b runtime.addmoduledata // 0000000000000000 <local.dso_init>: // 0: 1a000004 pcalau12i $a0, 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 17:26:07 UTC 2024 - 7.5K bytes - Viewed (0)