Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetSymSect (0.21 sec)

  1. src/cmd/link/internal/wasm/asm.go

    	// However, there is no PC register, only PC_F and PC_B. PC_F denotes the function,
    	// PC_B the resume point inside of that function. The entry of the function has PC_B = 0.
    	ldr.SetSymSect(s, sect)
    	ldr.SetSymValue(s, int64(funcValueOffset+va/abi.MINFUNC)<<16) // va starts at zero
    	va += uint64(abi.MINFUNC)
    	return sect, n, va
    }
    
    type wasmDataSect struct {
    	sect *sym.Section
    	data []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. src/cmd/link/internal/arm64/asm.go

    		for off := limit; off < sz; off += limit {
    			p := ldr.LookupOrCreateSym(offsetLabelName(ldr, s, off), ldr.SymVersion(s))
    			ldr.SetAttrReachable(p, true)
    			ldr.SetSymValue(p, v+off)
    			ldr.SetSymSect(p, ldr.SymSect(s))
    			if ctxt.IsDarwin() {
    				ld.AddMachoSym(ldr, p)
    			} else if ctxt.IsWindows() {
    				ld.AddPELabelSym(ldr, p)
    			} else {
    				panic("missing case in gensymlate")
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
Back to top