- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for relocVariant (0.12 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/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)