- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for SRODATA (0.11 sec)
-
src/cmd/internal/objfile/goobj.go
name := osym.Name(r) ver := osym.ABI() name = goobjName(name, abiToVer(ver)) typ := objabi.SymKind(osym.Type()) var code rune = '?' switch typ { case objabi.STEXT: code = 'T' case objabi.SRODATA: code = 'R' case objabi.SNOPTRDATA, objabi.SDATA: code = 'D' case objabi.SBSS, objabi.SNOPTRBSS, objabi.STLSBSS: code = 'B' } if ver >= goobj.SymABIstatic { code += 'a' - 'A' }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 15:39:57 UTC 2023 - 7.8K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
src/cmd/compile/internal/ssa/rewrite.go
func symIsRO(sym interface{}) bool { lsym := sym.(*obj.LSym) return lsym.Type == objabi.SRODATA && len(lsym.R) == 0 } // symIsROZero reports whether sym is a read-only global whose data contains all zeros. func symIsROZero(sym Sym) bool { lsym := sym.(*obj.LSym) if lsym.Type != objabi.SRODATA || len(lsym.R) != 0 { return false } for _, b := range lsym.P { if b != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
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) -
src/cmd/link/internal/loadmacho/ldmacho.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 12 18:45:57 UTC 2022 - 19.1K bytes - Viewed (0) -
src/cmd/link/internal/loadpe/ldpe.go
case pe.IMAGE_SCN_CNT_INITIALIZED_DATA | pe.IMAGE_SCN_MEM_READ: //.rdata if issehsect(arch, sect) { bld.SetType(sym.SSEHSECT) bld.SetAlign(4) } else { bld.SetType(sym.SRODATA) } case pe.IMAGE_SCN_CNT_UNINITIALIZED_DATA | pe.IMAGE_SCN_MEM_READ | pe.IMAGE_SCN_MEM_WRITE: //.bss bld.SetType(sym.SNOPTRBSS)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 20:26:46 UTC 2023 - 26.5K bytes - Viewed (0) -
src/cmd/link/internal/loadelf/ldelf.go
switch sect.flags & (elf.SHF_ALLOC | elf.SHF_WRITE | elf.SHF_EXECINSTR) { default: return errorf("%s: unexpected flags for ELF section %s", pn, sect.name) case elf.SHF_ALLOC: sb.SetType(sym.SRODATA) case elf.SHF_ALLOC + elf.SHF_WRITE: if sect.type_ == elf.SHT_NOBITS { sb.SetType(sym.SNOPTRBSS) } else { sb.SetType(sym.SNOPTRDATA) } case elf.SHF_ALLOC + elf.SHF_EXECINSTR:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:12:12 UTC 2024 - 33.9K bytes - Viewed (0)