Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SymVerABICount (0.25 sec)

  1. src/cmd/link/internal/sym/symbol.go

    // license that can be found in the LICENSE file.
    
    package sym
    
    import (
    	"cmd/internal/obj"
    	"internal/buildcfg"
    )
    
    const (
    	SymVerABI0        = 0
    	SymVerABIInternal = 1
    	SymVerABICount    = 2  // Number of internal ABIs
    	SymVerStatic      = 10 // Minimum version used by static (file-local) syms
    )
    
    func ABIToVersion(abi obj.ABI) int {
    	switch abi {
    	case obj.ABI0:
    		return SymVerABI0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 22 13:50:24 UTC 2021
    - 933 bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/lib.go

    	if ctxt.IsPPC64() {
    		ctxt.mkArchSym("TOC", 0, &ctxt.TOC)
    
    		ctxt.DotTOC = make([]loader.Sym, ctxt.MaxVersion()+1)
    		for i := 0; i <= ctxt.MaxVersion(); i++ {
    			if i >= sym.SymVerABICount && i < sym.SymVerStatic { // these versions are not used currently
    				continue
    			}
    			ctxt.mkArchSymVec(".TOC.", i, ctxt.DotTOC)
    		}
    	}
    	if ctxt.IsElf() {
    		ctxt.mkArchSym(".rel", 0, &ctxt.Rel)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/data.go

    		tocAddr := int64(Segdata.Vaddr) + 0x8000
    		if gotAddr := ldr.SymValue(ctxt.GOT); gotAddr != 0 {
    			tocAddr = gotAddr + 0x8000
    		}
    		for i := range ctxt.DotTOC {
    			if i >= sym.SymVerABICount && i < sym.SymVerStatic { // these versions are not used currently
    				continue
    			}
    			if toc := ldr.Lookup(".TOC.", i); toc != 0 {
    				ldr.SetSymValue(toc, tocAddr)
    			}
    		}
    	}
    
    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