Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AttrShared (0.09 sec)

  1. src/cmd/link/internal/loader/loader.go

    		return r.Shared()
    	}
    	return l.attrShared.Has(l.extIndex(i))
    }
    
    // SetAttrShared sets the "shared" property for an external
    // symbol (see AttrShared).
    func (l *Loader) SetAttrShared(i Sym, v bool) {
    	if !l.IsExternal(i) {
    		panic(fmt.Sprintf("tried to set shared attr on non-external symbol %d %s", i, l.SymName(i)))
    	}
    	if v {
    		l.attrShared.Set(l.extIndex(i))
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ppc64/asm.go

    	// the Go caller is PIC, and cannot use PCrel instructions).
    	if (r.Type() == objabi.ElfRelocOffset+objabi.RelocType(elf.R_PPC64_REL24)) || (!ldr.AttrExternal(s) && ldr.AttrShared(s) && !hasPCrel) {
    		stubTypeStr = "_tocrel"
    		stubType = 1
    	} else {
    		stubTypeStr = "_notoc"
    		stubType = 3
    	}
    	n := fmt.Sprintf("_pltstub%s.%s", stubTypeStr, ldr.SymName(r.Sym()))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/symtab.go

    		// internal linking for shared libraries and only create object files when
    		// externally linking, I don't think this makes a lot of sense.
    		other = int(elf.STV_HIDDEN)
    	}
    	if ctxt.IsPPC64() && typ == elf.STT_FUNC && ldr.AttrShared(x) {
    		// On ppc64 the top three bits of the st_other field indicate how many
    		// bytes separate the global and local entry points. For non-PCrel shared
    		// symbols this is always 8 bytes except for some special functions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
Back to top