- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 52 for ldr (0.03 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.
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/loong64/asm.go
objabi.R_LOONG64_ADDR_LO: // set up addend for eventual relocation via outer symbol. rs, _ := ld.FoldSubSymbolOffset(ldr, rs) rst := ldr.SymType(rs) if rst != sym.SHOSTOBJ && rst != sym.SDYNIMPORT && ldr.SymSect(rs) == nil { ldr.Errorf(s, "missing section for %s", ldr.SymName(rs)) } return val, 1, true case objabi.R_LOONG64_TLS_LE_HI, objabi.R_LOONG64_TLS_LE_LO, objabi.R_CALLLOONG64,
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/mips64/asm.go
// target to that entry. if r.Add() != 0 { ldr.Errorf(s, "PLT call with non-zero addend (%v)", r.Add()) } addpltsym(target, ldr, syms, targ) su := ldr.MakeSymbolUpdater(s) su.SetRelocSym(rIdx, syms.PLT) su.SetRelocAdd(rIdx, int64(ldr.SymPlt(targ))) return true } return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 11K bytes - Viewed (0) -
src/cmd/link/internal/wasm/asm.go
ldr.SymSect(ldr.Lookup("runtime.typelink", 0)), ldr.SymSect(ldr.Lookup("runtime.itablink", 0)), ldr.SymSect(ldr.Lookup("runtime.symtab", 0)), ldr.SymSect(ldr.Lookup("runtime.pclntab", 0)), ldr.SymSect(ldr.Lookup("runtime.noptrdata", 0)), ldr.SymSect(ldr.Lookup("runtime.data", 0)), } dataSects = make([]wasmDataSect, len(sections)) for i, sect := range sections {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:17:48 UTC 2024 - 21.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
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/seh.go
for _, s := range ctxt.Textp { if fi := ldr.FuncInfo(s); !fi.Valid() { continue } uw := ldr.SEHUnwindSym(s) if uw == 0 { continue } name := ctxt.SymName(uw) off, cached := uwcache[name] if !cached { off = xdata.Size() uwcache[name] = off xdata.AddBytes(ldr.Data(uw)) // The SEH unwind data can contain relocations,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:01:27 UTC 2023 - 2K bytes - Viewed (0) -
src/cmd/link/internal/ld/heap.go
type lexHeap []loader.Sym func (h *lexHeap) push(ldr *loader.Loader, s loader.Sym) { *h = append(*h, s) // sift up n := len(*h) - 1 for n > 0 { p := (n - 1) / 2 // parent if ldr.SymName((*h)[p]) <= ldr.SymName((*h)[n]) { break } (*h)[n], (*h)[p] = (*h)[p], (*h)[n] n = p } } func (h *lexHeap) pop(ldr *loader.Loader) loader.Sym { r := (*h)[0] n := len(*h) - 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 14 16:55:22 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/errors.go
haveABI = ^obj.ABI(0) reqABI, ok := sym.VersionToABI(ldr.SymVersion(rs)) if ok { for abi := obj.ABI(0); abi < obj.ABICount; abi++ { v := sym.ABIToVersion(abi) if v == -1 { continue } if rs1 := ldr.Lookup(name, v); rs1 != 0 && ldr.SymType(rs1) != sym.Sxxx && ldr.SymType(rs1) != sym.SXREF { haveABI = abi } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 02 14:38:08 UTC 2022 - 1.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/stackcheck.go
// check. // // Walk through SP adjustments in function, consuming relocs // and following calls. maxLocalHeight := 0 relocs, ri := ldr.Relocs(sym), 0 pcsp := obj.NewPCIter(uint32(ctxt.Arch.MinLC)) for pcsp.Init(ldr.Data(ldr.Pcsp(sym))); !pcsp.Done; pcsp.Next() { // pcsp.value is in effect for [pcsp.pc, pcsp.nextpc). height := int(pcsp.Value) if height > maxLocalHeight {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 24 16:49:08 UTC 2023 - 11.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/outbuf.go
// buffer. func (out *OutBuf) WriteSym(ldr *loader.Loader, s loader.Sym) []byte { if !ldr.IsGeneratedSym(s) { P := ldr.Data(s) n := int64(len(P)) pos, buf := out.writeLoc(n) copy(buf[pos:], P) out.off += n ldr.FreeData(s) return buf[pos : pos+n] } else { n := ldr.SymSize(s) pos, buf := out.writeLoc(n) out.off += n ldr.MakeSymbolUpdater(s).SetData(buf[pos : pos+n])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 19:51:29 UTC 2022 - 8.1K bytes - Viewed (0)