- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SetAttrReachable (0.13 sec)
-
src/cmd/link/internal/loadpe/seh.go
// in the final binary. func processSEH(ldr *loader.Loader, arch *sys.Arch, pdata sym.LoaderSym, xdata sym.LoaderSym) error { switch arch.Family { case sys.AMD64: ldr.SetAttrReachable(pdata, true) if xdata != 0 { ldr.SetAttrReachable(xdata, true) } return processSEHAMD64(ldr, pdata) default: // TODO: support SEH on other architectures. return fmt.Errorf("unsupported architecture for SEH: %v", arch.Family)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 22 16:20:28 UTC 2023 - 3.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/ld.go
// an init function return nil, 0 } ctxt.loader.SetAttrReachable(amd, true) // Create a new init func text symbol. Caller will populate this // sym with arch-specific content. ifs := ctxt.loader.LookupOrCreateSym("go:link.addmoduledata", 0) initfunc := ctxt.loader.MakeSymbolUpdater(ifs) ctxt.loader.SetAttrReachable(ifs, true) ctxt.loader.SetAttrLocal(ifs, true) initfunc.SetType(sym.STEXT)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:48:30 UTC 2023 - 8K bytes - Viewed (0)