Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for STB_WEAK (0.18 sec)

  1. src/cmd/link/internal/loadelf/ldelf.go

    				// reduce mem use, but also (possibly) make it harder
    				// to debug problems.
    				s = l.CreateStaticSym(elfsym.name)
    				l.SetAttrVisibilityHidden(s, true)
    			}
    
    		case elf.STB_WEAK:
    			if needSym != 0 {
    				s = l.LookupOrCreateCgoExport(elfsym.name, 0)
    				if elfsym.other == 2 {
    					l.SetAttrVisibilityHidden(s, true)
    				}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  2. src/debug/elf/elf.go

    /* Symbol Binding - ELFNN_ST_BIND - st_info */
    type SymBind int
    
    const (
    	STB_LOCAL  SymBind = 0  /* Local symbol */
    	STB_GLOBAL SymBind = 1  /* Global symbol */
    	STB_WEAK   SymBind = 2  /* like global - lower precedence */
    	STB_LOOS   SymBind = 10 /* Reserved range for operating system */
    	STB_HIOS   SymBind = 12 /*   specific semantics. */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/out.go

    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,
    			})
    		}
    	}
    	return imports
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"SHT_SYMTAB_SHNDX", Const, 0},
    		{"STB_GLOBAL", Const, 0},
    		{"STB_HIOS", Const, 0},
    		{"STB_HIPROC", Const, 0},
    		{"STB_LOCAL", Const, 0},
    		{"STB_LOOS", Const, 0},
    		{"STB_LOPROC", Const, 0},
    		{"STB_WEAK", Const, 0},
    		{"STT_COMMON", Const, 0},
    		{"STT_FILE", Const, 0},
    		{"STT_FUNC", Const, 0},
    		{"STT_HIOS", Const, 0},
    		{"STT_HIPROC", Const, 0},
    		{"STT_LOOS", Const, 0},
    		{"STT_LOPROC", Const, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top