- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for addmoduledata (0.41 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) -
src/cmd/link/internal/s390x/asm.go
// is in a different module. // // <go.link.addmoduledata>: // larl %r2, <local.moduledata> // jg <runtime.addmoduledata@plt> // undef // // The job of appending the moduledata is delegated to runtime.addmoduledata. func gentext(ctxt *ld.Link, ldr *loader.Loader) { initfunc, addmoduledata := ld.PrepareAddmoduledata(ctxt) if initfunc == nil { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 13.7K bytes - Viewed (0) -
src/cmd/link/internal/x86/asm.go
} ctxt.Textp = append(thunks, ctxt.Textp...) // keep Textp in dependency order initfunc, addmoduledata := ld.PrepareAddmoduledata(ctxt) if initfunc == nil { return } o := func(op ...uint8) { for _, op1 := range op { initfunc.AddUint8(op1) } } // go.link.addmoduledata: // 53 push %ebx
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 13.6K bytes - Viewed (0) -
src/cmd/link/internal/arm/asm.go
// ldr r0, [r0] // b runtime.addmoduledata@plt // .align 2 // .Lmoduledata: // .word local.moduledata(GOT_PREL) + (. - (.Lloadfrom + 4)) // assembles to: // // 00000000 <local.dso_init>: // 0: e59f0004 ldr r0, [pc, #4] ; c <local.dso_init+0xc> // 4: e5900000 ldr r0, [r0] // 8: eafffffe b 0 <runtime.addmoduledata>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 22.9K bytes - Viewed (0) -
src/cmd/internal/obj/plist.go
// an args_stackmap reference if the func is not ABI0 (better to // have no stackmap than an incorrect/lying stackmap). if s.ABI() != ABI0 { continue } // runtime.addmoduledata is a host ABI function, so it doesn't // need FUNCDATA anyway. Moreover, cmd/link has special logic // for linking it in eccentric build modes, which breaks if it
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 11.5K bytes - Viewed (0) -
src/cmd/link/internal/amd64/asm.go
o(0x48, 0x8d, 0x3d) initfunc.AddPCRelPlus(ctxt.Arch, ctxt.Moduledata, 0) // 7: e8 00 00 00 00 callq c <local.dso_init+0xc> // 8: R_X86_64_PLT32 runtime.addmoduledata-0x4 o(0xe8) initfunc.AddSymRef(ctxt.Arch, addmoduledata, 0, objabi.R_CALL, 4) // c: c3 retq o(0xc3) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 21K bytes - Viewed (0) -
src/cmd/link/internal/ppc64/asm.go
initfunc, addmoduledata := ld.PrepareAddmoduledata(ctxt) if initfunc == nil { return } o := func(op uint32) { initfunc.AddUint32(ctxt.Arch, op) } // Write a function to load this module's local.moduledata. This is shared code. // // package link // void addmoduledata() { // runtime.addmoduledata(local.moduledata) // } if !hasPCrel {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 63.7K bytes - Viewed (0) -
src/cmd/link/internal/arm64/asm.go
rel.SetOff(0) rel.SetSiz(8) rel.SetSym(ctxt.Moduledata) // 8: 14000000 b 0 <runtime.addmoduledata> // 8: R_AARCH64_CALL26 runtime.addmoduledata o(0x14000000) rel2, _ := initfunc.AddRel(objabi.R_CALLARM64) rel2.SetOff(8) rel2.SetSiz(4) rel2.SetSym(addmoduledata) } func adddynrel(target *ld.Target, ldr *loader.Loader, syms *ld.ArchSyms, s loader.Sym, r loader.Reloc, rIdx int) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 20:09:45 UTC 2024 - 47K bytes - Viewed (0) -
src/runtime/stubs.go
func gcWriteBarrier6() func gcWriteBarrier7() func gcWriteBarrier8() func duffzero() func duffcopy() // Called from linker-generated .initarray; declared for go vet; do NOT call from Go. func addmoduledata() // Injected by the signal handler for panicking signals. // Initializes any registers that have fixed meaning at calls but // are scratch in bodies and calls sigpanic.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0)