- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 73 for NReloc (0.09 sec)
-
src/cmd/link/testdata/pe-llvm/main.go
// [ 1](sec 1)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .rsrc$01 // AUX scnlen 0x68 nreloc 1 nlnno 0 checksum 0x0 assoc 0 comdat 0 // [ 3](sec 2)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .rsrc$02 // AUX scnlen 0x18 nreloc 0 nlnno 0 checksum 0x0 assoc 0 comdat 0 // [ 5](sec 2)(fl 0x00)(ty 0)(scl 3) (nx 0) 0x00000000 $R000000 // RELOCATION RECORDS FOR [.rsrc$01]:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 26 18:15:09 UTC 2021 - 1.7K bytes - Viewed (0) -
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/debug/macho/macho.go
Offset uint32 Align uint32 Reloff uint32 Nreloc uint32 Flags uint32 Reserve1 uint32 Reserve2 uint32 } // A Section64 is a 64-bit Mach-O section header. type Section64 struct { Name [16]byte Seg [16]byte Addr uint64 Size uint64 Offset uint32 Align uint32 Reloff uint32 Nreloc uint32 Flags uint32 Reserve1 uint32 Reserve2 uint32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 14 00:56:52 UTC 2021 - 7.6K 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)