- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for secSym (0.14 sec)
-
src/cmd/link/internal/ld/dwarf.go
// the section symbol and the sub-symbols have content) type dwarfSecInfo struct { syms []loader.Sym } // secSym returns the section symbol for the section. func (dsi *dwarfSecInfo) secSym() loader.Sym { if len(dsi.syms) == 0 { return 0 } return dsi.syms[0] } // subSyms returns a list of sub-symbols for the section.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 72.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho.go
relocSect(ctxt, sect, ctxt.datap) } for i := 0; i < len(Segdwarf.Sections); i++ { sect := Segdwarf.Sections[i] si := dwarfp[i] if si.secSym() != loader.Sym(sect.Sym) || ctxt.loader.SymSect(si.secSym()) != sect { panic("inconsistency between dwarfp and Segdwarf") } relocSect(ctxt, sect, si.syms) } wg.Wait() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:32:53 UTC 2024 - 43.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
relocSect(ctxt, sect, ctxt.datap) } for i := 0; i < len(Segdwarf.Sections); i++ { sect := Segdwarf.Sections[i] si := dwarfp[i] if si.secSym() != loader.Sym(sect.Sym) || ctxt.loader.SymSect(si.secSym()) != sect { panic("inconsistency between dwarfp and Segdwarf") } relocSect(ctxt, sect, si.syms) } wg.Wait() }
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/data.go
alignOne := func(state *dodataState, datsize int64, s loader.Sym) int64 { return datsize } ldr := ctxt.loader for i := 0; i < len(dwarfp); i++ { // First the section symbol. s := dwarfp[i].secSym() sect := state.allocateNamedDataSection(&Segdwarf, ldr.SymName(s), []sym.SymKind{}, 04) ldr.SetSymSect(s, sect) sect.Sym = sym.LoaderSym(s) curType := ldr.SymType(s) state.setSymType(s, sym.SRODATA)
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/loong64/asm.go
o(0x1a000004) rel, _ := initfunc.AddRel(objabi.R_LOONG64_ADDR_HI) rel.SetOff(0) rel.SetSiz(4) rel.SetSym(ctxt.Moduledata) // 4: 02c00084 addi.d $a0, $a0, 0 // 4: R_LARCH_PCALA_LO12 local.moduledata o(0x02c00084) rel2, _ := initfunc.AddRel(objabi.R_LOONG64_ADDR_LO) rel2.SetOff(4) rel2.SetSiz(4) rel2.SetSym(ctxt.Moduledata) // 8: 50000000 b 0 // 8: R_LARCH_B26 runtime.addmoduledata o(0x50000000)
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/loader/loader_test.go
// Add some relocations to the new symbols. r1, _ := sb1.AddRel(objabi.R_ADDR) r1.SetOff(0) r1.SetSiz(1) r1.SetSym(ts1) r2, _ := sb1.AddRel(objabi.R_CALL) r2.SetOff(3) r2.SetSiz(8) r2.SetSym(ts2) r3, _ := sb2.AddRel(objabi.R_USETYPE) r3.SetOff(7) r3.SetSiz(1) r3.SetSym(ts3) // Add some data to the symbols. d1 := []byte{1, 2, 3} d2 := []byte{4, 5, 6, 7} sb1.AddBytes(d1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:09 UTC 2024 - 12K bytes - Viewed (0) -
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/link/internal/arm64/asm.go
o(0x91000000) rel, _ := initfunc.AddRel(objabi.R_ADDRARM64) 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) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 20:09:45 UTC 2024 - 47K bytes - Viewed (0) -
src/cmd/internal/obj/x86/seh.go
b.off += 4 } func (b *sehbuf) writecode(op, value uint8) { b.write8(value<<4 | op) } // populateSeh generates the SEH unwind information for s. func populateSeh(ctxt *obj.Link, s *obj.LSym) (sehsym *obj.LSym) { if s.NoFrame() { return } // This implementation expects the following function prologue layout: // - Stack split code (optional) // - PUSHQ BP // - MOVQ SP, BP //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 14:41:10 UTC 2024 - 4.6K 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)