Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for Pcrel (0.16 sec)

  1. src/cmd/vendor/golang.org/x/arch/x86/x86asm/inst.go

    	DataSize int      // operand size in bits: 16, 32, or 64
    	MemBytes int      // size of memory argument in bytes: 1, 2, 4, 8, 16, and so on.
    	Len      int      // length of encoded instruction in bytes
    	PCRel    int      // length of PC-relative address in instruction encoding
    	PCRelOff int      // index of start of PC-relative address in instruction encoding
    }
    
    // Prefixes is an array of prefixes associated with a single instruction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/arch/arm/armasm/plan9x.go

    func plan9Arg(inst *Inst, pc uint64, symname func(uint64) (string, uint64), arg Arg) string {
    	switch a := arg.(type) {
    	case Endian:
    
    	case Imm:
    		return fmt.Sprintf("$%d", uint32(a))
    
    	case Mem:
    
    	case PCRel:
    		addr := uint32(pc) + 8 + uint32(a)
    		if s, base := symname(uint64(addr)); s != "" && uint64(addr) == base {
    			return fmt.Sprintf("%s(SB)", s)
    		}
    		return fmt.Sprintf("%#x", addr)
    
    	case Reg:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. src/cmd/link/internal/s390x/asm.go

    		if targType == sym.SDYNIMPORT {
    			ldr.Errorf(s, "unexpected R_390_PCnn relocation for dynamic symbol %s", ldr.SymName(targ))
    		}
    		if targType == 0 || targType == sym.SXREF {
    			ldr.Errorf(s, "unknown symbol %s in pcrel", ldr.SymName(targ))
    		}
    		su := ldr.MakeSymbolUpdater(s)
    		su.SetRelocType(rIdx, objabi.R_PCREL)
    		su.SetRelocAdd(rIdx, r.Add()+int64(r.Siz()))
    		return true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  4. src/cmd/link/internal/x86/asm.go

    		if targType == sym.SDYNIMPORT {
    			ldr.Errorf(s, "unexpected R_386_PC32 relocation for dynamic symbol %s", ldr.SymName(targ))
    		}
    		if targType == 0 || targType == sym.SXREF {
    			ldr.Errorf(s, "unknown symbol %s in pcrel", ldr.SymName(targ))
    		}
    		su := ldr.MakeSymbolUpdater(s)
    		su.SetRelocType(rIdx, objabi.R_PCREL)
    		su.SetRelocAdd(rIdx, r.Add()+4)
    		return true
    
    	case objabi.ElfRelocOffset + objabi.RelocType(elf.R_386_PLT32):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/data.go

    // a call to PLT.
    func isPLTCall(rt objabi.RelocType) bool {
    	const pcrel = 1
    	switch rt {
    	// ARM64
    	case objabi.ElfRelocOffset + objabi.RelocType(elf.R_AARCH64_CALL26),
    		objabi.ElfRelocOffset + objabi.RelocType(elf.R_AARCH64_JUMP26),
    		objabi.MachoRelocOffset + MACHO_ARM64_RELOC_BRANCH26*2 + pcrel:
    		return true
    
    	// ARM
    	case objabi.ElfRelocOffset + objabi.RelocType(elf.R_ARM_CALL),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (1)
  6. api/go1.10.txt

    pkg debug/macho, type Reloc struct
    pkg debug/macho, type Reloc struct, Addr uint32
    pkg debug/macho, type Reloc struct, Extern bool
    pkg debug/macho, type Reloc struct, Len uint8
    pkg debug/macho, type Reloc struct, Pcrel bool
    pkg debug/macho, type Reloc struct, Scattered bool
    pkg debug/macho, type Reloc struct, Type uint8
    pkg debug/macho, type Reloc struct, Value uint32
    pkg debug/macho, type RelocTypeARM int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 06 05:00:01 UTC 2018
    - 30.1K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/symtab.go

    	}
    	if ctxt.IsPPC64() && typ == elf.STT_FUNC && ldr.AttrShared(x) {
    		// On ppc64 the top three bits of the st_other field indicate how many
    		// bytes separate the global and local entry points. For non-PCrel shared
    		// symbols this is always 8 bytes except for some special functions.
    		hasPCrel := buildcfg.GOPPC64 >= 10 && buildcfg.GOOS == "linux"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/ppc64/obj9.go

    				p.From.Sym.Set(obj.AttrNoSplit, true)
    			}
    
    			p.To.Offset = int64(autosize)
    
    			q = p
    
    			if NeedTOCpointer(c.ctxt) && !isNOTOCfunc(c.cursym.Name) {
    				// When compiling Go into PIC, without PCrel support, all functions must start
    				// with instructions to load the TOC pointer into r2:
    				//
    				//	addis r2, r12, .TOC.-func@ha
    				//	addi r2, r2, .TOC.-func@l+4
    				//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    // Fold address into load/store.
    // If power10 with PCRel is not available, then
    // the assembler needs to generate several instructions and use
    // temp register for accessing global, and each time it will reload
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewrite.go

    func hasSmallRotate(c *Config) bool {
    	switch c.arch {
    	case "amd64", "386":
    		return true
    	default:
    		return false
    	}
    }
    
    func supportsPPC64PCRel() bool {
    	// PCRel is currently supported for >= power10, linux only
    	// Internal and external linking supports this on ppc64le; internal linking on ppc64.
    	return buildcfg.GOPPC64 >= 10 && buildcfg.GOOS == "linux"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top