- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for relocSect (0.3 sec)
-
src/cmd/link/internal/ld/asmb.go
out, err := ctxt.Out.View(sect.Reloff) if err != nil { panic(err) } go func() { relocSect(ctxt, out, sect, syms) wg.Done() <-sem }() } } else { // We cannot Mmap. Write sequentially. fn = func(ctxt *Link, sect *sym.Section, syms []loader.Sym) { relocSect(ctxt, ctxt.Out, sect, syms) } } return fn, &wg
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
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 { relocSect(ctxt, sect, ctxt.datap) } } for _, sect := range Segrelrodata.Sections { relocSect(ctxt, sect, ctxt.datap) }
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
} 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) } } for _, sect := range Segrodata.Sections { 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) -
src/cmd/link/internal/ld/pe.go
func (f *peFile) emitRelocations(ctxt *Link) { for ctxt.Out.Offset()&7 != 0 { ctxt.Out.Write8(0) } ldr := ctxt.loader // relocsect relocates symbols from first in section sect, and returns // the total number of relocations emitted. relocsect := func(sect *sym.Section, syms []loader.Sym, base uint64) int { // If main section has no bits, nothing to relocate. if sect.Vaddr >= sect.Seg.Vaddr+sect.Seg.Filelen {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:01:27 UTC 2023 - 48.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/xcoff.go
ctxt.Out.SeekSet(fileoff) for ctxt.Out.Offset()&7 != 0 { ctxt.Out.Write8(0) } ldr := ctxt.loader // relocsect relocates symbols from first in section sect, and returns // the total number of relocations emitted. relocsect := func(sect *sym.Section, syms []loader.Sym, base uint64) uint32 { // ctxt.Logf("%s 0x%x\n", sect.Name, sect.Vaddr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 19:58:23 UTC 2023 - 51.8K bytes - Viewed (0) -
src/internal/pkgbits/reloc.go
type RelocKind int32 // An Index represents a bitstream element index within a particular // section. type Index int32 // A relocEnt (relocation entry) is an entry in an element's local // reference table. // // TODO(mdempsky): Rename this too. type RelocEnt struct { Kind RelocKind Idx Index } // Reserved indices within the meta relocation section. const ( PublicRootIdx Index = 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 10 22:22:48 UTC 2022 - 835 bytes - Viewed (0) -
src/internal/pkgbits/decoder.go
pr.scratchRelocEnt = nil } else { r.Relocs = make([]RelocEnt, l) } for i := range r.Relocs { r.Sync(SyncReloc) r.Relocs[i] = RelocEnt{RelocKind(r.Len()), Index(r.Len())} } return r } // A Decoder provides methods for decoding an individual element's // bitstream data. type Decoder struct { common *PkgDecoder Relocs []RelocEnt Data strings.Reader k RelocKind
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 20:58:46 UTC 2022 - 13.2K bytes - Viewed (0) -
src/internal/pkgbits/encoder.go
p: pw, k: k, Idx: idx, } } // An Encoder provides methods for encoding an individual element's // bitstream data. type Encoder struct { p *PkgEncoder Relocs []RelocEnt RelocMap map[RelocEnt]uint32 Data bytes.Buffer // accumulated element bitstream data encodingRelocHeader bool k RelocKind Idx Index // index within relocation section }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 10 23:26:58 UTC 2022 - 9.6K bytes - Viewed (0)