- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for SetSym (0.15 sec)
-
src/cmd/internal/goobj/objfile.go
func (r *Reloc) SetSym(x SymRef) { binary.LittleEndian.PutUint32(r[15:], x.PkgIdx) binary.LittleEndian.PutUint32(r[19:], x.SymIdx) } func (r *Reloc) Set(off int32, size uint8, typ uint16, add int64, sym SymRef) { r.SetOff(off) r.SetSiz(size) r.SetType(typ) r.SetAdd(add) r.SetSym(sym) } func (r *Reloc) Write(w *Writer) { w.Bytes(r[:]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 23.8K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
func (w *writer) Reloc(r *Reloc) { o := &w.tmpReloc o.SetOff(r.Off) o.SetSiz(r.Siz) o.SetType(uint16(r.Type)) o.SetAdd(r.Add) o.SetSym(makeSymRef(r.Sym)) o.Write(w.Writer) } func (w *writer) aux1(typ uint8, rs *LSym) { o := &w.tmpAux o.SetType(typ) o.SetSym(makeSymRef(rs)) o.Write(w.Writer) } func (w *writer) Aux(s *LSym) { if s.Gotype != nil { w.aux1(goobj.AuxGotype, s.Gotype)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
if dstyp != sym.SWINDOWS { return fmt.Errorf("internal error in windynrelocsym: underlying sym for %q has wrong type %s", sname, dstyp.String()) } // Redirect relocation to the dynimport. r.SetSym(ds) continue } tplt := ctxt.loader.SymPlt(targ) if tplt == loadpe.CreateImportStubPltToken { // Consistency check: don't want to see both PLT and GOT tokens. if tgot != -1 {
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/loader/loader.go
func (rel Reloc) SetType(t objabi.RelocType) { rel.Reloc.SetType(uint16(t)) } func (rel Reloc) Sym() Sym { return rel.l.resolve(rel.r, rel.Reloc.Sym()) } func (rel Reloc) SetSym(s Sym) { rel.Reloc.SetSym(goobj.SymRef{PkgIdx: 0, SymIdx: uint32(s)}) } func (rel Reloc) IsMarker() bool { return rel.Siz() == 0 } // Aux holds a "handle" to access an aux symbol record from an // object file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0)