Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for IsDarwin (0.47 sec)

  1. src/cmd/link/internal/arm64/asm.go

    		su.SetRelocSym(rIdx, syms.PLT)
    		su.SetRelocAdd(rIdx, int64(ldr.SymPlt(targ)))
    		return true
    
    	case objabi.R_ADDRARM64:
    		if targType == sym.SDYNIMPORT && ldr.SymType(s) == sym.STEXT && target.IsDarwin() {
    			// Loading the address of a dynamic symbol. Rewrite to use GOT.
    			// turn MOVD $sym (adrp+add) into MOVD sym@GOT (adrp+ldr)
    			if r.Add() != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/main.go

    	switch flagW {
    	case ternaryFlagFalse:
    		*FlagW = false
    	case ternaryFlagTrue:
    		*FlagW = true
    	case ternaryFlagUnset:
    		*FlagW = *FlagS // -s implies -w if not explicitly set
    		if ctxt.IsDarwin() && ctxt.BuildMode == BuildModeCShared {
    			*FlagW = true // default to -w in c-shared mode on darwin, see #61229
    		}
    	}
    
    	if !buildcfg.Experiment.RegabiWrappers {
    		abiInternalVer = 0
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/data.go

    			continue
    		}
    
    		// We need to be able to reference dynimport symbols when linking against
    		// shared libraries, and AIX, Darwin, OpenBSD and Solaris always need it.
    		if !target.IsAIX() && !target.IsDarwin() && !target.IsSolaris() && !target.IsOpenbsd() && rs != 0 && rst == sym.SDYNIMPORT && !target.IsDynlinkingGo() && !ldr.AttrSubSymbol(rs) {
    			if !(target.IsPPC64() && target.IsExternal() && ldr.SymName(rs) == ".TOC.") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/lib.go

    		if ctxt.IsDarwin() && ctxt.IsAMD64() {
    			const noPieWarning = "ld: warning: -no_pie is deprecated when targeting new OS versions\n"
    			if i := bytes.Index(out, []byte(noPieWarning)); i >= 0 {
    				// swallow -no_pie deprecation warning, issue 54482
    				out = append(out[:i], out[i+len(noPieWarning):]...)
    			}
    		}
    		if ctxt.IsDarwin() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  5. src/runtime/mgcscavenge.go

    	//
    	// This ratio is used as part of multiplicative factor to help the scavenger account
    	// for the additional costs of using scavenged memory in its pacing.
    	scavengeCostRatio = 0.7 * (goos.IsDarwin + goos.IsIos)
    
    	// scavChunkHiOcFrac indicates the fraction of pages that need to be allocated
    	// in the chunk in a single GC cycle for it to be considered high density.
    	scavChunkHiOccFrac  = 0.96875
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/dwarf.go

    	type compressedSect struct {
    		index      int
    		compressed []byte
    		syms       []loader.Sym
    	}
    
    	supported := ctxt.IsELF || ctxt.IsWindows() || ctxt.IsDarwin()
    	if !ctxt.compressDWARF || !supported || ctxt.IsExternal() {
    		return
    	}
    
    	var compressedCount int
    	resChannel := make(chan compressedSect)
    	for i := range dwarfp {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top