- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for relocSectFn (0.19 sec)
-
src/cmd/link/internal/ld/asmb.go
err := ctxt.Out.Mmap(uint64(filesz)) if err != nil { Exitf("mapping output file failed: %v", err) } } // relocSectFn wraps the function writing relocations of a section // for parallel execution. Returns the wrapped function and a wait // group for which the caller should wait. func relocSectFn(ctxt *Link, relocSect func(*Link, *OutBuf, *sym.Section, []loader.Sym)) (func(*Link, *sym.Section, []loader.Sym), *sync.WaitGroup) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 02 09:22:56 UTC 2023 - 5.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho.go
} } func machoEmitReloc(ctxt *Link) { for ctxt.Out.Offset()&7 != 0 { ctxt.Out.Write8(0) } sizeExtRelocs(ctxt, thearch.MachorelocSize) relocSect, wg := relocSectFn(ctxt, machorelocsect) relocSect(ctxt, Segtext.Sections[0], ctxt.Textp) for _, sect := range Segtext.Sections[1:] { if sect.Name == ".text" { relocSect(ctxt, sect, ctxt.Textp) } else {
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
} } func elfEmitReloc(ctxt *Link) { for ctxt.Out.Offset()&7 != 0 { ctxt.Out.Write8(0) } sizeExtRelocs(ctxt, thearch.ELF.RelocSize) relocSect, wg := relocSectFn(ctxt, elfrelocsect) for _, sect := range Segtext.Sections { if sect.Name == ".text" { relocSect(ctxt, sect, ctxt.Textp) } else { relocSect(ctxt, sect, ctxt.datap) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0)