- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 212 for reloc (0.5 sec)
-
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/internal/xcoff/file.go
return nil, err } reloc.VirtualAddress = rel.Rvaddr reloc.Symbol = idxToSym[int(rel.Rsymndx)] reloc.Type = rel.Rtype reloc.Length = rel.Rsize&0x3F + 1 if rel.Rsize&0x80 != 0 { reloc.Signed = true } if rel.Rsize&0x40 != 0 { reloc.InstructionFixed = true } } sect.Relocs = append(sect.Relocs, reloc) } } return f, nil }
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/pe/section.go
if err != nil { return nil, fmt.Errorf("fail to seek to %q section relocations: %v", sh.Name, err) } relocs := make([]Reloc, sh.NumberOfRelocations) err = binary.Read(r, binary.LittleEndian, relocs) if err != nil { return nil, fmt.Errorf("fail to read section relocations: %v", err) } return relocs, nil } // SectionHeader is similar to [SectionHeader32] with Name // field replaced by Go string.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 3.5K bytes - Viewed (0) -
src/cmd/link/internal/amd64/asm.go
// complete. We do this via Addaddrplus, which creates // a new R_ADDR relocation which will be resolved in // the 'reloc' phase. // // These synthetic static R_ADDR relocs must be skipped // now, or else we will be caught in an infinite loop // of generating synthetic relocs for our synthetic // relocs. // // Furthermore, the rela sections contain dynamic // relocations with R_ADDR relocations on
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 21K 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/loader/loader_test.go
t.Errorf("testing Loader.%s: expected data %v got %v", tp.which, tp.expData, ldr.Data(mi)) } relocs := ldr.Relocs(mi) if !sameRelocSlice(&relocs, tp.expRel) { t.Fatalf("testing Loader.%s: got relocslice %+v wanted %+v", tp.which, relocs, tp.expRel) } pmi = mi } } func TestOuterSub(t *testing.T) { ldr := mkLoader()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:09 UTC 2024 - 12K bytes - Viewed (0) -
src/cmd/link/internal/arm64/asm.go
relocs := plt.Relocs() plt.SetRelocType(relocs.Count()-1, objabi.R_ARM64_GOT) // <offset> is the offset value of &got.plt[n] to &got.plt[0] // ldr x17, [x16, <offset>] plt.AddAddrPlus4(target.Arch, gotplt.Sym(), gotplt.Size()) plt.SetUint32(target.Arch, plt.Size()-4, 0xf9400211) relocs = plt.Relocs() plt.SetRelocType(relocs.Count()-1, objabi.R_ARM64_GOT)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 20:09:45 UTC 2024 - 47K bytes - Viewed (0) -
src/cmd/internal/objfile/objfile.go
Addr uint64 // virtual address of symbol Size int64 // size in bytes Code rune // nm code (T for text, D for data, and so on) Type string // XXX? Relocs []Reloc // in increasing Addr order } type Reloc struct { Addr uint64 // Address of first byte that reloc applies to. Size uint64 // Number of bytes Stringer RelocStringer } type RelocStringer interface {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 24 16:01:55 UTC 2021 - 4.2K bytes - Viewed (0) -
src/cmd/link/internal/arm/asm.go
} } // modify reloc to point to tramp, which will be resolved later sb := ldr.MakeSymbolUpdater(s) relocs := sb.Relocs() r := relocs.At(ri) r.SetSym(tramp) r.SetAdd(r.Add()&0xff000000 | 0xfffffe) // clear the offset embedded in the instruction } default: ctxt.Errorf(s, "trampoline called with non-jump reloc: %d (%s)", r.Type(), sym.RelocName(ctxt.Arch, r.Type())) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 22.9K bytes - Viewed (0)