Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for symName (0.13 sec)

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

    		if targType == sym.SDYNIMPORT {
    			ldr.Errorf(s, "unexpected R_AARCH64_PREL32 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
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
  2. src/cmd/link/internal/riscv64/asm.go

    		relocs := ldr.Relocs(rs)
    		if relocs.Count() != 1 {
    			ldr.Errorf(s, "trampoline %v has %d relocations", ldr.SymName(rs), relocs.Count())
    		}
    		tr := relocs.At(0)
    		if tr.Type() != objabi.R_RISCV_CALL {
    			ldr.Errorf(s, "trampoline %v has unexpected relocation %v", ldr.SymName(rs), tr.Type())
    		}
    		trs := tr.Sym()
    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/deadcode.go

    				rsn := d.ldr.SymName(rs)
    				if !strings.Contains(rsn, "map.init") {
    					panic(fmt.Sprintf("internal error: expected map.init sym for weak call reloc, got %s -> %s", d.ldr.SymName(idx), rsn))
    				}
    				d.ldr.SetAttrReachable(d.mapinitnoop, true)
    				if d.ctxt.Debugvlog > 1 {
    					d.ctxt.Logf("deadcode: %s rewrite %s ref to %s\n",
    						d.ldr.SymName(idx), rsn,
    						d.ldr.SymName(d.mapinitnoop))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/abi.go

    		nam := fn.Nname
    		if ir.IsBlank(nam) {
    			continue
    		}
    		sym := nam.Sym()
    
    		symName := sym.Linkname
    		if symName == "" {
    			symName = sym.Pkg.Prefix + "." + sym.Name
    		}
    		symName = s.canonicalize(symName)
    
    		// Apply definitions.
    		defABI, hasDefABI := s.defs[symName]
    		if hasDefABI {
    			if len(fn.Body) != 0 {
    				base.ErrorfAt(fn.Pos(), 0, "%v defined in both Go and assembly", fn)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/data.go

    // addgostring adds str, as a Go string value, to s. symname is the name of the
    // symbol used to define the string data and must be unique per linked object.
    func addgostring(ctxt *Link, ldr *loader.Loader, s *loader.SymbolBuilder, symname, str string) {
    	sdata := ldr.CreateSymForUpdate(symname, 0)
    	if sdata.Type() != sym.Sxxx {
    		ctxt.Errorf(s.Sym(), "duplicate symname in addgostring: %s", symname)
    	}
    	sdata.SetLocal(true)
    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/ld/pcln.go

    		// to resolve relocations). Unnecessarily including all of
    		// these symbols quickly blows out the size of the pcln table
    		// and overflows hash buckets.
    		symName := ctxt.loader.SymName(s)
    		if symName == "" || strings.HasPrefix(symName, ".L") {
    			return false
    		}
    	}
    
    	// We want to generate func table entries only for the "lowest
    	// level" symbols, not containers of subsymbols.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ppc64/asm.go

    	}
    
    	if t&0x8000 != 0 {
    		t += 0x10000
    	}
    
    	o1 |= uint32((t >> 16) & 0xFFFF)
    
    	switch r.Type() {
    	case objabi.R_ADDRPOWER_TOCREL_DS:
    		if useAddi {
    			o2 |= uint32(t) & 0xFFFF
    		} else {
    			if t&3 != 0 {
    				ldr.Errorf(s, "bad DS reloc for %s: %d", ldr.SymName(s), ldr.SymValue(rs))
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/inittask.go

    	}
    }
    
    // inittaskSym builds a symbol containing pointers to all the inittasks
    // that need to be run, given a list of root inittask symbols.
    func (ctxt *Link) inittaskSym(rootNames []string, symName string) loader.Sym {
    	ldr := ctxt.loader
    	var roots []loader.Sym
    	for _, n := range rootNames {
    		p := ldr.Lookup(n, 0)
    		if p != 0 {
    			roots = append(roots, p)
    		}
    	}
    	if len(roots) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. src/runtime/plugin.go

    	syms = make(map[string]any, len(md.ptab))
    	for _, ptab := range md.ptab {
    		symName := resolveNameOff(unsafe.Pointer(md.types), ptab.name)
    		t := toRType((*_type)(unsafe.Pointer(md.types))).typeOff(ptab.typ) // TODO can this stack of conversions be simpler?
    		var val any
    		valp := (*[2]unsafe.Pointer)(unsafe.Pointer(&val))
    		(*valp)[0] = unsafe.Pointer(t)
    
    		name := symName.Name()
    		if t.Kind_&abi.KindMask == abi.Func {
    			name = "." + name
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/x86/seh.go

    	// which are very similar across functions.
    	// Dedup them when possible.
    	hash := base64.StdEncoding.EncodeToString(buf.data)
    	symname := fmt.Sprintf("%d.%s", len(buf.data), hash)
    	return ctxt.LookupInit("go:sehuw."+symname, func(s *obj.LSym) {
    		s.WriteBytes(ctxt, 0, buf.data)
    		s.Type = objabi.SSEHUNWINDINFO
    		s.Set(obj.AttrDuplicateOK, true)
    		s.Set(obj.AttrLocal, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top