Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ABIToVersion (0.36 sec)

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

    				if !ok {
    					fmt.Fprintf(os.Stderr, "%s: bad ABI in cgo_export directive %s\n", os.Args[0], f)
    					nerrors++
    					return
    				}
    			}
    
    			s := l.LookupOrCreateSym(local, sym.ABIToVersion(abi))
    
    			if l.SymType(s) == sym.SHOSTOBJ {
    				hostObjSyms[s] = struct{}{}
    			}
    
    			switch ctxt.BuildMode {
    			case BuildModeCShared, BuildModeCArchive, BuildModePlugin:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loader/loader.go

    		}
    	}
    }
    
    func abiToVer(abi uint16, localSymVersion int) int {
    	var v int
    	if abi == goobj.SymABIstatic {
    		// Static
    		v = localSymVersion
    	} else if abiver := sym.ABIToVersion(obj.ABI(abi)); abiver != -1 {
    		// Note that data symbols are "ABI0", which maps to version 0.
    		v = abiver
    	} else {
    		log.Fatalf("invalid symbol ABI: %d", abi)
    	}
    	return v
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
Back to top