Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for SymValue (0.12 sec)

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

    			t = ldr.SymValue(tarSym) + r.Add() - ldr.SymValue(syms.TOC)
    			// change ld to addi in the second instruction
    			o2 = (o2 & 0x03FF0000) | 0xE<<26
    			useAddi = true
    		} else {
    			t = ldr.SymValue(rs) + r.Add() - ldr.SymValue(syms.TOC)
    		}
    	} else {
    		t = ldr.SymValue(rs) + r.Add() - symtoc(ldr, syms, s)
    	}
    
    	if t != int64(int32(t)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/xcoff.go

    					f.writeSymbolNewFile(ctxt, "go_functions", uint64(ldr.SymValue(x)), xfile.getXCOFFscnum(ldr.SymSect(x)))
    				}
    			}
    
    		}
    	}
    
    	name = ldr.SymExtname(x)
    	name = mangleABIName(ctxt, ldr, x, name)
    
    	s := &XcoffSymEnt64{
    		Nsclass: C_EXT,
    		Noffset: uint32(xfile.stringTable.add(name)),
    		Nvalue:  uint64(ldr.SymValue(x)),
    		Nscnum:  f.getXCOFFscnum(ldr.SymSect(x)),
    		Ntype:   SYM_TYPE_FUNC,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  3. src/cmd/link/internal/loader/loader.go

    func (l *Loader) growValues(reqLen int) {
    	curLen := len(l.values)
    	if reqLen > curLen {
    		l.values = append(l.values, make([]int64, reqLen+1-curLen)...)
    	}
    }
    
    // SymValue returns the value of the i-th symbol. i is global index.
    func (l *Loader) SymValue(i Sym) int64 {
    	return l.values[i]
    }
    
    // SetSymValue sets the value of the i-th symbol. i is global index.
    func (l *Loader) SetSymValue(i Sym, val int64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/elf.go

    		if !ldr.AttrReachable(s) {
    			panic("should never happen")
    		}
    		if uint64(ldr.SymValue(s)) >= sect.Vaddr {
    			syms = syms[i:]
    			break
    		}
    	}
    
    	eaddr := sect.Vaddr + sect.Length
    	for _, s := range syms {
    		if !ldr.AttrReachable(s) {
    			continue
    		}
    		if ldr.SymValue(s) >= int64(eaddr) {
    			break
    		}
    
    		// Compute external relocations on the go, and pass to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/dwarf.go

    		// symbol with the start of the next because there's
    		// often a little padding between them. Instead, we
    		// only create boundaries between symbols from
    		// different units.
    		sval := d.ldr.SymValue(sym)
    		u0val := d.ldr.SymValue(loader.Sym(unit.Textp[0]))
    		if prevUnit != unit {
    			unit.PCs = append(unit.PCs, dwarf.Range{Start: sval - u0val})
    			prevUnit = unit
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/lib.go

    		return 0
    	}
    	st := ldr.SymType(s)
    	if st == 0 {
    		return *FlagTextAddr
    	}
    	if !ctxt.IsAIX() && st != sym.STEXT {
    		ldr.Errorf(s, "entry not text")
    	}
    	return ldr.SymValue(s)
    }
    
    func (ctxt *Link) callgraph() {
    	if !*FlagC {
    		return
    	}
    
    	ldr := ctxt.loader
    	for _, s := range ctxt.Textp {
    		relocs := ldr.Relocs(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top