Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetAttrOnList (0.79 sec)

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

    // and is consulted to avoid bugs where a symbol is put on a list
    // twice.
    func (l *Loader) AttrOnList(i Sym) bool {
    	return l.attrOnList.Has(i)
    }
    
    // SetAttrOnList sets the "on list" property for a symbol (see
    // AttrOnList).
    func (l *Loader) SetAttrOnList(i Sym, v bool) {
    	if v {
    		l.attrOnList.Set(i)
    	} else {
    		l.attrOnList.Unset(i)
    	}
    }
    
    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/ld/data.go

    		}
    		state.data[st] = append(state.data[st], s)
    
    		// Similarly with checking the onlist attr.
    		if ldr.AttrOnList(s) {
    			log.Fatalf("symbol %s listed multiple times", ldr.SymName(s))
    		}
    		ldr.SetAttrOnList(s, true)
    	}
    
    	// Now that we have the data symbols, but before we start
    	// to assign addresses, record all the necessary
    	// dynamic relocations. These will grow the relocation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top