Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AddRelocs (0.07 sec)

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

    func (sb *SymbolBuilder) SetRelocAdd(i int, a int64) {
    	sb.relocs[i].SetAdd(a)
    }
    
    // Add n relocations, return a handle to the relocations.
    func (sb *SymbolBuilder) AddRelocs(n int) Relocs {
    	sb.relocs = append(sb.relocs, make([]goobj.Reloc, n)...)
    	return sb.l.Relocs(sb.symIdx)
    }
    
    // Add a relocation with given type, return its handle and index
    // (to set other fields).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:25:19 UTC 2023
    - 13.9K bytes
    - Viewed (0)
Back to top