- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SetSymElfSym (0.34 sec)
-
src/cmd/link/internal/ld/symtab.go
putelfsyment(ctxt.Out, putelfstr(sname), addr, size, elf.ST_INFO(bind, typ), elfshnum, other) ldr.SetSymElfSym(x, int32(ctxt.numelfsym)) ctxt.numelfsym++ } func putelfsectionsym(ctxt *Link, out *OutBuf, s loader.Sym, shndx elf.SectionIndex) { putelfsyment(out, 0, 0, 0, elf.ST_INFO(elf.STB_LOCAL, elf.STT_SECTION), shndx, 0) ctxt.loader.SetSymElfSym(s, int32(ctxt.numelfsym)) ctxt.numelfsym++ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 16:29:40 UTC 2023 - 29.2K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
// symbol, assigned during ELF symtab generation. func (l *Loader) SymElfSym(i Sym) int32 { return l.elfSym[i] } // SetSymElfSym sets the elf symbol index for a symbol. func (l *Loader) SetSymElfSym(i Sym, es int32) { if i == 0 { panic("bad sym index") } if es == 0 { delete(l.elfSym, i) } else { l.elfSym[i] = es } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0)