- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for relocVariant (0.2 sec)
-
src/cmd/link/internal/loader/loader.go
func (l *Loader) SetRelocVariant(s Sym, ri int, v sym.RelocVariant) { // sanity check if relocs := l.Relocs(s); ri >= relocs.Count() { panic("invalid relocation ID") } if l.relocVariant == nil { l.relocVariant = make(map[relocId]sym.RelocVariant) } if v != 0 { l.relocVariant[relocId{s, ri}] = v } else { delete(l.relocVariant, relocId{s, ri}) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0) -
src/cmd/link/internal/loong64/asm.go
return int64(val&0xfc000000 | (((t >> 2) & 0xffff) << 10) | (((t >> 2) & 0x3ff0000) >> 16)), noExtReloc, isOk } return val, 0, false } func archrelocvariant(*ld.Target, *loader.Loader, loader.Reloc, sym.RelocVariant, loader.Sym, int64, []byte) int64 { return -1 } func extreloc(target *ld.Target, ldr *loader.Loader, r loader.Reloc, s loader.Sym) (loader.ExtReloc, bool) { switch r.Type() { case objabi.R_LOONG64_ADDR_HI,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 17:26:07 UTC 2024 - 7.5K bytes - Viewed (0) -
src/cmd/link/internal/riscv64/asm.go
second = (second &^ secondImmMask) | int64(uint32(secondImm)) return second<<32 | auipc, 0, true } return val, 0, false } func archrelocvariant(*ld.Target, *loader.Loader, loader.Reloc, sym.RelocVariant, loader.Sym, int64, []byte) int64 { log.Fatalf("archrelocvariant") return -1 } func extreloc(target *ld.Target, ldr *loader.Loader, r loader.Reloc, s loader.Sym) (loader.ExtReloc, bool) { switch r.Type() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 01 08:06:08 UTC 2024 - 22.8K bytes - Viewed (0) -
src/cmd/link/internal/arm64/asm.go
} o0 := (uint32(t&0xfff) >> 4) << 10 return val | int64(o0), noExtReloc, true } return val, 0, false } func archrelocvariant(*ld.Target, *loader.Loader, loader.Reloc, sym.RelocVariant, loader.Sym, int64, []byte) int64 { log.Fatalf("unexpected relocation variant") return -1 } func extreloc(target *ld.Target, ldr *loader.Loader, r loader.Reloc, s loader.Sym) (loader.ExtReloc, bool) {
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/link/internal/ppc64/asm.go
return packInstPair(target, o1, o2), nExtReloc, true } return val, nExtReloc, false } func archrelocvariant(target *ld.Target, ldr *loader.Loader, r loader.Reloc, rv sym.RelocVariant, s loader.Sym, t int64, p []byte) (relocatedOffset int64) { rs := r.Sym() switch rv & sym.RV_TYPE_MASK { default: ldr.Errorf(s, "unexpected relocation variant %d", rv) fallthrough
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 63.7K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
st.err.Errorf(s, "unreachable sym in relocation: %s", ldr.SymName(rs)) } var rv sym.RelocVariant if target.IsPPC64() || target.IsS390X() { rv = ldr.RelocVariant(s, ri) } // TODO(mundaym): remove this special case - see issue 14218. if target.IsS390X() { switch rt { case objabi.R_PCRELDBL: rt = objabi.R_PCREL
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (1) -
src/cmd/link/internal/ld/lib.go
// to-be-relocated data item (from sym.P). Return is an updated // offset value. Archrelocvariant func(target *Target, ldr *loader.Loader, rel loader.Reloc, rv sym.RelocVariant, sym loader.Sym, offset int64, data []byte) (relocatedOffset int64) // Generate a trampoline for a call from s to rs if necessary. ri is // index of the relocation.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0)