- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for NReloc (0.25 sec)
-
src/internal/xcoff/file.go
continue } c := saferio.SliceCap[Reloc](uint64(sect.Nreloc)) if c < 0 { return nil, fmt.Errorf("too many relocs (%d) for section %d", sect.Nreloc, sectNum) } sect.Relocs = make([]Reloc, 0, c) if _, err := sr.Seek(int64(sect.Relptr), io.SeekStart); err != nil { return nil, err } for i := uint32(0); i < sect.Nreloc; i++ { var reloc Reloc switch f.TargetMachine { case U802TOCMAGIC:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 12 14:42:29 UTC 2024 - 17.3K bytes - Viewed (0) -
src/debug/macho/file.go
sh.sr = io.NewSectionReader(r, int64(sh.Offset), int64(sh.Size)) sh.ReaderAt = sh.sr if sh.Nreloc > 0 { reldat, err := saferio.ReadDataAt(r, uint64(sh.Nreloc)*8, int64(sh.Reloff)) if err != nil { return err } b := bytes.NewReader(reldat) bo := f.ByteOrder sh.Relocs = make([]Reloc, sh.Nreloc) for i := range sh.Relocs { rel := &sh.Relocs[i] var ri relocInfo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 17.9K bytes - Viewed (0) -
src/cmd/link/internal/loadmacho/ldmacho.go
} func macholoadrel(m *ldMachoObj, sect *ldMachoSect) int { if sect.rel != nil || sect.nreloc == 0 { return 0 } rel := make([]ldMachoRel, sect.nreloc) m.f.MustSeek(m.base+int64(sect.reloff), 0) buf, _, err := m.f.Slice(uint64(sect.nreloc * 8)) if err != nil { return -1 } for i := uint32(0); i < sect.nreloc; i++ { r := &rel[i] p := buf[i*8:] r.addr = m.e.Uint32(p)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 12 18:45:57 UTC 2022 - 19.1K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
} // TODO: hashedrefs unused/unsupported for now // Reloc indexes h.Offsets[goobj.BlkRelocIdx] = w.Offset() nreloc := uint32(0) lists := [][]*LSym{ctxt.defs, ctxt.hashed64defs, ctxt.hasheddefs, ctxt.nonpkgdefs} for _, list := range lists { for _, s := range list { w.Uint32(nreloc) nreloc += uint32(len(s.R)) } } w.Uint32(nreloc) // Symbol Info indexes
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0) -
src/cmd/internal/goobj/objfile.go
} // Reloc returns a pointer to the j-th relocation of the i-th symbol. func (r *Reader) Reloc(i uint32, j int) *Reloc { off := r.RelocOff(i, j) return (*Reloc)(unsafe.Pointer(&r.b[off])) } // Relocs returns a pointer to the relocations of the i-th symbol. func (r *Reader) Relocs(i uint32) []Reloc { off := r.RelocOff(i, 0) n := r.NReloc(i)
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/ld/macho.go
) type MachoHdr struct { cpu uint32 subcpu uint32 } type MachoSect struct { name string segname string addr uint64 size uint64 off uint32 align uint32 reloc uint32 nreloc uint32 flag uint32 res1 uint32 res2 uint32 } type MachoSeg struct { name string vsize uint64 vaddr uint64 fileoffset uint64 filesize uint64
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/macho_combine_dwarf.go
if sect.Seg != "__DWARF" { continue } // As of writing, there are no relocations in dsymutil's output // so there's no point in worrying about them. Bail out if that // changes. if sect.Nreloc != 0 { return nil, nil, nil } data, err := sect.Data() if err != nil { return nil, nil, err } compressed, contents, err := machoCompressSection(data) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/link/internal/sym/reloc.go
Jes Cok <******@****.***> 1693260993 +0000
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 15:33:31 UTC 2023 - 1.7K bytes - Viewed (0) -
src/internal/pkgbits/reloc.go
David Chase <******@****.***> 1660068422 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 10 22:22:48 UTC 2022 - 835 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"RegsAMD64.R9", Field, 0}, {"RegsAMD64.SI", Field, 0}, {"RegsAMD64.SP", Field, 0}, {"Reloc", Type, 10}, {"Reloc.Addr", Field, 10}, {"Reloc.Extern", Field, 10}, {"Reloc.Len", Field, 10}, {"Reloc.Pcrel", Field, 10}, {"Reloc.Scattered", Field, 10}, {"Reloc.Type", Field, 10}, {"Reloc.Value", Field, 10}, {"RelocTypeARM", Type, 10}, {"RelocTypeARM64", Type, 10},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)