- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for relocVariant (0.17 sec)
-
src/cmd/link/internal/sym/reloc.go
package sym import ( "cmd/internal/objabi" "cmd/internal/sys" "debug/elf" "debug/macho" ) // RelocVariant is a linker-internal variation on a relocation. type RelocVariant uint8 const ( RV_NONE RelocVariant = iota RV_POWER_LO RV_POWER_HI RV_POWER_HA RV_POWER_DS // RV_390_DBL is a s390x-specific relocation variant that indicates that
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/cmd/link/internal/s390x/asm.go
out.Write64(uint64(elf.R_390_GOTENT) | uint64(elfsym)<<32) } else { return false } case objabi.R_PCREL, objabi.R_PCRELDBL, objabi.R_CALL: elfrel := elf.R_390_NONE rVariant := ldr.RelocVariant(s, ri) isdbl := rVariant&sym.RV_TYPE_MASK == sym.RV_390_DBL // TODO(mundaym): all DBL style relocations should be // signalled using the variant - see issue 14218. switch r.Type {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 13.7K bytes - Viewed (0) -
src/cmd/link/internal/mips/asm.go
} return applyrel(target.Arch, ldr, rt, r.Off(), s, val, t), 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() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 5.5K bytes - Viewed (0) -
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/mips64/asm.go
t := ldr.SymValue(rs) + r.Add() return int64(val&0xfc000000 | (t>>2)&^0xfc000000), 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_ADDRMIPS,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 11K bytes - Viewed (0) -
src/cmd/link/internal/x86/asm.go
} func archreloc(*ld.Target, *loader.Loader, *ld.ArchSyms, loader.Reloc, loader.Sym, int64) (int64, int, bool) { return -1, 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 elfsetupplt(ctxt *ld.Link, ldr *loader.Loader, plt, got *loader.SymbolBuilder, dynamic loader.Sym) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 13.6K 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/amd64/asm.go
} func archreloc(*ld.Target, *loader.Loader, *ld.ArchSyms, loader.Reloc, loader.Sym, int64) (int64, int, bool) { return -1, 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 elfsetupplt(ctxt *ld.Link, ldr *loader.Loader, plt, got *loader.SymbolBuilder, dynamic loader.Sym) {
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/link/internal/arm/asm.go
} return int64(braddoff(int32(0xff000000&uint32(r.Add())), int32(0xffffff&t))), noExtReloc, isOk } 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: Wed Aug 23 05:58:20 UTC 2023 - 22.9K bytes - Viewed (0)