- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for STB_GLOBAL (0.1 sec)
-
src/cmd/link/internal/ld/elf.go
if target.Arch.Family == sys.I386 && cgoexp && st == sym.STEXT { t = elf.ST_INFO(elf.STB_GLOBAL, elf.STT_FUNC) } else if target.Arch.Family == sys.ARM && cgoeDynamic && st == sym.STEXT { t = elf.ST_INFO(elf.STB_GLOBAL, elf.STT_FUNC) } else { t = elf.ST_INFO(elf.STB_GLOBAL, elf.STT_OBJECT) } d.AddUint8(t) d.AddUint8(0) /* shndx */ if st == sym.SDYNIMPORT {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
src/cmd/cgo/out.go
// internal linking. func elfImportedSymbols(f *elf.File) []elf.ImportedSymbol { syms, _ := f.DynamicSymbols() var imports []elf.ImportedSymbol for _, s := range syms { if (elf.ST_BIND(s.Info) == elf.STB_GLOBAL || elf.ST_BIND(s.Info) == elf.STB_WEAK) && s.Section == elf.SHN_UNDEF { imports = append(imports, elf.ImportedSymbol{ Name: s.Name, Library: s.Library, Version: s.Version, }) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 16:41:10 UTC 2024 - 59.6K bytes - Viewed (0)