Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for IsDarwin (0.12 sec)

  1. 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)
  2. 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)
  3. src/cmd/link/internal/ld/go.go

    				if st != sym.SHOSTOBJ {
    					su := l.MakeSymbolUpdater(s)
    					su.SetType(sym.SDYNIMPORT)
    				} else {
    					hostObjSyms[s] = struct{}{}
    				}
    				havedynamic = 1
    				if lib != "" && ctxt.IsDarwin() {
    					machoadddynlib(lib, ctxt.LinkMode)
    				}
    			}
    
    			continue
    
    		case "cgo_import_static":
    			if len(f) != 2 {
    				break
    			}
    			local := f[1]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 11.2K 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