Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for STB_WEAK (0.24 sec)

  1. 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)
  2. 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)
Back to top