Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for STB_GLOBAL (0.28 sec)

  1. src/debug/elf/elf_test.go

    	{PT_LOAD, "PT_LOAD"},
    	{PF_W + PF_R + 0x50, "PF_W+PF_R+0x50"},
    	{DT_SYMBOLIC, "DT_SYMBOLIC"},
    	{DF_BIND_NOW, "DF_BIND_NOW"},
    	{DF_1_PIE, "DF_1_PIE"},
    	{NT_FPREGSET, "NT_FPREGSET"},
    	{STB_GLOBAL, "STB_GLOBAL"},
    	{STT_COMMON, "STT_COMMON"},
    	{STV_HIDDEN, "STV_HIDDEN"},
    	{R_X86_64_PC32, "R_X86_64_PC32"},
    	{R_ALPHA_OP_PUSH, "R_ALPHA_OP_PUSH"},
    	{R_ARM_THM_ABS5, "R_ARM_THM_ABS5"},
    	{R_386_GOT32, "R_386_GOT32"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:36 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/symtab.go

    		}
    		elfshnum = xosect.Elfsect.(*ElfShdr).shnum
    	}
    
    	sname := ldr.SymExtname(x)
    	sname = mangleABIName(ctxt, ldr, x, sname)
    
    	// One pass for each binding: elf.STB_LOCAL, elf.STB_GLOBAL,
    	// maybe one day elf.STB_WEAK.
    	bind := elf.STB_GLOBAL
    	if ldr.IsFileLocal(x) && !isStaticTmp(sname) || ldr.AttrVisibilityHidden(x) || ldr.AttrLocal(x) {
    		// Static tmp is package local, but a package can be shared among multiple DSOs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/link/internal/loadelf/ldelf.go

    	}
    
    	switch elfsym.type_ {
    	case elf.STT_SECTION:
    		s = elfobj.sect[elfsym.shndx].sym
    
    	case elf.STT_OBJECT, elf.STT_FUNC, elf.STT_NOTYPE, elf.STT_COMMON:
    		switch elfsym.bind {
    		case elf.STB_GLOBAL:
    			if needSym != 0 {
    				s = l.LookupOrCreateCgoExport(elfsym.name, 0)
    
    				// for global scoped hidden symbols we should insert it into
    				// symbol hash table, but mark them as hidden.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. src/debug/elf/elf.go

    func (i NType) GoString() string { return stringName(uint32(i), ntypeStrings, true) }
    
    /* 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)
  6. src/debug/elf/file.go

    	sym, str, err := f.getSymbols(SHT_DYNSYM)
    	if err != nil {
    		return nil, err
    	}
    	f.gnuVersionInit(str)
    	var all []ImportedSymbol
    	for i, s := range sym {
    		if ST_BIND(s.Info) == STB_GLOBAL && s.Section == SHN_UNDEF {
    			all = append(all, ImportedSymbol{Name: s.Name})
    			sym := &all[len(all)-1]
    			sym.Library, sym.Version = f.gnuVersion(i)
    		}
    	}
    	return all, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"SHT_PROGBITS", Const, 0},
    		{"SHT_REL", Const, 0},
    		{"SHT_RELA", Const, 0},
    		{"SHT_SHLIB", Const, 0},
    		{"SHT_STRTAB", Const, 0},
    		{"SHT_SYMTAB", Const, 0},
    		{"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},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  9. api/go1.txt

    pkg debug/elf, const SHT_SHLIB SectionType
    pkg debug/elf, const SHT_STRTAB SectionType
    pkg debug/elf, const SHT_SYMTAB SectionType
    pkg debug/elf, const SHT_SYMTAB_SHNDX SectionType
    pkg debug/elf, const STB_GLOBAL SymBind
    pkg debug/elf, const STB_HIOS SymBind
    pkg debug/elf, const STB_HIPROC SymBind
    pkg debug/elf, const STB_LOCAL SymBind
    pkg debug/elf, const STB_LOOS SymBind
    pkg debug/elf, const STB_LOPROC SymBind
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  10. api/go1.1.txt

    pkg debug/elf, const SHT_RELA = 4
    pkg debug/elf, const SHT_SHLIB = 10
    pkg debug/elf, const SHT_STRTAB = 3
    pkg debug/elf, const SHT_SYMTAB = 2
    pkg debug/elf, const SHT_SYMTAB_SHNDX = 18
    pkg debug/elf, const STB_GLOBAL = 1
    pkg debug/elf, const STB_HIOS = 12
    pkg debug/elf, const STB_HIPROC = 15
    pkg debug/elf, const STB_LOCAL = 0
    pkg debug/elf, const STB_LOOS = 10
    pkg debug/elf, const STB_LOPROC = 13
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top