Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for ctxt (0.34 sec)

  1. src/cmd/link/internal/ld/elf.go

    //	} Elf_Internal_ABIFlags_v0;
    func elfWriteMipsAbiFlags(ctxt *Link) int {
    	sh := elfshname(".MIPS.abiflags")
    	ctxt.Out.SeekSet(int64(sh.Off))
    	ctxt.Out.Write16(0) // version
    	ctxt.Out.Write8(32) // isaLevel
    	ctxt.Out.Write8(1)  // isaRev
    	ctxt.Out.Write8(1)  // gprSize
    	ctxt.Out.Write8(1)  // cpr1Size
    	ctxt.Out.Write8(0)  // cpr2Size
    	if buildcfg.GOMIPS == "softfloat" {
    		ctxt.Out.Write8(MIPS_FPABI_SOFT) // fpAbi
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/lib.go

    	if ctxt.IsElf() {
    		ctxt.mkArchSym(".rel", 0, &ctxt.Rel)
    		ctxt.mkArchSym(".rela", 0, &ctxt.Rela)
    		ctxt.mkArchSym(".rel.plt", 0, &ctxt.RelPLT)
    		ctxt.mkArchSym(".rela.plt", 0, &ctxt.RelaPLT)
    	}
    	if ctxt.IsDarwin() {
    		ctxt.mkArchSym(".linkedit.got", 0, &ctxt.LinkEditGOT)
    		ctxt.mkArchSym(".linkedit.plt", 0, &ctxt.LinkEditPLT)
    	}
    }
    
    type Arch struct {
    	Funcalign  int
    	Maxalign   int
    	Minalign   int
    	Dwarfregsp int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  3. src/go/build/build.go

    // that do not exist.
    func (ctxt *Context) SrcDirs() []string {
    	var all []string
    	if ctxt.GOROOT != "" && ctxt.Compiler != "gccgo" {
    		dir := ctxt.joinPath(ctxt.GOROOT, "src")
    		if ctxt.isDir(dir) {
    			all = append(all, dir)
    		}
    	}
    	for _, p := range ctxt.gopath() {
    		dir := ctxt.joinPath(p, "src")
    		if ctxt.isDir(dir) {
    			all = append(all, dir)
    		}
    	}
    	return all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/debug.go

    		listSym.WriteAddr(ctxt, listSym.Size, ctxt.Arch.PtrSize, startPC, 0)
    	}
    
    	// Re-read list, translating its address from block/value ID to PC.
    	for i := 0; i < len(list); {
    		begin := getPC(decodeValue(ctxt, readPtr(ctxt, list[i:])))
    		end := getPC(decodeValue(ctxt, readPtr(ctxt, list[i+ctxt.Arch.PtrSize:])))
    
    		// Horrible hack. If a range contains only zero-width
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/mips/asm0.go

    var xcmp [C_NCLASS][C_NCLASS]bool
    
    func span0(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
    	if ctxt.Retpoline {
    		ctxt.Diag("-spectre=ret not supported on mips")
    		ctxt.Retpoline = false // don't keep printing
    	}
    
    	p := cursym.Func().Text
    	if p == nil || p.Link == nil { // handle external functions and ELF section symbols
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/loong64/asm.go

    var xcmp [C_NCLASS][C_NCLASS]bool
    
    func span0(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
    	if ctxt.Retpoline {
    		ctxt.Diag("-spectre=ret not supported on loong64")
    		ctxt.Retpoline = false // don't keep printing
    	}
    
    	p := cursym.Func().Text
    	if p == nil || p.Link == nil { // handle external functions and ELF section symbols
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  7. src/runtime/traceback.go

    		// We don't have a cgo unwinder (typical case), or we do but we're not
    		// in a cgo frame or we're out of cgo context.
    		return 0
    	}
    
    	ctxt := u.g.ptr().cgoCtxt[u.cgoCtxt]
    	u.cgoCtxt--
    	cgoContextPCs(ctxt, pcBuf)
    	for i, pc := range pcBuf {
    		if pc == 0 {
    			return i
    		}
    	}
    	return len(pcBuf)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. src/runtime/asm_amd64.s

    	MOVQ	BX, g(CX)
    	MOVQ	(g_sched+gobuf_sp)(BX), SP
    	MOVQ	(g_sched+gobuf_bp)(BX), BP
    	CALL	runtime·newstack(SB)
    	CALL	runtime·abort(SB)	// crash if newstack returns
    	RET
    
    // morestack but not preserving ctxt.
    TEXT runtime·morestack_noctxt(SB),NOSPLIT,$0
    	MOVL	$0, DX
    	JMP	runtime·morestack(SB)
    
    // spillArgs stores return values from registers to a *internal/abi.RegArgs in R12.
    TEXT ·spillArgs(SB),NOSPLIT,$0-0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  9. src/runtime/mgcmark.go

    	}
    
    	// Scan the saved context register. This is effectively a live
    	// register that gets moved back and forth between the
    	// register and sched.ctxt without a write barrier.
    	if gp.sched.ctxt != nil {
    		scanblock(uintptr(unsafe.Pointer(&gp.sched.ctxt)), goarch.PtrSize, &oneptrmask[0], gcw, &state)
    	}
    
    	// Scan the stack. Accumulate a list of stack objects.
    	var u unwinder
    	for u.init(gp, 0); u.valid(); u.next() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ppc64/ssa.go

    	case ssa.OpPPC64LoweredGetCallerSP:
    		// caller's SP is FixedFrameSize below the address of the first arg
    		p := s.Prog(ppc64.AMOVD)
    		p.From.Type = obj.TYPE_ADDR
    		p.From.Offset = -base.Ctxt.Arch.FixedFrameSize
    		p.From.Name = obj.NAME_PARAM
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = v.Reg()
    
    	case ssa.OpPPC64LoweredGetCallerPC:
    		p := s.Prog(obj.AGETCALLERPC)
    		p.To.Type = obj.TYPE_REG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top