Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for SRODATA (0.17 sec)

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

    	ctxt.xdefine("runtime.epclntab", sym.SRODATA, 0)
    	ctxt.xdefine("runtime.esymtab", sym.SRODATA, 0)
    
    	// garbage collection symbols
    	s := ldr.CreateSymForUpdate("runtime.gcdata", 0)
    	s.SetType(sym.SRODATA)
    	s.SetSize(0)
    	ctxt.xdefine("runtime.egcdata", sym.SRODATA, 0)
    
    	s = ldr.CreateSymForUpdate("runtime.gcbss", 0)
    	s.SetType(sym.SRODATA)
    	s.SetSize(0)
    	ctxt.xdefine("runtime.egcbss", sym.SRODATA, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loader/loader_test.go

    		t.Errorf("SymType(es3): expected %v, got %v", sym.Sxxx, es3typ)
    	}
    	sb3.SetType(sym.SRODATA)
    	es3typ = sb3.Type()
    	if es3typ != sym.SRODATA {
    		t.Errorf("SymType(es3): expected %v, got %v", sym.SRODATA, es3typ)
    	}
    	es3typ = ldr.SymType(es3)
    	if es3typ != sym.SRODATA {
    		t.Errorf("SymType(es3): expected %v, got %v", sym.SRODATA, es3typ)
    	}
    
    	// New symbols should not initially be reachable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:09 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/sym.go

    		s.WriteFloat64(ctxt, 0, f)
    		s.Type = objabi.SRODATA
    		s.Set(AttrLocal, true)
    		s.Set(AttrContentAddressable, true)
    		ctxt.constSyms = append(ctxt.constSyms, s)
    	})
    }
    
    func (ctxt *Link) Int32Sym(i int64) *LSym {
    	name := fmt.Sprintf("$i32.%08x", uint64(i))
    	return ctxt.LookupInit(name, func(s *LSym) {
    		s.Size = 4
    		s.WriteInt(ctxt, 0, 4, i)
    		s.Type = objabi.SRODATA
    		s.Set(AttrLocal, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/pcln.go

    func funcpctab(ctxt *Link, func_ *LSym, desc string, valfunc func(*Link, *LSym, int32, *Prog, int32, interface{}) int32, arg interface{}) *LSym {
    	dbg := desc == ctxt.Debugpcln
    	dst := []byte{}
    	sym := &LSym{
    		Type:      objabi.SRODATA,
    		Attribute: AttrContentAddressable | AttrPcdata,
    	}
    
    	if dbg {
    		ctxt.Logf("funcpctab %s [valfunc=%s]\n", func_.Name, desc)
    	}
    
    	val := int32(-1)
    	oldval := val
    	fn := func_.Func()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 20:45:15 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/objfile.go

    		flag |= goobj.SymFlagReflectMethod
    	}
    	if strings.HasPrefix(s.Name, "type:") && s.Name[5] != '.' && s.Type == objabi.SRODATA {
    		flag |= goobj.SymFlagGoType
    	}
    	flag2 := uint8(0)
    	if s.UsedInIface() {
    		flag2 |= goobj.SymFlagUsedInIface
    	}
    	if strings.HasPrefix(s.Name, "go:itab.") && s.Type == objabi.SRODATA {
    		flag2 |= goobj.SymFlagItab
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/writebarrier.go

    func IsReadOnlyGlobalAddr(v *Value) bool {
    	if v.Op == OpConstNil {
    		// Nil pointers are read only. See issue 33438.
    		return true
    	}
    	if v.Op == OpAddr && v.Aux != nil && v.Aux.(*obj.LSym).Type == objabi.SRODATA {
    		return true
    	}
    	return false
    }
    
    // IsNewObject reports whether v is a pointer to a freshly allocated & zeroed object,
    // if so, also returns the memory state mem at which v is zero.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/plist.go

    	ctxt.Data = append(ctxt.Data, s)
    	s.Size = size
    	if s.Type == 0 {
    		s.Type = objabi.SBSS
    	}
    	if flag&DUPOK != 0 {
    		s.Set(AttrDuplicateOK, true)
    	}
    	if flag&RODATA != 0 {
    		s.Type = objabi.SRODATA
    	} else if flag&NOPTR != 0 {
    		if s.Type == objabi.SDATA {
    			s.Type = objabi.SNOPTRDATA
    		} else {
    			s.Type = objabi.SNOPTRBSS
    		}
    	} else if flag&TLSBSS != 0 {
    		s.Type = objabi.STLSBSS
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/pcln.go

    	// signal to the symtab() phase that it needs to be grouped in with
    	// other similar symbols (gcdata, etc); the dodata() phase will
    	// eventually switch the type back to SRODATA.
    	inlTreeSym.SetType(sym.SGOFUNC)
    	ldr.SetAttrReachable(its, true)
    	ldr.SetSymAlign(its, 4) // it has 32-bit fields
    	ninl := fi.NumInlTree()
    	for i := 0; i < int(ninl); i++ {
    		call := fi.InlTree(i)
    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/amd64/asm.go

    			// linking, in which case the relocation will be
    			// prepared in the 'reloc' phase and passed to the
    			// external linker in the 'asmb' phase.
    			if ldr.SymType(s) != sym.SDATA && ldr.SymType(s) != sym.SRODATA {
    				break
    			}
    		}
    
    		if target.IsElf() {
    			// Generate R_X86_64_RELATIVE relocations for best
    			// efficiency in the dynamic linker.
    			//
    			// As noted above, symbol addresses have not been
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 21K bytes
    - Viewed (0)
  10. src/cmd/link/internal/loadmacho/ldmacho.go

    		}
    		bld.SetSize(int64(len(bld.Data())))
    
    		if sect.segname == "__TEXT" {
    			if sect.name == "__text" {
    				bld.SetType(sym.STEXT)
    			} else {
    				bld.SetType(sym.SRODATA)
    			}
    		} else {
    			if sect.name == "__bss" {
    				bld.SetType(sym.SNOPTRBSS)
    				bld.SetData(nil)
    			} else {
    				bld.SetType(sym.SNOPTRDATA)
    			}
    		}
    
    		sect.sym = s
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 18:45:57 UTC 2022
    - 19.1K bytes
    - Viewed (0)
Back to top