- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for putelfsym (0.35 sec)
-
src/cmd/link/internal/ld/symtab.go
// several platforms. putelfsyment(ctxt.Out, putelfstr("local."+sname), addr, size, elf.ST_INFO(elf.STB_LOCAL, typ), elfshnum, other) ldr.SetSymLocalElfSym(x, int32(ctxt.numelfsym)) ctxt.numelfsym++ return } else if bind != curbind { return } putelfsyment(ctxt.Out, putelfstr(sname), addr, size, elf.ST_INFO(bind, typ), elfshnum, other) ldr.SetSymElfSym(x, 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/riscv64/asm.go
} // TODO(jsing): Consider generating ELF symbols without needing // loader symbols, in order to reduce memory consumption. This // would require changes to genelfsym so that it called // putelfsym and putelfsyment as appropriate. sb := ldr.MakeSymbolBuilder(fakeLabelName) sb.SetType(sym.STEXT) sb.SetValue(ldr.SymValue(s) + int64(r.Off())) sb.SetLocal(true) sb.SetReachable(true)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 01 08:06:08 UTC 2024 - 22.8K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/obj9.go
// load of a large constant, and in that case there is no // way to use r12 as the source. // // Note that the same condition is tested in // putelfsym in cmd/link/internal/ld/symtab.go // where we set the st_other field to indicate // the presence of these instructions. q = obj.Appendp(q, c.newprog) q.As = AWORD q.Pos = p.Pos
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 40.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
for _, i := range lib.Imports { dfs(i, mark, order) } mark[lib] = visited *order = append(*order, lib) } func ElfSymForReloc(ctxt *Link, s loader.Sym) int32 { // If putelfsym created a local version of this symbol, use that in all // relocations. les := ctxt.loader.SymLocalElfSym(s) if les != 0 { return les } else { return ctxt.loader.SymElfSym(s) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/sym.go
Target: Target{Arch: arch}, version: sym.SymVerStatic, outSem: make(chan int, 2*runtime.GOMAXPROCS(0)), Out: NewOutBuf(arch), LibraryByPkg: make(map[string]*sym.Library), numelfsym: 1, ErrorReporter: ErrorReporter{ErrorReporter: ler}, generatorSyms: make(map[loader.Sym]generatorFunc), } if buildcfg.GOARCH != arch.Name {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 05 19:28:25 UTC 2023 - 3.9K bytes - Viewed (0)