Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Flag_dynlink (0.22 sec)

  1. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    	&& (ptr.Op != OpSB || !config.ctxt.Flag_dynlink) =>
    	(MOVBload [off1+int32(off2)] {sym} ptr mem)
    (MOVBUload [off1] {sym} (ADDconst [off2] ptr) mem) && is32Bit(int64(off1)+off2)
    	&& (ptr.Op != OpSB || !config.ctxt.Flag_dynlink) =>
    	(MOVBUload [off1+int32(off2)] {sym} ptr mem)
    (MOVHload [off1] {sym} (ADDconst [off2] ptr) mem) && is32Bit(int64(off1)+off2)
    	&& (ptr.Op != OpSB || !config.ctxt.Flag_dynlink) =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  2. src/cmd/asm/main.go

    	if architecture == nil {
    		log.Fatalf("unrecognized architecture %s", GOARCH)
    	}
    	ctxt := obj.Linknew(architecture.LinkArch)
    	ctxt.Debugasm = flags.PrintOut
    	ctxt.Debugvlog = flags.DebugV
    	ctxt.Flag_dynlink = *flags.Dynlink
    	ctxt.Flag_linkshared = *flags.Linkshared
    	ctxt.Flag_shared = *flags.Shared || *flags.Dynlink
    	ctxt.Flag_maymorestack = flags.DebugFlags.MayMoreStack
    	ctxt.Debugpcln = flags.DebugFlags.PCTab
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteARM64.go

    	// result: (FMOVDload [off1+int32(off2)] {sym} ptr mem)
    	for {
    		off1 := auxIntToInt32(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		if v_0.Op != OpARM64ADDconst {
    			break
    		}
    		off2 := auxIntToInt64(v_0.AuxInt)
    		ptr := v_0.Args[0]
    		mem := v_1
    		if !(is32Bit(int64(off1)+off2) && (ptr.Op != OpSB || !config.ctxt.Flag_dynlink)) {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/ppc64/obj9.go

    			p.Reg = p.RestArgs[1].Addr.Reg
    			p.RestArgs = p.RestArgs[:1]
    		}
    	}
    
    	if c.ctxt.Headtype == objabi.Haix {
    		c.rewriteToUseTOC(p)
    	} else if c.ctxt.Flag_dynlink {
    		c.rewriteToUseGot(p)
    	}
    }
    
    // Rewrite p, if necessary, to access a symbol using its TOC anchor.
    // This code is for AIX only.
    func (c *ctxt9) rewriteToUseTOC(p *obj.Prog) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/abi.go

    	// OTAILCALL or something to this effect.
    	tailcall := fn.Type().NumResults() == 0 && fn.Type().NumParams() == 0 && fn.Type().NumRecvs() == 0
    	if base.Ctxt.Arch.Name == "ppc64le" && base.Ctxt.Flag_dynlink {
    		// cannot tailcall on PPC64 with dynamic linking, as we need
    		// to restore R2 after call.
    		tailcall = false
    	}
    	if base.Ctxt.Arch.Name == "amd64" && wrapperABI == obj.ABIInternal {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/link.go

    type Link struct {
    	Headtype           objabi.HeadType
    	Arch               *LinkArch
    	Debugasm           int
    	Debugvlog          bool
    	Debugpcln          string
    	Flag_shared        bool
    	Flag_dynlink       bool
    	Flag_linkshared    bool
    	Flag_optimize      bool
    	Flag_locationlists bool
    	Flag_noRefName     bool   // do not include referenced symbol names in object file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/asm9.go

    			case sbits <= 31:
    				return C_S32CON
    			case sbits <= 33:
    				return C_S34CON
    			default:
    				return C_64CON
    			}
    		}
    
    	case obj.TYPE_BRANCH:
    		if a.Sym != nil && c.ctxt.Flag_dynlink && !pfxEnabled {
    			return C_BRAPIC
    		}
    		return C_BRA
    	}
    
    	return C_GOK
    }
    
    func prasm(p *obj.Prog) {
    	fmt.Printf("%v\n", p)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/x86/asm6.go

    			case Zcall, Zcallduff:
    				if p.To.Sym == nil {
    					ctxt.Diag("call without target")
    					ctxt.DiagFlush()
    					log.Fatalf("bad code")
    				}
    
    				if yt.zcase == Zcallduff && ctxt.Flag_dynlink {
    					ctxt.Diag("directly calling duff when dynamically linking Go")
    				}
    
    				if yt.zcase == Zcallduff && ctxt.Arch.Family == sys.AMD64 {
    					// Maintain BP around call, since duffcopy/duffzero can't do it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/ssa.go

    	s.hasOpenDefers = base.Flag.N == 0 && s.hasdefer && !s.curfn.OpenCodedDeferDisallowed()
    	switch {
    	case base.Debug.NoOpenDefer != 0:
    		s.hasOpenDefers = false
    	case s.hasOpenDefers && (base.Ctxt.Flag_shared || base.Ctxt.Flag_dynlink) && base.Ctxt.Arch.Name == "386":
    		// Don't support open-coded defers for 386 ONLY when using shared
    		// libraries, because there is extra code (added by rewriteToUseGot())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top