Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,456 for textp (0.06 sec)

  1. src/cmd/link/internal/sym/compilation_unit.go

    	AbsFnDIEs []LoaderSym // Abstract function DIE subtrees
    	RangeSyms []LoaderSym // Symbols for debug_range
    	Textp     []LoaderSym // Text symbols in this CU
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 20:39:56 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. src/cmd/link/internal/riscv64/asm.go

    			hi20Syms = append(hi20Syms, sb.Sym())
    		}
    	}
    	ctxt.Textp = append(ctxt.Textp, hi20Syms...)
    	ldr.SortSyms(ctxt.Textp)
    }
    
    func findHI20Symbol(ctxt *ld.Link, ldr *loader.Loader, val int64) loader.Sym {
    	idx := sort.Search(len(ctxt.Textp), func(i int) bool { return ldr.SymValue(ctxt.Textp[i]) >= val })
    	if idx >= len(ctxt.Textp) {
    		return 0
    	}
    	if s := ctxt.Textp[idx]; ldr.SymValue(s) == val && ldr.SymType(s) == sym.STEXT {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 08:06:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/ld.go

    	}
    	ctxt.Textp = append(ctxt.Textp, initfunc.Sym())
    
    	// Create an init array entry
    	amdi := ctxt.loader.LookupOrCreateSym("go:link.addmoduledatainit", 0)
    	initarray_entry := ctxt.loader.MakeSymbolUpdater(amdi)
    	ctxt.loader.SetAttrReachable(amdi, true)
    	ctxt.loader.SetAttrLocal(amdi, true)
    	initarray_entry.SetType(sym.SINITARR)
    	initarray_entry.AddAddr(ctxt.Arch, ifs)
    
    	return initfunc, amd
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. src/cmd/link/internal/loadxcoff/ldxcoff.go

    		}
    		if stype == sym.Sxxx {
    			continue
    		}
    
    		s := l.LookupOrCreateSym(sx.Name, 0)
    
    		// Text symbol
    		if l.SymType(s) == sym.STEXT {
    			if l.AttrOnList(s) {
    				return errorf("symbol %s listed multiple times", l.SymName(s))
    			}
    			l.SetAttrOnList(s, true)
    			textp = append(textp, s)
    		}
    	}
    
    	// Read relocations
    	for _, sect := range ldSections {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/data.go

    		for i < len(textp) && (ldr.SubSym(textp[i]) != 0 || ldr.AttrSubSymbol(textp[i])) {
    			i++
    		}
    		textp = textp[i:]
    		r.Shuffle(len(textp), func(i, j int) {
    			textp[i], textp[j] = textp[j], textp[i]
    		})
    	}
    
    	text := ctxt.xdefine("runtime.text", sym.STEXT, 0)
    	etext := ctxt.xdefine("runtime.etext", sym.STEXT, 0)
    	ldr.SetSymSect(text, sect)
    	if ctxt.IsAIX() && ctxt.IsExternal() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  6. src/cmd/link/internal/sym/library.go

    	Shlib       string
    	Fingerprint goobj.FingerprintType
    	Autolib     []goobj.ImportedPkg
    	Imports     []*Library
    	Main        bool
    	Units       []*CompilationUnit
    
    	Textp       []LoaderSym // text syms defined in this library
    	DupTextSyms []LoaderSym // dupok text syms defined in this library
    }
    
    func (l Library) String() string {
    	return l.Pkg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 11 18:32:23 UTC 2020
    - 651 bytes
    - Viewed (0)
  7. src/cmd/link/internal/loadmacho/ldmacho.go

    				return errorf("symbol %s listed multiple times", bld.Name())
    			}
    			bld.SetOnList(true)
    			textp = append(textp, s)
    			for s1 := bld.Sub(); s1 != 0; s1 = l.SubSym(s1) {
    				if l.AttrOnList(s1) {
    					return errorf("symbol %s listed multiple times", l.SymName(s1))
    				}
    				l.SetAttrOnList(s1, true)
    				textp = append(textp, s1)
    			}
    		}
    	}
    
    	// load relocations
    	for i := 0; uint32(i) < c.seg.nsect; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 18:45:57 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/pcln.go

    			indexes[i] = NOIDX
    		}
    		idx := int32(0)
    		for i, s := range ctxt.Textp {
    			if !emitPcln(ctxt, s, container) {
    				continue
    			}
    			p := ldr.SymValue(s)
    			var e loader.Sym
    			i++
    			if i < len(ctxt.Textp) {
    				e = ctxt.Textp[i]
    			}
    			for e != 0 && !emitPcln(ctxt, e, container) && i < len(ctxt.Textp) {
    				e = ctxt.Textp[i]
    				i++
    			}
    			q := max
    			if e != 0 {
    				q = ldr.SymValue(e)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  9. src/cmd/link/internal/loadelf/ldelf.go

    					l.SymName(s))
    			}
    			l.SetAttrOnList(s, true)
    			textp = append(textp, s)
    			for ss := l.SubSym(s); ss != 0; ss = l.SubSym(ss) {
    				if l.AttrOnList(ss) {
    					return errorf("symbol %s listed multiple times",
    						l.SymName(ss))
    				}
    				l.SetAttrOnList(ss, true)
    				textp = append(textp, ss)
    			}
    		}
    	}
    
    	// load relocations
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  10. src/cmd/link/internal/x86/asm.go

    		// Destination register is in bits 3-5 of the middle byte, so add that in.
    		o(0x8b, 0x04+r.num<<3, 0x24)
    		// c3		ret
    		o(0xc3)
    
    		thunks = append(thunks, thunkfunc.Sym())
    	}
    	ctxt.Textp = append(thunks, ctxt.Textp...) // keep Textp in dependency order
    
    	initfunc, addmoduledata := ld.PrepareAddmoduledata(ctxt)
    	if initfunc == nil {
    		return
    	}
    
    	o := func(op ...uint8) {
    		for _, op1 := range op {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
Back to top